somehow could not get printf work with IAR both SWD & uart on NGX4330

This commit is contained in:
hathach
2014-03-05 15:03:38 +07:00
parent 62e2a44d71
commit 043e5dbf3c
6 changed files with 2543 additions and 322 deletions

View File

@@ -158,7 +158,7 @@ int main(void)
OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para)
{
static uint32_t led_on_mask = 0;
OSAL_TASK_LOOP_BEGIN
osal_task_delay(1000);
@@ -174,7 +174,7 @@ OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para)
//--------------------------------------------------------------------+
void print_greeting(void)
{
printf("\n\
puts("\n\
--------------------------------------------------------------------\n\
- Host Demo (a tinyusb example)\n\
- if you find any bugs or get any questions, feel free to file an\n\
@@ -188,5 +188,4 @@ void print_greeting(void)
if (TUSB_CFG_HOST_HID_KEYBOARD ) puts(" - HID Keyboard");
if (TUSB_CFG_HOST_MSC ) puts(" - Mass Storage");
if (TUSB_CFG_HOST_CDC ) puts(" - Communication Device Class");
}
}