User manual

Compile, Download, and Debug
www.ti.com
Figure 28. Running the Make Install Command
10. After the command has run successfully, check that the file openocd.exe is generated at path
C:\cygwin\usr\local\bin. Add this path to the Windows PATH environment variable.
3.3.4 Compile the GCC SDK project
1. Open the main.c file of the wlan_station project for editing at C:\TI\CC3200SDK\cc3200-
sdk\example\getting_started_with_wlan_station\main.c.
2. Edit main.c to use the SSID, security type and security key of the Access Point being used. Edit the
macros SSID_NAME, SECURITY_TYPE and SECURITY_KEY to contain the Access Point’s
information as shown in Figure 29. The security types supported for this demo are WPA/WPA2 and
Open. For Open security, define SECURITY_TYPE as SL_SEC_TYPE_OPEN. For WPA and WPA2
security, define it as SL_SEC_TYPE_WPA.
Figure 29. Editing main.c
3. Save main.c.
In the Cygwin terminal, change the directory to C:\TI\CC3200SDK\cc3200-sdk\
example\getting_started_with_wlan_station\gcc\ and run following command:
make –f Makefile
This command should appear as in Figure 30. Note that Cygwin uses forward slashes to separate
directories.
24
CC3200 SimpleLink™ Wi-Fi
®
and IoT Solution With MCU LaunchPad™ SWRU376AJune 2014Revised June 2014
Getting Started Guide
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated