delete '!!!'

This commit is contained in:
pvvx 2017-02-28 10:40:07 +03:00
parent de57c04fb4
commit ed4c83a935
44 changed files with 206 additions and 187 deletions

View file

@ -44,7 +44,7 @@ int main(void)
DiagPrintf("<---- Init %d ---->\n", x);
if (!SpicFlashInitRtl8195A(x)) {// SpicOneBitMode)){
DiagPrintf("SPI Init Fail!!!!!!\n"); // DBG_SPIF_ERR?
DiagPrintf("SPI Init Fail!\n"); // DBG_SPIF_ERR?
HAL_WRITE32(SYSTEM_CTRL_BASE, REG_SYS_DSTBY_INFO3, HAL_READ32(SYSTEM_CTRL_BASE, REG_SYS_DSTBY_INFO3)|0xf);
while(1);
}

View file

@ -35,7 +35,7 @@ struct BlockInfo{
};
void dma_done_handler(uint32_t id) {
DiagPrintf("DMA Copy Done!!\r\n");
DiagPrintf("DMA Copy Done!\r\n");
dma_done = 1;
}
@ -96,7 +96,7 @@ int main(void) {
}
if (!err) {
DiagPrintf("DMA Copy Memory Compare OK!! %x\r\n", TestBuf2[DMA_DST_OFFSET+DMA_CPY_LEN - 1]);
DiagPrintf("DMA Copy Memory Compare OK! %x\r\n", TestBuf2[DMA_DST_OFFSET+DMA_CPY_LEN - 1]);
}
HalGdmaMemCpyDeInit(&(gdma.gdma_obj));
@ -118,7 +118,7 @@ volatile uint8_t dma_done;
void dma_done_handler(uint32_t id) {
DiagPrintf("DMA Copy Done!!\r\n");
DiagPrintf("DMA Copy Done!\r\n");
dma_done = 1;
}
@ -148,7 +148,7 @@ int main(void) {
}
if (!err) {
DiagPrintf("DMA Copy Memory Compare OK!! %x\r\n", TestBuf2[DMA_DST_OFFSET+DMA_CPY_LEN]);
DiagPrintf("DMA Copy Memory Compare OK! %x\r\n", TestBuf2[DMA_DST_OFFSET+DMA_CPY_LEN]);
}
HalGdmaMemCpyDeInit(&(gdma.gdma_obj));

View file

@ -30,7 +30,7 @@ void main(void)
log_uart_init(&uobj, 38400, 8, ParityNone, 1);
uart_send_string(&uobj, "UART API Demo...\r\n");
uart_send_string(&uobj, "Hello World!!\r\n");
uart_send_string(&uobj, "Hello World!\r\n");
while(1){
uart_send_string(&uobj, "\r\n8195a$");
rc = log_uart_getc(&uobj);

View file

@ -10,7 +10,7 @@
#include "device.h"
#include "log_uart_api.h"
char buf[100]="Hello World!!\r\n";;
char buf[100]="Hello World!\r\n";;
log_uart_t uobj;
int uart_scan (char *buf)

View file

@ -14,7 +14,7 @@
extern void wait_ms(int ms);
char buf[BUF_SZ]="Hello World!!\r\n";;
char buf[BUF_SZ]="Hello World!\r\n";;
volatile uint32_t tx_busy=0;
volatile uint32_t rx_busy=0;
log_uart_t uobj;

View file

@ -117,7 +117,7 @@ void main(void)
wait_ms(10);
i++;
}
DBG_8195A("SPI Master Write Done!!\r\n");
DBG_8195A("SPI Master Write Done!\r\n");
DBG_8195A("SPI Master Read Test==>\r\n");
@ -138,7 +138,7 @@ void main(void)
wait_ms(10);
i++;
}
DBG_8195A("SPI Master Read Done!!\r\n");
DBG_8195A("SPI Master Read Done!\r\n");
__rtl_memDump_v1_00(TestBuf, TEST_BUF_SIZE, "SPI Master Read Data:");
Counter++;
}
@ -200,7 +200,7 @@ void main(void)
break;
}
}
DBG_8195A("SPI Slave Write Done!!\r\n");
DBG_8195A("SPI Slave Write Done!\r\n");
Counter++;
}
spi_free(&spi_slave);

View file

@ -36,7 +36,7 @@ void main(void)
serial_format(&sobj, 8, ParityNone, 1);
uart_send_string(&sobj, "UART API Demo...\r\n");
uart_send_string(&sobj, "Hello World!!\r\n");
uart_send_string(&sobj, "Hello World!\r\n");
while(1){
uart_send_string(&sobj, "\r\n8195a$");
rc = serial_getc(&sobj);

View file

@ -52,7 +52,7 @@ void main(void)
serial_format(&sobj, 8, ParityNone, 1);
uart_send_string(&sobj, "UART IRQ API Demo...\r\n");
uart_send_string(&sobj, "Hello World!!\n");
uart_send_string(&sobj, "Hello World!\n");
uart_send_string(&sobj, "\r\n8195a$");
serial_irq_handler(&sobj, uart_irq, (uint32_t)&sobj);
serial_irq_set(&sobj, RxIrq, 1);

View file

@ -70,7 +70,7 @@ void main(void)
while (1) {
#if 0
if (!tx_busy) {
uart_send_string(&sobj, "Hello! World!! :) \r\n");
uart_send_string(&sobj, "Hello World! :) \r\n");
}
#endif
if (rx_done) {

View file

@ -38,7 +38,7 @@ void big_task() {
}
void my_watchdog_irq_handler(uint32_t id) {
printf("watchdog barks!!!\r\n");
printf("watchdog barks!\r\n");
watchdog_stop();
}