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

Add support for lps28dfw #179

Closed gauteh closed 9 months ago

gauteh commented 1 year ago

Fixes #177 , depends on #178 . Compiles now, but needs some testing.

gauteh commented 1 year ago

This one is also working, but we'll do some more tests in the coming days.

gauteh commented 1 year ago

Logging seems to work fine. But when I change frequency from 1 Hz to 30 seconds I get crashes with an mbed error: https://github.com/gauteh/antarctic-tracker/issues/3 . It seems to crash after beginSD after waking up. No luck in getting a backtrace using gdb. Any idea what could be happening?

PaulZC commented 1 year ago

Hi Gaute,

Please double-check that you patched the core correctly: https://github.com/sparkfun/OpenLog_Artemis/blob/main/COMPILE_BINARY.md#update-apollo3-spicpp

Best wishes, Paul

gauteh commented 1 year ago

Please double-check that you patched the core correctly: https://github.com/sparkfun/OpenLog_Artemis/blob/main/COMPILE_BINARY.md#update-apollo3-spicpp

Thanks! I didn't apply the patch correctly, testing again :crossed_fingers: .

gauteh commented 1 year ago

That seems to have done the trick!

gauteh commented 1 year ago

Hi, this has been thoroughly tested by now. Seems to work as it should.

PaulZC commented 1 year ago

Hi Gaute (@gauteh ),

Thanks again for submitting this PR. I am sorry I have not yet been able to test it using Docker. I will, but it will take more time. We are a small team working on many new projects...

Very best wishes, Paul

gauteh commented 1 year ago

Hi, that's understandable. I consider the pr done, so I will leave the rest to you.

PaulZC commented 9 months ago

Hi Gaute (@gauteh ),

Apologies again for the very long delay!

I am going to merge this in the next few minutes.

I see you fixed the error in the docker file ( WORKDIR/root/.arduino15/packages/SparkFun/hardware/apollo3/2.2.1/libraries/SPI /src ) ! ;-)

Thanks again for submitting this. I re-used some of your docker file in the new compile-firmware workflow actions. They are working well.

Very best wishes, Paul

gauteh commented 9 months ago

Great!