-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 AI-deck flashing support #1003
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just some formatting stuff!
|
||
static uint8_t populateBitfield(const DeckMemDef_t* memDef) { | ||
static const uint32_t COMMAND_BASE_ADR = 0x1000; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tab
|
||
cpxSendPacketBlocking(&bootPacket); | ||
// This should be handled on RX on CPX instead | ||
vTaskDelay(100); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100 ms should be more than enough to restart the GAP8 in bootloader mode, but as we get more use-cases maybe we should something that more resembles the router in the ESP and move this up a level so we can also easily do RX on different functions.
Add the functionality needed to flash the ESP and GAP8 on the AI-deck from the python client