Re: nrf51822 mesh example RAM constraints.

Antonio <anvivaldi27@...>
 


On Apr 9, 2018, at 23:08, Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...> wrote:

Hi Antonio,

Please take a look at this mail chain: https://lists.zephyrproject.org/g/devel/topic/16760883#1960

a BBC micro:bit with nRF51822 256KB flash and 16 KB RAM can support BLE mesh. Yes, it is stretch on a 16 KB RAM variant, but you can take a look at the output of “make rom_report” to fine tune/reduce RAM usages in your application.

Regards,
Vinayak


Thank you Vinayak,
Got it working after deleting health and level server.

Memory region         Used Size  Region Size  %age Used
           FLASH:      100376 B       256 KB     38.29%
            SRAM:       16264 B        16 KB     99.27%
        IDT_LIST:         132 B         2 KB      6.45%


But after adding support for LOW POWER feature got RAM overflow again…

Memory region         Used Size  Region Size  %age Used
           FLASH:      104320 B       256 KB     39.79%
            SRAM:       16424 B        16 KB    100.24%
        IDT_LIST:         132 B         2 KB      6.45

Since GATT (GATT_PROXY,PB_GATT,Peripherial) support is so memory hungry, can we use PB_ADV instead and do something like
remote provisioning ?


Is this feature supported ?
Trying to make something useful out of the NRF51, like a simple low power node mesh device.
But seems they are good only as a beacons for now ;(
Or perhaps someone can recommend the way to provision NRF51 node over the PB_ADV barrier ?

Join users@lists.zephyrproject.org to automatically receive all group messages.