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.
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.