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

Cannot compile without using serial port #14

Open
sunnyguhz opened this issue Sep 30, 2024 · 1 comment
Open

Cannot compile without using serial port #14

sunnyguhz opened this issue Sep 30, 2024 · 1 comment

Comments

@sunnyguhz
Copy link

Arduino IDE version (found in Arduino -> About Arduino menu):
2.3.2

List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too): LIST REPRO STEPS BELOW

It Cannot compile without using serial port with STM32.

In file included from c:\Users\Sunnygu\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp:1:
c:\Users\Sunnygu\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_BusIO_Register.h:74:27: error: 'Serial' was not declared in this scope; did you mean 'Serial2'?
   74 |   void print(Stream *s = &Serial);
      |                           ^~~~~~
      |                           Serial2
c:\Users\Sunnygu\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_BusIO_Register.h:75:29: error: 'Serial' was not declared in this scope; did you mean 'Serial2'?
   75 |   void println(Stream *s = &Serial);
      |                             ^~~~~~
      |                             Serial2
@caternuson
Copy link
Contributor

The underlying issue is in another library (BusIO):
adafruit/Adafruit_BusIO#127

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

No branches or pull requests

2 participants