Part 1: Download CCS
--
(If you already have Code Composer Studio (CCS) installed skip to step 2)
Download CCS here: http://www.ti.com/tool/ccstudio
Installer will walk you through setting up CCS. Choose options for your platform and desired compiler(s).
expected install location: C:\ti
Part 2: Download tivac
--
(If you already have TIRTOS for TivaC skip to step 3)
Now in Code Composer Studio, find CCS App Center it will be an option on the "Getting Started"
page or click View -> CCS App Center
Under the title "Code Composer Studio Add-ons" check the box under "TI-RTOS for TivaC"
Now on the top of the page click "Install Software"
expected install location: C:\ti
Part 3: Download wolfSSL
--
Download wolfSSL from here: https://wolfssl.com/wolfSSL/download/downloadForm.php
or
clone wolfSSL development branch from here: https://github.com/wolfSSL/wolfssl
expected install location: C:\ti\wolfssl
Part 4: Build the libraries
--
At this point we are ready to build wolfssl libraries with TIRTOS
This process will be easiest if you set your environment up in the following
way.
`C:\ti`
`C:\ti\wolfssl`
`C:\ti\ccsv6`
`C:\ti\xdctools..`
.
`C:\ti\tirtos_tivac...`
File: `C:\ti\wolfssl\tirtos\products.mak`
Instructions:
Copy and paste the following contents into the `C:\ti\wolfssl\tirtos\products.mak`
file then browse to C:/ti/ and update all lines with `"X_XX_XX_XX"` to the correct
version on your system. Also update the "X.X.X" and "X.X.X.XXx"
NOTE: DO NOT forget the `"_core"` on the end of `XDC_INSTALL_DIR` if it is present
in your environment, must be exact.
################################################################################
Contents of products.mak BEGIN
################################################################################
```
#
# ======== products.mak ========
#
#
# Read the http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS
# for instructions to download the software required.
export XDCTOOLS_JAVA_HOME = c:/ti/ccsv6/eclipse/jre
# XDC_INSTALL_DIR is the path to XDCtools directory.
XDC_INSTALL_DIR = c:/ti/xdctools_X_XX_XX_XX_core
# BIOS_INSTALL_DIR is the path to TI-RTOS Kernel (SYS/BIOS) directory. If you
# have installed TI-RTOS, it is located in the products/bios_* path.
BIOS_INSTALL_DIR = c:/ti/tirtos_tivac_X_XX_XX_XX/products/bios_X_XX_XX_XX
# NDK_INSTALL_DIR is the path to TI-RTOS NDK directory. If you have
# installed TI-RTOS, it is located in the products/ndk_* path.
NDK_INSTALL_DIR = c:/ti/tirtos_tivac_X_XX_XX_XX/products/ndk_X_XX_XX_XX
# TIVAWARE_INSTALL_DIR is the path to Tivaware driverlib directory. If you have
# installed TI-RTOS, it is located in the products/TivaWare_* path.
TIVAWARE_INSTALL_DIR = c:/ti/tirtos_tivac_X_XX_XX_XX/products/TivaWare_C_Series-X.X.X.XXx
# Define the code generation tools path for TI, IAR and GCC ARM compilers.
# If you have installed Code Composer Studio, the TI and GCC compiler are
# located in the ccsv*/tools/compiler/* path.
#
# Leave assignment empty to disable any toolchain.
ti.targets.arm.elf.M4F = c:/ti/ccsv6/tools/compiler/ti-cgt-arm_X.X.X
```
################################################################################
Contents of products.mak END
################################################################################
Finally from the wolfssl/tirtos directory run this command:
`..\..\xdctools_X_XX_XX_XX_core\gmake.exe -f wolfssl.mak`
The libraries should build without issues.
Part 5: Loading first example
--
In CCS click dropdown for "Project" and select "Examples..."
Locate: TI-RTOS for TivaCIn the "TI Resource Explorer window" Click on the link in "Step 1" to import the project.
-> Tiva C Series
-> Tiva TM4C1294NCPDT
-> EK-TM4C1294XL Evaluation Kit
-> Network Examples
-> TI Network Examples
-> Ethernet Examples
-> TCP Echo with TLS