raspberrypi / pico-examples

BSD 3-Clause "New" or "Revised" License
2.94k stars 844 forks source link

Add binary info examples of configurable binaries #567

Closed will-v-pi closed 1 hour ago

will-v-pi commented 4 weeks ago

Add two examples of binaries which are configurable after compilation, demonstrating use of bi_ptr variables and the picotool config command.

The first is a blink binary which blinks on any pin, and if compiled for a W board it can also be configured between blinking a pin on the CYW43 chip or a normal GPIO

The second is a hello_world binary, with configurable UART config, ability to disable USB/UART output, and configurable printed string