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.
8 years, 4 months ago.
OS5 Blink example don't compiles with Keil 5
I exported the OS5 Blink example to Keil 5 but I'm facing a problem, Keil can't find the files "mbed.h" and "rtos.h". Can you give me an idea about what's is going on? I searched those files in the project folders but I don't found them.
Thanks,
Samuel
1 Answer
8 years, 4 months ago.
Hi Samuel,
Thanks for reporting this. Currently there is a known issue with the Online IDE exporters and mbed OS 5. As a quick workaround perhaps you could try mbed CLI which would import the mbed OS example and also export to Keil and other exporters. Start up guide for mbed CLI can be found here https://docs.mbed.com/docs/mbed-os-handbook/en/5.1/getting_started/blinky_cli/
Additionally with mbed CLI you could run 'mbed deploy' in the unzipped folder of your export, which will download the missing libraries.
Again, thanks for the regression report and apologies for the inconvenience this may have caused.
Cheers,
Mihail