New to all this. Trying to get AssetTracker_Example1_Blink going but can’t even compile (see errors below). I have tried using the 'Generic STM32WB series board as well as ‘Sparkfun Boards’ with the same result.
Edit: have also selected ‘Generic WB5MMGHx’ as the ‘Board Part number’ in the Arduino IDE - this is the closest one in the list.
Does anyone have any suggestions? Thanks!
Am getting the following error:
In file included from D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTracker_Example1_Blink.ino:39:
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:90:24: error: ‘RX1’ was not declared in this scope
90 | HardwareSerial Serial1(RX1, TX1);
| ^~~
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:90:29: error: ‘TX1’ was not declared in this scope
90 | HardwareSerial Serial1(RX1, TX1);
| ^~~
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:105:28: error: ‘G0’ was not declared in this scope; did you mean ‘y0’?
105 | const int MICROSD_CS = G0; // Output: Active low
| ^~
| y0
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:106:28: error: ‘G1’ was not declared in this scope; did you mean ‘y1’?
106 | const int MICROSD_PWR_EN = G1; // Output: Pull low to enable power for the SD card. Pull high to disable.
| ^~
| y1
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:107:28: error: ‘G2’ was not declared in this scope; did you mean ‘D2’?
107 | const int SARA_PWR = G2; // Output: Pull high then low to switch the SARA-R5 on. Pull high for five seconds then low again to switch it off.
| ^~
| D2
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:108:28: error: ‘G3’ was not declared in this scope; did you mean ‘D3’?
108 | const int IMU_PWR_EN = G3; // Output: Pull high to enable power for the IMU. Pull low to disable.
| ^~
| D3
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:109:28: error: ‘G4’ was not declared in this scope; did you mean ‘D4’?
109 | const int SARA_RI = G4; // Input: SARA-R5 Ring Indicator pin. Becomes CTS2 in 2-UART mode.
| ^~
| D4
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:110:28: error: ‘G5’ was not declared in this scope; did you mean ‘D5’?
110 | const int SARA_INT = G5; // Input: SARA-R5 EXT_INT interrupt pin.
| ^~
| D5
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:111:28: error: ‘G6’ was not declared in this scope; did you mean ‘D6’?
111 | const int SARA_ON = G6; // Input: Pulled low when the SARA-R5 is on. Pulled high when the SARA-R5 is off.
| ^~
| D6
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:87:16: error: ‘INT’ was not declared in this scope; did you mean ‘IN’?
87 | #define I2CINT INT
| ^~~
D:\code\Asset_Tracker\MicroMod_Asset_Tracker-main\Examples\AssetTracker_Example1_Blink\AssetTrackerPins.h:121:21: note: in expansion of macro ‘I2CINT’
121 | const int IMU_INT = I2CINT; // Input: IMU interrupt pin
| ^~~~~~
exit status 1
Compilation error: ‘RX1’ was not declared in this scope