Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.11 KB

File metadata and controls

47 lines (34 loc) · 1.11 KB

Building the Example

Using build script

The simplest way to build is using the provided build script:

# Build for all supported targets
./build.sh all

# Or specify a different target
./build.sh esp8266

# Or to clean all built files
./build.sh clean

Manual Build

  1. Create and enter build directory:
cd example
mkdir -p build && cd build
  1. Configure CMake with your ESP target:
cmake -DESP_TARGET=esp32 .. # Replace esp32 with your target (esp32s2, etc.)
  1. Build the project:
cmake --build .

Build Outputs

After a successful build, you'll find:

  • build/stub_<target>.elf - The compiled binary
  • build/stub_<target>.map - Memory map file
  • build/stub_<target>.asm - Disassembly output

Notes