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

ESP32 support #148

Open
matburnham opened this issue Mar 14, 2021 · 6 comments
Open

ESP32 support #148

matburnham opened this issue Mar 14, 2021 · 6 comments

Comments

@matburnham
Copy link

Is this library intended to work on anything but AVR?

I've gone down a bit of a rabbit hole and ended up finding out via SlashDevin/NeoHWSerial#13 that I'm going to struggle to get hardware Serial ports working on an ESP32.

@matburnham
Copy link
Author

Okay, it looks like that only applies if using interrupts. Which is what I was trying to do, but probably not vital.

So long as I don't define NMEAGPS_INTERRUPT_PROCESSING then #define NEOGPS_USE_SERIAL1 works as expected.

@sparkplug23
Copy link

Same goes for me. I would really love to get interrupts on an esp32 working with this. Did you manage it or come across another lib that manages it? This lib looks great but I really need to enable interrupts sadly.

@WouterPeletier
Copy link

What I did as a subsitute / hack was to use the second core of my ESP32 to do the gps parsing and waiting, and then the data would be passed on to the main core when it is available.

@sparkplug23
Copy link

What I did as a subsitute / hack was to use the second core of my ESP32 to do the gps parsing and waiting, and then the data would be passed on to the main core when it is available.

@ClimbingPenguin Good idea. I actually have another receive serial process that needs priority over GPS, so I might use your method for that.

Right now. I'm working on using freertos interrupts for UART together with ringbuffers, so similar to you, having it get the data ready in the background then passing the data to GPS (handle() function I assume?). I've got it working for GNRMC but the merging is being tricky for some reason. Early days yet though so I'll figure it out.

@tmargot
Copy link

tmargot commented Jan 4, 2022

See my post, hopefully answers getting running on ESP32 to a certain extent
#110 (comment)

@R1DEN
Copy link

R1DEN commented Jul 5, 2023

@sparkplug23 @tmargot you can check #110 (comment)

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

5 participants