Skip to content

Commit

Permalink
Merge branch 'foxsi:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
thanasipantazides authored Dec 3, 2024
2 parents a95f4b3 + 0adf8f0 commit 10a8f65
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion PISETUP.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Setting up the Raspberry Pi boot image
This guide is for setting up a _brand new_ Raspberry Pi _from scratch_ for use as the FOXSI-4 Formatter. If you are just trying to modify/build/fix/run the Formatter software, [go back here](https://github.com/foxsi/foxsi-4matter/blob/main/README.md).

## Supplies
1. Rapsberry Pi SBC (versions 4 or 5 will work, as will a Compute Module with carrier board)
2. microSD card with capacity ≥ 8GB
Expand Down Expand Up @@ -84,6 +86,17 @@ Now reboot the Pi to implement your changes:
$ sudo reboot
```

### Disabling WiFi
For flight, you may not want a WiFi interface floating around. You can disable WiFi by adding `dtoverlay=disable-wifi` to your device tree:
```bash
$ sudo nano /boot/config.txt
```
and add the lines
```bash
dtoverlay=disable-wifi
```
Then you can reboot to implement the changes.

## Installing required packages
Assuming you have an internet connection, you should be able to use `apt-get` to install some required libraries for the Formatter. Some of these may take a few minutes to install.
```bash
Expand All @@ -95,4 +108,4 @@ $ sudo apt-get install googletest

The recent v1.83.* versions of `boost` are not yet (as of March 2024) available in the Debian distribution, so I specify an earlier version for the Raspberry Pi install.

Once complete, you may need to modify the [CMakeLists.txt](CMakeLists.txt) to point `NLOHMANNJSON_ROOT` to the correct directory. The path you input should contain the file `json.hpp`.
Once complete, you may need to modify the [CMakeLists.txt](CMakeLists.txt) to point `NLOHMANNJSON_ROOT` to the correct directory. The path you input should contain the file `json.hpp`.

0 comments on commit 10a8f65

Please sign in to comment.