{"id":19633380,"url":"https://github.com/electronvector/tiva-launchpad-tdd","last_synced_at":"2025-04-28T12:24:25.667Z","repository":{"id":34600469,"uuid":"38548311","full_name":"ElectronVector/tiva-launchpad-tdd","owner":"ElectronVector","description":"An example project for the Tiva C Series Launchpad board demonstrating the Ceedling unit test framework.","archived":false,"fork":false,"pushed_at":"2021-02-03T16:08:15.000Z","size":3724,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T09:31:37.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ElectronVector.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-04T21:34:12.000Z","updated_at":"2023-07-09T20:15:05.000Z","dependencies_parsed_at":"2022-09-14T17:40:18.191Z","dependency_job_id":null,"html_url":"https://github.com/ElectronVector/tiva-launchpad-tdd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElectronVector%2Ftiva-launchpad-tdd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElectronVector%2Ftiva-launchpad-tdd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElectronVector%2Ftiva-launchpad-tdd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElectronVector%2Ftiva-launchpad-tdd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElectronVector","download_url":"https://codeload.github.com/ElectronVector/tiva-launchpad-tdd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251312092,"owners_count":21569164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T12:17:10.074Z","updated_at":"2025-04-28T12:24:25.644Z","avatar_url":"https://github.com/ElectronVector.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Test-Driven Development Environment for the Tiva C Series Launchpad\n\nThis is an example project and build environment for the Tiva C Series Launchpad (EK-TM4C123GXL). It demonstrates how to use the Ceedling unit test framework to facilitate test-driven design.\n\n## Tiva Launchpad\n\nThe [Tiva C Series Launchpad (EK-TM4C123GXL)](http://www.ti.com/ww/en/launchpad/launchpads-connected-ek-tm4c123gxl.html) is a low-cost evaluation board from TI for their powerful line of ARM Cortex-M4F-based microcontrollers. You can get it for [about $13](https://store.ti.com/Tiva-C-LaunchPad.aspx).\n\nTiva C Series Launchpad (EK-TM4C123GXL):\n\n\u003cimg src=\"launchpad-tivac.jpg\" width=\"400\"\u003e\n\n## Requirements\n\nThis build environment requires that [Vagrant](http://www.vagrantup.com/downloads) and [Virtualbox](https://www.virtualbox.org/wiki/Downloads) are installed. Virtualbox 5.0 adds support for USB 3.0. **I've tested this setup working on USB 3.0 ports with Virtualbox 5.0.4!** I had previously been unable to get it working with version 5.0.0.\n\n## Starting the Environment\n\nLaunch the environment with: `vagrant up`.\n\nConnect to it with: `vagrant ssh`.\n\nExit the environment with `exit`.\n\n## Building and Loading the Example Project\n\nThe example project is in the **example-project** folder. Switch to this folder to run the example project commands.\n\nExecute all unit tests with `ceedling test:all`.\n\nRun a single test with `ceedling test:\u003cmodule\u003e`, e.g. `ceedling test:led`.\n\nLoad the app on the board with: `ceedling load`.\n\nThe load command also builds the application if necessary. Just build the application with: `ceedling release`.\n\n## Example Project Description\n\nIncluded with this environment is an example project with unit tests. When loaded and run the Launchpad LED flashes -- switching between red, green and blue.\n\nThe example project source is in **example-project/src**. The main loop in main.c drives the application.\n\nThere 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 **example-project/test**.\n\nIn 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.\n\n## Documentation\n\n[Ceedling Manual](https://github.com/ThrowTheSwitch/Ceedling/blob/master/docs/CeedlingPacket.md)\n\n[CMock Manual](https://github.com/ThrowTheSwitch/CMock/blob/master/docs/CMock_Summary.md)\n\n[Unity Manual](https://github.com/ThrowTheSwitch/Unity/raw/master/docs/Unity%20Summary.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectronvector%2Ftiva-launchpad-tdd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectronvector%2Ftiva-launchpad-tdd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectronvector%2Ftiva-launchpad-tdd/lists"}