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

SDK6.1 device_firmware_update\bootloader example. - Compile Error using IAR

  • SoftDevice : S110 7.1

  • SDK 6.1

  • Using IAR 7.1

  • Example : device_firmware_update\bootloader

  • Board : PCA10001

/**********************/

Hi, I was trying this example.

I tried with Keil uVision 5. Thanks to the prebuild project file, it worked on Keil.

However, I mainly use IAR. While migrating the example, it had compile errors.

error

msg

The "bootloader_util_arm.c" had problem.

I tried to search about this "__asm" and the difference between the Keil project settings.

However, I couldn't find it. (Maybe it is due to lack of knowledge about assembler or linker.)

So, the questions are,

  1. what other settings are needed?

The current setting follows like these.

C setting

Preprocessors : ICCARM NRF51 BOARD_PCA10001 BLE_STACK_SUPPORT_REQD BOOTLOADER_BANKED

(I erased the "DEBUG_NRF_USER" on purpose.)

  1. Are there similar examples like this in the SDK 7.2?

What are the name of the examples?

-Regards, Mango922