embed metadata to family.c and board.h to generate supported boards doc

This commit is contained in:
hathach
2024-12-27 09:11:09 +07:00
parent 86ad6e56c1
commit 6a36c74b10
247 changed files with 1697 additions and 7 deletions

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Adafruit Metro M7 1011
url: https://www.adafruit.com/product/5600
*/
#ifndef BOARD_M7_1011_H_
#define BOARD_M7_1011_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Adafruit Metro M7 1011 SD
url: https://www.adafruit.com/product/5600
*/
#ifndef BOARD_METRO_M7_1011_SD_H_
#define BOARD_METRO_M7_1011_SD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: i.MX RT1010 Evaluation Kit
url: https://www.nxp.com/design/design-center/development-boards-and-designs/i-mx-evaluation-and-development-boards/i-mx-rt1010-evaluation-kit:MIMXRT1010-EVK
*/
#ifndef BOARD_MIMXRT1010_EVK_H_
#define BOARD_MIMXRT1010_EVK_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: i.MX RT1015 Evaluation Kit
url: https://www.nxp.com/design/design-center/development-boards-and-designs/MIMXRT1015-EVK
*/
#ifndef BOARD_MIMXRT1015_EVK_H_
#define BOARD_MIMXRT1015_EVK_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: i.MX RT1020 Evaluation Kit
url: https://www.nxp.com/design/design-center/development-boards-and-designs/MIMXRT1020-EVK
*/
#ifndef BOARD_MIMXRT1020_EVK_H_
#define BOARD_MIMXRT1020_EVK_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: i.MX RT1024 Evaluation Kit
url: https://www.nxp.com/design/design-center/development-boards-and-designs/i-mx-evaluation-and-development-boards/i-mx-rt1024-evaluation-kit:MIMXRT1024-EVK
*/
#ifndef BOARD_MIMXRT1024_EVK_H_
#define BOARD_MIMXRT1024_EVK_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: i.MX RT1050 Evaluation Kit revB
url: https://www.nxp.com/part/IMXRT1050-EVKB
*/
#ifndef BOARD_MIMXRT1050_EVKB_H_
#define BOARD_MIMXRT1050_EVKB_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: i.MX RT1060 Evaluation Kit revB
url: https://www.nxp.com/design/design-center/development-boards-and-designs/MIMXRT1060-EVKB
*/
#ifndef BOARD_MIMXRT1060_EVKB_H_
#define BOARD_MIMXRT1060_EVKB_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: i.MX RT1064 Evaluation Kit
url: https://www.nxp.com/design/design-center/development-boards-and-designs/MIMXRT1064-EVK
*/
#ifndef BOARD_MIMXRT1064_EVKB_H_
#define BOARD_MIMXRT1064_EVKB_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: i.MX RT1070 Evaluation Kit
url: https://www.nxp.com/design/design-center/development-boards-and-designs/i-mx-evaluation-and-development-boards/i-mx-rt1170-evaluation-kit:MIMXRT1170-EVKB
*/
#ifndef BOARD_MIMXRT1170_EVKB_H_
#define BOARD_MIMXRT1170_EVKB_H_

View File

@@ -24,11 +24,14 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Teensy 4.0
url: https://www.pjrc.com/store/teensy40.html
*/
#ifndef BOARD_H_
#define BOARD_H_
// required since iMXRT MCUX-SDK include this file for board size
#define BOARD_FLASH_SIZE (2 * 1024 * 1024)

View File

@@ -24,11 +24,14 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Teensy 4.1
url: https://www.pjrc.com/store/teensy41.html
*/
#ifndef BOARD_H_
#define BOARD_H_
// required since iMXRT MCUX-SDK include this file for board size
#define BOARD_FLASH_SIZE (8 * 1024 * 1024)

View File

@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: NXP
*/
#include "bsp/board_api.h"
#include "board/clock_config.h"
#include "board/pin_mux.h"