update freertos example

work with samd21 samd51 and nrf
This commit is contained in:
hathach
2020-03-10 23:16:09 +07:00
parent fd5c64d7b5
commit 65578dec44
16 changed files with 101 additions and 58 deletions
-2
View File
@@ -71,10 +71,8 @@ void board_init(void)
// Button
nrf_gpio_cfg_input(BUTTON_PIN, NRF_GPIO_PIN_PULLUP);
#if CFG_TUSB_OS == OPT_OS_NONE
// 1ms tick timer
SysTick_Config(SystemCoreClock/1000);
#endif
// UART
nrfx_uarte_config_t uart_cfg =