GPIO[5] is define in the line below.
LPC_GPIO_TypeDef *GPIO[5] ={LPC_GPIO0, LPC_GPIO1, LPC_GPIO2, LPC_GPIO3, LPC_GPIO4};
LPC_GPIO_TypeDef, LPC_GPIO0, LPC_GPIO1, LPC_GPIO2, LPC_GPIO3, LPC_GPIO4 are all defined in LPC17xx.h
This header file description is in mbed library under mbed/LPC1768.
I'm stuck with this, I also have a dial-up connection, so debugging is almost pain.
Right now my project is running fine under Keil. My proof of concept is done, it was easy to develop with mbed. It is a good prototyping board. My project now can generate complete applications just by selecting modules. All files are generated, even the project file. So after that, I just have to double click on the project file, Keil uVision loads, I click to compile, 0 warning, 0 error, then I click the load button to program mbed, I reset mbed and voila, I can use my PC application to control mbed.
I will document it and publish it later.
Here are also some other comments about the compiler:
-
case sensitive on filenames
-
can't clean the project, is it done automatically ?
-
Import files one at a time (can't do multiple selections)
I have a multiple C files project that compiles under Keil and runs well in mbed.
If I use mbed cloud compiler, I got: Symbol ... multiply defined error
It seems that I don't understand how the compiler deals with C files.
Can mbed compiler compile C files ?