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: STM32 B-U585i IOT2A Discovery kit
url: https://www.st.com/en/evaluation-tools/b-u585i-iot02a.html
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: STM32 U545 Nucleo
url: https://www.st.com/en/evaluation-tools/nucleo-u545re-q.html
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -25,6 +25,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: STM32 U575 Eval
url: https://www.st.com/en/evaluation-tools/stm32u575i-ev.html
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: STM32 U575 Nucleo
url: https://www.st.com/en/evaluation-tools/nucleo-u575zi-q.html
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: STM32 U5a5 Nucleo
url: https://www.st.com/en/evaluation-tools/nucleo-u5a5zj-q.html
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -25,6 +25,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: STMicroelectronics
*/
// Suppress warning caused by mcu driver
#ifdef __GNUC__
#pragma GCC diagnostic push