Skip to content

Automatically generate Boot2.S source files for different flashes

Notifications You must be signed in to change notification settings

maxgerhardt/pico-boot2-generator

Repository files navigation

Pico Boot2 File Generator

Description

This tool generates the Boot2 stage for all flash chips known in a database for a Pico.

These files can e.g. be used to support new combination of a Pico with a new flash chip.

Refer https://github.com/earlephilhower/arduino-pico/tree/master/boot2.

Usage

Prerequisites: Python 3 and arm-none-eabi-gcc toolchain in the path.

git clone https://github.com/maxgerhardt/pico-boot2-generator
cd pico-boot2-generator
git submodule update --init
pip3 install -r requirements.txt
python3 build.py

You can also use the already pregenerated files in generates/.

These were generated using arm-none-eabi-gcc 10.2.1 (Q4 Major).

The tool is compatible with both Unix and Windows.

Credits

About

Automatically generate Boot2.S source files for different flashes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published