File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -338,21 +338,22 @@ BINARY_BLOBS += esp-idf/components/xtensa/$(IDF_TARGET)/libxt_hal.a
338
338
ESP_IDF_COMPONENTS_EXPANDED += esp-idf/components/xtensa/$(IDF_TARGET ) /libxt_hal.a
339
339
endif
340
340
341
- ifeq ($(IDF_TARGET ) , esp32c3)
342
- ESPTOOL_BAUDRATE = 230400
343
- BOOTLOADER_OFFSET = 0x0000
341
+ ifeq ($(IDF_TARGET ) ,esp32c3)
342
+ BOOTLOADER_OFFSET = 0x0
343
+ else ifeq ($(IDF_TARGET),esp32s3)
344
+ BOOTLOADER_OFFSET = 0x0
344
345
else
345
- ESPTOOL_BAUDRATE = 460800
346
346
BOOTLOADER_OFFSET = 0x1000
347
347
endif
348
+
348
349
PARTITION_TABLE_OFFSET = 0x8000
349
350
FIRMWARE_OFFSET = 0x10000
350
351
351
352
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
352
353
353
354
FLASH_FLAGS = --flash_mode $(CIRCUITPY_ESP_FLASH_MODE ) --flash_freq $(CIRCUITPY_ESP_FLASH_FREQ ) --flash_size $(CIRCUITPY_ESP_FLASH_SIZE )
354
355
355
- ESPTOOL_FLAGS ?= -b $( ESPTOOL_BAUDRATE ) - -before=default_reset --after=no_reset
356
+ ESPTOOL_FLAGS ?= --before=default_reset --after=no_reset
356
357
357
358
ifeq ($(IDF_TARGET ) ,esp32c3)
358
359
all : $(BUILD ) /firmware.bin
Original file line number Diff line number Diff line change 1
- #
2
- # Bootloader config
3
- #
4
- # CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V is not set
5
- # end of Bootloader config
6
-
7
1
#
8
2
# Serial flasher config
9
3
#
@@ -50,6 +44,14 @@ CONFIG_ESP32S2_DATA_CACHE_16KB=y
50
44
# end of Cache config
51
45
# end of ESP32S2-specific
52
46
47
+ #
48
+ # ESP32S3-specific
49
+ #
50
+ # CONFIG_ESP32S3_DEFAULT_CPU_FREQ_160 is not set
51
+ CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
52
+ CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ=240
53
+ # end of ESP32S3-specific
54
+
53
55
#
54
56
# Common ESP-related
55
57
#
You can’t perform that action at this time.
0 commit comments