mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-15 20:42:23 +00:00
ported freeRTOS with lpc175x_6x, all host demo work
This commit is contained in:
parent
22a84f744d
commit
9604645f24
@ -48,7 +48,10 @@
|
|||||||
void board_init(void)
|
void board_init(void)
|
||||||
{
|
{
|
||||||
SystemInit();
|
SystemInit();
|
||||||
|
|
||||||
|
#if TUSB_CFG_OS == TUSB_OS_NONE // TODO may move to main.c
|
||||||
SysTick_Config(SystemCoreClock / CFG_TICKS_PER_SECOND); // 1 msec tick timer
|
SysTick_Config(SystemCoreClock / CFG_TICKS_PER_SECOND); // 1 msec tick timer
|
||||||
|
#endif
|
||||||
|
|
||||||
// Leds Init
|
// Leds Init
|
||||||
GPIO_SetDir(BOARD_LED_PORT, BIT_(BOARD_LED_PIN), 1);
|
GPIO_SetDir(BOARD_LED_PORT, BIT_(BOARD_LED_PIN), 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user