correct and tested rt1050 evkb

This commit is contained in:
hathach 2023-11-16 20:12:08 +07:00
parent 2ff08aceec
commit baa1b4ec20
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
2 changed files with 3 additions and 2 deletions

View File

@ -43,5 +43,6 @@
// UART: IOMUXC_GPIO_AD_B0_13_LPUART1_RXD, IOMUXC_GPIO_AD_B0_12_LPUART1_TXD
#define UART_PORT LPUART1
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
#endif /* BOARD_H_ */

View File

@ -31,13 +31,13 @@
// required since iMX RT10xx SDK include this file for board size
#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_PORT GPIO1
#define LED_PIN 9
#define LED_STATE_ON 0
// SW8 button
// SW8 button: IOMUXC_SNVS_WAKEUP_GPIO5_IO00
#define BUTTON_PINMUX IOMUXC_SNVS_WAKEUP_GPIO5_IO00
#define BUTTON_PORT GPIO5
#define BUTTON_PIN 0