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.
6 years, 11 months ago.
Trying to export MQTT project, but failed
Hello.
I was trying to export MQTT Hello world project to my IDe, but I got 404 page does not exists error. Can anyone, please, help me to understand what am I doing wrong?
Here is the link to the project that I am interested in https://developer.mbed.org/teams/mqtt/code/HelloMQTT/export
1 Answer
6 years, 11 months ago.
Hi :),
Could you let me know first:
1)What platform are you using? 2)What IDE are you trying to export to?
There maybe a few issues with the above, thats why i need to know which is why you seeing the errors, this is being worked on but until then i can suggest using our offline build option mbed-cli.
This will allow you to everything in the online-IDE import libraries, compile etc and even export to the needed toolchain.
It is located here. https://github.com/ARMmbed/mbed-cli
After installing CLI The commands would look something like this to download a blinky example using lpc1768.
- $ cd "TO DESIRED DIRECTORY"
- $ mbed import https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-blinky/
- $ cd "TO NEW CREATED FOLDER"
- $ mbed deploy
- $ mbed compile -t GCC_ARM -m lpc1768
You have now compiled the program, to export follow below
- $ mbed export -i uvision5 -m lpc1768
If you need anything else, let me know
Regards,
Andrea, team mbed