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

NMEAGPS_cfg.h as a shared project configuration file #176

Open
Chetic opened this issue Jan 4, 2025 · 0 comments
Open

NMEAGPS_cfg.h as a shared project configuration file #176

Chetic opened this issue Jan 4, 2025 · 0 comments

Comments

@Chetic
Copy link

Chetic commented Jan 4, 2025

I can't find a way to store NMEAGPS_cfg.h outside of my local NeoGPS library installation, due to the way it is hard-coded to be included from NMEAGPS.h.

Means I can't easily share my config with others working on the project. I've tried changing the include path to put my local copy of the file first, but this seems to break linking for me for some reason:
arduino-cli.exe compile --verbose -b esp32:esp32:ttgo-lora32 --build-properties "compiler.cpp.extra_flags=-I./config"

How about removing the include from NMEAGPS.h and giving a compile-time error if the user has not provided their own?

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

1 participant