File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 139139
140140 # Make sure debug prints work
141141 PLATFORMIO_BUILD_FLAGS=' -D COMPILE_REGRESSION_TEST -D LED_BUILTIN=13 -D LMIC_DEBUG_LEVEL=2 -D LMIC_PRINTF_TO=Serial' platformio ci --lib . --board feather32u4 ' examples/raw/raw.ino'
142+
143+ # Check build with deprecated CFG_au921 flag
144+ PLATFORMIO_BUILD_FLAGS=' -D COMPILE_REGRESSION_TEST -D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS -D CFG_au921 -D CFG_sx1276_radio' platformio ci --lib . --board feather32u4 ' examples/ttn-otaa-feather-us915/ttn-otaa-feather-us915.ino'
142145elif [ " $TARGET " == " samd" ]
143146then
144147 echo " WARNING: target '$TARGET ' is not configured yet."
Original file line number Diff line number Diff line change @@ -92,6 +92,11 @@ Revision history:
9292# include CFG_TEXT_1 (ARDUINO_LMIC_PROJECT_CONFIG_H )
9393#endif /* ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS */
9494
95+ #ifdef CFG_au921
96+ # warning "CFG_au921 was deprecated in favour of CFG_au915. Support for CFG_au921 might be removed in the future."
97+ # define CFG_au915
98+ #endif
99+
95100// a mask of the supported regions
96101// TODO(tmm@mcci.com) consider moving this block to a central file as it's not
97102// user-editable.
You can’t perform that action at this time.
0 commit comments