update rt1060 and rt1064 evk
This commit is contained in:
@@ -32,20 +32,17 @@
|
||||
#define BOARD_FLASH_SIZE (0x800000U)
|
||||
|
||||
// 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_PORT BOARD_INITPINS_USER_LED_PERIPHERAL
|
||||
#define LED_PIN BOARD_INITPINS_USER_LED_CHANNEL
|
||||
#define LED_STATE_ON 0
|
||||
|
||||
// SW8 button: IOMUXC_SNVS_WAKEUP_GPIO5_IO00
|
||||
#define BUTTON_PINMUX IOMUXC_SNVS_WAKEUP_GPIO5_IO00
|
||||
#define BUTTON_PORT GPIO5
|
||||
#define BUTTON_PIN 0
|
||||
#define BUTTON_PORT BOARD_INITPINS_USER_BUTTON_PERIPHERAL
|
||||
#define BUTTON_PIN BOARD_INITPINS_USER_BUTTON_CHANNEL
|
||||
#define BUTTON_STATE_ACTIVE 0
|
||||
|
||||
// UART
|
||||
// UART: IOMUXC_GPIO_AD_B0_13_LPUART1_RX, IOMUXC_GPIO_AD_B0_12_LPUART1_TX
|
||||
#define UART_PORT LPUART1
|
||||
#define UART_RX_PINMUX IOMUXC_GPIO_AD_B0_13_LPUART1_RX
|
||||
#define UART_TX_PINMUX IOMUXC_GPIO_AD_B0_12_LPUART1_TX
|
||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||
|
||||
#endif /* BOARD_H_ */
|
||||
|
||||
Reference in New Issue
Block a user