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 CLUE
url: https://www.adafruit.com/product/4500
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Arduino Nano 33 BLE
url: https://store.arduino.cc/arduino-nano-33-ble
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Adafruit Circuit Playground Bluefruit
url: https://www.adafruit.com/product/4333
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Adafruit Feather nRF52840 Express
url: https://www.adafruit.com/product/4062
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Adafruit Feather nRF52840 Sense
url: https://www.adafruit.com/product/4516
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Adafruit ItsyBitsy nRF52840 Express
url: https://www.adafruit.com/product/4481
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Nordic nRF52840DK
url: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Nordic nRF52840 Dongle
url: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-Dongle
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Nordic nRF5340 DK
url: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF5340-DK
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Nordic nRF52833 DK
url: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52833-DK
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

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