C
@robert-hh helped me on this. many thanx to him !!!!!!
WE need to modify the tools/size_check.sh
I did IMG_MAX_SIZE_4MB=1810000 (added in my case increased with ~40000 bytes from1761280 partition size)
then
go to boards/lopy/script_4MB and change factory and ota_0 size .. then otadata begin adress
{
"version" : "2.1",
"partitions" : {
"factory" : ["0x10000", "0x1B9E50"],
"ota_0" : ["0x1CBE50", "0x1B9E50"],
"otadata" : ["0x1C9E50", "0x1000"]
},
"script" : [
["w", "bootloader", "bootloader.bin"],
["w", "partitions", "partitions_4MB.bin"],
["w", "factory", "lopy.bin"]
]
}