gizmo-platform / gizmo

https://gizmo-platform.github.io
ISC License
5 stars 3 forks source link

FW secrets written to params.h instead of secrets.h #2

Closed barulicm closed 10 months ago

barulicm commented 10 months ago

The configured secrets (wifi details and team number) are written to "params.h" when the firmware is built, but the firmware code expects them to be in "secrets.h" and does not try to include "params.h".

https://github.com/BESTRobotics/gizmo/blob/ce5e29e235504b10fd0db9482bd747b0715a8848/pkg/firmware/firmware.go#L57

barulicm commented 10 months ago

Nevermind, I see an include for params.h was added to config.h a few weeks ago.