The pod program cannot be run properly unless on an actual Raspberry Pi. To simplify testing of state transitions and sending data to the control station as well as testing individual components even on the Pi, we can use feature flags to conditionally enable different component features to use. Each sensor type has a feature and the rpi feature will enable all of them.
Resolves #40.
Changes
Implemented mocking for GPIO operation
Mock measurement values for components using other I2C-based sensors as well as inverter board using serial
Include reasonable placeholder values for sensor measurements
Add brpi alias to do a release build with the aarch64 architecture for the Raspberry Pi
Update checks workflow and pre-commit script to lint both with and without the rpi feature
The pod program cannot be run properly unless on an actual Raspberry Pi. To simplify testing of state transitions and sending data to the control station as well as testing individual components even on the Pi, we can use feature flags to conditionally enable different component features to use. Each sensor type has a feature and the
rpi
feature will enable all of them.Resolves #40.
Changes
brpi
alias to do a release build with the aarch64 architecture for the Raspberry Pirpi
feature