summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/board.c4
-rw-r--r--hw/bsp/rp2040/family.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/hw/bsp/board.c b/hw/bsp/board.c
index c6982ed8f..59a774789 100644
--- a/hw/bsp/board.c
+++ b/hw/bsp/board.c
@@ -152,6 +152,10 @@ TU_ATTR_WEAK size_t board_get_unique_id(uint8_t id[], size_t max_len) {
return 8;
}
+TU_ATTR_WEAK void board_init_after_tusb(void) {
+ // nothing to do
+}
+
//--------------------------------------------------------------------+
// Board API
//--------------------------------------------------------------------+
diff --git a/hw/bsp/rp2040/family.c b/hw/bsp/rp2040/family.c
index a22924131..771839b77 100644
--- a/hw/bsp/rp2040/family.c
+++ b/hw/bsp/rp2040/family.c
@@ -286,6 +286,10 @@ void board_putchar(int c) {
stdio_putchar(c);
}
+void board_init_after_tusb(void) {
+ // nothing to do
+}
+
//--------------------------------------------------------------------+
// USB Interrupt Handler
// rp2040 implementation will install appropriate handler when initializing