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

Link error when compiling "Hello World" nrf Samples demo

I'm teaching a course, using the nRF52840-DK board as the lab platform.

Students download Segger Embedded Studio and compile the "Hello World" project from the 'nRF Samples' Solutions.

When I do this on my PC, everything compiles OK, but some of my students get an error message during the '"link" stage.   The message seems to indicate problems with Thumb mode instructions.

Everything has been left in the "default" mode when the "Build" is started.

Is there a setting that I missed?

Thanks!

Parents Reply Children
  • Thanks for the response, but my setup works with the following settings (I'm using the nRF52840-DK board for the class)

    ARM Architecture       v7EM

    ARM Core Type         Cortex-M4

    ARM FP ABI Type     Hard

    Arm FPU Type           FPv4-SP-D16

    I can't seem to determine what is different between my setup and what the students are doing (Of course I prep'd these labs quite a while ago and must have changed something without noting it :-( )

    Still stuck! :-(

  • Hi,

    I have never seen this myself, but I would assume the default configuration should be the same for any SES install. It would be interesting to know if you get the same problem if you try to build an example from the nRF5 SDK? For instance <SDK 17>\examples\peripheral\blinky ? If not, then it looks like something went wrong when generating the example project.

    As this question is about Segger Embedded Studio isolated (not using SDK code), it may be a good idea to ask Segger.

Related