This work is based on raspberrypi/hats
.
mkdir build && cd build
cmake .. && make
sudo make install
PC
- Edit
eeprom_setting.txt
to suit your specific HAT. - Run
./eepmake eeprom_settings.txt eeprom.eep
to create the eep binary.
Portenta X8
- Use Docker and
eepflash
to flash the configuration to your EEPROM, i.e.
eepflash.sh --write --device=1 --address=50 -t=24c256 -f eeprom.eep
Note: Ensure that write protection - if you have any - is disabled.
eeprom-flash
flashes the EEPROM of the Pika Spark.eeprom-dump
dumps the content of the EEPROM of the Pika Spark tostdout
.