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.

  • Agree with all your points, and have forwarded them to our MDK team. Thanks for the feedback! Yes, it is the four files in xxx\arm\src\NordicSemiconductor you want to copy to your SDK in addition to the header files in xxx\IAR Systems\Embedded Workbench 7.3\arm\inc\NordicSemiconductor.

    Note that device support and flash configurations for the nRF5 series are updated through this installer as well so it should still be installed on each setup even if the SDK is patched.

Reply
  • Agree with all your points, and have forwarded them to our MDK team. Thanks for the feedback! Yes, it is the four files in xxx\arm\src\NordicSemiconductor you want to copy to your SDK in addition to the header files in xxx\IAR Systems\Embedded Workbench 7.3\arm\inc\NordicSemiconductor.

    Note that device support and flash configurations for the nRF5 series are updated through this installer as well so it should still be installed on each setup even if the SDK is patched.

Children
No Data
Related