Scompo noticed that the examples with the Stellaris Launchpad are close source licensed. So he developed a BSD licensed low level startup code, linker script and makefile as a template. To test it he built OpenOCD and wrote a short tutorial for it. Scompo explains, “This is a sample project to be used with Stellaris LM4Fxxx TI microcontrollers. The main reason why I started doing this project is that Stellarisware (C libraries for LM4F microcontrollers by Texas Instruments) has a free and royalty-free license, while the code examples are available with restrictive license that you can’t use for your own projects. The other reason is I wanted to know what’s going on behind writing a simple “$ make”.”
The template code can be found on GitHub, and the tutorial on debugging a program is on Scompoprojects site.
Via the contact form.
For similar stuff, and maybe a place to move this LM4F code to, check out libopencm3, an open source library for various Cortex-M series microcontrollers.
libopencm3 is licensed under the LGPL3, so it’s only really suitable for open-source projects.
Is it LGPL3 or GPL3? My understanding is it’s GPL3, which makes it tough to link against this library if you plan to make and sell a product.
Looks like it used to be GPL3, but was changed to LGPL3.
As far as I understand, Scompo’s templates are geared towards open source. he wrote them mainly because TI’s license is incompatible with open source licenses.
I haven’t found it before, I’ll check that out!