6 years, 6 months ago.

Problems when exporting to uVision5 with the mbed-OS 5.9

Hi.

When exporting my programs to uvision5 with the new version of mbed-OS 5.9 I get the following errors when compiling in uvision5.

mbed-os/features/nanostack/sal-stack-nanostack/source/nsconfig.h(48): error: #5: cannot open source input file "configs/nanostack_full.cfg": No such file or directory #include s_cfg_header(NSCONFIG)

A total of 144 errors. All related to configs/nanostack_full.cfg

If I go back to version 5.8 everything is fine.

Do you know any way to solve it?

thanks.

You share such a helpful solution about exporting to uVision5 with the mbed-OS 5.9. Hope this will help many peoples. Alyssa Patterson, http://www.secureassignmenthelp.com/economics-assignment-help/

posted by Alyssa Patterson 17 Sep 2019

7 Answers

6 years, 5 months ago.

I have the same issue with the ST boards ( nucleo L433RC-P, 401RE / disoc F769I )

6 years, 5 months ago.

Hi. I have a project about serial communication with Labview . I study with MBED lpc1768. My project is button control in labview. I must send value with buttons and I receive this value on Mbed compiler. Also I have to turn on and off the Leds on the card with these values. But I cannot. If you have an idea , please help me

6 years, 4 months ago.

I'm using LPC1768 mbed dev. board with firmware=141212. When i exported the project with just mbed from online compiler for uVision 5, it works fine and i'm also able to debug it properly with breakpoints added to it. But when i exported the project blinky with mbed OS , the build failed with 145 errors all related to

mbed-os/features/nanostack/sal-stack-nanostack/source/nsconfig.h(48): error: #5: cannot open source input file "configs/nanostack_full.cfg": No such file or directory

I'm using Keil v5.25. Please advise a solution.

Thanks in advance.

6 years, 4 months ago.

I have the same issue with the ST board B-L072Z-LRWAN1.

Me too

mbed-os/features/nanostack/sal-stack-nanostack/source/nsconfig.h(48): error: #5: cannot open source input file "configs/nanostack_full.cfg": No such file or directory

over 120 errors when exported demo lorawan application from mbed to uvision

posted by Marko Pavlin 26 Aug 2018
6 years, 4 months ago.

Fix is tracked and implemented here: https://github.com/ARMmbed/mbed-os/issues/7615

6 years, 6 months ago.

Hi Jorge,

For which target board are you trying to export to uvision 5 for? (For example LPC1768, K64F, etc.)

- Jenny, team Mbed

For NUCLEO-F746ZG. Only happen with the new version of mbed.

posted by Jorge Montes 22 Jun 2018
6 years, 6 months ago.

I have this problem exporting for the K64F.

What seems to be missing is the "configs" directory from mbed-os/features/nanostack/sal-stack-nanostack/source.

When I manually added this directory and its contents from https://github.com/ARMmbed/mbed-os/tree/master/features/nanostack/sal-stack-nanostack/source/configs it seems to compile OK.