☰ Menu
CLI Open source

lm4tools for Mac

lm4tools

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

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2018-03-13; current version v0.1.3, with the latest 2 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v0.1.32018-03-13Stable————
v0.1.22013-09-03Stable————

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.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
lm4toolsv0.1.3GPL-2.0-or-later AND BSD-3-ClauseCLI0
teensy_loader_cli2.3GPL-3.0-onlyCLI27
openssl@4openssl-4.1.0Apache-2.0CLI494,798
xzv5.8.40BSD AND GPL-2.0-or-laterCLI346,605

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…