I have done a FreeRTOS port for KEA128. You can get the code for the below git repo
I am improving on the Demo application side of it. Will keep committing.
I've tried your port. however, when I try some API in Interrupt, such as xQueueReceiveFromISR()、xSemaphoreGiveFromISR(), it doesn't work correctly.
I am a new man with FreeRTOS.
I was exactly wondering whether some hero had already tried a porting like this.
Actually, I've got a TRK KEA128 and I'm running Kinetis Studio on a Mac.
Is your project targeting Kinetis Studio?
I'd like to experiment a bit creating some tasks and wrap a CAN communication in one of them.
I've looked carefully to yuor porting and I've compared it with the "official" specs here:
Actually I see yur porting, even if really effective, it's not following the "official" porting procedure depicted above.
1) not implementing the various vParTestToggleLED
2) not implementing any new Demo for the board, like the other ones under the "Demo" folder
3) not following the "portable" folder specs, specific for each micro and compiler.
I'd like to have a full integrated FreeRTOS, and eventually asking to the FreeRTOS community to be able
to push the new porting into the official FreeRTOS distro.
I could help you, if you are interested as well, or I could start completely new branch encompassing
your port.c and portmacro.h, eventually.
Let me know whether this could make sense to you or not.
thanks for your quick reply and support.
This sounds really cool to me. My idea basic idea is to take your code and using a task
to fill up a circular queue for CAN messages.
Another task will poll this queue to abstract from CAN implementation (a sort of CANSocket
management in Linux, let's say).
Looking forward to see yuor code.