Skip to content

Commit 48866dd

Browse files
authored
Merge pull request #5367 from microDev1/refactor-esp-port
Update espressif port
2 parents 58eda2e + 7dda3ec commit 48866dd

File tree

95 files changed

+495
-436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+495
-436
lines changed

ports/espressif/Makefile

Lines changed: 82 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -59,59 +59,61 @@ include $(TOP)/supervisor/supervisor.mk
5959
# Include make rules and variables common across CircuitPython builds.
6060
include $(TOP)/py/circuitpy_defns.mk
6161

62-
CROSS_COMPILE = xtensa-esp32s2-elf-
62+
CROSS_COMPILE = xtensa-$(IDF_TARGET)-elf-
6363

6464
#######################################
6565
# CFLAGS
6666
#######################################
6767

68-
INC += -I.
69-
INC += -I./boards
70-
INC += -I./boards/$(BOARD)
71-
INC += -I./peripherals
72-
INC += -I../..
73-
INC += -I../../lib/mp-readline
74-
INC += -I../../lib/tinyusb/src
75-
INC += -I../../supervisor/shared/usb
76-
INC += -I$(BUILD)
77-
INC += -I$(BUILD)/genhdr
78-
INC += -I$(BUILD)/esp-idf/config
79-
80-
INC += -isystem esp-idf
81-
INC += -isystem esp-idf/components/app_update/include
82-
INC += -isystem esp-idf/components/bootloader_support/include
83-
INC += -isystem esp-idf/components/driver/esp32s2/include
84-
INC += -isystem esp-idf/components/driver/include
85-
INC += -isystem esp-idf/components/esp32s2/include
86-
INC += -isystem esp-idf/components/esp_common/include
87-
INC += -isystem esp-idf/components/esp_event/include
88-
INC += -isystem esp-idf/components/esp_hw_support/include
89-
INC += -isystem esp-idf/components/esp_netif/include
90-
INC += -isystem esp-idf/components/esp_pm/include
91-
INC += -isystem esp-idf/components/esp_ringbuf/include
92-
INC += -isystem esp-idf/components/esp_rom/include
93-
INC += -isystem esp-idf/components/esp_system/include
94-
INC += -isystem esp-idf/components/esp_timer/include
95-
INC += -isystem esp-idf/components/esp_wifi/include
96-
INC += -isystem esp-idf/components/freertos/include
97-
INC += -isystem esp-idf/components/freertos/include/freertos
98-
INC += -isystem esp-idf/components/freertos/port/xtensa/include
99-
INC += -isystem esp-idf/components/hal/include
100-
INC += -isystem esp-idf/components/hal/esp32s2/include
101-
INC += -isystem esp-idf/components/heap/include
102-
INC += -isystem esp-idf/components/log/include/
103-
INC += -isystem esp-idf/components/lwip/lwip/src/include
104-
INC += -isystem esp-idf/components/lwip/port/esp32/include
105-
INC += -isystem esp-idf/components/lwip/include/apps/sntp
106-
INC += -isystem esp-idf/components/mbedtls/mbedtls/include
107-
INC += -isystem esp-idf/components/mbedtls/port/include/
108-
INC += -isystem esp-idf/components/newlib/platform_include
109-
INC += -isystem esp-idf/components/nvs_flash/include
110-
INC += -isystem esp-idf/components/soc/include
111-
INC += -isystem esp-idf/components/soc/esp32s2/include
112-
INC += -isystem esp-idf/components/spi_flash/include
113-
INC += -isystem esp-idf/components/xtensa/esp32s2/include
114-
INC += -isystem esp-idf/components/xtensa/include
68+
INC += -I.\
69+
-I./boards \
70+
-I./boards/$(BOARD) \
71+
-I./peripherals \
72+
-I../.. \
73+
-I../../lib/mp-readline \
74+
-I../../lib/tinyusb/src \
75+
-I../../supervisor/shared/usb \
76+
-I$(BUILD) \
77+
-I$(BUILD)/genhdr \
78+
-I$(BUILD)/esp-idf/config \
79+
-isystem esp-idf \
80+
-isystem esp-idf/components/app_update/include \
81+
-isystem esp-idf/components/bootloader_support/include \
82+
-isystem esp-idf/components/driver/include \
83+
-isystem esp-idf/components/driver/$(IDF_TARGET)/include \
84+
-isystem esp-idf/components/$(IDF_TARGET)/include \
85+
-isystem esp-idf/components/esp_adc_cal/include \
86+
-isystem esp-idf/components/esp_common/include \
87+
-isystem esp-idf/components/esp_event/include \
88+
-isystem esp-idf/components/esp_hw_support/include \
89+
-isystem esp-idf/components/esp_netif/include \
90+
-isystem esp-idf/components/esp_pm/include \
91+
-isystem esp-idf/components/esp_ringbuf/include \
92+
-isystem esp-idf/components/esp_rom/include \
93+
-isystem esp-idf/components/esp_system/include \
94+
-isystem esp-idf/components/esp_timer/include \
95+
-isystem esp-idf/components/esp_wifi/include \
96+
-isystem esp-idf/components/freertos/include \
97+
-isystem esp-idf/components/freertos/include/freertos \
98+
-isystem esp-idf/components/freertos/port/xtensa/include \
99+
-isystem esp-idf/components/hal/include \
100+
-isystem esp-idf/components/hal/$(IDF_TARGET)/include \
101+
-isystem esp-idf/components/hal/platform_port/include \
102+
-isystem esp-idf/components/heap/include \
103+
-isystem esp-idf/components/log/include \
104+
-isystem esp-idf/components/lwip/include \
105+
-isystem esp-idf/components/lwip/lwip/src/include \
106+
-isystem esp-idf/components/lwip/port/esp32/include \
107+
-isystem esp-idf/components/mbedtls/esp_crt_bundle/include \
108+
-isystem esp-idf/components/mbedtls/mbedtls/include \
109+
-isystem esp-idf/components/mbedtls/port/include \
110+
-isystem esp-idf/components/newlib/platform_include \
111+
-isystem esp-idf/components/nvs_flash/include \
112+
-isystem esp-idf/components/soc/include \
113+
-isystem esp-idf/components/soc/$(IDF_TARGET)/include \
114+
-isystem esp-idf/components/spi_flash/include \
115+
-isystem esp-idf/components/xtensa/include \
116+
-isystem esp-idf/components/xtensa/$(IDF_TARGET)/include
115117

