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.

  • In order for us to put projects under version control we would prefer that no files be updated in the IAR install directories and all updates occur in the SDK directories. We have several developers working on Nordic projects concurrently and would prefer to maintain an SDK that can be used by all developers. Modifications to local IAR installations are very problematic. Why can't the MDK updates be supplied as a zip file that is placed in the SDK root directory and modifies the SDK directories appropriately replacing, deleting, or adding files as necessary? Using a MSI file also makes it difficult to see what files are being updated. Are the 4 files in the xxx\arm\src\NordicSemiconductor directory the only files that need to be moved to the SDK directories?

Reply
  • In order for us to put projects under version control we would prefer that no files be updated in the IAR install directories and all updates occur in the SDK directories. We have several developers working on Nordic projects concurrently and would prefer to maintain an SDK that can be used by all developers. Modifications to local IAR installations are very problematic. Why can't the MDK updates be supplied as a zip file that is placed in the SDK root directory and modifies the SDK directories appropriately replacing, deleting, or adding files as necessary? Using a MSI file also makes it difficult to see what files are being updated. Are the 4 files in the xxx\arm\src\NordicSemiconductor directory the only files that need to be moved to the SDK directories?

Children
No Data
Related