build is set up

This commit is contained in:
2026-02-28 20:47:02 +11:00
parent 23abfa8b6a
commit 14314f54c0
5 changed files with 170 additions and 1 deletions

View File

@@ -32,4 +32,17 @@ A connector lets you use the mesh network over bluetooth, they would be somewher
- TP4056 Charger ($2.11) | [Buy](https://www.amazon.com/18650-Board-TP4056-Module-Protect/dp/B09SWBM31Z?crid=C8N1XC4HLDXF&dib=eyJ2IjoiMSJ9.Ucrx7MAXbCG7TEifdeu7RmSnK3LGRgsxnNN2Vvbzxt8PDRbYg_8aqnR4aTsyQpZx2CcgioGKLXpBZ_tNYS2AlUP4XybzGQ0zI2LGu4bn-GBb5kZTp3F0gEpDL1jiQkanKi1jxQv5jR0kTFtn432DA38uKen0RL37BQjW0P4jxGOHfKF6IPB4myUbQ9VcP0-BnH9qRUvGoJzAtzP71FoQOVjD0ZweFCZ9zLc7fCa7iXw.C08ESSiAZHdEtUpxkY-RoC8xiG_Di4Q_aIVbzopsJXM&dib_tag=se&keywords=TP4056&qid=1772238259&sprefix=%2Caps%2C263&sr=8-1)
# Setting up your device
idk yet haven't coded it lmao :sob:
There are provided `.uf2` files in the Releases tab which you can easily flash to your Pico depending on which node you're building.
# Setting up your device (building from source)
Depending on whether you're building a relay, you will need to cd into a different directory, but the command is the same. You will need the Raspberry Pi Pico SDK to build, [this video](https://www.youtube.com/watch?v=JhajoAyP8e4) is a good place to get that installed.
For relays for example:
1. `cd relay`
2. `mkdir build`
3. `cd build`
4. `cmake -DPICO_SDK_PATH=$PICO_SDK_PATH ..`
For connectors it's the same but the folder should be "connector" instead of "relay".
This will put a `.uf2` file in the current directory, you can now boot your board in the BOOTSEL mode by holding the white button when plugging in the board, and then dragging the `.uf2` file into the drive that appears in your file explorer.