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: SAMD21 Xplained Pro
url: https://www.microchip.com/DevelopmentTools/ProductDetails/ATSAMD21-XPRO
*/
#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 Express
url: https://www.adafruit.com/product/3333
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: SAMD21 Curiosty Nano
url: https://www.microchip.com/en-us/development-tool/dm320119
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Great Scott Gadgets Cynthion
url: https://greatscottgadgets.com/cynthion/
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

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

View File

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

View File

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

View File

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

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: Seeeduino XIAO
url: https://wiki.seeedstudio.com/Seeeduino-XIAO/
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: SparkFun SAMD21 Mini
url: https://www.sparkfun.com/products/13664
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -23,6 +23,11 @@
*
*/
/* metadata:
name: Adafruit Trinket M0
url: https://www.adafruit.com/product/3500
*/
#pragma once
// LED

View File

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