Hivemapper / hdc_firmware

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

Improve HDC Firmware build process #225

Closed mazar-farran closed 6 months ago

mazar-farran commented 8 months ago

Firmware build process is suboptimal. To incorporate changes on odc-api, data-logger, gnss, and imu, we need to either a) host a new release on github for that specific component or b) hack a change locally (e.g. using sed to bump the firmware version in the compiled odc-api). Both of these approaches are time consuming and highly error prone.

Ideally buildroot and yocto would grab the source code from a specified commit and build it from scratch. This avoids the unnecessary step of packaging and hosting a new release. It also allows you to make local changes to the source itself (e.g. by using devtool modify for yocto) instead of trying to patch the binaries.

This ticket is specifically for work on the HDC firmware

jayalberts commented 8 months ago

data logger building from source for HDC, should simplify

Masaya-RT commented 8 months ago

Able to get odc-api building from source for the HDC firmware build

Masaya-RT commented 8 months ago

Found some camera-node issues related to changes. Found a workaround, should be pretty much good to go for getting Build-from-Source working

Masaya-RT commented 8 months ago

More work on Camera-node build

jayalberts commented 8 months ago

ready to be merged, Alexei review

jayalberts commented 8 months ago

merged and now need to validate not broken.