The fun of discovering is why we are so good at what we do…
tried kitchen sink and get this error
c:\Users\Rb\Documents\Arduino\libraries\SoftwareSerial\SoftwareSerial.cpp:41:10: fatal error: avr/interrupt.h: No such file or directory
41 | #include <avr/interrupt.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
something is not setup right on your end
I do not disagree. I followed examples perfectly.
“Initially you loaded the WRONG BSP’s for the sketch and the versions of the LIBs used , What BSP did you use ?
Probably the latest one NO? Do you know? (loud Gong)”
Please dont use shorthand, acronyms, or slang to try and help. I have no idea what a LIBs is or a BSP, every forum has a different slang for different things and all that does is create confusion. I followed the wiki 100% to the T, and skipped nothing. I ran the code given and it doesnt compile. I came here for help, since it did not work. I have used hundreds of xiaos, but never on this.
Hi there,
Ah’ I see, I didn’t know this was your first Day Please help yourself to the WiKi it will give you some idea of what to do.
The BSP is the “Board Support Package”
The “LiB” is the LIBRARY you use.
HTH
GL PJ
correct board support package
correct library
followed the wiki 100%, by all means try it yourself, maybe im doing something wrong(very likely), but I do not see it. I am no expert by any stretch, but am familiar with xiao projects…all worked fine by following the wiki except this one.
Hi there,
Can you provide the Compiler output you get? The first 3 lines and the last 10-12 before it uploads.
Use the code tags above “</>” and paste it in there.
curious, Do you know which BSP you are compiling with?
HTH
GL PJ
Hi there,
So this error , is very common one.
are you using an AVR, I don’t think So … So there’s That!
GL PJ
I am using esp32c3.
I have no idea why avr is coming up or how to get rid of it.
Hi there,
I know, You don’t it’s the Wrong LIB loading… hence the error.
Can you answer the Q’s and provide the output ?
start with the first 3 lines. then.
GL PJ
I have no idea what you are asking? What 3 lines? Where?
Im using the library they said to use. How do I find out what library im supposed to use?
They said use TinyGPSPlus. I used TinyGPSPlus.
Hi there,
Also Go have a look at this thread & the code I provided, Especially the Soft Serial.
Never mind it’s a Nrf example, the same thing runs on C3 I have that on here also.
Look through it, and KNOW softSerial requires you spell it out for the params.
HTH
GL PJ
Hi there,
Ok, So I must know How long have you been writing code?
Do you ever use the compiler?
Do you have the Verbose output turned on in the prefs?
What is the Version of the BSP you are using?
I’m gonna go do some errands while the spammers are taking over the forum, You should go read that thread I provided and the Back to Basics for Arduino IDE compiler 101 threads too.
I’ll be back later to check on things.
GL PJ
several years, but just know what I am familiar with.
I only use compiler, i dont know how else you would do it?
I have no idea what verbose is.
newest version of everything
This thing may be more trouble than its worth, i just dont know what to do or where to get support at. I may can email supplier, they may know how to get it to work.
From the desk to the floor…
I just gotta try to return them. I was expecting at least a working example, but it looks like no one has even done it with this same set up. Live and learn, should have tried to compile it before i bought them I guess, or asked if anyone knew how to set it up. I may can try the arduino forum, those guys are pretty helpful there.
lol… the problem is with you my friend… so you gonna need a pretty big box to ship that back… my stuff works fine… if you decide to throw them away you can send to my house
HI there,
So they are probably NOT defective… You must know this isn’t a "Plug and Play " tech, yes it’s based on some standards but there are not ONE size fits all in these type devices. Different manufacture require different LIBRARIES is really all. You still glue them together in a sense with your code and vision for the program. I’m Glad you got the second one, The compiler is the only REAL way , what I was asking or indicating is While it builds and tells you what steps it’s at, The errors sometime provide the answer. If you have the “Verbose” mode turned on, It will give even more readable messages that help narrow down issue and fix the incompatibilities(bugs) between your code the hardware.
The Board support package is what is provided by the manufacture or IDE to use a specific board. The issue comes up ALOT. It’s the boards TAB in Arduino. are you using that or PlatformIO?
I do Believe the same code for the AIR530 works on the GNSS module with some adjustments of course. You can throw in the towel or Go read the WiKi again and Look to the board support packages. some require older ones to run like the examples. Know this too Not all the ESP ones are backwards compatible. That stuff is out of Seeeds Purview.
it’s NOT rocket science but does require a procedure or process to get it going. You CAN do it, if you put in the effort.
read the threads, read the Wiki, look at more examples come back and ask some Q’s
HTH
GL PJ
he is doing something wrong in the arduinoIDE… i just hope he doesnt google the arduino forum… because those same clowns are spreading misinformation over there… talking about updating firmware and throwing your computer out a window and then washing it in the sink to get all the bad viruses out…