aboutsummaryrefslogtreecommitdiff
path: root/main/readme.md
blob: b73305c071c8d3cc561c1dca0e991641f78075b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
\defgroup main main
\brief Main controller software

This directory contains the software for the main controller of the Puzzle Box.
The main controller target is a Raspberry Pi Pico W.

## Building

1. Create a `config.h` file (see [config](#main_config))
2. Use CMake to build

## Flashing

1. Hold the BOOTSEL button while resetting the Pico (by power cycling or
   pulling pin 30 (RUN) to GND)
2. ```
   $ picotool load build/main.uf2
   ```