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.

RTOS/AM4378: PRU HSR-PRP-DAN fails to compile

Part Number: AM4378
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Dear Champs,

I'm trying to compile example from PRU-ICSS-HSR-PRP-DAN_01.00.02.00 package. I've generated the project as it is described in the User Guide (with all the packages installed as mentioned in the Release Notes), but when I compile the project, I get the following errors (I get these same errors with PRP project as well):
###################################

'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c'
'Invoking: GNU Compiler'
"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -Dcore0 -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects/hsr_app_AM437x_arm" -I"C:/ti/pdk_am437x_1_0_7/packages" -I"C:/ti/pdk_am437x_1_0_7/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O0 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hsr_prp_menu.d" -MT"hsr_prp_menu.o" -o"hsr_prp_menu.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c"
subdir_rules.mk:23: recipe for target 'hsr_prp_menu.o' failed
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c: In function 'printPTPStatus':
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c:285:5: warning: implicit declaration of function 'TimeSync_isEnabled' [-Wimplicit-function-declaration]
     if(!TimeSync_isEnabled(timeSyncHandle))
     ^
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c: In function 'txHSRPRPTestFrame':
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c:701:21: error: 'START_OF_UDP_HEADER' undeclared (first use in this function)
     hsrPrpTestFrame[START_OF_UDP_HEADER + 2] = seq_num;
                     ^
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c:701:21: note: each undeclared identifier is reported only once for each function it appears in
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c: In function 'parseAndCheckHSRPRPTestFrame':
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c:748:19: error: 'START_OF_UDP_HEADER' undeclared (first use in this function)
     if((tempFrame[START_OF_UDP_HEADER] == 0xAB)
                   ^
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c: In function 'readAndAssignIPAddress':
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c:799:30: error: 'START_OF_IP_ADDRESS' undeclared (first use in this function)
     memcpy(hsrPrpTestFrame + START_OF_IP_ADDRESS, &ipAddr, 4);
                              ^
gmake: *** [hsr_prp_menu.o] Error 1
...
hsr_app_snmp/subdir_rules.mk:9: recipe for target 'hsr_app_snmp/mib_impl.o' failed
C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/snmp/mib_impl.c:37:26: error: 'NUMBER_OF_PORTS' undeclared here (not in a function)
 struct   ifEntry_mib ifp[NUMBER_OF_PORTS];
....
#######################################

Could you please advise how to resolve the issue?HSR

BR,
Ilya

  • the RTOS team have been notified. They will respond here.
  • Hi Ilya

    I see that you are using PDK 1.0.7 which is part of PROCESSOR-SDK-RTOS 04_00_00_04 which uses CCS 7.1.0.16 .
    The PRU-ICSS-HSR-PRP-DAN_01.00.02.00 release notes contain the following note.
    The notes specify PROCESSOR-SDK-RTOS 03_03_00 which is available at www.ti.com/.../ti-rtos-proc
    Unfortunately ,at this date, this now points to v04.00
    V03.03 is available at software-dl.ti.com/.../index_FDS.html
    In addition this release uses CCS 7.0.0 which is available at processors.wiki.ti.com/.../Download_CCS

    David
  • David,
    Thanks, it worked for me (despite with CCS 7.2.0).
    May be you can also comment regarding Profinet Slave project - it compiles, but with 100+ warnings, is it Ok?

    BR,
    Ilya
  • Ilya,

    Profinet also uses PROCESSOR-SDK-RTOS 03_03_00 and CCS .7.0.0.

    In addition Profinet requires a patch for the PROCSSOR_SDK - ICSS EMAC LLD and the AM335x PDK. This is described in the Release Notes known issues section. http://processors.wiki.ti.com/index.php/PRU_ICSS_Profinet_Release_Notes#Known_Issues

    David

  • I'd say with current setup for ICSS packages it is much less user-friendly...
    1. If I already use CCS 7.2, why should I install 7.0? For some project I have to use CCS6.2, some require even CCS 5.5 - should I have all CCS versions installed? It is just time and disk space consuming and constant user frustration...
    2. Now I have to manually edit *bat file to generate the project - also doesn't make the life easier
    3. Previously I looked to a single document (Release Notes) describing the components I need to build all the example projects, etc. With new setup I have to look into 4 different documents, and surprise - there is only RTOS SDK version is mentioned. Components necessary to build are missing there, only looking to the *bat files I can figure it out.

    So hope it will get better at some point.
  • It is sometimes necessary to have multiple versions of CCS.  CCS permits us to have multiple versions installed in separate directories. For example we can have CCS7.0 installed in C:\ti\ccs70  and CCS7.1 installed C:\ti\ccs71. When installing CCS in a different directory from c:\ti -  it is necessary to update the CCS product discovery paths to include the paths to the tools that we use.  This is under Window / Preferences / Code Composer Studio / Products.

    When working with multiple devices, I have found it best to install the SDK for each device in a separate directory.

    When installing CCS and/or the Processor SDK in a different directory other than C:\ti - we need to follow the installation directions for rebuilding the processor SDK RTOS, rebuilding the PDK and creating and creating the PDK examples as described in   http://processors.wiki.ti.com/indexp hp/Processor_SDK_RTOS_Install_In_Custom_Path

    Similarly when installing a PRU-ICSS package when the compatible CCS or the Processor SDK is in a different directory than c:\ti - it is necessary to follow the instructions in the Generating Project files section of that package's User Guide .

    David

  • **** Build of configuration AM437x_release for project hsr_app_AM437x_arm ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/am437x_app.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/bios_6_46_04_53/packages;C:/ti/pdk_am437x_1_0_6/packages;C:/ti/ndk_2_25_01_11/packages;C:/ti/edma3_lld_2_12_03_27/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A9F -p ti.platforms.evmAM437X -r release -c "C:/ti/gcc-arm-none-eabi-4_9-2015q3" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/am437x_app.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring am437x_app.xa9fg from package/cfg/am437x_app_pa9fg.cfg ...
    generating custom ti.sysbios library makefile ... 
    Inside EDMA3 Drv Sample getLibs
        will link with ti.sdo.edma3.drv.sample:lib/am437x-evm/arm9/release/edma3_lld_drv_sample.aa9fg
    	Linking with library ti.drv.spi:./lib/am437x/a9/release/ti.drv.spi.aa9fg
    	Linking with library ti.board:./lib/idkAM437x/a9/release/ti.board.aa9fg
    	Linking with library ti.drv.icss_emac:./lib/a9/release/ti.drv.icss_emac.aa9fg
    	Linking with library ti.csl:./lib/am437x/a9/release/ti.csl.aa9fg
    	Linking with library ti.drv.gpio:./lib/a9/release/ti.drv.gpio.aa9fg
    	Linking with library ti.drv.pruss:./lib/a9/release/ti.drv.pruss.aa9fg
    	Linking with library ti.drv.i2c:./lib/a9/release/ti.drv.i2c.aa9fg
    	Linking with library ti.drv.uart:./lib/a9/release/ti.drv.uart.aa9fg
    	Linking with library ti.osal:./lib/tirtos/a9/release/ti.osal.aa9fg
    Inside EDMA3 Drv getLibs
        will link with ti.sdo.edma3.drv:lib/arm9/release/edma3_lld_drv.aa9fg
    Inside EDMA3 RM getLibs
        will link with ti.sdo.edma3.rm:lib/am437x-evm/arm9/release/edma3_lld_rm.aa9fg
    Starting build of library sources ...
    making C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/src/sysbios/sysbios.aa9fg ...
    gmake[1]: Entering directory `C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/src/sysbios'
    Build of libraries done.
    cla9fg package/cfg/am437x_app_pa9fg.c ...
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/am437x_app.cfg'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_tools.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hsr_prp_tools.d" -MT"hsr_prp_tools.o" -o"hsr_prp_tools.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_tools.c"
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_tools.c: In function 'calcUDPChecksum':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_tools.c:100:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
         memcpy(pseudoIPHeader, src, 8);
         ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_tools.c:100:5: warning: incompatible implicit declaration of built-in function 'memcpy'
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_tools.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/AM437x/hsr_prp_soc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hsr_prp_soc.d" -MT"hsr_prp_soc.o" -o"hsr_prp_soc.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/AM437x/hsr_prp_soc.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/AM437x/hsr_prp_soc.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_i2cLed.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"board_AM437x/idkAM437x/board_i2cLed.d" -MT"board_AM437x/idkAM437x/board_i2cLed.o" -o"board_AM437x/idkAM437x/board_i2cLed.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_i2cLed.c"
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/AM437x/hsr_prp_soc.c: In function 'HSR_PRP_socHwinit':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/AM437x/hsr_prp_soc.c:42:5: warning: implicit declaration of function 'Board_phyReset' [-Wimplicit-function-declaration]
         Board_phyReset(2);
         ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/AM437x/hsr_prp_soc.c: In function 'HSR_PRP_socgetMACAddress':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/AM437x/hsr_prp_soc.c:62:5: warning: implicit declaration of function 'SOCCtrlGetPortMacAddr' [-Wimplicit-function-declaration]
         SOCCtrlGetPortMacAddr(1, lclMac);
         ^
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_i2cLed.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_gpioLed.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"board_AM437x/idkAM437x/board_gpioLed.d" -MT"board_AM437x/idkAM437x/board_gpioLed.o" -o"board_AM437x/idkAM437x/board_gpioLed.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_gpioLed.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_gpioLed.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hsr_prp_menu.d" -MT"hsr_prp_menu.o" -o"hsr_prp_menu.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c"
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c: In function 'printPTPStatus':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c:285:5: warning: implicit declaration of function 'TimeSync_isEnabled' [-Wimplicit-function-declaration]
         if(!TimeSync_isEnabled(timeSyncHandle))
         ^
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_menu.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_phy.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"board_AM437x/idkAM437x/board_phy.d" -MT"board_AM437x/idkAM437x/board_phy.o" -o"board_AM437x/idkAM437x/board_phy.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_phy.c"
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:196:0: warning: "PRUICSS_INSTANCE" redefined
     #define PRUICSS_INSTANCE 2
     ^
    In file included from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:157:0:
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/hsr_prp_soc.h:97:0: note: this is the location of the previous definition
     #define PRUICSS_INSTANCE        DEFAULT_PRUICSS_INSTANCE
     ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c: In function 'pruss_iep_MDIOInitialization':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:852:5: warning: implicit declaration of function 'ICSS_EMAC_testDelay' [-Wimplicit-function-declaration]
         ICSS_EMAC_testDelay(50);
         ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c: At top level:
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:855:6: warning: conflicting types for 'ICSS_EMAC_testDelay'
     void ICSS_EMAC_testDelay(uint32_t delay)
          ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:852:5: note: previous implicit declaration of 'ICSS_EMAC_testDelay' was here
         ICSS_EMAC_testDelay(50);
         ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c: In function 'main':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:872:5: warning: implicit declaration of function 'PRCMModuleEnable' [-Wimplicit-function-declaration]
         PRCMModuleEnable(CHIPDB_MOD_ID_PWMSS, 0, 0);
         ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:927:27: warning: passing argument 1 of 'PRUICSS_socGetInitCfg' from incompatible pointer type
         PRUICSS_socGetInitCfg(&pruss_config);
                               ^
    In file included from C:/ti/pdk_am437x_1_0_6/packages/ti/drv/icss_emac/icss_emacFwInit.h:43:0,
                     from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:36:
    C:/ti/pdk_am437x_1_0_6/packages/ti/drv/pruss/pruicss.h:531:9: note: expected 'struct PRUICSS_Config **' but argument is of type 'struct PRUICSS_Config (*)[3]'
     int32_t PRUICSS_socGetInitCfg( PRUICSS_Config **cfg);
             ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c: In function 'ICSSEmacDRVInit':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/main.c:1316:12: warning: unused variable 'retVal' [-Wunused-variable]
         int8_t retVal = -1;
                ^
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_phy.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_spi.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"board_AM437x/idkAM437x/board_spi.d" -MT"board_AM437x/idkAM437x/board_spi.o" -o"board_AM437x/idkAM437x/board_spi.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_spi.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/idkAM437x/board_spi.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/board_misc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"board_common/board_misc.d" -MT"board_common/board_misc.o" -o"board_common/board_misc.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/board_misc.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/board_misc.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/delay_us.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"board_common/delay_us.d" -MT"board_common/delay_us.o" -o"board_common/delay_us.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/delay_us.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/delay_us.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/icss_emac_osal.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"board_common/icss_emac_osal.d" -MT"board_common/icss_emac_osal.o" -o"board_common/icss_emac_osal.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/icss_emac_osal.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/icss_emac_osal.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/osdrv_ndkdeviceconfig.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"board_common/osdrv_ndkdeviceconfig.d" -MT"board_common/osdrv_ndkdeviceconfig.o" -o"board_common/osdrv_ndkdeviceconfig.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/osdrv_ndkdeviceconfig.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/board/common/osdrv_ndkdeviceconfig.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/snmp/mibvars.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hsr_app_snmp/mibvars.d" -MT"hsr_app_snmp/mibvars.o" -o"hsr_app_snmp/mibvars.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/snmp/mibvars.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/snmp/mibvars.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/ClockP_tirtos.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"osal/ClockP_tirtos.d" -MT"osal/ClockP_tirtos.o" -o"osal/ClockP_tirtos.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/ClockP_tirtos.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/ClockP_tirtos.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/EventP_tirtos.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"osal/EventP_tirtos.d" -MT"osal/EventP_tirtos.o" -o"osal/EventP_tirtos.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/EventP_tirtos.c"
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/EventP_tirtos.c: In function 'EventP_getPostedEvents':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/EventP_tirtos.c:91:1: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/EventP_tirtos.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/SwiP_tirtos.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"osal/SwiP_tirtos.d" -MT"osal/SwiP_tirtos.o" -o"osal/SwiP_tirtos.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/SwiP_tirtos.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/SwiP_tirtos.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/snmp/mib_impl.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hsr_app_snmp/mib_impl.d" -MT"hsr_app_snmp/mib_impl.o" -o"hsr_app_snmp/mib_impl.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/snmp/mib_impl.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp/snmp/mib_impl.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/MailboxP_tirtos.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"osal/MailboxP_tirtos.d" -MT"osal/MailboxP_tirtos.o" -o"osal/MailboxP_tirtos.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/MailboxP_tirtos.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/MailboxP_tirtos.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/TaskP_tirtos.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"osal/TaskP_tirtos.d" -MT"osal/TaskP_tirtos.o" -o"osal/TaskP_tirtos.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/TaskP_tirtos.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/osal/TaskP_tirtos.c'
    ' '
    'Building file: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/i2c/soc/am437x/I2C_soc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"soc_am437x/I2C_soc.d" -MT"soc_am437x/I2C_soc.o" -o"soc_am437x/I2C_soc.o" @"configPkg/compiler.opt" "C:/ti/pdk_am437x_1_0_6/packages/ti/drv/i2c/soc/am437x/I2C_soc.c"
    'Finished building: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/i2c/soc/am437x/I2C_soc.c'
    ' '
    'Building file: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"soc_am437x/GPIO_soc.d" -MT"soc_am437x/GPIO_soc.o" -o"soc_am437x/GPIO_soc.o" @"configPkg/compiler.opt" "C:/ti/pdk_am437x_1_0_6/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c"
    'Finished building: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/gpio/soc/am437x/GPIO_soc.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/drivers/snmp_ndk_interface.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"snmp_core_driver/snmp_ndk_interface.d" -MT"snmp_core_driver/snmp_ndk_interface.o" -o"snmp_core_driver/snmp_ndk_interface.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/drivers/snmp_ndk_interface.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/drivers/snmp_ndk_interface.c'
    ' '
    'Building file: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/spi/soc/am437x/SPI_soc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"soc_am437x/SPI_soc.d" -MT"soc_am437x/SPI_soc.o" -o"soc_am437x/SPI_soc.o" @"configPkg/compiler.opt" "C:/ti/pdk_am437x_1_0_6/packages/ti/drv/spi/soc/am437x/SPI_soc.c"
    'Finished building: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/spi/soc/am437x/SPI_soc.c'
    ' '
    'Building file: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/uart/soc/am437x/UART_soc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"soc_am437x/UART_soc.d" -MT"soc_am437x/UART_soc.o" -o"soc_am437x/UART_soc.o" @"configPkg/compiler.opt" "C:/ti/pdk_am437x_1_0_6/packages/ti/drv/uart/soc/am437x/UART_soc.c"
    'Finished building: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/uart/soc/am437x/UART_soc.c'
    ' '
    'Building file: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/pruss/soc/am437x/pruicss_soc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"soc_am437x/pruicss_soc.d" -MT"soc_am437x/pruicss_soc.o" -o"soc_am437x/pruicss_soc.o" @"configPkg/compiler.opt" "C:/ti/pdk_am437x_1_0_6/packages/ti/drv/pruss/soc/am437x/pruicss_soc.c"
    'Finished building: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/pruss/soc/am437x/pruicss_soc.c'
    ' '
    'Building file: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/icss_emac/soc/am437x/icss_emacSoc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"soc_am437x/icss_emacSoc.d" -MT"soc_am437x/icss_emacSoc.o" -o"soc_am437x/icss_emacSoc.o" @"configPkg/compiler.opt" "C:/ti/pdk_am437x_1_0_6/packages/ti/drv/icss_emac/soc/am437x/icss_emacSoc.c"
    'Finished building: C:/ti/pdk_am437x_1_0_6/packages/ti/drv/icss_emac/soc/am437x/icss_emacSoc.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/inport.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"source_snmp/inport.d" -MT"source_snmp/inport.o" -o"source_snmp/inport.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/inport.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/inport.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/osporttk.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"source_snmp/osporttk.d" -MT"source_snmp/osporttk.o" -o"source_snmp/osporttk.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/osporttk.c"
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/osporttk.c'
    ' '
    'Building file: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -I"C:/ti/pdk_am437x_1_0_6/packages" -I"C:/ti/pdk_am437x_1_0_6/packages/ti/starterware/include/am43xx" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/examples/hsr_prp" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/include" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/firmware/hsr" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"source_snmp/sockport.d" -MT"source_snmp/sockport.o" -o"source_snmp/sockport.o" @"configPkg/compiler.opt" "C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c"
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c: In function 'T_SELECT':
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c:384:24: warning: passing argument 2 of 'fdSelect' from incompatible pointer type
        return (fdSelect(0, (fd_set_iniche *)&rfd_t, (fd_set_iniche *)&wfd_t, (fd_set_iniche *)&xfd_t, tmop));
                            ^
    In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socket.h:43:0,
                     from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stacksys.h:77,
                     from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/netmain.h:39,
                     from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c:48:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:318:15: note: expected 'struct fd_set *' but argument is of type 'struct fd_set_iniche *'
     extern int    fdSelect( int width, fd_set *readfds, fd_set *writefds,
                   ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c:384:49: warning: passing argument 3 of 'fdSelect' from incompatible pointer type
        return (fdSelect(0, (fd_set_iniche *)&rfd_t, (fd_set_iniche *)&wfd_t, (fd_set_iniche *)&xfd_t, tmop));
                                                     ^
    In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socket.h:43:0,
                     from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stacksys.h:77,
                     from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/netmain.h:39,
                     from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c:48:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:318:15: note: expected 'struct fd_set *' but argument is of type 'struct fd_set_iniche *'
     extern int    fdSelect( int width, fd_set *readfds, fd_set *writefds,
                   ^
    C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c:384:74: warning: passing argument 4 of 'fdSelect' from incompatible pointer type
        return (fdSelect(0, (fd_set_iniche *)&rfd_t, (fd_set_iniche *)&wfd_t, (fd_set_iniche *)&xfd_t, tmop));
                                                                              ^
    In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socket.h:43:0,
                     from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stacksys.h:77,
                     from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/netmain.h:39,
                     from C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c:48:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:318:15: note: expected 'struct fd_set *' but argument is of type 'struct fd_set_iniche *'
     extern int    fdSelect( int width, fd_set *readfds, fd_set *writefds,
                   ^
    'Finished building: C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/source/sockport.c'
    ' '
    'Building target: hsr_app_AM437x_arm.out'
    'Invoking: GNU Linker'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a9 -marm -Dam4379 -DSOC_AM437x -DPTP_TESTING -DBUILD_HSR_H -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -mfloat-abi=hard -Wl,-Map,"hsr_app_AM437x_arm.map" -nostartfiles -nodefaultlibs -static -Wl,--gc-sections -L"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/snmp/stack_lib/am437x/a9" -L"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/third_party/protocols/ptp/lib/am437x/a9" -L"C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/lib/hsr/am437x/a9" -L"C:/ti/bios_6_46_04_53/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 -Wl,--start-group -o"hsr_app_AM437x_arm.out" "./hsr_prp_menu.o" "./hsr_prp_soc.o" "./hsr_prp_tools.o" "./main.o" "./board_AM437x/idkAM437x/board_gpioLed.o" "./board_AM437x/idkAM437x/board_i2cLed.o" "./board_AM437x/idkAM437x/board_phy.o" "./board_AM437x/idkAM437x/board_spi.o" "./board_common/board_misc.o" "./board_common/delay_us.o" "./board_common/icss_emac_osal.o" "./board_common/osdrv_ndkdeviceconfig.o" "./hsr_app_snmp/mib_impl.o" "./hsr_app_snmp/mibvars.o" "./osal/ClockP_tirtos.o" "./osal/EventP_tirtos.o" "./osal/MailboxP_tirtos.o" "./osal/SwiP_tirtos.o" "./osal/TaskP_tirtos.o" "./snmp_core_driver/snmp_ndk_interface.o" "./soc_am437x/GPIO_soc.o" "./soc_am437x/I2C_soc.o" "./soc_am437x/SPI_soc.o" "./soc_am437x/UART_soc.o" "./soc_am437x/icss_emacSoc.o" "./soc_am437x/pruicss_soc.o" "./source_snmp/inport.o" "./source_snmp/osporttk.o" "./source_snmp/sockport.o" -Wl,-T"../AM437x.lds" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lm -lrdimon -lgcc -lhsr_lib_AM437x_arm -lsnmp_core_stack_AM437x_arm -ltimeSync_lib_AM437x_arm -lc -lc -Wl,--end-group 
    'Finished building target: hsr_app_AM437x_arm.out'
    ' '
    C:\ti\pdk_am437x_1_0_6\packages/pdkAppImageCreate.bat C:\ti\pdk_am437x_1_0_6\packages C:/ti/gcc-arm-none-eabi-4_9-2015q3 C:/ti/PRU-ICSS-HSR-PRP-DAN_01.00.02.00/protocols/hsr_prp/projects/hsr_app_AM437x_arm/AM437x_release hsr_app_AM437x_arm AM437x arm
    
    ' '
    
    **** Build Finished ****
    

    David,

    I've compiled the HSR project with the following components:

    - CCS 7.0.0

    - PROCESSOR-SDK-RTOS 03_03_00 (PDK 1.0.6)

    - XDC tools 3.32.01.22 core

    - SYSBIOS 6.46.04.53

    - NDK 2.25.11

    - Toolchain : GNU 4.9.3 (gcc-arm-none-eabi-4_9-2015q3)

    After compilation and post-build script I get the app file, but it doesn't work - in the terminal window I see only "Jumping to StarterWare application" message and that's it.

    If I look at the prebuilt binary, it is about 900Kb, but my app is almost 3.5Mb, so I assume something goes wrong during compilation, please advise.

    I have attached the build log from CCS to the thread.

    Best regards,

    Ilya

  • Ilya

    I don't see any issues in the log. Let me try building the application to see if I get the same app size.

    David

  • Ilya

    I installed the CCS 7.0.0.00043, processor_sdk_rtos_am437x_3_03_00_04, and PRU-ICSS-HSR-PRP-DAN_01.00.02.00in a clean directory. I ran the scripts to build the project. I then opened CCS and the workspace that the project was installed.  Finally I did a rebuild project.  The app file came out as 920,741  bytes. I compared your build with the build from this - and nothing stood out.

    Let me loop a couple of other experts into this discussion to see if they have a recommendation.

    David

  • Please provide the map file for the application that you built ?

    Can you manually run these steps and see what is the resulting binary size:
    %CG_TOOL_PATH%/bin/arm-none-eabi-objcopy -O binary <application>.out <application>.bin
    %PDK_PATH%/ti/starterware/tools/ti_image/tiimage.exe <Image Load Address> NONE <application>.bin <application>_ti.bin


    Before trying to boot did you try to load the binary using emulator to see if the application is running as expected. Are you trying to boot using prebuilt MLO using an SD card or flash media? Have you tested any other simpler app like GPIO LED toggle to see that there is no issues with booting

    Regards,
    Rahul
  • Rahul,

    I use SD card to boot AM437x. First I tried with MLO (prebuilt) from RTOS SDK and app file generated after HSR compilation, it didn't work.
    Then I'd replaced app file to the prebuilt one (as part of HSR package) and prebuilt image was Ok, application started.

    I did manual app creation, file size is the same as with script build, with emulator I haven't yet tested.

    Attached is my *.map file (zipped).

    BR,
    Ilya

    hsr_app_AM437x_arm.zip

  • I've tried with clean installation on a different machine and it compiled fine with ~900Kb file size for the app, which is similar to prebuilt binary.

    Please let me know whether you found something in map-file.

    Best regards,
    Ilya

  • Hi Ilya

    I am not seeing any issues in the map file. The executable size correlates with what you are seeing.

    David

  • David,

    Thanks for letting me know. I've tried newly compiled binaries and device boots normally.

    But when I try to run RX/TX test, I do not see LEDs blinking.
    My setup is two boards AM437x IDK, one as Tx and the other is Rx.

    Do I miss something?

    Ilya

  • Hi Ilya,

    Have you applied the PDK (icss_emac, nimu_icss) patches in PRU-ICSS-HSR-PRP-DAN_01.00.02.00\protocols\pdk_patches before building the HSR project?

    Also have you assigned different IP addresses for the boards?

    Regards,

    Garrett

  • Yes, different IP-addresses were set.
    About the patch - I will try, it is not mentioned in User Guide
    Should I apply all the patches from <pdk_patches> folder?
  • Ilya,

    Yes, you need apply all the patches. This is briefed in release note, I have just highlighted in User Guide wiki page - processors.wiki.ti.com/.../PRU_ICSS_HSR_PRP

    Regards, Garrett