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/TMDSICE3359: EtherNet/IP project compilation error

Part Number: TMDSICE3359
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hello,

I generated ethernetip_adapter project for icev2AM335x. The wiki of PRU_ICSS_EthernetIP indicates the system requirement is PROCESSOR-SDK-RTOS 03_03_00 but I have PROCESSOR-SDK-RTOS 04_03_00_05.

Made necessary changes to projectCreate.bat file.
After generating project and compiling it following are the error

My environment for creating project is as follows

::Set AM335x PDK Version
set "AM335x_PDK_VERSION=1.0.10"


:: Set XDC Tools Version which is to be used while creating the project
set "XDC_TOOLS_VERSION=3.32.02.25_core"

:: Set SYSBIOS Version which is to be used while creating the project
set "SYS_BIOS_VERSION=6.46.05.55"

:: Set NDK Version which is to be used while creating the project
set "NDK_VERSION=2.25.01.11"

:: Set EDMA3 Version which is to be used while creating the project
set "EDMA_VERSION=2.12.04.28"

Please inform the versions to be used and also provide the link access for those versions. As I can find only latest in the website.
Is the project compatible with latest versions of SDKs

Best regards

Vinay

  • The RTOS team have been notified. They will respond here.
  • Hi Vinay, I haven't tried Ethernet/IP v1.0.2 with PSDK 4.3, but I suspect it is related to changes done in latest ARM gcc toolchain 6.3.1. Specifically, I believe it should be related to the need to add "nano.specs flag"

    You can check below E2E for your reference, an for additional details:
    e2e.ti.com/.../2502323

    thank you,
    Paula
  • I will check by end of this weekend and post you the update. Thank you!
  • Hi Paula,
    I added "-lgcc -lc -lm -lnosys -L$(SYSBIOS)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard --specs=nano.specs" linker flag list. But unfortunately it didn't solve the issue.

    Can you mention which AM335x_PDK_VERSION, XDC_TOOLS_VERSION=3.32.02.25_core, SYS_BIOS_VERSION=6.46.05.55, NDK_VERSION=2.25.01.11 and EDMA_VERSION=2.12.04.28 versions to choose?

    Is there any appNote? User guide does not have much details on the intent of the application so it helps to understand and test application. Thank you!

    Best regards
    Vinay
  • The example applications are developed to help customers to understand and develop their application quickly. Just walking through code of the example project will again involves more time. Instead if some document which briefly informs the intent of the application, data flow/ flow chart, steps to test application should be specified in documents section.

    I agree in few modules its given. For example in etherCAT its provided, whereas in ethernet/IP its not. Please consider this feedback. Thank you!
  • Hi Vinay, let me share with you a couple of links with good information of our PRU-ICSS Ehternet/IP firmware.

    Ethernet/IP has a lot in common with our PRU-ICSS EMAC firmware. So, this could be a good starting point and/or reference wiki:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_ICSS-EMAC-Design

    Especifically, for PRU-ICSS Ethernet/IP adapter firmware, please refers to below developer guide
    processors.wiki.ti.com/.../ICSS_EIP_Adapter_Developer_Guide

    Let us know if there is any additional question.

    thank you,
    Paula
  • Thank you for the documents. I will go through and try to work on it. Will post my observations later.
  • Hi Vinay, I gave a try to porting PRU-ICSS EthernetIP adapter 1.0.2 form PSDK 3.3 to 4.3, and changes are not that trivial. It would not only require to change flags, and add paths in CCS project, but also to do some code modification. I would suggest to use EIP 1.0.2 with PSKD 3.3, and wait for our new release of EIP 1.0.3, which should come in the next few months. This new release will be up to date with PSDK version, and it will include some bug fixes, and features added.

    thank you,

    Paula

     

  • Hi Paula,
    Thank you for the update. Can I get the link for PSDK3.3 so I can at least start to understand the example. Thank you!

    Best regards
    Vinay

  • Hi Vinay, sorry I missed your reply. Link below

    software-dl.ti.com/.../index_FDS.html

    thank you,
    Paula
  • Hi Paula,

    I installed PSDK3.3, edited flags in projectCreate.bat and generated ethernetip_adapter project. Still I have errors, but a different though.

    Following were the packages installed in PSDK3.3

    So I changes flags in projectCreate.bat file as bellow

    ::Set PDK Installation directory path(Mandatory for AM335x projects)
    set "AM335x_PDK_INSTALL_PATH=C:\ti\pdk_am335x_1_0_6\packages"
    .
    .
    .
    .
    .
    .
    ::Set AM335x PDK Version
    set "AM335x_PDK_VERSION=1.0.6"
    
    ::Set AM437x PDK Version
    set "AM437x_PDK_VERSION=1.0.6"
    
    :: Set XDC Tools Version which is to be used while creating the project
    set "XDC_TOOLS_VERSION=3.32.01.22_core"
    
    :: Set SYSBIOS Version which is to be used while creating the project
    set "SYS_BIOS_VERSION=6.46.04.53"
    
    :: Set NDK Version which is to be used while creating the project
    set "NDK_VERSION=2.25.01.11"
    
    :: Set EDMA3 Version which is to be used while creating the project
    set "EDMA_VERSION=2.12.03.27"

    Please update me if any other parameters to take care. Thank you!

    best regrads
    Vinay

  • Hi Vinay, this demo works OOB, I would suggest to delete your previous CCS project and EthernetIP folder and start from scratch.

    thank you,
    Paula
  • Hi Paula,

    i don't know why this application is not working for me out of box. As you instructed I deleted project from the drive and the started from scratch. I will attach the build errors. Few redefined errors and some errors are prototype mismatch errors. I believe these errors might have already fixed in some release. Check and update here. Thank you!

    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:455:29: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
             Board_flashEraseBlk(flashHandle, blockNum);
                                 ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:456:26: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
             Board_flashWrite(flashHandle, SPI_EEPROM_SPEED_OFFSET,
                              ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c: In function 'EIPAPP_main':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:711:13: warning: implicit declaration of function 'Board_phyMDIXFixDeInit' [-Wimplicit-function-declaration]
                 Board_phyMDIXFixDeInit();
                 ^~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c: In function 'EIPAPP_ipAddressChange':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:796:9: warning: implicit declaration of function 'TimeSync_addIP' [-Wimplicit-function-declaration]
             TimeSync_addIP(timeSyncHandle, ipAddress);
             ^~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c: In function 'EIPAPP_getInitParams':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:824:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:834:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_ACD_OFFSET,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:837:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_SPEED_OFFSET,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:839:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_SPEED_OFFSET,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:842:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:846:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_INCARN_OFFSET, (uint8_t *)&incarnId,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    gmake: *** [eip_main.o] Error 1
    'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c"'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"eip_utils.d" -MT"eip_utils.o" @"configPkg/compiler.opt" -o"eip_utils.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c"
    subdir_rules.mk:72: recipe for target 'eip_utils.o' failed
    'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c"'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"icss_dlr.d" -MT"icss_dlr.o" @"configPkg/compiler.opt" -o"icss_dlr.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c"
    subdir_rules.mk:86: recipe for target 'icss_dlr.o' failed
    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-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:48,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:39:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: error: redefinition of 'struct timeval'
     struct timeval {
            ^~~~~~~
    In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:26,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:39:
    c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: note: originally defined here
     struct timeval {
            ^~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c: In function 'EIPUTILS_assignUserIP':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:381:36: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
             Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                                        ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:41:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:384:29: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
             Board_flashEraseBlk(flashHandle, blockNum);
                                 ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:41:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:385:26: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
             Board_flashWrite(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                              ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:41:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    gmake: *** [eip_utils.o] Error 1
    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-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:48,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:41:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: error: redefinition of 'struct timeval'
     struct timeval {
            ^~~~~~~
    In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:26,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:41:
    c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: note: originally defined here
     struct timeval {
            ^~~~~~~
    In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/nettools/nettools.h:86:0,
                     from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/_nettool.h:39,
                     from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/netmain.h:40,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:48,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:41:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/nettools/inc/dnsif.h:54:0: warning: "OVERFLOW" redefined
     #define OVERFLOW        16              /* buffer overflow */
     
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include/icss_timeSync.h:17:0,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include/icss_eip_driver.h:149,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:23:
    c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\math.h:622:0: note: this is the location of the previous definition
     #define OVERFLOW 3
     
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c: In function 'EIP_DLR_init':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:174:5: warning: implicit declaration of function 'addMACID' [-Wimplicit-function-declaration]
         addMACID(dlrHandle->dlrEmptyFrame + DLR_SRC_MAC_OFFSET, ifMacID);
         ^~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:181:5: warning: implicit declaration of function 'addWord' [-Wimplicit-function-declaration]
         addWord(dlrHandle->dlrEmptyFrame + DLR_SOURCE_IP_OFFSET, dlrHandle->deviceIP);
         ^~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c: In function 'EIP_DLR_port0ISR':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:402:9: warning: implicit declaration of function 'getMACId' [-Wimplicit-function-declaration]
             getMACId((uint8_t *)wordPtr, actSupAddrPtr->supMACAddress);
             ^~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:408:39: warning: implicit declaration of function 'convBigEndianToLittleEndianWord' [-Wimplicit-function-declaration]
             actSupAddrPtr->supIPAddress = convBigEndianToLittleEndianWord((
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c: In function 'EIP_DLR_processDLRFrame':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1458:20: warning: implicit declaration of function 'convBigEndianToLittleEndianHalfWord' [-Wimplicit-function-declaration]
             numNodes = convBigEndianToLittleEndianHalfWord(dlrSrc +
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    gmake: *** [icss_dlr.o] Error 1
    'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c"'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/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" @"configPkg/compiler.opt" -o"main.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c"
    subdir_rules.mk:100: recipe for target 'main.o' failed
    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/stkmain.h:39,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:50:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: error: redefinition of 'struct timeval'
     struct timeval {
            ^~~~~~~
    In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:39:
    c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: note: originally defined here
     struct timeval {
            ^~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c: In function 'pruss_iep_MDIOInitialization':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:415:5: warning: implicit declaration of function 'ICSS_EMAC_testDelay' [-Wimplicit-function-declaration]
         ICSS_EMAC_testDelay(50);
         ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c: At top level:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:418:6: warning: conflicting types for 'ICSS_EMAC_testDelay'
     void ICSS_EMAC_testDelay(uint32_t delay)
          ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:415:5: note: previous implicit declaration of 'ICSS_EMAC_testDelay' was here
         ICSS_EMAC_testDelay(50);
         ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c: In function 'main':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:452:5: warning: implicit declaration of function 'PRCMModuleEnable' [-Wimplicit-function-declaration]
         PRCMModuleEnable(CHIPDB_MOD_ID_PWMSS, 0, 0);
         ^~~~~~~~~~~~~~~~
    gmake: *** [main.o] Error 1
    'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c"'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hal.d" -MT"hal.o" @"configPkg/compiler.opt" -o"hal.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c"
    subdir_rules.mk:79: recipe for target 'hal.o' failed
    In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:26,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:40:
    c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: error: redefinition of 'struct timeval'
     struct timeval {
            ^~~~~~~
    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/stkmain.h:39,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:39:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: note: originally defined here
     struct timeval {
            ^~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setConfigurationControl':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:228:40: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
                 Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                                            ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:231:33: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
                 Board_flashEraseBlk(flashHandle, blockNum);
                                     ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:232:30: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
                 Board_flashWrite(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                                  ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:239:40: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
                 Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                                            ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:242:33: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
                 Board_flashEraseBlk(flashHandle, blockNum);
                                     ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:243:30: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
                 Board_flashWrite(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                                  ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setInterfaceConfiguration':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:289:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                                    ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:292:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashEraseBlk(flashHandle, blockNum);
                             ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:293:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashWrite(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET,
                          ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_getInterfaceSpeed':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:376:18: warning: implicit declaration of function 'MDIO_getPhyConfig' [-Wimplicit-function-declaration]
             phyVal = MDIO_getPhyConfig((((ICSS_EmacHwAttrs *)
                      ^~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_getInterfaceFlags':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:436:12: warning: implicit declaration of function 'MDIO_getAutoNegCompleteStat' [-Wimplicit-function-declaration]
             if(MDIO_getAutoNegCompleteStat((((ICSS_EmacHwAttrs *)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:441:16: warning: implicit declaration of function 'MDIO_getLinkPartnerAutonegAble' [-Wimplicit-function-declaration]
                 if(MDIO_getLinkPartnerAutonegAble((((ICSS_EmacHwAttrs *)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setInterfaceControl':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:648:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_SPEED_OFFSET,
                                    ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:651:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashEraseBlk(flashHandle, blockNum);
                             ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:652:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashWrite(flashHandle, SPI_EEPROM_SPEED_OFFSET,
                          ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setIncarnID':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:707:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_INCARN_OFFSET,
                                    ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:710:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashEraseBlk(flashHandle, blockNum);
                             ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:711:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashWrite(flashHandle, SPI_EEPROM_INCARN_OFFSET,
                          ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setLastConflictDetails':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:741:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET,
                                    ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:744:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashEraseBlk(flashHandle, blockNum);
                             ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:745:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashWrite(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET,
                          ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setACDEnable':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:789:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_ACD_OFFSET,
                                    ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:792:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashEraseBlk(flashHandle, blockNum);
                             ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:793:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashWrite(flashHandle, SPI_EEPROM_ACD_OFFSET,
                          ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setQoSValues':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:808:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_QOS_OFFSET,
                                    ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:811:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashEraseBlk(flashHandle, blockNum);
                             ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:812:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashWrite(flashHandle, SPI_EEPROM_QOS_OFFSET,
                          ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_getQoSValues':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:828:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_QOS_OFFSET,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setInterfaceSpeed':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:848:17: warning: implicit declaration of function 'MDIO_setPhyConfig' [-Wimplicit-function-declaration]
                     MDIO_setPhyConfig((((ICSS_EmacHwAttrs *)
                     ^~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setEthernetLinkConfig':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:929:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_SPEED_OFFSET,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:931:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashRead(flashHandle, SPI_EEPROM_SPEED_OFFSET,
                         ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashRead(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~
    gmake: *** [hal.o] Error 1
    'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c"'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"user_acd_ndk.d" -MT"user_acd_ndk.o" @"configPkg/compiler.opt" -o"user_acd_ndk.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c"
    subdir_rules.mk:107: recipe for target 'user_acd_ndk.o' failed
    In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68,
                     from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:26,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.h:43,
                     from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:64:
    c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: error: redefinition of 'struct timeval'
     struct timeval {
            ^~~~~~~
    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-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:46:
    C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: note: originally defined here
     struct timeval {
            ^~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c: In function 'EIPACD_conflictDetected':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:707:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET,
                                    ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:63:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:710:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashEraseBlk(flashHandle, blockNum);
                             ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:63:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle,
                        ^~~~~~~~~~~~~~~~~~~
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:711:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion]
         Board_flashWrite(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET,
                          ^~~~~~~~~~~
    In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:63:0:
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}'
     Board_flash_STATUS Board_flashWrite(Board_flashHandle  handle,
                        ^~~~~~~~~~~~~~~~
    gmake: *** [user_acd_ndk.o] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

    Best regards
    Vinay

  • Hi Vinay, no sure what is not working for you.. I just gave a try and it worked OOB. Attached my logs.

    High level steps:

    - Run setup environment scripts (from PSDK or from PDK)

    - Move to <EIP_install_path>\protocols\Ethernetip_adapter\ and run ProjectCreate.bat

    - Import project in CCS, clean and build.

    Attached my logs for your reference

    EIP_adapter_1.0.2_CCSbuildingLogs.txt

    C:\TI\processor_sdk_rtos_am335x_3_03_00_04>setupenv.bat
    Optional parameter not configured : CG_XML_BIN_INSTALL_PATH
    REQUIRED for xdc release build
    Example: set CG_XML_BIN_INSTALL_PATH=C:/ti/cg_xml/bin
    Optional parameter not configured : DOXYGEN_INSTALL_PATH
    REQUIRED for xdc release build
    Example: set DOXYGEN_INSTALL_PATH=C:/ti/Doxygen/doxygen/1.5.1-p1/bin
    **************************************************************************
    Environment Configuration:
        LIMIT_SOCS                : am335x
        LIMIT_BOARDS              : evmAM335x icev2AM335x bbbAM335x skAM335x
        PDK_INSTALL_PATH          : /TI/PD669F~1/packages
        C6X_GEN_INSTALL_PATH      : C:/ti/ti-cgt-c6000_8.1.3
        TOOLCHAIN_PATH_A15        : C:/ti/gcc-arm-none-eabi-4_9-2015q3
        TOOLCHAIN_PATH_A8         : C:/ti/gcc-arm-none-eabi-4_9-2015q3
        TOOLCHAIN_PATH_A9         : C:/ti/gcc-arm-none-eabi-4_9-2015q3
        TOOLCHAIN_PATH_M4         : C:/ti/ti-cgt-arm_16.9.1.LTS
        TOOLCHAIN_PATH_Arm9       : C:/ti/ti-cgt-arm_16.9.1.LTS
        TOOLCHAIN_PATH_EVE        : C:/ti/ccsv7/tools/compiler/arp32_1.0.8
        CL_PRU_INSTALL_PATH       : C:/ti/ti-cgt-pru_2.1.4
        UTILS_INSTALL_DIR         : C:/ti/xdctools_3_32_01_22_core/bin
        FPULIB_PATH               : C:/ti/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3/fpu
        CROSS_TOOL_PRFX           : arm-none-eabi-
        XDC_INSTALL_PATH          : C:/ti/xdctools_3_32_01_22_core
        BIOS_INSTALL_PATH         : C:/ti/bios_6_46_04_53
        IPC_INSTALL_PATH          : C:/ti/ipc_3_44_01_01
        EDMA3LLD_BIOS6_INSTALLDIR : C:/ti/edma3_lld_2_12_03_27
        NDK_INSTALL_PATH          : C:/ti/ndk_2_25_01_11
        IMGLIB_INSTALL_PATH       : C:/ti/imglib_c66x_3_1_1_0
        DSPLIB_INSTALL_PATH       : C:/ti/dsplib_c66x_3_4_0_0
        MATHLIB_INSTALL_PATH      : C:/ti/mathlib_c66x_3_1_1_0
        UIA_INSTALL_PATH          : C:/ti/uia_2_00_06_52
        IPC_PLATFORM: UNKNOWN
        IPC_ALT_PLATFORM:
        PROC_SDK_INSTALL_PATH     : C:/ti/processor_sdk_rtos_am335x_3_03_00_04
    **************************************************************************
    Changing to short name to support directory names containing spaces
    current directory: C:/ti/processor_sdk_rtos_am335x_3_03_00_04
    PROCESSOR SDK BUILD ENVIRONMENT CONFIGURED
    **************************************************************************
    
    C:\TI\processor_sdk_rtos_am335x_3_03_00_04>cd C:\TI\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\protocols\ethernetip_adapter\projects
    
    C:\TI\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\protocols\ethernetip_adapter\projects>projectCreate.bat AM335x arm ethernetip_adapter
    **************************************************************************
    Environment Configuration Summary:
        CCS Install Directory          : C:\ti\ccsv7
        CCS Workspace Directory        : C:\Users\a0133185\ccs_workspace
        SDK Install Directory          : C:\TI\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\protocols\ethernetip_adapter\projects\..\..\..
        PDK Install Directory          : C:\ti\pdk_am335x_1_0_6\packages
        Projects create Directory      : C:\TI\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\protocols\ethernetip_adapter\projects\..\..\..\protocols\ethernetip_adapter\projects
        Project create args directory  : C:\TI\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\protocols\ethernetip_adapter\projects\..\..\..\protocols\ethernetip_adapter\projects\ccsproject_args
    **************************************************************************
    
    Creating project 'ethernetip_adapter_AM335x_arm' for 'AM335x' platform in directory 'C:\TI\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\protocols\ethernetip_adapter\projects\..\..\..\protocols\ethernetip_a
    dapter\projects\ethernetip_adapter_AM335x_arm' by overwriting the project if it exists already...
    
    --------------------------------------------------------------------------------
    Creating project 'ethernetip_adapter_AM335x_arm'...
    
    
    Done!
    
    C:\TI\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\protocols\ethernetip_adapter\projects>
    
    

    thank you,

    Paula