Skip to content

Conversation

fionn-r
Copy link
Contributor

@fionn-r fionn-r commented Feb 1, 2023

This is a fix to issue #111 where if HardwareSerial Serial is not defined, Adafruit_BusIO_Register.h will not be able to find Serial and cause compilation to fail.

The change only affects the scope where either NO_GLOBAL_INSTANCES or NO_GLOBAL_SERIAL is defined, which is the case where it was failing to compile anyway. In all other cases, the change has no impact. If a dependent is requiring the default argument, then the dependent will not compile anyway if there is no global serial.

@fionn-r
Copy link
Contributor Author

fionn-r commented Feb 1, 2023

That error looks like there's more an issue with how the doxygen docs generation is done rather than the change....

Is there an easy fix to this? I can add docs to the .h file but that goes against the documentation at definition rather than declaration. I can also add a doxygen \cond wrapper around in the header?

@ladyada
Copy link
Member

ladyada commented Aug 13, 2023

yah you can add \cond or otherwise make doxygen tweaks but we do require doxygen passes to merge :)

@goldmont
Copy link

goldmont commented Sep 6, 2025

Hi, any news on this?

@fionn-r
Copy link
Contributor Author

fionn-r commented Sep 9, 2025

Welp, took me 2.5 years to fix, sorry about that. Turns out it was a silly mistake of me rushing things. Hopefully can get it merged soon.

Otherwise feel free to use my fork but I don't use this library anymore so it's not going to be kept up to date unfortunately

@ladyada ladyada merged commit 028b28a into adafruit:master Sep 16, 2025
1 check passed
@ladyada
Copy link
Member

ladyada commented Sep 16, 2025

yay thanks!

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.

3 participants