DevOps Automation

DevOps Automation

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

RTRT TDP for iccarm compiler

  • 1.  RTRT TDP for iccarm compiler

    Posted Mon June 26, 2023 11:13 AM

    Hi,

    I have developed a TDP for the iccarm compiler.

    I face the following error during instrumentation. If the instrumentation is disabled not facing any errors.

    Are there a set of header adaptations available that work with all the include files part of the IAR compiler (iccarm)?

    TestRT attolccp: "C:\Program Files\IAR Systems\Embedded Workbench 9.2\arm\inc\c\yvals.h",line 358: error #79: 
           expected a type specifier
        _Pragma("object_attribute = __weak") __intrinsic __nounwind void __iar_Locksyslock_Malloc(void);
                ^
     
    TestRT attolccp: "C:\Program Files\IAR Systems\Embedded Workbench 9.2\arm\inc\c\yvals.h",line 358: error #141-D: 
           unnamed prototyped parameters not allowed when body is present
        _Pragma("object_attribute = __weak") __intrinsic __nounwind void __iar_Locksyslock_Malloc(void);
        ^
     
    TestRT attolccp: "C:\Program Files\IAR Systems\Embedded Workbench 9.2\arm\inc\c\yvals.h",line 358: error #130: 
           expected a "{"
        _Pragma("object_attribute = __weak") __intrinsic __nounwind void __iar_Locksyslock_Malloc(void);


    ------------------------------
    Abirami Nagalingam
    ------------------------------