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

What is the preferred method for adding the xxxMDK_xxx_IAR.msi file changes to the IAR project?

When I execute nRF5x_MDK_8_7_1_IAR.msi from the SDK 11 directory the files from the .msi are added to the IAR install directory, not the SDK. These changes are ignored when the project is compiled.

What is the preferred method for adding the MDKxxx.msi file changes to the project?

Parents
  • Hi,

    The IAR examples uses the device files included with the SDK (\nRF5_SDK_11.0.0\components\toolchain) while the installer only copies the files to \IAR Systems\Embedded Workbench x.x\arm\src\NordicSemiconductor. So the update is not being applied automatically.

    I think it would have been better to link the system_nrf5x.c and iar_startup_nrf5x files from \IAR Systems\Embedded Workbench x.x\arm\src\NordicSemiconductor rather than the toolchain directory in the SDK. That way they would always be in sync with latest MDK installation. Will report this as a feature request internally.

    There are two ways to do this as I see it; copy the updated system_nrf5x.c and iar_startup_nrf5x files and replace them with the ones included in the SDK, or remove these files from the IAR project and instead add the files from the NordicSemiconductor folder.

  • I was able to find the SDK directories for the 4 files from the IAR xxx\arm\src\NordicSemiconductor directory and was able to replace those files. There are 15 files in the IAR xxx\arm\inc\NordicSemiconductor directory. I was able to find the SDK directories for 11 of these files and replaced them. There are 4 files, nrf5xxxx_peripherals.h, that I couldn't find in the SDK. Where do I place these files? Since this update is not automated, can you provide the SDK directory paths for each of the src & inc files in the MDK update, we need it for our verification documentation?

Reply
  • I was able to find the SDK directories for the 4 files from the IAR xxx\arm\src\NordicSemiconductor directory and was able to replace those files. There are 15 files in the IAR xxx\arm\inc\NordicSemiconductor directory. I was able to find the SDK directories for 11 of these files and replaced them. There are 4 files, nrf5xxxx_peripherals.h, that I couldn't find in the SDK. Where do I place these files? Since this update is not automated, can you provide the SDK directory paths for each of the src & inc files in the MDK update, we need it for our verification documentation?

Children
No Data
Related