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 L412 Nucleo
url: https://www.st.com/en/evaluation-tools/nucleo-l412kb.html
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: STM32 L476 Disco
url: https://www.st.com/en/evaluation-tools/32l476gdiscovery.html
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

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

View File

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

View File

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