... | @@ -31,19 +31,19 @@ If you can't use the provided templates, you can try to create a new project on |
... | @@ -31,19 +31,19 @@ If you can't use the provided templates, you can try to create a new project on |
|
. Select File > New > Project
|
|
. Select File > New > Project
|
|
. Choose the template C/C++ > CCS Project
|
|
. Choose the template C/C++ > CCS Project
|
|
. Configure template
|
|
. Configure template
|
|
. Select a microcontroller (e.g. TM4C1294NCPDT)
|
|
a. Select a microcontroller (e.g. TM4C1294NCPDT)
|
|
. Configure the connection type (e.g. Stellaris In-Circuit Debug Interface)
|
|
b. Configure the connection type (e.g. Stellaris In-Circuit Debug Interface)
|
|
. Enter a project name
|
|
c. Enter a project name
|
|
. Choose a file/directory template (e.g. Empty Project (with main.c))
|
|
d. Choose a file/directory template (e.g. Empty Project (with main.c))
|
|
. Press Finish
|
|
e. Press Finish
|
|
|
|
|
|
To add the TivaWare Driverlib execute the following steps. Note: You need to import both projects from `driverlib_public`, i.e. `driverlib_support` and `driverlib`, before.
|
|
To add the TivaWare Driverlib execute the following steps. Note: You need to import both projects from `driverlib_public`, i.e. `driverlib_support` and `driverlib`, before.
|
|
|
|
|
|
. Right-click the project name and choose Properties
|
|
. Right-click the project name and choose Properties
|
|
. Select Build > ARM Compiler > Include Options
|
|
. Select Build > ARM Compiler > Include Options
|
|
. Add the workspace directory `driverlib_support`
|
|
a. Add the workspace directory `driverlib_support`
|
|
. Select Build > ARM Linker > File Search Path
|
|
. Select Build > ARM Linker > File Search Path
|
|
. Add the library `driverlib.lib` from `driverlib/Debug/`
|
|
a. Add the library `driverlib.lib` from `driverlib/Debug/`
|
|
. Press Apply and Close
|
|
. Press Apply and Close
|
|
|
|
|
|
You can copy, build and run the source code in main.c from `example_standalone_driverlib` to test if the TivaWare Driverlib was included successfully.
|
|
You can copy, build and run the source code in main.c from `example_standalone_driverlib` to test if the TivaWare Driverlib was included successfully.
|
... | | ... | |