A question regarding HUA module compilation. I tried to build this project using my CCS 5.1 tools. How do I run HUA on c6678 EVM?
I could not compile. While trying I found out that I need to perform these steps: I get several errors while following these steps.
Building CSL and the Low Level Device Drivers
Follow the instructions below to build CSL and LLDs.
- Open a command window inside of the $(TI_PDK_C66##_INSTALL_DIR)\packages directory.
- Set the environment by running the batch file and follow the instructions as per the batch file output.
.\ti\drv\pdksetupenv.bat
- After configuring the environment successfully, the following message appears.
*******************************************************************************
...
...
...
PDK BUILD ENVIRONMENT CONFIGURED
*******************************************************************************
- To build the drivers run the below batch file.
.\ti\drv\pdkbuilder.bat
Building the Device Drivers Example Projects
The device drivers have example projects which can be verified after they are built with CCSv5. Follow the steps below to build the CCS projects for the example projects.
- Check Prerequisites
Ensure that all dependent/pre-requisite packages are installed before proceeding with the examples and/or unit test.
- Configure CCS Environment
The CCS environment configuration step needs to be done only once for a workspace as these settings are saved in the workspace preferences. These settings only need to be modified if:
- New workspace is selected
- Newer version of the component is being used. In that case, modify the paths of the upgraded component to the newer directory.
The procedure mentioned in this section is provided using <Managed Build Macro> option in CCS. The steps are as follows:
- Create a macro file if not available from the PDK release. For the PDK release file: <PDK_INSTALL_DIR>\packages\ti\drv\macros.ini can be used, where <PDK_INSTALL_DIR> refers to the location where PDK is installed.
The following environment would need to be available in the macros.ini file
PDK_INSTALL_PATH = <PDK_INSTALL_DIR>\packages
CSL_INSTALL_PATH = <PDK_INSTALL_DIR>\packages
CPPI_INSTALL_PATH = <PDK_INSTALL_DIR>\packages
QMSS_INSTALL_PATH = <PDK_INSTALL_DIR>\packages
PASS_INSTALL_PATH = <PDK_INSTALL_DIR>\packages
SA_INSTALL_PATH = <PDK_INSTALL_DIR>\packages
MAS_INSTALL_PATH = <PDK_INSTALL_DIR>\packages
SRIO_INSTALL_PATH = <PDK_INSTALL_DIR>\packages
- Import macros.ini located under \pdk_C####_1_0_0_XX\packages\ti\drv
- This can be done as Click on CCS File menu option->Import->CCS->Managed Build Macros
- Click on Next and Browse to open the macros.ini located in the above mentioned path
- Click Finish
- Import the desired example project and build it under CCS to continue the test.
Compiling Big Endian MCSDK Demos and Examples
The pre-compiled platform libraries, NIMU drivers, NDK examples, and HUA demos provided in the package are Little Endian only. If Big Endian binaries are needed, they need to be rebuilt by changing the CCS build options. This section covers how to build and run the NDK Network Client example, NDK Network HelloWorld example, and HUA demo in Big Endian.