File tree Expand file tree Collapse file tree 6 files changed +28
-1
lines changed Expand file tree Collapse file tree 6 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -1251,6 +1251,7 @@ function uflt12f(rawUflt12)
1251
1251
- Adopt semantic versions completely [ #726 ] ( https://github.com/mcci-catena/arduino-lmic/issues/726 ) .
1252
1252
- Implement JoinAccept CFList processing for US/AU [ #739 ] ( https://github.com/mcci-catena/arduino-lmic/issues/739 ) .
1253
1253
- Correct JoinAccept CFList processing for AS923 [ #740 ] ( https://github.com/mcci-catena/arduino-lmic/issues/740 ) .
1254
+ - Don't compile board config objects when we know for sure they'll not be used; compilers can't always tell [ #736 ] ( https://github.com/mcci-catena/arduino-lmic/issues/736 ) .
1254
1255
1255
1256
- v3.3.0 is primarily a maintenance and roll-up release.
1256
1257
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ Copyright & License:
13
13
14
14
*/
15
15
16
+ #if defined(ARDUINO_MCCI_CATENA_4420) || \
17
+ /* legacy names */ \
18
+ defined (ARDUINO_CATENA_4420)
19
+
16
20
#include < arduino_lmic_hal_boards.h>
17
21
#include < Arduino.h>
18
22
@@ -71,4 +75,6 @@ const HalPinmap_t *GetPinmap_Catena4420(void)
71
75
return &myPinmap;
72
76
}
73
77
74
- } // namespace Arduino_LMIC;
78
+ } // namespace Arduino_LMIC
79
+
80
+ #endif
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Copyright & License:
13
13
14
14
*/
15
15
16
+ #if defined(ARDUINO_AVR_FEATHER32U4)
17
+
16
18
#include < arduino_lmic_hal_boards.h>
17
19
#include < Arduino.h>
18
20
@@ -77,3 +79,5 @@ const HalPinmap_t *GetPinmap_Feather32U4LoRa(void)
77
79
}
78
80
79
81
}; // namespace Arduino_LMIC
82
+
83
+ #endif // ARDUINO_AVR_FEATHER32U4
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ Copyright & License:
13
13
14
14
*/
15
15
16
+ // The Adafruit FeatherM0 and FeatherM0 Express BSPs are not consistent
17
+ // as to how they declare themselves. Both are SAMDs. Detect either one.
18
+ #if defined(ARDUINO_ARCH_SAMD)
19
+ # if defined(ADAFRUIT_FEATHER_M0) || defined(ARDUINO_SAMD_FEATHER_M0)
20
+
16
21
#include < arduino_lmic_hal_boards.h>
17
22
#include < Arduino.h>
18
23
@@ -72,3 +77,6 @@ const HalPinmap_t *GetPinmap_FeatherM0LoRa(void)
72
77
}
73
78
74
79
}; // namespace Arduino_LMIC
80
+
81
+ # endif // defined(ADAFRUIT_FEATHER_M0) || defined(ARDUINO_SAMD_FEATHER_M0)
82
+ #endif // defined(ARDUINO_ARCH_SAMD)
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Copyright & License:
13
13
14
14
*/
15
15
16
+ #if defined(ARDUINO_HELTEC_WIFI_LORA_32) || defined(ARDUINO_HELTEC_WIFI_LORA_32_V2) || defined(ARDUINO_HELTEC_WIRELESS_STICK)
17
+
16
18
#include < arduino_lmic_hal_boards.h>
17
19
#include < Arduino.h>
18
20
@@ -78,3 +80,5 @@ const HalPinmap_t *GetPinmap_heltec_lora32(void)
78
80
}
79
81
80
82
}; // namespace Arduino_LMIC
83
+
84
+ #endif // defined(ARDUINO_HELTEC_WIFI_LORA_32) || defined(ARDUINO_HELTEC_WIFI_LORA_32_V2) || defined(ARDUINO_HELTEC_WIRELESS_STICK)
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Copyright & License:
13
13
14
14
*/
15
15
16
+ #if defined(ARDUINO_TTGO_LoRa32_V1)
17
+
16
18
#include < arduino_lmic_hal_boards.h>
17
19
#include < Arduino.h>
18
20
@@ -76,3 +78,5 @@ const HalPinmap_t * GetPinmap_ttgo_lora32_v1 (void)
76
78
}
77
79
78
80
}; // namespace Arduino_LMIC
81
+
82
+ #endif // ARDUINO_TTGO_LoRa32_V1
You can’t perform that action at this time.
0 commit comments