mikroc & pic32mz

system422 wrote on Sunday, November 24, 2019:

i’m using a pic32mz1024efg064 with mikroc pro for pic32 compiler. this compiler uses freeRTOS version 9… i’m new to this and have a project that doesn’t really do much at this point but is getting rather large with nested concurrent running state machines that are stacked on top of each other… i would like to simplify the code into threads so i could write blocking fuctions. that being said what are the absolute minimum required files that i need to include to run freeRTOS with the most basic functionallity of a time slice scheduler? ideally i’d like to have about a dozen threads running concurrently with out any inner task communication, mutexes or timers… also is there a way that i can run freertos with case sensitivity disabled so i don’t have to change everything i’ve written over the last year? thanks

rtel wrote on Sunday, November 24, 2019:

what are the absolute minimum
required files that i need to include to run freeRTOS with the most
basic functionallity of a time slice scheduler?

Fro the core kernel - probably just FreeRTOS/Source/tasks.c,
FreeRTOS/Source/list.c - although you may also need FreeRTOS/Source/Queue.c.

Then you would need to select a heap memory manager, and the correct
port layer for your chip and compiler.

Take a look at Creating a new RTOS project

also is there a way that i can run
freertos with case sensitivity disabled so i don’t have to change
everything i’ve written over the last year? thanks

Sorry - I don’t understand that question. FreeRTOS is just C code it
doesn’t know anything about case sensitivity.