At the risk of sounding like a complete noob: how does one actually get started on a new project using LPCOpen? I've read through the documentation, and all I can find is a quick start guide for importing examples for the LPC11U14 Xpresso board. Half of these projects don't build due to some linker error, and the USB examples seem to ignore the USE_USB_ROM_STACK flag when I set it. I've got an Embedded Artists LPC11U35 QuickStart board, and I want to start a new project using the core drivers and LPCUSBLib. I've been able to get bare projects up and running by following the LPCXpresso guide and importing CMSIS, and I can also get the older nxpUSBlib working properly complete with ROM driver support, but I want the "platform independence" that LPCOpen offers. Could somebody walk me through the process of actually creating a new workspace and project that leverages these libraries?
Thanks!
Neil Thiessen
Paul
Yes - there should be IAR and Keil guides in the next release (expected, but not promised :)).
Will there be a guide to IAR as well?
Hello Neilt6
We are sorry for any confusion you are experiencing using LPCOpen with LPCXpresso. We are in the final review process of writing a Project Porting Guide for LPCXpresso which should help in these situations. Our goal is to have the porting guide ready for release with LPCOpen v1.03 on 5/10/2013, however, the actual release date may slip another week.
We'll get the porting guide posted as soon as the sign off process has been completed.
Paul
Alright, now I tried to recreate the "periph_blinky" project by doing the following:
Sorry, I guess I spoke too soon. I forgot to add the CORE_M0 symbol to the Blinky project - now it compiles and runs... Still though, this seems like a lot of steps to set up a new project, I still think I'm missing something here... And wouldn't all these hardcoded include paths be fragile when LPCOpen is updated? I'm so confused...
Alright, I moved the LPCOpen folder from C:\Worskpace\projects\shared to C:\nxp alongside LPCXpresso, and that solved my linker issues. I can get all of the examples to build now, but I'm still a little bit confused as to how to create a new project and link it to the libraries I want to use. Do I literally just make a new project, and and add all of the folders inder the "Includes" section. Will this continue to work when I replace LPCOpen with a newer version?