summaryrefslogtreecommitdiff
path: root/hw/bsp/lpc11
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/lpc11
parent86ad6e56c1700e85f1c5678607a762cfe3aa2f47 (diff)
embed metadata to family.c and board.h to generate supported boards doc
Diffstat (limited to 'hw/bsp/lpc11')
-rw-r--r--hw/bsp/lpc11/boards/lpcxpresso11u37/board.h5
-rw-r--r--hw/bsp/lpc11/boards/lpcxpresso11u68/board.h5
-rw-r--r--hw/bsp/lpc11/family.c4
3 files changed, 14 insertions, 0 deletions
diff --git a/hw/bsp/lpc11/boards/lpcxpresso11u37/board.h b/hw/bsp/lpc11/boards/lpcxpresso11u37/board.h
index 930462f28..c8a48eecb 100644
--- a/hw/bsp/lpc11/boards/lpcxpresso11u37/board.h
+++ b/hw/bsp/lpc11/boards/lpcxpresso11u37/board.h
@@ -1,3 +1,8 @@
+/* metadata:
+ name: LPCXpresso11U37
+ url: https://www.nxp.com/design/design-center/development-boards-and-designs/OM13074
+*/
+
#ifndef BOARD_H
#define BOARD_H
diff --git a/hw/bsp/lpc11/boards/lpcxpresso11u68/board.h b/hw/bsp/lpc11/boards/lpcxpresso11u68/board.h
index a12fcbef1..50141e4a5 100644
--- a/hw/bsp/lpc11/boards/lpcxpresso11u68/board.h
+++ b/hw/bsp/lpc11/boards/lpcxpresso11u68/board.h
@@ -1,3 +1,8 @@
+/* metadata:
+ name: LPCXpresso11U68
+ url: https://www.nxp.com/design/design-center/development-boards-and-designs/OM13058
+*/
+
#ifndef BOARD_H
#define BOARD_H
diff --git a/hw/bsp/lpc11/family.c b/hw/bsp/lpc11/family.c
index e75bc4919..566449ca0 100644
--- a/hw/bsp/lpc11/family.c
+++ b/hw/bsp/lpc11/family.c
@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
+/* metadata:
+ manufacturer: NXP
+*/
+
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"