https://github.com/electronvector/tiva-blinky
Blinks the LED on the Tiva C Series Launchpad (EK-TM4C123GXL)
https://github.com/electronvector/tiva-blinky
Last synced: 12 months ago
JSON representation
Blinks the LED on the Tiva C Series Launchpad (EK-TM4C123GXL)
- Host: GitHub
- URL: https://github.com/electronvector/tiva-blinky
- Owner: ElectronVector
- Created: 2019-09-02T04:30:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-10T03:32:37.000Z (over 6 years ago)
- Last Synced: 2025-01-09T15:56:39.391Z (about 1 year ago)
- Language: C
- Size: 3.47 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blinky app for the Tiva C Series Launchpad
A blinky app for the [Tiva C Series Launchpad (EK-TM4C123GXL)](http://www.ti.com/ww/en/launchpad/launchpads-connected-ek-tm4c123gxl.html). When loaded and run the Launchpad LED flashes -- switching between red, green and blue.
The project source is in **src**. The main loop in main.c drives the application.
There are two software modules -- **state** and **led** -- used to determine the LED color (the state) and to set the color of the LED. Each of these modules implements units tests. Unit tests are in **test**.
In the **led** module, the TivaWare Peripheral Driver Library is used to initialize and control the GPIO pins connected the multi-color LED. This library is in **lib/TivaWare/driverlib** and is built automatically if necessary.
## Building and loading
Execute all unit tests with `ceedling test:all`.
Run a single test with `ceedling test:`, e.g. `ceedling test:led`.
Build the application for the target with: `ceedling release`.
Load the app on the board with: `ceedling load`. The load command also builds the application if necessary.