mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-16 23:43:23 +00:00
fix CROSS_COMPILE for esp32s2
This commit is contained in:
parent
9d26666c91
commit
a344427e3f
@ -1,2 +1,2 @@
|
||||
# Cross Compiler for ESP32
|
||||
CROSS_COMPILE = xtensa-esp32-elf-
|
||||
CROSS_COMPILE = xtensa-esp32s2-elf-
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user