finally able to get freeRTOS run with current mouse + keyboard example

NOTES: print_greeting if is executed before the start of freeRTOS scheduler --> hardfault
- print_greeting->vsprintf->systick -> bunch of ISR --> hardfault.

printf using serial after the start of scheduler is ok though
This commit is contained in:
hathach
2013-04-25 15:43:33 +07:00
parent 92994c8192
commit 1ae5484320
9 changed files with 518 additions and 181 deletions

View File

@@ -76,7 +76,7 @@ extern "C"
//#if ( defined CFG_PRINTF_UART || defined CFG_PRINTF_USBCDC || defined CFG_PRINTF_DEBUG )
#if TUSB_CFG_DEBUG == 3
#define _PRINTF(...) printf(__VA_ARGS__)
#define _PRINTF(...) printf(__VA_ARGS__) // PRINTF
#else
#define _PRINTF(...)
#endif