summaryrefslogtreecommitdiff
path: root/hw/bsp/lpc17
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-12-27 09:11:09 +0700
committerhathach <[email protected]>2024-12-27 09:11:09 +0700
commit6a36c74b10b25f1455d83ba473fff52a9dbcc6d2 (patch)
treee4351bd67ef8a35da220499af38197c364ed6dba /hw/bsp/lpc17
parent86ad6e56c1700e85f1c5678607a762cfe3aa2f47 (diff)
embed metadata to family.c and board.h to generate supported boards doc
Diffstat (limited to 'hw/bsp/lpc17')
-rw-r--r--hw/bsp/lpc17/boards/lpcxpresso1769/board.h5
-rw-r--r--hw/bsp/lpc17/boards/mbed1768/board.h5
-rw-r--r--hw/bsp/lpc17/family.c4
3 files changed, 14 insertions, 0 deletions
diff --git a/hw/bsp/lpc17/boards/lpcxpresso1769/board.h b/hw/bsp/lpc17/boards/lpcxpresso1769/board.h
index d6aa98ed9..6f5c12854 100644
--- a/hw/bsp/lpc17/boards/lpcxpresso1769/board.h
+++ b/hw/bsp/lpc17/boards/lpcxpresso1769/board.h
@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
+/* metadata:
+ name: LPCXpresso1769
+ url: https://www.nxp.com/design/design-center/development-boards-and-designs/OM13000
+*/
+
#ifndef BOARD_H_
#define BOARD_H_
diff --git a/hw/bsp/lpc17/boards/mbed1768/board.h b/hw/bsp/lpc17/boards/mbed1768/board.h
index 2b3ddc905..2c75cede4 100644
--- a/hw/bsp/lpc17/boards/mbed1768/board.h
+++ b/hw/bsp/lpc17/boards/mbed1768/board.h
@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
+/* metadata:
+ name: mbed 1768
+ url: https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc1700-arm-cortex-m3/arm-mbed-lpc1768-board:OM11043
+*/
+
#ifndef BOARD_H_
#define BOARD_H_
diff --git a/hw/bsp/lpc17/family.c b/hw/bsp/lpc17/family.c
index 79281ba41..7d3231f6a 100644
--- a/hw/bsp/lpc17/family.c
+++ b/hw/bsp/lpc17/family.c
@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
+/* metadata:
+ manufacturer: NXP
+*/
+
#include "chip.h"
#include "bsp/board_api.h"
#include "board.h"