I am using the Beacon v5.40.2 code provided by Dialog to develop my product.
I would like to use the code in OTP without external flash. I think there might be some dependencies I need to change, but I can't find all of them.
I think this is one I need to comment out:
/*
Comment/Uncommment SW configuration switches to include/exclude from build
*/
#define CFG_CONFIG_STORAGE // When defined the configuration struct is read from flash
I am testing each build by loading the hex file into RAM and see if it shows up on the beacon scanner app, but so far I haven't been able to find all the flash dependencies to make this run properly without external flash.
My test setup is two identical boards with footprint for external flash, one of them is loaded with a chip and the other one is not populated. The one with the flash runs fine with the standard code, but that same code does not run on the board without flash.
Please help identify the flash dependent code sections.
Thank you!