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

Compilation error DFU OTA on 52832

I have DFU OTA application running on 52840 platform on a custom board. SDK v15.3.0. I use SoftDevoce S140 v6.1.1.

Then I need to port it to 52832 platform - SoftDevice S132 v6.1.1. Same, SDK 15.3.0.

I changed the crypto to use micro_ecc, and disabled UART1 and also UARTE1, and re-ordered the path and include.

However, I kept getting this compilation error:

"C:\NordicNRF52\sDevice\V6_11\s132\include\nrf_nvic.h", line 290: Error:  #40: expected an identifier
    int pm = __get_PRIMASK();
           ^
"C:\NordicNRF52\sDevice\V6_11\s132\include\nrf_nvic.h", line 292: Error:  #117: non-void function "__sd_nvic_irq_disable"  should return a value
    return pm;
             ^

I am not sure what I did wrong.

Parents Reply Children
No Data
Related