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.

Processor SDK RTOS: problem with include paths for CCS example projects


(PROCESSOR-SDK-RTOS-AM335X 02_00_00_00)

In CCSv6.1, I imported the board project from 

C:\ti\pdk_am335x_1_0_0\packages\ti\starterware\board

but when I tried to build the project:

**** Build of configuration am335x_debug for project board ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -j 8 -s -k all 
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_beaglebone.c'
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_beaglebone_pinmux_data.c'
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_beagleboneblack.c'
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_beagleboneblack_pinmux_data.c'
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_custom.c'
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_evmsk.c'
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_evmsk_pinmux_data.c'
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_gpevm.c'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_beaglebone.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_beaglebone_pinmux_data.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_beagleboneblack.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [am335x_beaglebone_pinmux_data.o] Error 1
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_beagleboneblack_pinmux_data.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [am335x_beaglebone.o] Error 1
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_custom.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_gpevm_pinmux_data.c'
gmake: *** [am335x_beagleboneblack.o] Error 1
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_icev1.c'
gmake: *** [am335x_beagleboneblack_pinmux_data.o] Error 1
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_evmsk_pinmux_data.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_icev1_pinmux_data.c'
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_gpevm.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_evmsk.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [am335x_custom.o] Error 1
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_icev2.c'
gmake: *** [am335x_evmsk.o] Error 1
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_icev2_pinmux_data.c'
gmake: *** [am335x_evmsk_pinmux_data.o] Error 1
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_lcd4_dcard.c'
gmake: *** [am335x_gpevm.o] Error 1
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/board.c'
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/board_am335x.c'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_gpevm_pinmux_data.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_icev1.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [am335x_gpevm_pinmux_data.o] Error 1
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_icev1_pinmux_data.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_icev2.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/dcard.c'
gmake: *** [am335x_icev1_pinmux_data.o] Error 1
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_icev2_pinmux_data.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [am335x_icev1.o] Error 1
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/dcard_am335x.c'
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/am335x_lcd4_dcard.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [am335x_icev2.o] Error 1
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/pinmux.c'
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/board_am335x.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/board.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [am335x_icev2_pinmux_data.o] Error 1
gmake: *** [am335x_lcd4_dcard.o] Error 1
'Building file: C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/platform.c'
gmake: *** [board.o] Error 1
gmake: *** [board_am335x.o] Error 1
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
'Invoking: GNU Compiler'
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/dcard.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [dcard.o] Error 1
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/am335x/dcard_am335x.c:48:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [dcard_am335x.o] Error 1
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/pinmux.c:47:19: fatal error: types.h: No such file or directory
 #include "types.h"
                   ^
compilation terminated.
gmake: *** [pinmux.o] Error 1
C:/ti/pdk_am335x_1_0_0/packages/ti/starterware/board/platform.c:47:19: fatal error: types.h: No such file or directory
 #include <types.h>
                   ^
compilation terminated.
gmake: *** [platform.o] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

It seems to me that the (relative) include paths are specified incorrectly in the project files.  For example, "types.h" is located in 

C:\ti\pdk_am335x_1_0_0\packages\ti\starterware\include

However, the include path that should have found this include file was specified as:

"${ORIGINAL_PROJECT_ROOT}/../../../include/"

where ORIGINAL_PROJECT_ROOT = C:\ti\pdk_am335x_1_0_0\packages\ti\starterware\board\ccs.  It has one too many "../"!

I seem to always have this problem with the starterware CCS projects.  Am I doing something wrong?  Why is it necessary to fix these paths all the time?  What is the easiest way to fix them?  Can TI fix the project files so that the user doesn't need to go back and fix them?

  • Hi,

    I will forward this to the RTOS team.
  • So I can move forward, I went ahead and wrote a python script that walks through the SDK directory tree, looking for relative paths in .cproject files and removes one directory level.  There were over 2000 paths to fix!

    Here is the source code for anyone who cares:

    # Script to remove top level directory from all the
    # relative paths in the starterware cproject files.
    #
    # Usage: python fix_cprojects.py <fix|revert> <starterware-directory>
    #
    # Example:
    #
    ## PS C:\ti\pdk_am335x_1_0_0\packages\ti\starterware> python .\fix_cprojects.py fix .
    ## Fixed 76 items: .\board\ccs\.cproject
    ## Fixed 330 items: .\bootloader\ccs\.cproject
    ## Fixed 32 items: .\dal\ccs\.cproject
    ## Fixed 34 items: .\device\ccs\.cproject
    ## Fixed 69 items: .\examples\adc\volt_measure\ccs\.cproject
    ## Fixed 77 items: .\examples\cache_mmu\ccs\.cproject
    ## Fixed 37 items: .\examples\cap_tsc\ccs\.cproject
    ## Fixed 69 items: .\examples\ddr\diag_test\ccs\.cproject
    ## Fixed 69 items: .\examples\dmtimer\countdown_timer\ccs\.cproject
    ## Fixed 37 items: .\examples\dss\raster\ccs\.cproject
    ## Fixed 69 items: .\examples\epwm\haptics_motor\ccs\.cproject
    ## Fixed 49 items: .\examples\example_utils\ccs\.cproject
    ## Fixed 70 items: .\examples\gpio\buzzer\ccs\.cproject
    ## Fixed 69 items: .\examples\gpio\led_blink\ccs\.cproject
    ## Fixed 43 items: .\examples\grlib_demo\ccs\.cproject
    ## Fixed 69 items: .\examples\i2c\eeprom_read\ccs\.cproject
    ## Fixed 37 items: .\examples\lcdc\raster\ccs\.cproject
    ## Fixed 73 items: .\examples\mcspi\flash\ccs\.cproject
    ## Fixed 94 items: .\examples\mmcsd\fs_shell\ccs\.cproject
    ## Fixed 82 items: .\examples\nand\read_write\ccs\.cproject
    ## Fixed 55 items: .\examples\qspi\flash_writer\ccs\.cproject
    ## Fixed 51 items: .\examples\qspi\read_write\ccs\.cproject
    ## Fixed 69 items: .\examples\rtc\clock\ccs\.cproject
    ## Fixed 77 items: .\examples\test\ccs\.cproject
    ## Fixed 69 items: .\examples\uart\echo\ccs\.cproject
    ## Fixed 37 items: .\examples\usb\dev_msc\ccs\.cproject
    ## Fixed 39 items: .\examples\vpfe\capture_display\ccs\.cproject
    ## Fixed 69 items: .\examples\wdt\cpu_reset\ccs\.cproject
    ## Fixed 12 items: .\library\grlib\ccs\.cproject
    ## Fixed 25 items: .\library\mmcsd\ccs\.cproject
    ## Fixed 28 items: .\library\nandlib\ccs\.cproject
    ## Fixed 28 items: .\library\qspilib\ccs\.cproject
    ## Fixed 32 items: .\library\third_party\ff9b\ccs\.cproject
    ## Fixed 20 items: .\library\third_party\xmodem\ccs\.cproject
    ## Fixed 12 items: .\library\usb_lib\ccs\.cproject
    ## Fixed 110 items: .\soc\ccs\.cproject
    ## Fixed 1 items: .\tools\flash_writer\src\nand-flash-writer_AM335x\Nand_flasher\.cproject
    ## Fixed 1 items: .\tools\flash_writer\src\spi-flash-writer_AM335x\SPI_Flasher\.cproject
    ## Fixed 42 items: .\utils\ccs\.cproject
    ## Fixed 2262 paths.
    #
    # To undo changes:
    #
    ## PS C:\ti\pdk_am335x_1_0_0\packages\ti\starterware> python .\fix_cprojects.py revert .
    ## Reverting: .\board\ccs\.cproject
    ## Reverting: .\bootloader\ccs\.cproject
    ## Reverting: .\dal\ccs\.cproject
    ## Reverting: .\device\ccs\.cproject
    ## Reverting: .\examples\adc\volt_measure\ccs\.cproject
    ## Reverting: .\examples\cache_mmu\ccs\.cproject
    ## Reverting: .\examples\cap_tsc\ccs\.cproject
    ## Reverting: .\examples\ddr\diag_test\ccs\.cproject
    ## Reverting: .\examples\dmtimer\countdown_timer\ccs\.cproject
    ## Reverting: .\examples\dss\raster\ccs\.cproject
    ## Reverting: .\examples\epwm\haptics_motor\ccs\.cproject
    ## Reverting: .\examples\example_utils\ccs\.cproject
    ## Reverting: .\examples\gpio\buzzer\ccs\.cproject
    ## Reverting: .\examples\gpio\led_blink\ccs\.cproject
    ## Reverting: .\examples\grlib_demo\ccs\.cproject
    ## Reverting: .\examples\i2c\eeprom_read\ccs\.cproject
    ## Reverting: .\examples\lcdc\raster\ccs\.cproject
    ## Reverting: .\examples\mcspi\flash\ccs\.cproject
    ## Reverting: .\examples\mmcsd\fs_shell\ccs\.cproject
    ## Reverting: .\examples\nand\read_write\ccs\.cproject
    ## Reverting: .\examples\qspi\flash_writer\ccs\.cproject
    ## Reverting: .\examples\qspi\read_write\ccs\.cproject
    ## Reverting: .\examples\rtc\clock\ccs\.cproject
    ## Reverting: .\examples\test\ccs\.cproject
    ## Reverting: .\examples\uart\echo\ccs\.cproject
    ## Reverting: .\examples\usb\dev_msc\ccs\.cproject
    ## Reverting: .\examples\vpfe\capture_display\ccs\.cproject
    ## Reverting: .\examples\wdt\cpu_reset\ccs\.cproject
    ## Reverting: .\library\grlib\ccs\.cproject
    ## Reverting: .\library\mmcsd\ccs\.cproject
    ## Reverting: .\library\nandlib\ccs\.cproject
    ## Reverting: .\library\qspilib\ccs\.cproject
    ## Reverting: .\library\third_party\ff9b\ccs\.cproject
    ## Reverting: .\library\third_party\xmodem\ccs\.cproject
    ## Reverting: .\library\usb_lib\ccs\.cproject
    ## Reverting: .\soc\ccs\.cproject
    ## Reverting: .\tools\flash_writer\src\nand-flash-writer_AM335x\Nand_flasher\.cproject
    ## Reverting: .\tools\flash_writer\src\spi-flash-writer_AM335x\SPI_Flasher\.cproject
    ## Reverting: .\utils\ccs\.cproject
    ## Reverted 39 files.
    #
    
    import xml.etree.ElementTree as ET
    import os
    import shutil
    
    def walk(top_dir,function):
        touched = 0
        for dirName, subdirList, fileList in os.walk(top_dir):
            for fname in fileList:
                if fname==".cproject":
                    touched += function(os.path.join(dirName,fname))
        return touched
    
    def fix_subtree(root,path,verbose):
        touched = 0
        for item in root.items():
            if item[1].find("../")>=0:
                # found a relative path item
                new_path = item[1].replace("../","",1)
                if touched==0:
                    if verbose: print path
                touched += 1
                if verbose: print "--",item[1],"=>",new_path
                root.set(item[0],new_path)
        for child in root:
            touched += fix_subtree(child,path+"."+root.tag,verbose)
        return touched
    
    def get_declarations(filename):
        result = []
        with file(filename,"r") as f:
            for line in f:
                if line.startswith("<?"):
                    result.append(line)
                else:
                    break;
        return result
    
    def fix(filename):
        x = ET.parse(filename)
        r = x.getroot()
        touched = fix_subtree(r,"",False)
        if touched>0:
            # write out altered file
            print "Fixed %d items:"%touched, filename
            shutil.copyfile(filename,filename+".bak")
            declarations = get_declarations(filename)
            with file(filename,"w") as f:
                for line in declarations:
                    f.write(line)
                x.write(f,xml_declaration=False)
        return touched
            
    def revert(filename):
        if os.path.exists(filename+".bak"):
            print "Reverting:", filename
            shutil.copyfile(filename+".bak",filename)
        return 1
    
    if __name__ == "__main__":
        import sys
        if sys.argv[1]=="fix":
            top_dir = sys.argv[2]
            touched = walk(top_dir,fix)
            print "Fixed %d paths."%touched
        elif sys.argv[1]=="revert":
            top_dir = sys.argv[2]
            touched = walk(top_dir,revert)
            print "Reverted %d files."%touched
        else:
            print "Usage: fix_cprojects.py <fix|revert> <directory>"
    

  • Hi Brian,

    I was able to build the "board" project after importing it into my CCSv6.1 workspace without the errors that you are encountering (log attached). 
    In order to ensure that we both have the same build environment, could you please delete the "board" project from your CCS workspace and re-import as default.

    After you do that, could you please post a screenshot of your /include folder (mine is below). As you have stated, the project cannot find types.h during the build. Its strange because this is specified in the compiler include path in the ccs project by default.

    If I deliberately break this path in the compiler include directory, it should be greyed out in the CCS project explorer /include window. Please post back your findings.

    Lali

    /cfs-file/__key/communityserver-discussions-components-files/791/6052.log.txt

  • I did a complete reinstall of the processor sdk and ccs, then imported the pdk/starterware/boards.  Here is the result:

    Like I said in my first post, the include files are specified incorrectly (they have an extra '..') in the .cprojects throughout the starterware source tree.

    Also your test does not use the default install location for the Processor SDK, so I believe it is not a valid test.

  • Also, when I try to create the PDK components example/test projects by using the pdkProjectCreate.bat script, I again get a lot of ccs projects with broken include files:

    Here is the output of my running the pdkProjectCreate.bat script:

    =========================================================================
    Configuration:
       SOC             :   AM335x
       BOARD           :   all
       ENDIAN          :   little
       MODULE          :   all
       PROCESSOR       :   arm
       PDK_SHORT_NAME  :   c:\ti\PDK_AM~1\packages\
    =========================================================================
    Checking Configuration...
    Complete
    =========================================================================
       PDK_PARTNO         : AM335
       PDK_ECLIPSE_ID     : com.ti.pdk.am335x
       RTSC_PLATFORM_NAME : ti.platforms.evmAM3359
       RTSC_TARGET        : gnu.targets.arm.A8F
       CCS_DEVICE         : "Cortex A.AM3359.ICE_AM3359"
    *****************************************************************************
    Detecting all projects in PDK and importing them in the workspace c:\ti\PDK_AM~1\packages\\MyExampleProjects
    Detected Test Project: GPIO_LedBlink_icev2AM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'GPIO_LedBlink_icev2AM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: GPIO_LedBlink_icev2AM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'GPIO_LedBlink_icev2AM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: I2C_Example_evmAM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'I2C_Example_evmAM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: I2C_Example_icev2AM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'I2C_Example_icev2AM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: I2C_Example_skAM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'I2C_Example_skAM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: I2C_Test_evmAM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'I2C_Test_evmAM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: I2C_Test_icev2AM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'I2C_Test_icev2AM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: I2C_Test_skAM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'I2C_Test_skAM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: ICSS_EMAC_BasicExample_icev2AM335x_wSoCFile_armTestproject
    
    --------------------------------------------------------------------------------
    Creating project 'ICSS_EMAC_BasicExample_icev2AM335x_wSoCFile_armTestproject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: ICSS_EMAC_BasicExample_icev2AM335x_wSoCLib_armTestproject
    
    --------------------------------------------------------------------------------
    Creating project 'ICSS_EMAC_BasicExample_icev2AM335x_wSoCLib_armTestproject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: MMCSD_FatfsConsole_evmAM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'MMCSD_FatfsConsole_evmAM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: MMCSD_FatfsConsole_icev2AM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'MMCSD_FatfsConsole_icev2AM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: MMCSD_evmAM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'MMCSD_evmAM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: MMCSD_icev2AM335x_armTestproject
    
    --------------------------------------------------------------------------------
    Creating project 'MMCSD_icev2AM335x_armTestproject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: MCSPI_BasicExample_icev2AM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'MCSPI_BasicExample_icev2AM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: MCSPI_BasicExample_icev2AM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'MCSPI_BasicExample_icev2AM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: UART_BasicExample_evmAM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'UART_BasicExample_evmAM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: UART_BasicExample_icev2AM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'UART_BasicExample_icev2AM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: UART_BasicExample_skAM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'UART_BasicExample_skAM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: UART_BasicExample_evmAM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'UART_BasicExample_evmAM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: UART_BasicExample_icev2AM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'UART_BasicExample_icev2AM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: UART_BasicExample_skAM335x_armTestProject
    
    --------------------------------------------------------------------------------
    Creating project 'UART_BasicExample_skAM335x_armTestProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: FATFS_Console_evmAM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'FATFS_Console_evmAM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: FATFS_Console_icev2AM335x_armExampleProject
    
    --------------------------------------------------------------------------------
    Creating project 'FATFS_Console_icev2AM335x_armExampleProject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: NIMU_BasicExample_evmAM335x_armExampleproject
    
    --------------------------------------------------------------------------------
    Creating project 'NIMU_BasicExample_evmAM335x_armExampleproject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: NIMU_BasicExample_icev2AM335x_armExampleproject
    
    --------------------------------------------------------------------------------
    Creating project 'NIMU_BasicExample_icev2AM335x_armExampleproject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    Detected Test Project: NIMU_ICSS_BasicExample_icev2AM335x_wSoCLib_armExampleproject
    
    --------------------------------------------------------------------------------
    Creating project 'NIMU_ICSS_BasicExample_icev2AM335x_wSoCLib_armExampleproject'...
    
    
    Done!
    Copying macro.ini
            1 file(s) copied.
    No projects detected
    Project generation complete
    *****************************************************************************
    

  • Hi Brian,

    Was ${ORIGINAL_PROJECT_ROOT} added by you? could you please try removing that and leave ../../../include/ ?
    When I imported the project into CCS, this is what the paths look like by default.

    Lali

  • Ah! I found the problem!  I have been importing projects by using the TI Resource Explorer window.  If I instead import projects via the File --> Import menu then it works.  It seems there is a bug in the TI Resource Explorer.

    However, the pdkCreateProject.bat projects are still broken.  Do you have any idea about those?

  • Hi Brian,

    Glad that you found a solution. I typically import CCS projects through Project>Import CCS project, then navigate to the project location in order for CCS to discover what I'm looking for.

    I will take a closer look at the TI resource explorer method as well to try and reproduce what you are seeing.

    Lali
  • Brian,

    Regarding the .bat issue, could you please try to import the project through the above mentioned project>Import CCS project method? For the example that you are looking at, this is my project tree in CCS after importing, and building successfully.

    There is also a wiki explaining the building of the PDK steps here.


    Lali