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

Adjust flashing sleep times to prevent AI-deck timeouts #510

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

gemenerik
Copy link
Member

This PR adjusts the sleep times between flashing steps to prevent timeouts caused by the longer restart/boot time of the AI-deck introduced in bitcraze/crazyflie2-nrf-firmware#102. When an AI-deck is attached, the sleep duration is increased accordingly.

Conversely, when no AI-deck is present, the sleep time is reduced by 1 second, aligning with the removal of the previous delay.

Boot time was increased from 1 to 10 seconds in NRF firmware to prevent GAP8 freezes
Since nrf-firmware will now only delay boot if AI-deck is attached, and boot times have been reduced
Copy link
Member

@ataffanel ataffanel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gemenerik gemenerik merged commit 0f1781c into master Feb 17, 2025
1 check passed
@gemenerik gemenerik deleted the rik/ai_deck_delayed_boot branch February 17, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants