fix build for esp32

This commit is contained in:
hathach
2023-04-03 17:44:05 +07:00
parent 1911c613c7
commit 5ef260d5fc
13 changed files with 15 additions and 9 deletions

View File

@@ -53,6 +53,13 @@ def skip_example(example, board):
token = token.strip("\"")
_, opt_mcu = token.split("=")
mcu = opt_mcu[len("OPT_MCU_"):]
break
if "esp32s2" in token:
mcu = "ESP32S2"
break
if "esp32s3" in token:
mcu = "ESP32S3"
break
# Skip all OPT_MCU_NONE these are WIP port
if mcu == "NONE":