I migrate a project from keil to IAR, at the moment of bulding im facing this error:
arm_startup_nrf51.s Error in command line: Invalid argument to option '-D' Error while running Assembler
Please help me!
I migrate a project from keil to IAR, at the moment of bulding im facing this error:
arm_startup_nrf51.s Error in command line: Invalid argument to option '-D' Error while running Assembler
Please help me!
Hi
The required startup files depend on the build environment. For IAR you should use iar_startup_nrf51.s instead of arm_startup_nrf51.s. The file comes with the SDK12 for example and can be found under "\components\toolchain\iar".
Regards Adrian
Hi
The required startup files depend on the build environment. For IAR you should use iar_startup_nrf51.s instead of arm_startup_nrf51.s. The file comes with the SDK12 for example and can be found under "\components\toolchain\iar".
Regards Adrian
Dear Adrian,
I change iar_startup_nrf51.s instead of arm_startup_nrf51.s, reemplazing the file in it directory, but we still have the same error:
Error in command line: Invalid argument to option '-D' Error while running Assembler
Best regards,
WGP