This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

IAR startup code (nrf5340 and nrf9160)

Hi there,

We are looking for the IAR startup code of the nrf5340 and nrf9160 devices. We have downloaded the MDK already, but only the GCC startup codes seems to be present.

Please can you assist with this? Can you point me to the startup code for setting up the Interrupt Vector etc. in IAR? 

Regards,

Frikkie

Parents Reply Children
  • Hi, 

    Sorry. I have to correct my answer after confirming with the team. I am not aware the status is changing. 

    It's very possible to develop on nRF53/nRF91 devices without zephyr support. Our IAR installers include support for these devices, and the GCC distribution should include the IAR startup files as well. They're typically named iar_startup_nrf5340_application.s etc.
    Sorry for the mislead again. 
    Amanda
  • Thanks, it does not seem as if the GCC distribution includes these startup files. I have however managed to run the IAR installer, and found the startup files with the IAR Embedded Workbench directory.

    That thus answers my main question.

    Could you possibly refer me to a baremetal example project within VS Code/SES, where Zephyr is not included?

  • Unfortunately, we do not have any bare metal implementation examples.

    -Amanda  

  • From our experience, Nordic's register setup is a bit different than the usual ARM cores, which requires some basic examples to get used to. Hence it is a massive pity that there are no baremetal examples available, only unnecessarily complicated Zephyr examples.

    Nonetheless, we have managed to get the IAR startup files working and have marked this answer as verified.

Related