Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Puzzle FW #67

Merged
merged 8 commits into from
Jan 26, 2024
Merged

Add Puzzle FW #67

merged 8 commits into from
Jan 26, 2024

Conversation

jonathanpallant
Copy link
Member

@jonathanpallant jonathanpallant commented Jan 24, 2024

Imports and re-writes the firmware for the USB dongles, used in the radio workshop

  • Port the loopback firmware too.
  • Also take the channel number as a build option in case HID doesn't work

Edit: We can use the old firmware images if the HID API doesn't work.

@jonathanpallant
Copy link
Member Author

jonathanpallant commented Jan 24, 2024

OK, now the secret message is stored as a Github Secret and baked into the puzzle firmware.

@jonathanpallant jonathanpallant changed the title Draft: Add Puzzle FW Add Puzzle FW Jan 25, 2024
@jonathanpallant
Copy link
Member Author

Needs #66 merging first

Still need to integrate puzzlegen into build process for puzzle-fw and set up CI to use a Github secret to store the phrase.
* dongle BSP provides RingBuffer and UsbBus types.
* use critical-section mutexes to handle Usb types, not static mut
* Add a 5ms delay before replying - makes it much more reliable
@jonathanpallant
Copy link
Member Author

Rebased on main now #66 is in

@listochkin listochkin merged commit 7e6d9e6 into main Jan 26, 2024
2 checks passed
@listochkin listochkin deleted the add-puzzle-fw branch January 26, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants