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 F103 Bluepill
url: https://stm32-base.org/boards/STM32F103C8T6-Blue-Pill
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: STM32 F103 Mini v2
url: https://stm32-base.org/boards/STM32F103RCT6-STM32-Mini-V2.0
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: IAR STM32 F103ze starter kit
url: n/a
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

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