diff options
| author | hathach <[email protected]> | 2020-04-06 20:39:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-06 20:39:20 +0700 |
| commit | a344427e3f27b04744778241f235262b42a8d003 (patch) | |
| tree | ccdfd60219b288577b28cead9426a0c541c6623c | |
| parent | 9d26666c9177653be431b02f5262405ee39f3f59 (diff) | |
fix CROSS_COMPILE for esp32s2
| -rw-r--r-- | hw/bsp/esp32s2_saola/board.mk | 2 | ||||
| -rw-r--r-- | tools/build_all.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/esp32s2_saola/board.mk b/hw/bsp/esp32s2_saola/board.mk index 92ca884c4..167ef6226 100644 --- a/hw/bsp/esp32s2_saola/board.mk +++ b/hw/bsp/esp32s2_saola/board.mk @@ -1,2 +1,2 @@ # Cross Compiler for ESP32 -CROSS_COMPILE = xtensa-esp32-elf- +CROSS_COMPILE = xtensa-esp32s2-elf- diff --git a/tools/build_all.py b/tools/build_all.py index 325e671fd..ba918425a 100644 --- a/tools/build_all.py +++ b/tools/build_all.py @@ -58,7 +58,7 @@ def skip_example(example, board): mk_contents = mk.read() # Skip ESP32-S2 board if example is not FreeRTOS one - if 'freertos' not in example and 'CROSS_COMPILE = xtensa-esp32-elf-' in mk_contents: + if 'freertos' not in example and 'CROSS_COMPILE = xtensa-esp32s2-elf-' in mk_contents: return 1 # Skip if CFG_TUSB_MCU in board.mk to match skip file |
