In the transition from the MBED platform to Keil studio most of the programs do not work. Compiling is producing errors. I work with the MBED LPC1768 chip and all programs have been made in mbed2. Normally the import should result in a pass when compiling in the new Keil studio but it is not. After the change from mbed to Keil the compile did give some issues with the serial command. I could solve them by changing the mbd os version to 5.14.2. Higher than this is not possible because several librarys doe not support a higher version.
Hello,
Could you please clarify what you did exactly? It looks like you imported your Mbed 2 programs from the Online Compiler to Keil Studio Cloud. Then you tried to upgrade from Mbed 2 to Mbed OS 5. Is that correct?
How did you upgrade from Mbed 2 to Mbed OS 5.14.2?
Thank you.
I added the specific Mbed OS 5.14.2 and deleted the older Mbed V2.It seems that there is a difference in toolchain between a new project in OS 5.14.2 and an updated project. Maybe this is the reason for my problem. If I make a new project in OS 5.14.2 and import all my files and folders then compiling gives no problem at all. If I have to do this for all my projects ...... Is there a way to change the toolchain? Correct compiling toolchain ARMC6, toolchain ARM_STD when i have the reported fault.
Have you checked the documentation:
https://developer.arm.com/documentation/102497/1-5/Work-with-Mbed-projects/Manage-an-Mbed-project-and-its-libraries
For Mbed 2 specifically:
https://developer.arm.com/documentation/102497/1-5/Work-with-Mbed-projects/Manage-an-Mbed-project-and-its-libraries/Mbed-2-project
If you have questions about Mbed OS, I think it would be better to post your questions here:
https://forums.mbed.com/c/mbed-os/6
Hi, Pierre Home, please use the mbed forum, the community can help you.
I would suggest to provide more details (posting your .json/.lib files).
The error comes from https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.14/rtos/source/TARGET_CORTEX/mbed_lib.json#L33, where it overrides the target value (this is the original value https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.14/targets/targets.json#L35).
Lets take it over the forum.