Hello all, again I find myself for want of memory… I’m working on a datalogging/sending project and after implementing the mqtt-tls encryption, I’d like some more memory to actually store larger buffers/messages and implement compression algorithms. I bought some spi FRAM chips for this purpose. I can write fxn’s to read/write from them but I don’t know how to actually map them as ram. ie, I’d like to be able to declare a pointer to a certain ram spot and read/write char’s to it as if it were in the heap.
I’m wondering firstly if this is even possible. I looked at the nordic’s online datasheet and it had no mention of such a capability, although I don’t think that’s the full datasheet. I also read that this was possible/common in the esp32 mcu. ARM m4 documentation reveals a whole gb of address values reserved for external memory but not much in the ways of using it. I am assuming that I’d be re-compiling the particle OS at this point correct?
second thing i’m wondering is if there’s an easier way… the big news recently has been the discontinuation of the mesh protocol. I know some people have mourned it’s loss and all but I’m wondering if this will free up more heap space for me? Does anyone have any ballpark estimates on how much more free ram we’ll see after that update? I really don’t want to recompile the os if I don’t have to.
any answers to either of these questions is much appreciated,