Closed keenanjohnson closed 1 year ago
We should add the changes made as part of #61 in this changeset. Currently the settings below are set via the balena web UI.
t_params = "i2c_arm=off","i2c-gpio=on"
dt_overlay = "dwc2,dr_mode=host","i2c-gpio,bus=11,i2c_gpio_delay_us=100,i2c_gpio_sda=2,i2c_gpio_scl=3"
@djgood fyi in case you are ever messing with anything until I finish this item.
We're moving to an esp32-based frog for the foreseeable future, so closing this won't fix fow now. Perhaps once the global supply chain clears up a bit, we will revisit this.
New software repo below:
https://github.com/Ribbit-Network/ribbit-network-frog-software
In order to enable the USB Power on the Wavehsare Carrier board we use for the Raspberry PI CM4, a dt_overlay variable must be set. Wiki link to the documentation.
dtoverlay=dwc2,dr_mode=host
Previously I've been setting this via the Balena Web UI, however, this makes this configuration obscure and not obvious to the Open Source community. We should consider setting this programmatically in code.