116118
CFLAGS += -DHAVE_CONFIG_H \
117119
-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" \
@@ -141,19 +143,19 @@ CFLAGS += $(INC) -Werror -Wall -mlongcalls -std=gnu11 -Wl,--gc-sections $(BASE_C
141143

142144
LDFLAGS = $(CFLAGS) -Wl,-nostdlib -Wl,-Map=$@.map -Wl,-cref -Wl,--undefined=uxTopUsedPriority
143145

144-
LDFLAGS += -L$(BUILD)/esp-idf/esp-idf/esp32s2 \
145-
-L$(BUILD)/esp-idf/esp-idf/esp32s2/ld \
146-
-Lesp-idf/components/esp32s2/ld \
147-
-Lesp-idf/components/esp_rom/esp32s2/ld \
148-
-Tesp32s2_out.ld \
149-
-Tesp32s2.project.ld \
150-
-Tesp32s2.peripherals.ld \
151-
-Tesp32s2.rom.ld \
152-
-Tesp32s2.rom.api.ld \
153-
-Tesp32s2.rom.libgcc.ld \
154-
-Tesp32s2.rom.newlib-data.ld \
155-
-Tesp32s2.rom.newlib-funcs.ld \
156-
-Tesp32s2.rom.spiflash.ld
146+
LDFLAGS += -L$(BUILD)/esp-idf/esp-idf/$(IDF_TARGET) \
147+
-L$(BUILD)/esp-idf/esp-idf/$(IDF_TARGET)/ld \
148+
-Lesp-idf/components/$(IDF_TARGET)/ld \
149+
-Lesp-idf/components/esp_rom/$(IDF_TARGET)/ld \
150+
-T$(IDF_TARGET)_out.ld \
151+
-T$(IDF_TARGET).project.ld \
152+
-T$(IDF_TARGET).peripherals.ld \
153+
-T$(IDF_TARGET).rom.ld \
154+
-T$(IDF_TARGET).rom.api.ld \
155+
-T$(IDF_TARGET).rom.libgcc.ld \
156+
-T$(IDF_TARGET).rom.newlib-data.ld \
157+
-T$(IDF_TARGET).rom.newlib-funcs.ld \
158+
-T$(IDF_TARGET).rom.spiflash.ld
157159

158160
LDFLAGS += -Wl,-Bstatic \
159161
-Wl,--no-warn-mismatch \
@@ -188,11 +190,11 @@ SRC_C += \
188190
boards/$(BOARD)/pins.c \
189191
modules/$(CIRCUITPY_MODULE).c \
190192
lib/netutils/netutils.c \
193+
peripherals/pcnt.c \
194+
peripherals/rmt.c \
191195
peripherals/timer.c \
192196
peripherals/touch.c \
193-
peripherals/pcnt.c \
194-
peripherals/pins.c \
195-
peripherals/rmt.c
197+
peripherals/$(IDF_TARGET)/pins.c
196198

197199
ifneq ($(CIRCUITPY_USB),0)
198200
SRC_C += lib/tinyusb/src/portable/espressif/esp32sx/dcd_esp32sx.c
@@ -246,23 +248,22 @@ ifeq ($(DEBUG), 1)
246248
else
247249
DEBUG_SDKCONFIG = esp-idf-config/sdkconfig-opt.defaults
248250
endif
249-
SDKCONFIGS = esp-idf-config/sdkconfig.defaults;$(DEBUG_SDKCONFIG);$(FLASH_SDKCONFIG);boards/$(BOARD)/sdkconfig
251+
SDKCONFIGS = esp-idf-config/$(IDF_TARGET)/sdkconfig.defaults;$(DEBUG_SDKCONFIG);$(FLASH_SDKCONFIG);boards/$(BOARD)/sdkconfig
250252

251253
# create the config headers
252254
$(BUILD)/esp-idf/config/sdkconfig.h: boards/$(BOARD)/sdkconfig | $(BUILD)/esp-idf
253-
IDF_PATH=$(IDF_PATH) cmake -S . -B $(BUILD)/esp-idf -DSDKCONFIG=$(BUILD)/esp-idf/sdkconfig -DSDKCONFIG_DEFAULTS="$(SDKCONFIGS)" -DCMAKE_TOOLCHAIN_FILE=$(IDF_PATH)/tools/cmake/toolchain-esp32s2.cmake -DIDF_TARGET=esp32s2 -GNinja
255+
IDF_PATH=$(IDF_PATH) cmake -S . -B $(BUILD)/esp-idf -DSDKCONFIG=$(BUILD)/esp-idf/sdkconfig -DSDKCONFIG_DEFAULTS="$(SDKCONFIGS)" -DCMAKE_TOOLCHAIN_FILE=$(IDF_PATH)/tools/cmake/toolchain-$(IDF_TARGET).cmake -DIDF_TARGET=$(IDF_TARGET) -GNinja
254256

255257
# build a lib
256258
# Adding -d explain -j 1 -v to the ninja line will output debug info
257259
#$(BUILD)/esp-idf/esp-idf/%.a: $(BUILD)/esp-idf/config/sdkconfig.h
258260
# ninja -C $(BUILD)/esp-idf esp-idf/$*.a
259261

260-
$(BUILD)/esp-idf/esp-idf/esp32s2/esp32s2_out.ld: $(BUILD)/esp-idf/config/sdkconfig.h
261-
ninja -C $(BUILD)/esp-idf esp-idf/esp32s2/esp32s2_out.ld
262-
263-
$(BUILD)/esp-idf/esp-idf/esp32s2/ld/esp32s2.project.ld: $(BUILD)/esp-idf/config/sdkconfig.h
264-
ninja -C $(BUILD)/esp-idf esp-idf/esp32s2/ld/esp32s2.project.ld
262+
$(BUILD)/esp-idf/esp-idf/$(IDF_TARGET)/$(IDF_TARGET)_out.ld: $(BUILD)/esp-idf/config/sdkconfig.h
263+
ninja -C $(BUILD)/esp-idf esp-idf/$(IDF_TARGET)/$(IDF_TARGET)_out.ld
265264

265+
$(BUILD)/esp-idf/esp-idf/$(IDF_TARGET)/ld/$(IDF_TARGET).project.ld: $(BUILD)/esp-idf/config/sdkconfig.h
266+
ninja -C $(BUILD)/esp-idf esp-idf/$(IDF_TARGET)/ld/$(IDF_TARGET).project.ld
266267

267268
$(BUILD)/esp-idf/partition_table/partition-table.bin: $(BUILD)/esp-idf/config/sdkconfig.h
268269
IDF_PATH=$(IDF_PATH) ninja -C $(BUILD)/esp-idf partition_table/partition-table.bin
@@ -276,20 +277,20 @@ menuconfig: $(BUILD)/esp-idf/config
276277
# qstr builds include headers so we need to make sure they are up to date
277278
$(HEADER_BUILD)/qstr.split: | $(BUILD)/esp-idf/config/sdkconfig.h
278279

279-
ESP_IDF_COMPONENTS_LINK = app_update bootloader_support driver efuse esp32s2 esp_adc_cal esp_common esp_event esp_hw_support esp_netif esp_pm esp_ringbuf esp_rom esp_system esp_timer esp-tls esp_wifi freertos hal heap log lwip mbedtls newlib nvs_flash pthread soc spi_flash vfs wpa_supplicant xtensa
280+
ESP_IDF_COMPONENTS_LINK = $(IDF_TARGET) app_update bootloader_support driver efuse esp_adc_cal esp_common esp_event esp_hw_support esp_netif esp_pm esp_ringbuf esp_rom esp_system esp_timer esp-tls esp_wifi freertos hal heap log lwip mbedtls newlib nvs_flash pthread soc spi_flash vfs wpa_supplicant xtensa
280281

281282
ESP_IDF_COMPONENTS_EXPANDED = $(foreach component, $(ESP_IDF_COMPONENTS_LINK), $(BUILD)/esp-idf/esp-idf/$(component)/lib$(component).a)
282283
ESP_IDF_WIFI_COMPONENTS_EXPANDED = $(foreach component, $(ESP_IDF_WIFI_COMPONENTS_LINK), $(BUILD)/esp-idf/esp-idf/$(component)/lib$(component).a)
283284

284285
MBEDTLS_COMPONENTS_LINK = crypto tls x509
285286
MBEDTLS_COMPONENTS_LINK_EXPANDED = $(foreach component, $(MBEDTLS_COMPONENTS_LINK), $(BUILD)/esp-idf/esp-idf/mbedtls/mbedtls/library/libmbed$(component).a)
286287

287-
BINARY_BLOBS = esp-idf/components/xtensa/esp32s2/libxt_hal.a
288+
BINARY_BLOBS = esp-idf/components/xtensa/$(IDF_TARGET)/libxt_hal.a
288289
BINARY_WIFI_BLOBS = libcoexist.a libcore.a libespnow.a libmesh.a libnet80211.a libpp.a librtc.a libsmartconfig.a libphy.a
289-
BINARY_BLOBS += $(addprefix esp-idf/components/esp_wifi/lib/esp32s2/, $(BINARY_WIFI_BLOBS))
290+
BINARY_BLOBS += $(addprefix esp-idf/components/esp_wifi/lib/$(IDF_TARGET)/, $(BINARY_WIFI_BLOBS))
290291

