Skip to content

allow customisation of beginSerial #22

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

Merged
merged 1 commit into from
May 18, 2022
Merged

allow customisation of beginSerial #22

merged 1 commit into from
May 18, 2022

Conversation

mazgch
Copy link
Contributor

@mazgch mazgch commented May 18, 2022

  • make beginSerial virtual so that we can override and assign custom pins and configuration
  • end the serial port before new begin to avoid crash on ESP32 when data is received while begin is called. I suspect the CRASH is due to the isr still being active if end is not called while begin is reconfiguring the hardware

- make beginSerial virtual so that we can override and assign custom pins and configuration
- end the serial port before new begin to avoid crash on ESP32 when data is received while begin is called
@PaulZC
Copy link
Collaborator

PaulZC commented May 18, 2022

Thank you Michael - merging for testing

@PaulZC PaulZC merged commit 9399a13 into sparkfun:release_candidate May 18, 2022
@PaulZC
Copy link
Collaborator

PaulZC commented May 18, 2022

Tested OK on:

  • ESP32
  • Artemis (Apollo3 Blue)
  • nRF52840
  • SAMD51
  • STM32F4

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