Skip to content

Commit

Permalink
CI fixes for ArduinoBHY2Host (#142)
Browse files Browse the repository at this point in the history
* fix: Make `Math.h` lowercase

* ci: Add connectivity libraries to `depends` field

* ci: Add `Arduino_Cellular` to depends field

* ci: Add `ArduinoCellular`

* ci: add `Arduino_Cellular` directly to workflow

* ci: remove `ArduinoCellular` from `library.properties`
  • Loading branch information
aliphys authored Aug 1, 2024
1 parent 5b23fb8 commit 2f6d43d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ jobs:
# Install these libraries in addition to the universal ones
arduinoiotcloud-libraries: |
- name: ArduinoIoTCloud
- name: Arduino_Cellular
# Compile these sketches in addition to the universal ones
arduinoiotcloud-sketch-paths: |
- Arduino_BHY2Host/examples/Nicla_IoT_Bridge
Expand All @@ -169,6 +170,7 @@ jobs:
# Install these libraries
blebridge-libraries: |
- name: ArduinoIoTCloud
- name: Arduino_Cellular
# Compile these sketches
blebridge-sketch-paths: |
- Arduino_BHY2Host/examples/Portenta_BLE_Bridge
Expand Down
2 changes: 1 addition & 1 deletion Arduino_BHY2/examples/Magnetometer/Magnetometer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

#include "Arduino_BHY2.h"
#include "Math.h"
#include "math.h"

SensorXYZ magnetometer(SENSOR_ID_MAG);

Expand Down
1 change: 1 addition & 0 deletions Arduino_BHY2Host/library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ paragraph=Provides the APIs for a host board to interact with Nicla Sense ME boa
category=Communication
url=https://github.com/arduino-libraries/Arduino_BHY2Host
architectures=samd,mbed
depends= ArduinoIoTCloud, Arduino_ConnectionHandler, Arduino_Cellular
includes=Arduino_BHY2Host.h

0 comments on commit 2f6d43d

Please sign in to comment.