This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Keil toolchain/compiler configurations incorrect

Hi all

My target board is nRF51822, and I want to run the heart rate demo project, but a error message when I compile it :

[b]Build target 'nrf51822_xxaa_s110 (256K)' assembling arm_startup_nrf51.s... arm_startup_nrf51.s: error: A3903U: Argument '--pd' not permitted for option 'device'. "._build\ble_app_hrs.axf" - 1 Errors, 0 Warning(s). Target not created[/b]

Seems toolchain/compiler configurations incorrect ???

Thanks

Parents
  • If you don't have the flash algorithm and device database mentioned in the comment above, something has gone wrong with the SDK installation. Please try to do a complete re-install of the SDK (i.e. first uninstall it and then install from the MSI again). When you reinstall, it would be useful if you could run it with logging enabled, by running the installer from the command line like this:

    
    nrf51_sdk_v4_3_0_27417.msi /log log.txt
    
    

    If you after this still don't have the files mentioned above, can you please send me this log file in a private message?

Reply
  • If you don't have the flash algorithm and device database mentioned in the comment above, something has gone wrong with the SDK installation. Please try to do a complete re-install of the SDK (i.e. first uninstall it and then install from the MSI again). When you reinstall, it would be useful if you could run it with logging enabled, by running the installer from the command line like this:

    
    nrf51_sdk_v4_3_0_27417.msi /log log.txt
    
    

    If you after this still don't have the files mentioned above, can you please send me this log file in a private message?

Children
Related