Hi team ,
I have developed the code where i am able to do OTA in dual slot when my application size is less , but my current application size is aprx. 260 KB and i want top do OTA in single block without using 2nd block , please find my proj.conf for the same
I am getting following error , please guide me for the same
[241/264] Building C object zephyr/CMakeFiles/zephyr.dir/F_/Rohit/workspace/PPG/ncs/v2.5.0/nrf/subsys/bluetooth/services/lbs.c.obj
F:/Rohit/workspace/PPG/ncs/v2.5.0/nrf/subsys/bluetooth/services/lbs.c:32:31: warning: 'button_state' defined but not used [-Wunused-variable]
32 | static bool button_state;
| ^~~~~~~~~~~~
[248/264] Linking C executable zephyr\zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map
cmd.exe /C "cd . && F:\Rohit\workspace\ncs\ncs\toolchains\c57af46cb7\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf && cmd
.exe /C "cd /D F:\Rohit\workspace\NodicExmp\PranNiti_Final_code\build\zephyr && F:\Rohit\workspace\ncs\ncs\toolchains\c57af46cb7\opt\bin\cmake.exe -E true""
f:/rohit/workspace/ncs/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `datas'
will not fit in region `FLASH'
f:/rohit/workspace/ncs/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH' overflowed by 12108 byt
es
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'F:\Rohit\workspace\ncs\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE' --build 'f:\Rohit\workspace\NodicExmp\PranNiti_Final_code\build'
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
Proj.conf file