From a344427e3f27b04744778241f235262b42a8d003 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 6 Apr 2020 20:39:20 +0700 Subject: [PATCH] fix CROSS_COMPILE for esp32s2 --- hw/bsp/esp32s2_saola/board.mk | 2 +- 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 92ca884c..167ef622 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 325e671f..ba918425 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