Skip to content

Problem compile BasciNMEARead to UNO #87

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

Closed
kmlcmveloci opened this issue Dec 8, 2021 · 3 comments
Closed

Problem compile BasciNMEARead to UNO #87

kmlcmveloci opened this issue Dec 8, 2021 · 3 comments

Comments

@kmlcmveloci
Copy link

Subject of the issue

Problem compile BasciNMEARead to UNO

Error shown:
In file included from C:\Users\kim\Documents\Arduino -F\libraries\SparkFun_u-blox_GNSS_Arduino_Library\src/SparkFun_u-blox_GNSS_Arduino_Library.h:57:0,
from C:\Users\kim\Documents\Arduino -F\libraries\SparkFun_u-blox_GNSS_Arduino_Library\examples\Example1_BasicNMEARead\Example1_BasicNMEARead.ino:26:
C:\Users\kim\Documents\Arduino -F\libraries\SparkFun_u-blox_GNSS_Arduino_Library\src/u-blox_structs.h:1830:53: error: size of array 'data' is too large
UBX_MGA_DBD_data_t data[UBX_MGA_DBD_RINGBUFFER_LEN]; // Create a storage array for the MGA DBD packets

@PaulZC
Copy link
Collaborator

PaulZC commented Dec 8, 2021

Hi @kmlcmveloci ,

Please upgrade to v2.1.1 of the library. Does that fix this issue?

If not, please tell me which board you are using (manufacturer and type).

Thank you,
Paul

@kmlcmveloci
Copy link
Author

It is 2.1.1, but the board was set to a uno with ethernet, and this was not defined in the u-blox_structs.h line: 1820! Only UNO board is defined to reduce ram!

PaulZC added a commit that referenced this issue Dec 8, 2021
PaulZC added a commit that referenced this issue Dec 8, 2021
@PaulZC
Copy link
Collaborator

PaulZC commented Dec 8, 2021

Hi @kmlcmveloci ,

Thank you for reporting this. I have corrected it in v2.1.2.

Best wishes,
Paul

@PaulZC PaulZC closed this as completed Dec 8, 2021
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