From 673b4c2881ef81190ebfddba07f9d59eb8b6b3b4 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Mon, 26 Feb 2024 14:56:18 +0100 Subject: [PATCH] add env and partition for devKitC-1-N32R8, #1635 --- esp32_partition_16M.csv | 9 +++++---- esp32_partition_32M.csv | 8 ++++++++ platformio.ini | 14 ++++++++++++++ 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 esp32_partition_32M.csv diff --git a/esp32_partition_16M.csv b/esp32_partition_16M.csv index 879ae512a..4068ffaf1 100644 --- a/esp32_partition_16M.csv +++ b/esp32_partition_16M.csv @@ -1,7 +1,8 @@ # Name, Type, SubType, Offset, Size, Flags nvs, data, nvs, 0x9000, 0x005000, otadata, data, ota, , 0x002000, -app0, app, ota_0, , 0x6E0000, -app1, app, ota_1, , 0x6E0000, -nvs1, data, nvs, , 0x030000, -spiffs, data, spiffs, , 0x200000, \ No newline at end of file +app0, app, ota_0, , 0x5D0000, +app1, app, ota_1, , 0x5D0000, +nvs1, data, nvs, , 0x040000, +spiffs, data, spiffs, , 0x400000, +coredump, data, coredump,, 0x010000, \ No newline at end of file diff --git a/esp32_partition_32M.csv b/esp32_partition_32M.csv new file mode 100644 index 000000000..25411fc99 --- /dev/null +++ b/esp32_partition_32M.csv @@ -0,0 +1,8 @@ +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, 0x9000, 0x005000, +otadata, data, ota, , 0x002000, +app0, app, ota_0, , 0xDD0000, +app1, app, ota_1, , 0xDD0000, +nvs1, data, nvs, , 0x040000, +spiffs, data, spiffs, , 0x400000, +coredump, data, coredump,, 0x010000, \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index f4d2734c7..b8b634186 100644 --- a/platformio.ini +++ b/platformio.ini @@ -97,6 +97,20 @@ build_flags = ${espressi32_base.build_flags} '-DEMSESP_DEFAULT_BOARD_PROFILE="S32S3"' +[env:ci_s3_32M] +extends = espressi32_base +extra_scripts = scripts/rename_fw.py +board = lolin_s3 +board_build.f_cpu = 240000000L +board_upload.flash_size = 32MB +board_build.partitions = esp32_partition_32M.csv +board_build.flash_mode = opi +board_build.arduino.memory_type: opi_opi +build_unflags = ${common.unbuild_flags} +build_flags = + ${espressi32_base.build_flags} + '-DEMSESP_DEFAULT_BOARD_PROFILE="S32S3"' + [env:esp32_4M] extends = espressi32_base_tasmota board = esp32dev