291-
ESP_IDF_COMPONENTS_EXPANDED += esp-idf/components/xtensa/esp32s2/libxt_hal.a
292-
ESP_AUTOGEN_LD = $(BUILD)/esp-idf/esp-idf/esp32s2/esp32s2_out.ld $(BUILD)/esp-idf/esp-idf/esp32s2/ld/esp32s2.project.ld
292+
ESP_IDF_COMPONENTS_EXPANDED += esp-idf/components/xtensa/$(IDF_TARGET)/libxt_hal.a
293+
ESP_AUTOGEN_LD = $(BUILD)/esp-idf/esp-idf/$(IDF_TARGET)/$(IDF_TARGET)_out.ld $(BUILD)/esp-idf/esp-idf/$(IDF_TARGET)/ld/$(IDF_TARGET).project.ld
293294

294295
FLASH_FLAGS = --flash_mode $(CIRCUITPY_ESP_FLASH_MODE) --flash_freq $(CIRCUITPY_ESP_FLASH_FREQ) --flash_size $(CIRCUITPY_ESP_FLASH_SIZE)
295296

@@ -305,8 +306,8 @@ esp-idf-stamp: $(BUILD)/esp-idf/config/sdkconfig.h
305306
esp-idf/bootloader_support/libbootloader_support.a \
306307
esp-idf/driver/libdriver.a \
307308
esp-idf/efuse/libefuse.a \
308-
esp-idf/esp32s2/libesp32s2.a \
309-
esp-idf/esp32s2/ld/esp32s2.project.ld \
309+
esp-idf/$(IDF_TARGET)/lib$(IDF_TARGET).a \
310+
esp-idf/$(IDF_TARGET)/ld/$(IDF_TARGET).project.ld \
310311
esp-idf/esp_adc_cal/libesp_adc_cal.a \
311312
esp-idf/esp_common/libesp_common.a \
312313
esp-idf/esp_event/libesp_event.a \
@@ -340,7 +341,7 @@ $(BUILD)/firmware.elf: $(OBJ) | esp-idf-stamp
340341

341342
$(BUILD)/circuitpython-firmware.bin: $(BUILD)/firmware.elf | tools/build_memory_info.py
342343
$(STEPECHO) "Create $@"
343-
$(Q)esptool.py --chip esp32s2 elf2image $(FLASH_FLAGS) --elf-sha256-offset 0xb0 -o $@ $^
344+
$(Q)esptool.py --chip $(IDF_TARGET) elf2image $(FLASH_FLAGS) --elf-sha256-offset 0xb0 -o $@ $^
344345
$(Q)$(PYTHON3) tools/build_memory_info.py $< $(BUILD)/esp-idf/sdkconfig $@
345346

346347
$(BUILD)/firmware.bin: $(BUILD)/circuitpython-firmware.bin | esp-idf-stamp
@@ -351,10 +352,10 @@ $(BUILD)/firmware.uf2: $(BUILD)/circuitpython-firmware.bin
351352
$(Q)$(PYTHON3) $(TOP)/tools/uf2/utils/uf2conv.py -f 0xbfdd4eee -b 0x0000 -c -o $@ $^
352353

353354
flash: $(BUILD)/firmware.bin
354-
esptool.py --chip esp32s2 -p $(PORT) $(ESPTOOL_FLAGS) write_flash $(FLASH_FLAGS) 0x0000 $^
355+
esptool.py --chip $(IDF_TARGET) -p $(PORT) $(ESPTOOL_FLAGS) write_flash $(FLASH_FLAGS) 0x0000 $^
355356

356357
flash-circuitpython-only: $(BUILD)/circuitpython-firmware.bin
357-
esptool.py --chip esp32s2 -p $(PORT) $(ESPTOOL_FLAGS) write_flash $(FLASH_FLAGS) 0x10000 $^
358+
esptool.py --chip $(IDF_TARGET) -p $(PORT) $(ESPTOOL_FLAGS) write_flash $(FLASH_FLAGS) 0x10000 $^
358359

359360
monitor: $(BUILD)/firmware.elf
360361
cp $< build/circuitpython.elf

