balena-io-hardware / fin-coprocessorFirmata-sw

firmata firmware for the BGM111 co-processor on the balenaFin
https://balena.io/fin
Apache License 2.0
11 stars 6 forks source link

Added I2C and Release Versioning #19

Closed Bucknalla closed 4 years ago

Bucknalla commented 4 years ago

This PR adds the I2C functionality with mode toggling (to support the testbot hat) as well as dynamic firmware versioning based upon the release tag.

Bucknalla commented 4 years ago

Waiting on confirmation that this is working within the testbot configuration before this is ready for review.

Bucknalla commented 4 years ago

Need to add error handling for I2C because currently firmata implementation doesnt allow for errors on I2C R/W. Best way to do this is with a SYSEX msg from the host and msg handler on the client. @rcooke-warwick

roman-mazur commented 4 years ago

@Bucknalla since FD is down, would you attach a hex file here in a comment?

Bucknalla commented 4 years ago

@roman-mazur try this, had to compress it as GitHub doesn't like .hex files. firmata.zip

roman-mazur commented 4 years ago

Thanks, flashing...