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

# main controller firmware

This directory contains the software for the main controller of the Puzzle Box.

## building

1. make sure the submodules are initialized
2. create a `config.h` file (see \ref main_config "config")
3. use CMake to build

## flashing

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