Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHello moistsam
I've attached the files that I am using (and keep under version control) in my project. Start by having a look at "ReadMe_FreeRTOSInstallation.txt". Note that the ZIP contains the files for two different programs (and their respective BSPs): * a minimal version of the FreeRTOS demo project * a basic version of my "real" project which uses some additional RTOS sources. A couple other things to be aware of: * my projects are still based on FreeRTOS 6.1.1 and were originally developed under Quartus v10.0 (I just did a very quick test today to verify that the code still compiles and runs under v11.0sp1 though) * I have added most FreeRTOS configuration parameters to the BSP Editor GUI, i.e. moved them from FreeRTOSConfig.h to FreeRTOS_demo_sw.tcl. This approach failed with a few of the parameters in v10.1 (that's why I had to leave them in FreeRTOSConfig.h), but there should be a bug fix in v11.0sp1 that fixes these problems (I didn't have time to test that though) * as far as I can tell porting of the interrupt code has some problems (in certain cases it ignores the fact that disabling/enabling interrupts returns/requires a context). They don't show with a single interrupt, but will probably bite you in case of nested interrupts Good luck and let me know in case you're stuck, Matthias