I have managed to take the Atmel Studio version of FreeRTOS and get it working with Crossworks. It’s a little bit cobbled together because I have put absolute paths in for all the include files, so I mist improve that. Also, it seemed to specify that the clock was 4MHz, so I have put in some code from previous run-to-complete software I wrote to use the external crystal and changed this line:
/* FIXME: should be generated by sock */
uint32_t SystemCoreClock = CHIP_FREQ_CPU_MAX;
Not sure what “sock” means. Would be good to initialise the clock to use the external crystal and step up to 64MHz properly without putting in my code maybe?
So, once I have improved the paths set-up, it would be nice to have it available for other Crossworks users to use. How can/should I package this up to make available for others? Would it be good to wait until I have knitted in my SD card/HSMCI code into it too?