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 Reply
  • 1) I got same issues but I was able to solve them by adding extra braces to STATIC_ASSERT functions.
        For example: STATIC_ASSERT((IS_POWER_OF_TWO(NRF_LOG_BUFSIZE)));
        I was able to clear all the errors by adding this at a lot of places. 
    2) I am trying to use the ..\examples\dfu\secure_bootloader\pca10056_usb project and test it. But my
        development kit doesn't enter the DFU mode. I followed this Guide to try testing the project and was not
        successful in programming a DFU(nRFgo Studio). Can you provide some help.

    PS: The guide is specifically blogged for BLE Secure DFU example. I assumed the steps will be the same,
           correct me if I am wrong.

Children
Related