Content originally posted in LPCWare by fjrg76 on Tue Nov 13 10:59:03 MST 2012
Thank you, but is that necessary just for adding a source code inside the same project? I did it and it didn't work :D
As far as I read in the article that procedure is for creating a library and then share it among other projects.
I made a little project for the FreeRTOS and a LPC1114 in a previous LPCXpresso release some months ago (the FreeRTOS directory is inside the project), then I added it to my actual workspace and it did compile. So, in a new project inside the same workspace I created the same files hierarchy than that of the LPC114 project, but for the LPC1227. I also added the paths as mentioned earlier in "Include settings" (and BTW, there is nothing related to FreeRTOS in "Library settings"), just the same as the LPC1114 project, but for a reason the linker throws the error that it cannot find the references to functions in FreeRTOS.
Then I adapted the LPC1114 project for my LPC1227 (changing references from "LPC11xx.h" to "LPC122x.h" and paths, but keeping the directory structure) and it compiled.
Now my LPC1227 project is up and running, but I would like to know what I missing so one project compiles and links, and the other one don't.