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

IAR nrf52832_xxab.icf error

Hello,

I noticed the linker file we were using was for the nRF52832_xxAA so I got the nrf52832_xxab.icf from C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\linker\NordicSemi\nrf52832_xxab.icf.

After switching linker files IAR fails the linking stage with the following error: Error[Lc041]: "block PROC_STACK" defined but not referenced nrf52832_xxab.icf 74

The new linker file: nrf52832_xxab.icf

Are the linked files included with IAR correct?

Look forward to hearing from you, James

Parents
  • Hi Sigurd,

    thanks for getting back to me. This project isn't based off an example. So would you recommend ble_app_uart_iar_nRF5x.icf or would you recommend a different one from the SDK? There are a lot of different icf files in the SDK. Most of the ICF files have ram starting at a different location. Shouldn't this be the same, the boards have the same amount of ram.

    Normally a generic linker file is provided.

    I have already changed the device to the AB variant in the project options.

    Many thanks, James

Reply
  • Hi Sigurd,

    thanks for getting back to me. This project isn't based off an example. So would you recommend ble_app_uart_iar_nRF5x.icf or would you recommend a different one from the SDK? There are a lot of different icf files in the SDK. Most of the ICF files have ram starting at a different location. Shouldn't this be the same, the boards have the same amount of ram.

    Normally a generic linker file is provided.

    I have already changed the device to the AB variant in the project options.

    Many thanks, James

Children
No Data
Related