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, 7 months ago.
Export to Nucleo-L476RG
Exporting project from online IDE results in a build failure as bellow
make all ... "Assemble: except.s" cc1.exe: fatal error: /filer/workspace_data/exports/0/0b56195140e36b1c83f4483fb903ae8c/mbed_config.h: No such file or directory compilation terminated. make[1]: *** [mbed-os/cmsis/TARGET_CORTEX_M/TOOLCHAIN_GCC/except.o] Error 1 make: *** [all] Error 2 13:59:47 Build Finished (took 12s.945ms)
Fixing the link inside the Makefile results in another problem
"Assemble: except.s" cc1.exe: fatal error: mbed_config.h: No such file or directory compilation terminated. make[1]: *** [mbed-os/cmsis/TARGET_CORTEX_M/TOOLCHAIN_GCC/except.o] Error 1 make: *** [all] Error 2
I tried all kind of things.. I cannot get it to works.
I tried to use the mbed cli .. but I get other problems and a simple blinky_led cannot be compiled.
In some files the (for ex. USBMSD.h there is an include that has a wrong path to file the file is BlockDevice.h
Compiler cannot find the file.
MBED-OS is broken totally ..
Why do I try to use the local version of my file? I need to fix another bug .. which is the AnalogIn class.
Using more than one GPIO pin you get a wrong reading from the analogin. Surely the initialization is wrong. The following lines must be added as per other discussion done on the forum