ports/espressif/background.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_BACKGROUND_H
28-
#define MICROPY_INCLUDED_ESP32S2_BACKGROUND_H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_BACKGROUND_H
28+
#define MICROPY_INCLUDED_ESPRESSIF_BACKGROUND_H
2929

3030
#include <stdbool.h>
3131

32-
#endif // MICROPY_INCLUDED_ESP32S2_BACKGROUND_H
32+
#endif // MICROPY_INCLUDED_ESPRESSIF_BACKGROUND_H

ports/espressif/bindings/espidf/__init__.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_BINDINGS_ESPIDF___INIT___H
28-
#define MICROPY_INCLUDED_ESP32S2_BINDINGS_ESPIDF___INIT___H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_BINDINGS_ESPIDF___INIT___H
28+
#define MICROPY_INCLUDED_ESPRESSIF_BINDINGS_ESPIDF___INIT___H
2929

3030
#include "esp_err.h"
3131
#include "py/mpconfig.h"
@@ -39,4 +39,4 @@ NORETURN void mp_raise_espidf_MemoryError(void);
3939
void raise_esp_error(esp_err_t err) NORETURN;
4040
#define CHECK_ESP_RESULT(x) do { int res = (x); if (res != ESP_OK) raise_esp_error(res); } while (0)
4141

42-
#endif // MICROPY_INCLUDED_ESP32S2_BINDINGS_ESPIDF___INIT___H
42+
#endif // MICROPY_INCLUDED_ESPRESSIF_BINDINGS_ESPIDF___INIT___H

ports/espressif/boards/adafruit_feather_esp32s2_nopsram/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80EC
33
USB_PRODUCT = "Feather ESP32S2 no PSRAM"
44
USB_MANUFACTURER = "Adafruit"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/adafruit_feather_esp32s2_tftback_nopsram/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80EE
33
USB_PRODUCT = "Feather ESP32S2 TFT no PSRAM"
44
USB_MANUFACTURER = "Adafruit"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/adafruit_funhouse/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80FA
33
USB_PRODUCT = "FunHouse"
44
USB_MANUFACTURER = "Adafruit"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/adafruit_magtag_2.9_grayscale/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80E6
33
USB_PRODUCT = "MagTag"
44
USB_MANUFACTURER = "Adafruit"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/adafruit_metro_esp32s2/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80E0
33
USB_PRODUCT = "Metro ESP32S2"
44
USB_MANUFACTURER = "Adafruit"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/ai_thinker_esp_12k_nodemcu/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80A7
33
USB_PRODUCT = "ESP 12k NodeMCU"
44
USB_MANUFACTURER = "Ai-Thinker"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/artisense_rd00/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80AF
33
USB_PRODUCT = "Reference Design RD00"
44
USB_MANUFACTURER = "Artisense"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/atmegazero_esp32s2/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x8009
33
USB_PRODUCT = "ATMegaZero ESP32-S2"
44
USB_MANUFACTURER = "ATMegaZero"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/crumpspace_crumps2/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x3141
33
USB_PRODUCT = "CrumpS2"
44
USB_MANUFACTURER = "CrumpSpace"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/electroniccats_bastwifi/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0xBAB0
33
USB_PRODUCT = "Bast WiFi"
44
USB_MANUFACTURER = "ElectronicCats"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/espressif_hmi_devkit_1/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x7001
33
USB_PRODUCT = "ESP32-S2-HMI-DevKit-1"
44
USB_MANUFACTURER = "Espressif"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/espressif_kaluga_1.3/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80C8
33
USB_PRODUCT = "Kaluga 1"
44
USB_MANUFACTURER = "Espressif"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

ports/espressif/boards/espressif_kaluga_1/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB_PID = 0x80C8
33
USB_PRODUCT = "Kaluga 1"
44
USB_MANUFACTURER = "Espressif"
55

6+
IDF_TARGET = esp32s2
7+
68
INTERNAL_FLASH_FILESYSTEM = 1
79
LONGINT_IMPL = MPZ
810

0 commit comments

Comments
 (0)