Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 5 months ago.
Changing Platforms
Hello
So far I have been using STM32 nucleo as platform to develop several things. Lately I have tried also mbed LPC1114FN28.
There I notice an error when compiling a program. If I chose the wrong platform a cryptic message appeared. Choose the correct platform and the problem was gone. (Unfortunately I dont remember the error message)
Now I am trying to apply the CC3000 library with the cc3000_hello_world_demo and when trying to compile (for my nucleo) I got the following message
"Cannot open source input file "device.h"" No such file directory #include "device.h" in "platform.h"
I dont know where is this file platform.h or what to do to correct this error. I suspect is because it is using the nucleo as platform
Any advice on how can I apply this library to the CC300 connected to my nucleo
(I have tried the hardware with arduino and it works fine)
Please , I will appreciate any advice comment or pointer
1 Answer
9 years, 5 months ago.
Right mouse button on the mbed lib in your program, click update. Normal reason that error happens is because the mbed lib is from before your platform was supported.
Check the same with the CC3000 lib btw. If this breaks your program you can go back to an older revision again, but in general you want to use the latest version.
Thank you . that solve the problem and had to edit some other file to update it and now it compiles. Unfortunately now I am having problems programming the STM32 so can't say if this is working or not.
btw what do you mean by "check the same with the CC300 lib"? The lib and the main file share the same mbed, does it not?
posted by 05 May 2016