HI,
I have been trying to generate the hex files for the mesh sdk (Latest) examples using cmake following the instructions in the documentation.
But the platforms supported out of the boc for the sdk are nrf51422_xxAC
,
nrf52832_xxAA,
nrf52840_xxAA. But i have been trying to generate the hex files for nrf51822_xxAA.
I had modified the cmake files so that the board that gets selected is pca20006 with soft device s130 and at the same time decreased the flash size top 256kb and ram size too 16kb and generated the cmake files successfully. But i got a build error of
"c:/progra~2/gnutoo~1/62017-~1/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: examples\beaconing\beaconing_nrf51422_xxAC_s130_2.0.1.elf section `.bss' will not fit in region `RAM'
c:/progra~2/gnutoo~1/62017-~1/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: region RAM overflowed with stack
c:/progra~2/gnutoo~1/62017-~1/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM' overflowed by 5424 bytes
collect2.exe: error: ld returned 1 exit status
[6/102] Building C object examples/light_switch/client/CMakeFiles/light...xxAC_s130_2.0.1.dir/__/__/__/mesh/access/src/device_state_manager.c.obj
ninja: build stopped: subcommand failed."
when i tried to build using the ccommand "ninja".
Please help me as to if my hardware configuration supports mesh and if so where i went wrong.
Thanking You,
Sivaguru Ravi