1
stars
0
forks
source link
HAT hardware setup
Installation
- Install git:
sudo apt-get install git -y
- git clone this repo to your Raspberry Pi:
git clone --recurse-submodules https://github.com/Pioreactor/hardware.git && cd hardware
- Install eeprom utils:
cd hats/eepromutils && make && sudo make install && cd ..
- Move some files over:
mv ../eeprom/write_eeprom.py eepromutils/ && mv ../eeprom/pioreactor_eeprom_settings.txt.template eepromutils/
Setting up a new HAT
- Attach the HAT to the RPi.
- Run
sudo bash setup_HAT.py
- Record the serial number/UUID
- After a
sudo reboot
, try pio version -v
to confirm that HATs version.