sparkfun / OpenLog_Artemis

The OpenLog Artemis is an open source datalogger the comes preprogrammed to automatically log IMU, GPS, serial data, and various pressure, humidity, and distance sensors. All without writing a single line of code!
https://www.sparkfun.com/products/15846
Other
88 stars 47 forks source link

Feature request - Documentation for building binaries #158

Closed jliphard closed 1 year ago

jliphard commented 1 year ago

The prebuilt binaries are very useful, but might it be possible to provide instructions for building new binaries? For example, for a Red OpenLog Artemis, what are the correct defines and correct settings for the Arduino IDE?

Also, despite the assertion in the comments, the boards do not seem to have a revision number?

PaulZC commented 1 year ago

Hi Jan (@jliphard ),

Building the binary is not easy. But, if you're up for a challenge, I've added abbreviated instructions here:

https://github.com/sparkfun/OpenLog_Artemis/blob/main/COMPILE_BINARY.md

If you don't mind, I'll use you as a Beta-tester. Please let me know if the instructions are clear enough and if you get the code to run successfully.

Thank you, Paul

jliphard commented 1 year ago

Thanks so much! Minor running notes:

  1. Step 2 - path is actually “main" not “master”? In https://raw.githubusercontent.com/sparkfun/Arduino_Apollo3/master/package_sparkfun_apollo3_index.json
  2. "Copy Paulvha's Patch for Apollo3" Confusing wording - basically, just replace five files in Arduino15\packages\SparkFun\hardware\apollo3\2.2.1 with five patched files from the .zip?
  3. Could the "Extras" folder just be added to the main repo? (since you can't actually get it to work without the "Extras" which are not so extra?)

Otherwise, very straightforward and worked first try.

I'm using using: Arduino Version: 2.0.4-nightly-20230215 Mac ARM Silicon

PaulZC commented 1 year ago

Hi Jan (@jliphard ),

Thanks for the feedback - much appreciated. Glad that's working for you - especially on Mac and with IDE v2!

1) Yes, indeed. Changed... The branch name was changed months ago - but the old name does still work. 2) Changed - to hopefully less confusing wording. 3) The core libmbed-os itself needs patching... That's tricky - and above my pay grade. Paulvha kindly provided a work-around with the pre-compiled .a binary for the ATP.

I'll close this, but please re-open if you need further help.

Best wishes, Paul