Hivemapper / hdc_firmware

The firmware that runs the OpenDashcam
https://github.com/hivemapper/odc
Apache License 2.0
0 stars 3 forks source link

Make data-logger build from source in firmware builds. #226

Closed mazar-farran closed 4 months ago

mazar-farran commented 4 months ago

https://github.com/Hivemapper/hdc_firmware/issues/225

This simplifies updating hdc_firmware. You only need to change VERSION to match the commit you want to test.

It is also possible to test changes locally by using make data-logger-rebuild.

mazar-farran commented 4 months ago

Verified that you can build data-logger with a new firmware repo. Keep in mind that the new build will be ~20 min slower the first time (due to building the go host tools) and ~5 min slower subsequent times (because we're now building the data-logger from scratch).

This is on the old HDC machine, for the new one the build increase is probably negligible