diff options
| author | HiFiPhile <[email protected]> | 2025-09-17 23:19:35 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-09-17 23:44:01 +0200 |
| commit | be9409bfa738f00dc70d5e5bb99c0d9d61b69a34 (patch) | |
| tree | d7a06f922280d24153a5d9eb7b7a1c7ea4b3b954 /hw | |
| parent | 50949eb3b9aa56a38b318f3e568a682e39f4b72e (diff) | |
Fix board_init_after_tusb
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/board.c | 4 | ||||
| -rw-r--r-- | hw/bsp/rp2040/family.c | 4 |
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 |
