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

Error with SoftwareSerial.h #465

Open
BirdGGbro opened this issue Jan 21, 2024 · 4 comments
Open

Error with SoftwareSerial.h #465

BirdGGbro opened this issue Jan 21, 2024 · 4 comments

Comments

@BirdGGbro
Copy link

I get this error:
In file included from C:\Users\Lyric\Downloads\ESP32Marauder-0.13.6\ESP32Marauder-0.13.6\esp32_marauder\esp32_marauder.ino:28:
C:\Users\Lyric\Downloads\ESP32Marauder-0.13.6\ESP32Marauder-0.13.6\esp32_marauder\GpsInterface.h:7:10: fatal error: SoftwareSerial.h: No such file or directory
#include <SoftwareSerial.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
Multiple libraries were found for "SD.h"
Used: C:\Users\Lyric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.10\libraries\SD
Not used: C:\Users\Lyric\AppData\Local\Arduino15\libraries\SD
exit status 1

Compilation error: SoftwareSerial.h: No such file or directory

then after installing the library I get this error:
C:\Users\Lyric\AppData\Local\Arduino15\libraries\SoftwareSerial\src\SoftwareSerial.cpp:41:10: fatal error: avr/interrupt.h: No such file or directory
#include <avr/interrupt.h>
^~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: exit status 1

@chmod771
Copy link

What board are you targeting?

@BirdGGbro BirdGGbro reopened this Jan 29, 2024
@BirdGGbro
Copy link
Author

I use the ESP32-WROOM-32U board, but in the Arduino program I set LOLIN D32

@Ryan-py
Copy link

Ryan-py commented Feb 4, 2024

@BirdGGbro i had the same problem but turns out for esp32 boards you have to install EspSoftwareSerial library

@BirdGGbro
Copy link
Author

@Ryan-py thank you, I will try later and if it works, I will be very grateful to you

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

3 participants