summaryrefslogtreecommitdiff
path: root/hw/bsp
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-09-16 22:10:53 +0700
committerGitHub <[email protected]>2025-09-16 22:10:53 +0700
commitd9ad09a8dce9e54cbd23062f8dec6c4fd49dc906 (patch)
tree98da2b93ae00831c64a78b8a4773779adcb873d0 /hw/bsp
parentfeef534921446e1a3ded54a0c46191fe1709bdb4 (diff)
parent4182342112d92898d2b55ef9562c545a9ebf52ac (diff)
Merge pull request #3252 from espressif/feat/esp32h4_support
Add ESP32-H4 as a supported MCU in TinyUSB and wire it into build/run…
Diffstat (limited to 'hw/bsp')
-rw-r--r--hw/bsp/espressif/boards/family.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/bsp/espressif/boards/family.c b/hw/bsp/espressif/boards/family.c
index 2a5deed26..28dd49143 100644
--- a/hw/bsp/espressif/boards/family.c
+++ b/hw/bsp/espressif/boards/family.c
@@ -49,7 +49,7 @@ static led_strip_handle_t led_strip;
static void max3421_init(void);
#endif
-#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3, OPT_MCU_ESP32P4)
+#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3, OPT_MCU_ESP32H4, OPT_MCU_ESP32P4)
static bool usb_init(void);
#endif
@@ -105,7 +105,7 @@ void board_init(void) {
#endif
}
-#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3)
+#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3, OPT_MCU_ESP32H4)
#endif
@@ -164,7 +164,7 @@ void board_putchar(int c) {
// PHY Init
//--------------------------------------------------------------------
-#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3, OPT_MCU_ESP32P4)
+#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3, OPT_MCU_ESP32H4, OPT_MCU_ESP32P4)
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0)
#include "esp_private/usb_phy.h"