I create an app based on the peripheral_server_hid demo application. I sucessfully included FOTA and tried to include FreeRTOS now. This would ease my necessary business logic. With my first attempts to compile and link, I ran into a OUT OF RAM problem. The linker demanded 2000 bytes more of RAM.
So I had a look into the SECTIONS.LD (the FOTA version, as suggested in the application note on how to integrate FOTA into your own application) and the generated MAP file. It looks like the LD files starts to locate RAM of my app starting at 0x2000352C instead of 0x20000000. This is caused by the __app_ram_start defined somewhere.
This means, more than half of the precious 24K of DRAM are not available for my application. So I have the following questions:
is this observation correct and because of the necessary FOTA lib?
Does this mean, FOTA plus FreeRTOS are not possible, even with a small application?
There is the DRAM_DSP with double the amount of RAM completely unused so far - according to the MAP file. How can I make use of it? I tried to put some of the DRAM sections into DRAM_DSP instead, but the application runs into an HARDFAULT in this case.
Any help appregiated