mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-16 14:42:58 +00:00
correct and tested rt1050 evkb
This commit is contained in:
parent
2ff08aceec
commit
baa1b4ec20
@ -43,5 +43,6 @@
|
|||||||
|
|
||||||
// UART: IOMUXC_GPIO_AD_B0_13_LPUART1_RXD, IOMUXC_GPIO_AD_B0_12_LPUART1_TXD
|
// UART: IOMUXC_GPIO_AD_B0_13_LPUART1_RXD, IOMUXC_GPIO_AD_B0_12_LPUART1_TXD
|
||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif /* BOARD_H_ */
|
||||||
|
@ -31,13 +31,13 @@
|
|||||||
// required since iMX RT10xx SDK include this file for board size
|
// required since iMX RT10xx SDK include this file for board size
|
||||||
#define BOARD_FLASH_SIZE (0x800000U)
|
#define BOARD_FLASH_SIZE (0x800000U)
|
||||||
|
|
||||||
// LED
|
// LED: IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
||||||
#define LED_PINMUX IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
#define LED_PINMUX IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
||||||
#define LED_PORT GPIO1
|
#define LED_PORT GPIO1
|
||||||
#define LED_PIN 9
|
#define LED_PIN 9
|
||||||
#define LED_STATE_ON 0
|
#define LED_STATE_ON 0
|
||||||
|
|
||||||
// SW8 button
|
// SW8 button: IOMUXC_SNVS_WAKEUP_GPIO5_IO00
|
||||||
#define BUTTON_PINMUX IOMUXC_SNVS_WAKEUP_GPIO5_IO00
|
#define BUTTON_PINMUX IOMUXC_SNVS_WAKEUP_GPIO5_IO00
|
||||||
#define BUTTON_PORT GPIO5
|
#define BUTTON_PORT GPIO5
|
||||||
#define BUTTON_PIN 0
|
#define BUTTON_PIN 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user