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

SDK 14 buttonless dfu not building with gcc

I'm using SDK 14 and trying to build the ble_app_buttonless_dfu example. I'm using Linux environment, so gcc for building. When I try to build the example I'm getting an error as below,

Compiling file: ble_dfu_unbonded.c
/tmp/cchirqL7.s: Assembler messages:
/tmp/cchirqL7.s:64: Error: cannot honor width suffix -- `ldr.w r12,=#3'
make: *** [_build/nrf52832_xxaa/ble_dfu_unbonded.c.o] Error 1

Please suggest a solution

Parents
  • Hi Guys, Was wondering if anyone here could help me out. I googled "gcc-arm-none-eabi-7-2017-q4-major-win32" and downloaded the installer and installed it. Still does not compile, am I missing something - like maybe a setting?(I am using EmBitz V1.00 IDE). Lastly, How do I downgrade to GCC v4.9.3?

  • I am afraid that I am unfamiliar with the Embitz IDE. My recommendation would be to go for Segger Embedded Studio which is fully supported in our SDK with lots of example. You get afree perpetual license for SES for development on Nordic ICs. In addition to that i would point out that you also get the following features:

    • SES is cross-platform, i.e. runson Windows, Linux and macOS.
    • SES allows you to view logging information sent using Seggers RTT( one of the two logging backends we support in our SDK) directly in the SES IDE, rather than having to open a RTT terminal window.
    • SES's Integrated Debugger with advanced debug information windows and direct J-Link integration.
Reply
  • I am afraid that I am unfamiliar with the Embitz IDE. My recommendation would be to go for Segger Embedded Studio which is fully supported in our SDK with lots of example. You get afree perpetual license for SES for development on Nordic ICs. In addition to that i would point out that you also get the following features:

    • SES is cross-platform, i.e. runson Windows, Linux and macOS.
    • SES allows you to view logging information sent using Seggers RTT( one of the two logging backends we support in our SDK) directly in the SES IDE, rather than having to open a RTT terminal window.
    • SES's Integrated Debugger with advanced debug information windows and direct J-Link integration.
Children
No Data
Related