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
+2
View File
@@ -68,6 +68,8 @@
#define PRINTF_TARGET_SWO 3 // aka SWV, ITM
#define PRINTF_TARGET_NONE 4
#define PRINTF(...) printf(__VA_ARGS__)
#if BOARD == 0
#error BOARD is not defined or supported yet
#elif BOARD == BOARD_NGX4330