Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Make file failing

Hi, I am trying to build the ble_blinky_client example in the nRF5 SKD v17.0.2

The make file given in the armgcc folder is failing to build the target.

I am getting the following output

C:\Nordic_SDKS\nrf5_SDK_for_Mesh_v5.0.0_src\examples\mesh_hub\ble_app_blinky_c\pca10040\s132\armgcc>make make: *** No rule to make target `C\:/Nordic_SDKS/nRF5SDK1702d674dde/modules/nrfx/mdk/gcc_startup_nrf52.S', needed by `_build/nrf52832_xxaa/gcc_startup_nrf52.S.o'. Stop.

How do I fix this?

Parents
  • Hi  ,

    I had this exact same issue for a different example which I had copied to my normal Dev location, which included everything in the _build folder still.  The solution was to enter "make clean" from within the newly-copied armgcc folder, which runs :

    rm -rf _build

    I had a look at the original nrf52832_xxaa/gcc_startup_nrf52.S.o file and compared vs. the re-built one and I could see the reference to

    [ ../../../../../../../../modules/nrfx/mdk/gcc_startup_nrf52.S' ] in there, as I was scratching my head wondered why that path was still appearing even though I changed SDK_ROOT := [ My Dev location ]

    I hope this helps other people to get their make working ok.

    Cheers,

    Martin

Reply
  • Hi  ,

    I had this exact same issue for a different example which I had copied to my normal Dev location, which included everything in the _build folder still.  The solution was to enter "make clean" from within the newly-copied armgcc folder, which runs :

    rm -rf _build

    I had a look at the original nrf52832_xxaa/gcc_startup_nrf52.S.o file and compared vs. the re-built one and I could see the reference to

    [ ../../../../../../../../modules/nrfx/mdk/gcc_startup_nrf52.S' ] in there, as I was scratching my head wondered why that path was still appearing even though I changed SDK_ROOT := [ My Dev location ]

    I hope this helps other people to get their make working ok.

    Cheers,

    Martin

Children
No Data
Related