diff --git a/platformio.ini b/platformio.ini index 8ce7f37..ee4a0c8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -100,6 +100,9 @@ lib_deps = ; Perform PlatformIO: Clean after changing library version and ; in case of issues remove the old version from .pio/libdeps/*. +; If LMIC_DEBUG_LEVEL is set to value > 0 then LMIC_PRINTF_TO will +; be automatically set to serial (do not set it explicitly). + lib_deps = ; Only ONE of below LMIC libraries should be enabled. mcci-catena/MCCI LoRaWAN LMIC library ; MCCI LMIC library (latest release) @@ -108,21 +111,21 @@ lib_deps = build_flags = ; Use platformio.ini for settings instead lmic_project_config.h. -D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS - ; + ; Ping and beacons not supported for class A, disable to save memory. -D DISABLE_PING -D DISABLE_BEACONS - ; + ; If LMIC_DEBUG_LEVEL is set to value > 0 then LMIC_PRINTF_TO will ; be automatically set to serial (do not set it explicitly). ; -D LMIC_DEBUG_LEVEL=1 ; 0, 1 or 2 - ; + ; -D CFG_sx1272_radio=1 ; Use for SX1272 radio -D CFG_sx1276_radio=1 ; Use for SX1276 radio -D USE_ORIGINAL_AES ; Faster but larger, see docs ; -D LMIC_USE_INTERRUPTS ; Not tested or supported on many platforms ; -D LMIC_ENABLE_DeviceTimeReq=1 ; Network time support - ; + ; --- Regional settings ----- ; Enable only one of the following regions: ; -D CFG_as923=1 @@ -143,14 +146,18 @@ build_flags = [classic_lmic] ; IMPORTANT: +; This library was recently deprecated and is no longer maintained. +; It is not fully LoRaWAN compliant (e.g. in handling of MAC commands) +; and is therefore less suitable for use with The Things Network V3. +; ; Region, radio and debug settings CANNOT be changed in platformio.ini. ; They must be configured in file: config.h in the following location: ; .pio/libdeps//IBM LMIC framework/src/lmic -; +; ; When making changes to config.h: ; CONFIG.H MUST BE CHANGED FOR EACH BOARD SEPARATELY! ; (By default libraries are installed per project per build config/board.) -; + ; If LMIC_DEBUG_LEVEL is set to value > 0 then LMIC_PRINTF_TO will ; be automatically set to serial (do not set it explicitly). @@ -161,8 +168,8 @@ build_flags = ; DEFAULT VALUES defined in config.h: ; CFG_sx1276_radio 1 ; CFG_eu868 1 - ; LMIC_DEBUG_LEVEL 0 - ; + ; LMIC_DEBUG_LEVEL 0 + ; Ping and beacons not supported for class A, disable to save memory. -D DISABLE_PING -D DISABLE_BEACONS @@ -352,7 +359,7 @@ lib_deps = build_flags = ${common.build_flags} ${classic_lmic.build_flags} - ; ${mcci_lmic.lib_deps} ; MCCI LMIC better LoRaWAN compliance but uses more memory + ; ${mcci_lmic.build_flags} ; MCCI LMIC better LoRaWAN compliance but uses more memory -D BSFILE=\"boards/lora32u4II.h\" -D MONITOR_SPEED=${common.monitor_speed} -D USE_SERIAL @@ -687,7 +694,7 @@ lib_deps = build_flags = ${common.build_flags} ${classic_lmic.build_flags} - ; ${mcci_lmic.lib_deps} ; MCCI LMIC better LoRaWAN compliance but uses more memory + ; ${mcci_lmic.build_flags} ; MCCI LMIC better LoRaWAN compliance but uses more memory -D BSFILE=\"boards/pro8mhzatmega328.h\" -D MONITOR_SPEED=${common.monitor_speed} -D USE_SERIAL