diff options
| author | hathach <[email protected]> | 2023-04-03 17:44:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-04-03 17:44:05 +0700 |
| commit | 5ef260d5fceeef49c8d1eb08fe39a12712b1ae53 (patch) | |
| tree | ee6ac3165de956cf284202bcdfc34844e3baf43a /tools/build_utils.py | |
| parent | 1911c613c7f66d13bf22a1252144cadae1264533 (diff) | |
fix build for esp32
Diffstat (limited to 'tools/build_utils.py')
| -rw-r--r-- | tools/build_utils.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/build_utils.py b/tools/build_utils.py index 905d06a86..ec850e732 100644 --- a/tools/build_utils.py +++ b/tools/build_utils.py @@ -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": |
