update imxrt1010 with mex
This commit is contained in:
@@ -28,25 +28,24 @@
|
||||
#ifndef BOARD_H_
|
||||
#define BOARD_H_
|
||||
|
||||
#include "fsl_device_registers.h"
|
||||
|
||||
// required since iMX RT10xx SDK include this file for board size
|
||||
#define BOARD_FLASH_SIZE (0x1000000U)
|
||||
|
||||
// LED
|
||||
#define LED_PINMUX IOMUXC_GPIO_11_GPIOMUX_IO11
|
||||
#define LED_PORT GPIO1
|
||||
#define LED_PIN 11
|
||||
#define LED_PORT BOARD_INITPINS_LED_PERIPHERAL
|
||||
#define LED_PIN BOARD_INITPINS_LED_CHANNEL
|
||||
#define LED_STATE_ON 0
|
||||
|
||||
// SW8 button
|
||||
#define BUTTON_PINMUX IOMUXC_GPIO_SD_05_GPIO2_IO05
|
||||
#define BUTTON_PORT GPIO2
|
||||
#define BUTTON_PIN 5
|
||||
#define BUTTON_PORT BOARD_INITPINS_USER_BUTTON_GPIO
|
||||
#define BUTTON_PIN BOARD_INITPINS_USER_BUTTON_GPIO_PIN
|
||||
#define BUTTON_STATE_ACTIVE 0
|
||||
|
||||
// UART
|
||||
#define UART_PORT LPUART1
|
||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||
#define UART_RX_PINMUX IOMUXC_GPIO_09_LPUART1_RXD
|
||||
#define UART_TX_PINMUX IOMUXC_GPIO_10_LPUART1_TXD
|
||||
|
||||
|
||||
Reference in New Issue
Block a user