Hi People I wonder if you could help me with this.
I´ve been trying for a while Freertos on PIC18 microcontrollers with heap_1 model but now I´m using the heap_2 model and I find an erratic behaviour.
I´m doing a ks108 graphic lcd driver for freertos and I wanted it to be with dinamical allocation of objects.
It was working relatively ok but now It dont.
I´ve modified the linker script for 18F4620 and I´ve been looking in the forum about the portCOMPILER_MANAGED_MEMORY_SIZE issue but couldn´t solve it.
Some task (like the line primitive) when it is context switched get his stack data corrupted.
I´m planning to donate the effort so any kind of help would be accepted.
Is it possible to use it with heap 2 model? If so what I should do to use it correctly?
Let me know and I´ll send you the code, it does some nice things with the LCD