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

Use Crazyflie console to print from ESP32 and GAP8 on AI-deck #1012

Merged
merged 1 commit into from Apr 11, 2022

Conversation

evoggy
Copy link
Member

@evoggy evoggy commented Apr 7, 2022

Enable printouts to Crazyflie CRTP console from ESP32 and GAP8 on the AI-deck. This will print each message with a prefix in the console (ESP32 or GAP8) depending on the source of the message.

This also disables the printouts to the Crazyflie CRTP console from the UART connected directly to the GAP8.

Copy link
Contributor

@whoenig whoenig left a comment

Choose a reason for hiding this comment

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

This is a great new feature!

}
break;
case CPX_F_CONSOLE:
if (cpxRx.route.source == CPX_T_ESP32) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it guaranteed that data is null-terminated?

Copy link
Member Author

Choose a reason for hiding this comment

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

The ESP32 and GAP8 will send the null-terminator as well.

@evoggy
Copy link
Member Author

evoggy commented Apr 11, 2022

@whoenig Good to hear! There's other pull requests up for the ESP32 and GAP8 now as well if you want to have a look.

bitcraze/aideck-esp-firmware#6

bitcraze/aideck-gap8-bootloader#1

bitcraze/aideck-gap8-examples#71

@krichardsson krichardsson merged commit 35ba0f8 into master Apr 11, 2022
@krichardsson krichardsson deleted the evoggy/console-print-via-cpx branch April 11, 2022 14:01
@knmcguire knmcguire added this to the next release milestone May 10, 2022
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.

None yet

4 participants