- add scu_pinmux(0x2, 5, MD_PLN | MD_EZI | MD_ZI, FUNC2); // USB1_VBUS monitor presence

- USB1 host run ok with NGX4330
This commit is contained in:
hathach
2013-04-08 14:57:00 +07:00
parent ef850984da
commit 94e25880dc
5 changed files with 6 additions and 2 deletions

View File

@@ -67,6 +67,7 @@
#define PRINTF_TARGET_DEBUG_CONSOLE 1 // IDE semihosting console
#define PRINTF_TARGET_UART 2
#define PRINTF_TARGET_SWO 3 // aka SWV, ITM
#define PRINTF_TARGET_NONE 4
#if BOARD == 0
#error BOARD is not defined or supported yet
@@ -88,7 +89,7 @@
#define CFG_TICKS_PER_SECOND 1000
#if CFG_PRINTF_TARGET == PRINTF_TARGET_UART
#define CFG_UART_ENABLE 1
#define CFG_UART_ENABLE 0
#define CFG_UART_BAUDRATE 115200
#endif