mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
minor update board.h
This commit is contained in:
parent
efcc2b69dc
commit
89dce6882f
@ -24,13 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_M7_1011_H_
|
||||||
|
#define BOARD_M7_1011_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
#include "fsl_device_registers.h"
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
#define BOARD_FLASH_SIZE (8*1024*1024)
|
#define BOARD_FLASH_SIZE (8*1024*1024)
|
||||||
|
|
||||||
// LED: IOMUXC_GPIO_03_GPIOMUX_IO03
|
// LED: IOMUXC_GPIO_03_GPIOMUX_IO03
|
||||||
@ -47,4 +44,4 @@
|
|||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -24,13 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_METRO_M7_1011_SD_H_
|
||||||
|
#define BOARD_METRO_M7_1011_SD_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
#include "fsl_device_registers.h"
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
#define BOARD_FLASH_SIZE (8*1024*1024)
|
#define BOARD_FLASH_SIZE (8*1024*1024)
|
||||||
|
|
||||||
// LED: IOMUXC_GPIO_03_GPIOMUX_IO03
|
// LED: IOMUXC_GPIO_03_GPIOMUX_IO03
|
||||||
@ -47,4 +44,4 @@
|
|||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -24,11 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_MIMXRT1010_EVK_H_
|
||||||
|
#define BOARD_MIMXRT1010_EVK_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
#define BOARD_FLASH_SIZE (0x1000000U)
|
#define BOARD_FLASH_SIZE (0x1000000U)
|
||||||
|
|
||||||
// LED: IOMUXC_GPIO_11_GPIOMUX_IO11
|
// LED: IOMUXC_GPIO_11_GPIOMUX_IO11
|
||||||
@ -45,4 +44,4 @@
|
|||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -24,11 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_MIMXRT1015_EVK_H_
|
||||||
|
#define BOARD_MIMXRT1015_EVK_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
#define BOARD_FLASH_SIZE (0x1000000U)
|
#define BOARD_FLASH_SIZE (0x1000000U)
|
||||||
|
|
||||||
// LED
|
// LED
|
||||||
@ -49,4 +48,4 @@
|
|||||||
#define UART_RX_PINMUX IOMUXC_GPIO_AD_B0_07_LPUART1_RX
|
#define UART_RX_PINMUX IOMUXC_GPIO_AD_B0_07_LPUART1_RX
|
||||||
#define UART_TX_PINMUX IOMUXC_GPIO_AD_B0_06_LPUART1_TX
|
#define UART_TX_PINMUX IOMUXC_GPIO_AD_B0_06_LPUART1_TX
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -24,11 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_MIMXRT1020_EVK_H_
|
||||||
|
#define BOARD_MIMXRT1020_EVK_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
#define BOARD_FLASH_SIZE (0x800000U)
|
#define BOARD_FLASH_SIZE (0x800000U)
|
||||||
|
|
||||||
// LED: IOMUXC_GPIO_AD_B0_05_GPIO1_IO05
|
// LED: IOMUXC_GPIO_AD_B0_05_GPIO1_IO05
|
||||||
@ -45,4 +44,4 @@
|
|||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -24,11 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_MIMXRT1024_EVK_H_
|
||||||
|
#define BOARD_MIMXRT1024_EVK_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
// RT1020-EVK #define BOARD_FLASH_SIZE (0x800000U)
|
// RT1020-EVK #define BOARD_FLASH_SIZE (0x800000U)
|
||||||
#define BOARD_FLASH_SIZE (0x400000U) // builtin flash of RT1024
|
#define BOARD_FLASH_SIZE (0x400000U) // builtin flash of RT1024
|
||||||
|
|
||||||
@ -46,4 +45,4 @@
|
|||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -24,11 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_MIMXRT1050_EVKB_H_
|
||||||
|
#define BOARD_MIMXRT1050_EVKB_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
#define BOARD_FLASH_SIZE (0x4000000U)
|
#define BOARD_FLASH_SIZE (0x4000000U)
|
||||||
|
|
||||||
// LED: IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
// LED: IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
||||||
@ -45,4 +44,4 @@
|
|||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -24,11 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_MIMXRT1060_EVKB_H_
|
||||||
|
#define BOARD_MIMXRT1060_EVKB_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
#define BOARD_FLASH_SIZE (0x800000U)
|
#define BOARD_FLASH_SIZE (0x800000U)
|
||||||
|
|
||||||
// LED: IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
// LED: IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
||||||
@ -45,4 +44,4 @@
|
|||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -24,11 +24,10 @@
|
|||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARD_MIMXRT1064_EVKB_H_
|
||||||
|
#define BOARD_MIMXRT1064_EVKB_H_
|
||||||
|
|
||||||
#ifndef BOARD_H_
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_H_
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
|
||||||
#define BOARD_FLASH_SIZE (0x400000U)
|
#define BOARD_FLASH_SIZE (0x400000U)
|
||||||
|
|
||||||
// LED: IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
// LED: IOMUXC_GPIO_AD_B0_09_GPIO1_IO09
|
||||||
@ -45,4 +44,4 @@
|
|||||||
#define UART_PORT LPUART1
|
#define UART_PORT LPUART1
|
||||||
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
#define UART_CLK_ROOT BOARD_BOOTCLOCKRUN_UART_CLK_ROOT
|
||||||
|
|
||||||
#endif /* BOARD_H_ */
|
#endif
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#define BOARD_H_
|
#define BOARD_H_
|
||||||
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_FLASH_SIZE (2 * 1024 * 1024)
|
#define BOARD_FLASH_SIZE (2 * 1024 * 1024)
|
||||||
|
|
||||||
// LED D13: IOMUXC_GPIO_B0_03_GPIO2_IO03
|
// LED D13: IOMUXC_GPIO_B0_03_GPIO2_IO03
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#define BOARD_H_
|
#define BOARD_H_
|
||||||
|
|
||||||
|
|
||||||
// required since iMX RT10xx SDK include this file for board size
|
// required since iMXRT MCUX-SDK include this file for board size
|
||||||
#define BOARD_FLASH_SIZE (8 * 1024 * 1024)
|
#define BOARD_FLASH_SIZE (8 * 1024 * 1024)
|
||||||
|
|
||||||
// LED D13: IOMUXC_GPIO_B0_03_GPIO2_IO03
|
// LED D13: IOMUXC_GPIO_B0_03_GPIO2_IO03
|
||||||
|
Loading…
x
Reference in New Issue
Block a user