somehow could not get printf work with IAR both SWD & uart on NGX4330
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user