Hi,
I have project for NRF51822 in IAR(EWARM). Short about project: it based on example BLE to UART communication; it uses SPI, I2C, analog inputs readings, some digital outputs; it uses SoftDevice S110 and sdk 8.0.0.
Recently I got NRF52840 Preview DK and I want to migrate my project into nrf52.
I attempt to start this process just adding my code from nrf51 and at first stages I got errors about redifinitions.
Here is one of them in nrf51_bitfields.h:
Error[Pe047]: incompatible redefinition of macro "LPCOMP_REFSEL_REFSEL_SupplyOneEighthPrescaling" (declared at line 161 of "D:\Projects\NRF52\nRF5_SDK_15.0.0\modules\nrfx\mdk\ D:\Projects\NRF52\nRF5_SDK_15.0.0\modules\nrfx\mdk\nrf51_bitfields.h 2371
I suppose I need to use somehow headers nrf51_to_nrf52.h and nrf51_to_nrf52840.h ?
I find this tuturial for Keil: http://infocenter.nordicsemi.com/pdf/nRF52_Series_Migration_v1.0.pdf
Is there any docs about migration in IAR? I'm planning to use SoftDevice S140 and SDK15.0.0 on nrf52.
Regards!