lm4tools for Mac
Some tools which enable multi-platform development on the TI Stellaris Launchpad boards. The Stellaris Launchpad is a low cost development board created by Texas Instruments that comes with an ARM Cortex-M4F processor.
lm4tools — overview
Some tools which enable multi-platform development on the TI Stellaris Launchpad boards. The Stellaris Launchpad is a low cost development board created by Texas Instruments that comes with an ARM Cortex-M4F processor. You can get one here:
__Included tools__
lm4flash Command-line firmware flashing tool using libusb-1.0 to communicate with the Stellaris Launchpad ICDI. Works on all Linux, Mac OS X, Windows, and BSD systems. GPLv2+ license. See lm4flash/COPYING for details.
lmicdiusb TCP/USB bridge created by TI, letting GDB communicate with the Stellaris Launchpad ICDI. Works on all Linux, Mac OS X, and BSD systems. Currently not on Windows, due to the use of poll() which does not work for USB on Windows. BSD-style license. See lmicdiusb/license.txt for details.
__Setting up a development environment__
First you'll need a cross compiler able to compile for ARM Cortex-Mx aka arm-none-eabi-. Some which are know to work:
summon-arm-toolchain by Piotr Esden-Tempski arm-eabi-toolchain by James Snyder Sourcery Codebench Lite
More info can be found here eLinux toolchains.
Grab StellarisWare from Texas Instruments: Stellaris LM4F120 LaunchPad Evaluation Board Software. You need to get SW-EK-LM4F120XL.
Inside StellarisWare directory you'll find many examples in the directory boards/ek-lm4f120xl. Try building project0 by going to that directory and running make.
To flash your Stellaris board from boards/ek-lm4f120xl/project0, run:
$ lm4flash gcc/project0.bin
Nice hacking!
__Optional: Remove the root requirement__
By default, root permissions are required to flash the Stellaris Launchpad ICDI. This can be circumvented by adding udev rules. Create a file called /etc/udev/rules.d/61.stellpad.rules*, containing:
Restart udev to apply the changes.
Details
TI Stellaris 启动板的工具
How to install lm4tools
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2018-03-13; current version v0.1.3, with the latest 2 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v0.1.3 | 2018-03-13 | Stable | — | — | — | — |
| v0.1.2 | 2013-09-03 | Stable | — | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Apple silicon · macOS 14 Sonoma
- Apple silicon · macOS 13 Ventura
- arm64_monterey
- arm64_big_sur
- Intel · macOS 14 Sonoma
- Intel · macOS 13 Ventura
- Intel · macOS 12 Monterey
- big_sur
- Linux · ARM64
- Linux · x86_64
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| lm4tools | v0.1.3 | GPL-2.0-or-later AND BSD-3-Clause | CLI | 0 |
| teensy_loader_cli | 2.3 | GPL-3.0-only | CLI | 27 |
| openssl@4 | openssl-4.1.0 | Apache-2.0 | CLI | 494,798 |
| xz | v5.8.4 | 0BSD AND GPL-2.0-or-later | CLI | 346,605 |
Similar apps: Command-line Tools
teensy_loader_cli
Command-line integration for Teensy USB development boardsopenssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…node
Node.js is an open-source, cross-platform JavaScript runtime environment.gh
GitHub command-line toolCategories: Command-line Tools