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.
5 years, 2 months ago.
No "targets.json" file after an update to the latest revision of the Mbed OS-5.14 library?
After updating my offline mbed-os
library to the latest revision [e83fd322bd or 2097512789] of Mbed OS-5.14 used by the online compiler there is no targets.json
file in the mbed-os/targets
folder anymore. Consequently, mbed-cli compile -m [TARGET_NAME] ...
doesn't work for any target. Is this a bug? Should I use some new mbed-cli
option instead of -m [TARGET_NAME]
?
There are also some confusing inconsistent dates indicated in the When
column on the Revision History
page of the online compiler. For example:
Revision | When | ... | Comment |
---|---|---|---|
2097512789 | 17 Feb 2017 | ... | tag:tools release-5.14.0 Enable Legacy Builds |
Question relating to:
1 Answer
5 years, 2 months ago.
Hi Zoltan,
There should be. Have you run mbed update if you have used git checkout to change to 5.14? You can give target hardware with command mbed target [TARGET_NAME]
Regards, Pekka
Thank you Pekka for a quick response. When I update to Mbed OS-5.14.0 rev. b6e5a0a8a
then there is a targets.json
file. However, when I update to the latest Mbed OS-5.14.0 rev. e83fd322bd
, which is currently used by the online compiler, then there is no such file.
I use the following command:
mbed update [revision]
as recommended here. In both cases the command completes with no errors and everything seems OK until I try to compile a program.
posted by 07 Oct 2019