I’m having problems with crashing on an STM32. If I remove one thread it at least starts running, even if it crashes when a queue gets something in it that delves into a certain other thread.
I’ve created a spreadsheet, listing stack sizes and queues trying to work out whether I’m anywhere near running out of RAM. It would appear not, even though I must be. One thing I am not clear about is chars, ints and longs and how much space they take on the STM32 with free RTOS.
If I have a queue that is ten chars long, is it really ten longs long? ie does a char, really take up four bytes, ie a long? (As well as the standard 76 bytes? A queue always takes?) Also, that 76 byte overhead for the queue, is that really 76 longs? I do have a LOT of queues (possibly naivety on my part) and I suppose if every byte really took up a long, I would be hitting the heap size.