Install the Linux SDK
Install the tools
Set up imports.mak
The Linux SDK can only be installed on a Linux computer, not a Windows computer.
The Linux SDK is only a dependency if building code that will run on a Linux A53 core.
The Linux SDK installer can be downloaded here:
-
Download and install Code Composer Studio v12.8 or later from here
-
Please install these dependencies before installing CCS on a Linux computer. Use the command
$ sudo apt -y install libc6:i386 libusb-0.1-4 libgconf-2-4 libncurses5 libpython2.7 libtinfo5 build-essential
-
During installation, select "custom installation". Then on the "Select Components" page, select only the processors that you will be programming. For example, "Sitara AM2x MCUs", or "Sitara AM3x, AM4x, AM5x and AM6x MPUs"
-
For additional information, refer to the CCS documentation, section "Installation and Updates"
-
-
Download and install the PRU compiler
- PRU-CGT-2-3 (ti-pru-cgt)
-
Download and install GCC for Cortex A53
- A53: GNU-A
The imports.mak file contains the information that the OpenPRU makefiles need in order to build on your computer.
Copy open-pru/imports.mak.default into a new file, open-pru/imports.mak.
For ease of use, the new imports.mak file is excluded from git tracking.
Open imports.mak and update the settings based on your specific computer. Follow
the UPDATE comments to see which settings need to be modified.
After the OpenPRU repository has been set up, refer back to the README for build steps.