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

Eclipse Managed Make Project for nRF52

I'm using nRF52 + SDK11.0.0 + s132 and following this tutorial and this blog to make a Managed Make project using the ble_hrs esample.

As I was going through the directory structure, I noticed that ble_app_hrs_gcc_nrf52.ld in the Eclipse project directory is exactly the same as armgcc_s132_nrf52832_xxaa.ld (located in the components\softdevice\s132\toolchain\armgcc subdirectory) but armgcc_s132_nrf52832_xxaa.ld is not being used. Why are there essentially two copies of this file?

Also, I am trying to match up the Managed Makefile flags with the Standard (tutorial's) Makefile flags and would like clarifications on:

  1. --gc-sections is optional in the Standard build: Standard: -Wl,--gc-sections vs Managed: --gc-sections. Is this an issue?

  2. -Map is optional in the Managed build: Standard: -Map=nrf52.map vs Managed: -Wl,-Map,"nrf52.map". Is this an issue?

  3. not linking libc and libnosys does not cause errors in the Managed Build. Are these necessary?

Parents Reply Children
No Data
Related