From 4181a884ebe779ae49f4b6e86f0aface80762edf Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 12 Jan 2021 15:33:15 +0100 Subject: [PATCH 1/3] support littlefs with PlatformIO --- platformio.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio.ini b/platformio.ini index c03175200..e76901e33 100644 --- a/platformio.ini +++ b/platformio.ini @@ -66,6 +66,7 @@ default_envs = ${build_envs.default_envs} [common] framework = arduino board = esp01_1m +board_build.filesystem = littlefs board_build.flash_mode = dout board_build.ldscript = eagle.flash.1m.ld From 65ba49e59465399e62bb05eb5a61effd6fc80854 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 12 Jan 2021 15:35:08 +0100 Subject: [PATCH 2/3] add littlefs --- platformio_tasmota_env.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio_tasmota_env.ini b/platformio_tasmota_env.ini index 442e33b48..ce05c138f 100644 --- a/platformio_tasmota_env.ini +++ b/platformio_tasmota_env.ini @@ -3,6 +3,7 @@ platform = ${common.platform} platform_packages = ${common.platform_packages} framework = ${common.framework} board = ${common.board} +board_build.filesystem = ${common.board_build.filesystem} board_build.ldscript = ${common.board_build.ldscript} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_flash = ${common.board_build.f_flash} From a376ff6e532e39c9a2d2518e7fad27aa4c5de74d Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 12 Jan 2021 15:36:27 +0100 Subject: [PATCH 3/3] add littlefs --- platformio_tasmota32.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio_tasmota32.ini b/platformio_tasmota32.ini index 7234d9417..79c56eb96 100644 --- a/platformio_tasmota32.ini +++ b/platformio_tasmota32.ini @@ -47,6 +47,7 @@ platform_packages = ${core32.platform_packages} build_unflags = ${core32.build_unflags} build_flags = ${core32.build_flags} board = esp32dev +board_build.filesystem = ${common.board_build.filesystem} board_build.ldscript = esp32_out.ld board_build.partitions = esp32_partition_app1984k_spiffs64k.csv board_build.flash_mode = ${common.board_build.flash_mode}