Summary
Keywords
Full Transcript
This lesson shows how to use the free and unlimited GNU-ARM compiler and the Eclipse-based Integrated Development Environment. Specifically, this lesson uses the Eclipse-based Code Composer Studio (CCS) Integrated Development Environment from Texas Instruments, combined with the free and unlimited GNU-ARM toolset. CCS has been chosen because it supports the TivaC LaunchPad board, but the discussion will apply to any other Eclipse-based IDE and the GNU-ARM compiler. The lesson starts with instructions on how to download and install the CCS toolset. Next, you will create a new project for TivaC LaunchPad and you will take a look at the code generated for this project in CCS. Next, you will see how to improve this code by adding CMSIS-compliant startup code for GNU-ARM and a universal GNU linker script. You will also see how this new code works and how to eliminate all the remaining, non-standard dependencies on the previous development toolset. The startup code and linker script from this lesson are much closer to production quality than the typical code distributed by silicon vendors. The code is compliant with CMSIS and will work with any toolset based on GNU-ARM, not just with CCS. You can easily adapt it for any ARM Cortex-M microcontroller. ------ Resources: Companion web page for this video course: https://www.state-machine.com/quickstart GitHub repository for projects for this video course: https://github.com/QuantumLeaps/modern-embedded-programming-course Transcript of this lesson: https://www.state-machine.com/course/lesson19.txt Relevant blog posts: 1. "Are We Shooting Ourselves in the Foot with Stack Overflow?" by Miro Samek, February 2014: http://embeddedgurus.com/state-space/2014/02/are-we-shooting-ourselves-in-the-foot-with-stack-overflow/ 2. "Building Bare-Metal ARM Systems with GNU" Article: Part 1: Getting Started http://www.embedded.com/design/mcus-processors-and-socs/4007119/Building-Bare-Metal-ARM-Systems-with-GNU-Part-1--Getting-Started You can find the links to all remaining Parts (2-10) at the end of Part-1. The PDF version of the whole article is also available from: http://www.state-machine.com/doc/Building_bare-metal_ARM_with_GNU.pdf Music credits: The background music comes from: https://www.bensound.com/royalty-free-music/track/straight
