Lightlines
By zhinkgit

gcc

ZH
zhinkgit624 installs

Build embedded firmware and check its size.

What it does

Builds CMake-based embedded GCC projects and reports firmware size and memory usage.

When to use it

Use for building CMake-based embedded GCC projects or checking firmware size, including requests that simply ask to compile in that context.

How to use it

Give it an embedded CMake project; it scans or builds the project, returns firmware paths, or analyzes firmware size, asking you to choose when projects or presets are ambiguous.

What you provide

  • An existing project

Good to know

  • cannot be undone: the preset's build directory
  • acts without asking

Latest review

What you need · 3

Requires CMake 3.21 or later, with its executable available through PATH or a configured path.

Requires the Arm GNU Toolchain, which provides arm-none-eabi-gcc and arm-none-eabi-size.

Requires Python 3.x; the scripts use only the standard library.


Access · 1

This skill

the preset's build directory

Write

Deletes the build directory (irreversible)