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

bootloader_secure_serial example project with IAR [nrf52840 DK]

Hello All,

I am trying to build the "bootloader_secure_serial" example from SDK 14.2.0 on IAR Embedded Workbench IDE ARM- 7.60.1 and I get this error:
Error[Pg004]: macro parameter "__VA_ARGS__" is used in both expanded and raw forms 

This looks like an old problem, I saw a couple of posts on this issue but couldn't solve with any of those solutions. 
Also, Is there an example project to use bootloader_secure_serial without the SoftDevice.

Help, please.


Parents
  • Hi,

    In what files does this issue occur? I'm not able to reproduce this using IAR 7.60.2.11350

    Could you try to download SDK 14.2 again, and test with an unmodified SDK? Download link

    Also, Is there an example project to use bootloader_secure_serial without the SoftDevice.

    Yes, in SDK 15.2 we added support for updating applications that do not use the SoftDevice. Only the BLE bootloader is now dependent on the SoftDevice. You can download SDK 15.2 from here.

Reply
  • Hi,

    In what files does this issue occur? I'm not able to reproduce this using IAR 7.60.2.11350

    Could you try to download SDK 14.2 again, and test with an unmodified SDK? Download link

    Also, Is there an example project to use bootloader_secure_serial without the SoftDevice.

    Yes, in SDK 15.2 we added support for updating applications that do not use the SoftDevice. Only the BLE bootloader is now dependent on the SoftDevice. You can download SDK 15.2 from here.

Children
Related