embed metadata to family.c and board.h to generate supported boards doc
This commit is contained in:
		| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: Adafruit Feather STM32F405 | ||||
|    url: https://www.adafruit.com/product/4382 | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: Pyboard v1.1 | ||||
|    url: https://www.adafruit.com/product/2390 | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: STM32 F401 Blackpill | ||||
|    url: https://stm32-base.org/boards/STM32F401CCU6-WeAct-Black-Pill-V1.2 | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: STM32 F407 Blackvet | ||||
|    url: https://stm32-base.org/boards/STM32F407VET6-STM32-F4VE-V2.0 | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: STM32 F407 Discovery | ||||
|    url: https://www.st.com/en/evaluation-tools/stm32f4discovery.html | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: STM32 F411 Blackpill | ||||
|    url: https://stm32-base.org/boards/STM32F411CEU6-WeAct-Black-Pill-V2.0 | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: STM32 F411 Discovery | ||||
|    url: https://www.st.com/en/evaluation-tools/32f411ediscovery.html | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: STM32 F412 Discovery | ||||
|    url: https://www.st.com/en/evaluation-tools/32f412gdiscovery.html | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: STM32 F412 Nucleo | ||||
|    url: https://www.st.com/en/evaluation-tools/nucleo-f412zg.html | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,11 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    name: STM32 F439 Nucleo | ||||
|    url: https://www.st.com/en/evaluation-tools/nucleo-f439zi.html | ||||
| */ | ||||
|  | ||||
| #ifndef BOARD_H_ | ||||
| #define BOARD_H_ | ||||
|  | ||||
|   | ||||
| @@ -24,6 +24,10 @@ | ||||
|  * This file is part of the TinyUSB stack. | ||||
|  */ | ||||
|  | ||||
| /* metadata: | ||||
|    manufacturer: STMicroelectronics | ||||
| */ | ||||
|  | ||||
| #include "stm32f4xx_hal.h" | ||||
| #include "bsp/board_api.h" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach