This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM263P4: IAR Toolchain Support for Ti SDK

Part Number: AM263P4

Hi Team,

We are evaluating a BSP migration from CCS/TI-Clang to IAR Embedded Workbench on AM263Px. We noticed the MCU+ SDK (26_00_00_06) contains source/kernel/nortos/dpl/r5/iar-arm with IAR-specific assembly files.
 
1. Does TI officially support building the AM263Px MCU+ SDK using IAR? If so, are there any migration guides, validated examples, linker/startup files, or SDK library build procedures available?
2. Can TI-compiled libraries be linked with IAR? If not, what is the recommended approach for using such .lib files?
3. Are the assembly files available inside the source/kernel/nortos/dpl/r5/iar-arm intended to be drop-in replacements for the corresponding CCS/TI-Clang files?
4. Additionally, are the IAR-specific assembly implementations validated on AM263Px silicon and intended for production use?
  • Hi Gokul,
    I will get back to you

  • Hi IAR Support is avilaible for AM261x today, Because these devices share same platform so IAR suppport will be common for them.

    1. Does TI officially support building the AM263Px MCU+ SDK using IAR? If so, are there any migration guides, validated examples, linker/startup files, or SDK library build procedures available?

    You can refer to AM261x SDK for example reference.

    2. Can TI-compiled libraries be linked with IAR? If not, what is the recommended approach for using such .lib files?

    Yes they can be

    3. Are the assembly files available inside the source/kernel/nortos/dpl/r5/iar-arm intended to be drop-in replacements for the corresponding CCS/TI-Clang files?

    Yes

    4. Additionally, are the IAR-specific assembly implementations validated on AM263Px silicon and intended for production use?

    We do not claim official support on AM263Px yet, but on AM261x we have customers going to production

  • Hi,


    How we can use the pre-compiled libraries from Ti (for eg: sdl.am263px.r5f.ti-arm-clang.nortos.debug.lib) that is compiled using ti-arm-clang compiler for the IAR Toolchain. 

    Shall we keep the underlying, lower-level TI SDK libraries built using ti-arm-clang or use the provided source code to build a static IAR-compatible library variant if source is fully provided.

    Can you give us the best possible solution that works with IAR?

    Thank you for the reply.

  • 2. Can TI-compiled libraries be linked with IAR? If not, what is the recommended approach for using such .lib files?

    Yes they can be

    I will correct myself here, You will need to recompile the libraries with IAR compiler, but typically I have seen customers using the source files in their IAR project, you can follow that approach or use IAR compiler to compile the libraries

    You can follow the guide here: updates.iar.com/.../CreatingAndUsingLibs.ENU.html

  • If we tried to compile the libraries using IAR compiler, and we want to know whether all the dependency files are available inside the SDK as part of the library. Is their any exception that can cause a build failure?

  • If we tried to compile the libraries using IAR compiler, and we want to know whether all the dependency files are available inside the SDK as part of the library. Is their any exception that can cause a build failure?

    We do not expect the libraries to give any build error, though you might need to adjust the compiler flags.
    let me know if you see any compile error.