I’m browsing around today between projects and thought I’d give FreeRTOS a try. I’ve ported the demos to a Microchip PIC18F4680 demo board - it was easy and the code is basically running. I have a couple of questions about FreeRTOS’ treatment of Microchip’s infamous configuration bits.
1.) How do I tell FreeRTOS how the CPU clock rate? I like to use a 32MHz internal oscillator.
2.) Did FreeRTOS anticipate Microchip’s configuration bits? Where did it set them up? I scanned the source and didn’t find any instances of “#pragma config” but maybe they did it some other way. Where is this documented?
I’m assuming that I have to add #pragma’s to get it to run on the internal oscillator.
I’ll eventually figure this out but this forum may give me the answer quicker.
Fort Collins, CO