Compile error after GPS configuration

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
Posts: 3
Joined: Sun Oct 03, 2021 7:29 pm

Compile error after GPS configuration

Post by ZZ9_Plural »

I am trying to set up ublox GPS for my drone through serial connection. However when I try to compile the firmware, I get an error message saying "flexible array member in union", and the arduino ide leads me to where the GPS receive buffer is coded, to an unsigned int called bytes[]. I can't seem to find anyone with a similar problem. Does anyone have any advice regarding this?

Posts: 1972
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden

Re: Compile error after GPS configuration

Post by PatrikE »

Remember this is a very old project that not have been updated for several years.
I think some changes was done in how Arduino UI handles code.
Try an older Arduino version to verify.

Good luck

Post Reply