diff --git a/platformio.ini b/platformio.ini index b594723..260e5cd 100644 --- a/platformio.ini +++ b/platformio.ini @@ -12,6 +12,7 @@ board_build.filesystem = littlefs board_build.f_flash = 80000000L board_build.flash_mode = qio board_build.f_cpu = 80000000L +board_upload.offset_address = 0x13000 monitor_speed = 115200 # Smaller values will make the serial info look better but the esp work slower... ; Higher numbers are unsupported by the usb chip, sometimes they work but are unstable. It's the CP2102 IC ; Available baud rates: diff --git a/resources/tools/buildTime/sdkconfig.defaults b/resources/tools/buildTime/sdkconfig.defaults index 6ab73a7..4376481 100644 --- a/resources/tools/buildTime/sdkconfig.defaults +++ b/resources/tools/buildTime/sdkconfig.defaults @@ -8,7 +8,7 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="resources/tools/fs/in/partitions.csv" CONFIG_PARTITION_TABLE_FILENAME="resources/tools/fs/in/partitions.csv" -CONFIG_PARTITION_TABLE_OFFSET=0x40000 +CONFIG_PARTITION_TABLE_OFFSET=0x12000 CONFIG_PARTITION_TABLE_MD5=y CONFIG_ESPTOOLPY_FLASHSIZE="4MB" CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y diff --git a/resources/tools/fs/templates/snoititrap-template.csv b/resources/tools/fs/templates/snoititrap-template.csv index ac668b6..e09c83e 100644 --- a/resources/tools/fs/templates/snoititrap-template.csv +++ b/resources/tools/fs/templates/snoititrap-template.csv @@ -1,5 +1,2 @@ -#Name,Type,SubType,Offset,Size,Flags -app,app,factory,0x10000,0x300000, -coredump,data,coredump,,0x10000, -nvs,data,nvs,,0x3000, -littlefs,data,undefined,,0x5000, \ No newline at end of file +# Name, Type, SubType, Offset, Size, Flags +app, app, factory, 0x13000, 3M, \ No newline at end of file