- Mon Dec 21, 2020 1:09 pm
#221728
I'm trying to get setup to edit the OLA firmware, but having troubles. Here's my setup:
Update:
I copied in a os_defines.h that was missing, then cpu_defines.h.
It then was missing a library for the ICM-20948, so installed that. Now I'm stumped again with this error:
- Arduino 1.8.13 (Windows Store 1.8.42)
- SparkFun Apollo boards 1.2.1 Installed.
- Trying to compile OLA_IMU_basic.ino.
- Board set to Sparkfun Aretmis Redboard (is this correct for OLA?)
Code: Select all
Previously it complained about a missing file bits/c++config.h, but I copied one into bits from elsewhere. I guess I'll keep copying in files, but something seems amiss.In file included from c:\users\ryan\onedrive - university of north carolina at chapel hill\documents\arduinodata\packages\sparkfun\tools\arm-none-eabi-gcc\8-2018-q4-major\arm-none-eabi\include\c++\8.2.1\cmath:41,
from c:\users\ryan\onedrive - university of north carolina at chapel hill\documents\arduinodata\packages\sparkfun\tools\arm-none-eabi-gcc\8-2018-q4-major\arm-none-eabi\include\c++\8.2.1\math.h:36,
from C:\Users\Ryan\OneDrive - University of North Carolina at Chapel Hill\Documents\ArduinoData\packages\SparkFun\hardware\apollo3\1.2.1/cores/arduino/ard_sup/Arduino.h:47,
from sketch\OpenLog_Artemis.ino.cpp:1:
c:\users\ryan\onedrive - university of north carolina at chapel hill\documents\arduinodata\packages\sparkfun\tools\arm-none-eabi-gcc\8-2018-q4-major\arm-none-eabi\include\c++\8.2.1\bits\c++config.h:508:10: fatal error: bits/os_defines.h: No such file or directory
#include <bits/os_defines.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board SparkFun RedBoard Artemis.
Update:
I copied in a os_defines.h that was missing, then cpu_defines.h.
It then was missing a library for the ICM-20948, so installed that. Now I'm stumped again with this error:
Code: Select all
If I look in C:\Users\Ryan N\AppData\Local\Temp\arduino_build_673898\core\ there is a file called core.a there.arm-none-eabi-gcc: error: N\AppData\Local\Temp\arduino_build_673898\core\core.a: No such file or directory
exit status 1
Error compiling for board SparkFun RedBoard Artemis ATP.