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, 4 months ago.
frdm_helloworld failed to import to MCUXpresso
hi,
The demo frdm_helloworld is working well in online compiler. Then I export it to MCUXpresso.
It can donwload to board and run, but once I press reset button, it report an error:
Can't find a source file at "/home/jenkins/build_node_4_1/workspace/bm_wrap/1701/mbed-os/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_GCC_ARM/startup_MK64F12.S"
Does anyone else have simliar issue?
Thanks.
Question relating to:
1 Answer
6 years, 4 months ago.
Hi Jie,
It looks like there is an issue between the version of Mbed present within the frdm_helloworld
project and the current Mbed 2 build tools and exporter scripts. Please try the following steps to fix this issue:
- Open your online compiler and open the
frdm_helloworld
project - Right click on
mbed
and select "Delete..." - Right click on the
frdm_helloworld
project name and hover over "Import Library..." and select "From URL ..." - Copy and paste the following link into the "Source URL" field (this is the latest build of Mbed OS 2):
https://os.mbed.com/users/mbed_official/code/mbed/builds/a7c7b631e539
- Click "Import"
- Now re-export your project to MCUXpresso by right clicking on your project name and selecting "Export Program..."
- Remove your existing
frdm_helloworld
project from the MCUXpresso IDE and import your newly downloaded project export
You should now be able to successfully debug your frdm_helloworld
program within the MCUXpresso IDE on the K64F board.
Please let me know if you have any questions!
- Jenny, team Mbed
If this solved your question, please make sure to click the "Thanks" link below!