diff --git a/tirtos_ccs_examples/README.md b/tirtos_ccs_examples/README.md index 033263dd..4f4bd241 100644 --- a/tirtos_ccs_examples/README.md +++ b/tirtos_ccs_examples/README.md @@ -29,21 +29,28 @@ Step 4: Build the libraries At this point we are ready to build wolfssl libraries with TIRTOS

WINDOWS:
- in the file browser navigate to: `C:\ti\ccsv6\tools\compiler` and see which
+ In the file browser navigate to: `C:\ti\ccsv6\tools\compiler` and see which
compiler you have installed `ti-cgt-arm_x.x.x` and make a note of it.
- now in the file browser navigate to `C:\ti\tirtos_tivac_xxxxxxx`
- open `tirtos.mak` in your preferred text editor
- locate the line specifying your compiler should be on or around line 11 and
- will look something like this:
+
+ Now in the file browser navigate to `C:\ti\tirtos_tivac_xxxxxxx` open `tirtos.mak` in your
+ preferred text editor
+
+ Locate the line specifying the compiler. You should find this on or around line 11 and it will look
+ something like this:
`ti.targets.arm.elf.M4F ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/tools/compiler/ti-cgt-arm_5.2.5`
- make sure you are using the `ti-cgt-agrm_x.x.x` that you noted previously
- next locate the wolfSSL section should be on or around line 45 and looks like this:
+
+ Make sure you are using the `ti-cgt-agrm_x.x.x` that you noted previously
+
+ Next locate the wolfSSL section should be on or around line 45 and looks like this:
`WolfSSL settings`
`WOLFSSL_INSTALLATION_DIR ?= C:\wolfssl`
`WOLFSSL_TIRTOS_DIR = $(WOLFSSL_INSTALLATION_DIR)/tirtos
`
+
Modify WOLFSSL_INSTALLATION_DIR to be the location of your wolfssl directory. Should be C:\wolfssl.
+
Open a command promp and navigate to `C:\ti\tirtos_tivac_xxxxxxx`
- use the following command to build TIRTOS and wolfssl
+
+ Use the following command to build TIRTOS and wolfssl
`..\xdctools_3_31_01_33_core\gmake.exe -f tirtos.mak wolfssl`

The libraries should build without issues.
@@ -68,18 +75,22 @@ Step 6: Setting up the environment Before building we have to do a little setup.
Step 6.a
Right click on the imported project and select `Properties`
- under `Build -> ARM Compiler -> Include Options`
+
+ Under `Build -> ARM Compiler -> Include Options`
You will see a little file with a green "plus" symbol in the browser window
(NOTE: include the quotes)
Click on that and add this line `"C:/wolfssl"`

Step 6.b
Now still in the Properties window
- under `Build -> ARM Linker -> File Search Path`
+ Under `Build -> ARM Linker -> File Search Path`
+
In the browser window on the right under "Include library file or command file as input"
Click the add button and add this line `"C:\wolfssl\tirtos\packages\ti\net\wolfssl\lib\wolfssl.aem4f"`
+
In the browser window on the right under "Add to library search path"
Click the add button and add this line `"C:\wolfssl\tirtos\packages\ti\net\wolfssl\lib"`
+

Step 6.c
Hit OK and we're ready to build the example project.