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

[QUESTION] Sketch Razor_AHRS.ino too big #44

Open
MTDzi opened this issue Aug 8, 2018 · 1 comment
Open

[QUESTION] Sketch Razor_AHRS.ino too big #44

MTDzi opened this issue Aug 8, 2018 · 1 comment

Comments

@MTDzi
Copy link

MTDzi commented Aug 8, 2018

I have the SparkFun IMU M0, and when trying to upload the sketch, I get the following error:

Sketch uses 30,492 bytes (106%) of program storage space. Maximum is 28,672 bytes.
Global variables use 2,676 bytes (104%) of dynamic memory, leaving -116 bytes for local variables. Maximum is 2,560 bytes

I've tried to use int-s instead of float-s wherever I can, but I'm still above the limit.

Do you have any suggestions how I can overcome the memory limitations?

@MTDzi MTDzi changed the title [QUESTION] [QUESTION] Sketch Razor_AHRS.ino too big Aug 8, 2018
@nspo
Copy link

nspo commented Sep 5, 2018

Have you installed and selected the correct board type? See https://learn.sparkfun.com/tutorials/9dof-razor-imu-m0-hookup-guide

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