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!
Dear Adrian,
We find a solution:
At IAR: option/Assembler/preprocessor we have the following code:
__HEAP_SIZE=1024 BLE_STACK_SUPPORT_REQD S110 BOARD_PCA10028 SOFTDEVICE_PRESENT NRF51 SWI_DISABLE0 SPI_MASTER_0_ENABLE REQD S130 BOARD_PCA10028 SOFTDEVICE_PRESENT NRF51 SWI_DISABLE0 SPI_MASTER_0_ENABLE BLE_DFU_APP_SUPPORT
I delete all the lines and the we can build. We think it was a configuration migrated from KEIL.
Please give us feedback.
Best regards,
WGP
Dear Adrian,
We find a solution:
At IAR: option/Assembler/preprocessor we have the following code:
__HEAP_SIZE=1024 BLE_STACK_SUPPORT_REQD S110 BOARD_PCA10028 SOFTDEVICE_PRESENT NRF51 SWI_DISABLE0 SPI_MASTER_0_ENABLE REQD S130 BOARD_PCA10028 SOFTDEVICE_PRESENT NRF51 SWI_DISABLE0 SPI_MASTER_0_ENABLE BLE_DFU_APP_SUPPORT
I delete all the lines and the we can build. We think it was a configuration migrated from KEIL.
Please give us feedback.
Best regards,
WGP
Hi
I tried your assembler preprocessor defines in one of my own projects and could build without a problem.
Regards Adrian