project-generator / project_generator

Project generators for various embedded tools (IDE). IAR, uVision, Makefile, CoIDE, Eclipse and many more in the roadmap!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[RC5 OoB] armasm errors

samchuarm opened this issue · comments

steps to reproduce:

mbed import https://github.com/ARMmbed/mbed-os-example-client
mbed update mbed-os-5.1.0-rc5
<Add WIFI config in mbed_app,json>
mbed export -i uvision -m NUCLEO_F401RE
# Open project file w/ uvision and build it

While building target in uvision, I got errors as below:

*** Using Compiler 'V5.06 update 2 (build 183)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Unnamed_Project'
.............
compiling cmsis_nvic.c...
assembling startup_stm32f401xe.S...
startup_stm32f401xe.S: error: A3900U: Unrecognized option '--preinclude=mbed_config.h'.
.............
assembling SVC_Table.S...
SVC_Table.S: error: A3900U: Unrecognized option '--preinclude=mbed_config.h'.
.............
".\.build\uvision4\Unnamed_Project.axf" - 2 Error(s), 37 Warning(s).
Target not created.

Duplicated here: #429

Please use search functionality, not to create duplicates. Thanks