Skip to content

Commit 3984b87

Browse files
committed
Disable NRF52 undervoltage bootlock feature
The NRF52 undervoltage bootlock feature implemented behind NRF52_POWER_MANAGEMENT was introduced in v1.12. It configures a fixed voltage level of 3.3V and prevents the software from booting if the battery voltage is below that level. This is problematic for various reasons. The most important one being that it breaks devices that use cell chemistries other than Li-Ion, such as LFP, LTO or SIB which have much lower minimum voltages. As a quick fix to prevent devices from failing, disable the feature until it has been decided how to handle this in the future and a proper implementation has been provided. Signed-off-by: Frieder Schrempf <frieder@fris.de>
1 parent 5372388 commit 3984b87

11 files changed

Lines changed: 0 additions & 11 deletions

File tree

variants/gat562_30s_mesh_kit/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ build_flags = ${nrf52_base.build_flags}
77
-I variants/gat562_30s_mesh_kit
88
-D RAK_4631
99
-D RAK_BOARD
10-
-D NRF52_POWER_MANAGEMENT
1110
-D PIN_BOARD_SCL=14
1211
-D PIN_BOARD_SDA=13
1312
-D PIN_OLED_RESET=-1

variants/gat562_mesh_evb_pro/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ board_check = true
55
build_flags = ${nrf52_base.build_flags}
66
${sensor_base.build_flags}
77
-I variants/gat562_mesh_evb_pro
8-
-D NRF52_POWER_MANAGEMENT
98
-D PIN_BOARD_SCL=14
109
-D PIN_BOARD_SDA=13
1110
-D RADIO_CLASS=CustomSX1262

variants/gat562_mesh_tracker_pro/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ board_check = true
55
build_flags = ${nrf52_base.build_flags}
66
${sensor_base.build_flags}
77
-I variants/gat562_mesh_tracker_pro
8-
-D NRF52_POWER_MANAGEMENT
98
-D PIN_BOARD_SCL=14
109
-D PIN_BOARD_SDA=13
1110
-D PIN_OLED_RESET=-1

variants/gat562_mesh_watch13/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ build_flags = ${nrf52_base.build_flags}
88
-I variants/gat562_mesh_watch13
99
-D RAK_4631
1010
-D RAK_BOARD
11-
-D NRF52_POWER_MANAGEMENT
1211
-D PIN_BOARD_SCL=14
1312
-D PIN_BOARD_SDA=13
1413
-D PIN_OLED_RESET=-1

variants/heltec_t096/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ build_flags = ${nrf52_base.build_flags}
99
-I variants/heltec_t096
1010
-I src/helpers/ui
1111
-D HELTEC_T096
12-
-D NRF52_POWER_MANAGEMENT
1312
-D P_LORA_DIO_1=21
1413
-D P_LORA_NSS=5
1514
-D P_LORA_RESET=16

variants/heltec_t114/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ build_flags = ${nrf52_base.build_flags}
1212
-I variants/heltec_t114
1313
-I src/helpers/ui
1414
-D HELTEC_T114
15-
-D NRF52_POWER_MANAGEMENT
1615
-D P_LORA_DIO_1=20
1716
-D P_LORA_NSS=24
1817
-D P_LORA_RESET=25

variants/muziworks_r1_neo/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ build_flags = ${nrf52_base.build_flags}
77
-I variants/muziworks_r1_neo
88
-I src/helpers/ui
99
-D R1Neo
10-
-D NRF52_POWER_MANAGEMENT
1110
-D RADIO_CLASS=CustomSX1262
1211
-D WRAPPER_CLASS=CustomSX1262Wrapper
1312
-D LORA_TX_POWER=22

variants/rak3401/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ build_flags = ${nrf52_base.build_flags}
66
${sensor_base.build_flags}
77
-I variants/rak3401
88
-D RAK_3401
9-
-D NRF52_POWER_MANAGEMENT
109
-D RADIO_CLASS=CustomSX1262
1110
-D WRAPPER_CLASS=CustomSX1262Wrapper
1211
-D LORA_TX_POWER=22

variants/rak4631/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ build_flags = ${nrf52_base.build_flags}
77
-I variants/rak4631
88
-D RAK_4631
99
-D RAK_BOARD
10-
-D NRF52_POWER_MANAGEMENT
1110
-D PIN_BOARD_SCL=14
1211
-D PIN_BOARD_SDA=13
1312
-D PIN_GPS_TX=PIN_SERIAL1_RX

variants/sensecap_solar/platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ build_flags = ${nrf52_base.build_flags}
1010
-I src/helpers/nrf52
1111
-D NRF52_PLATFORM=1
1212
-D USE_SX1262
13-
-D NRF52_POWER_MANAGEMENT
1413
-D RADIO_CLASS=CustomSX1262
1514
-D WRAPPER_CLASS=CustomSX1262Wrapper
1615
-D P_LORA_TX_LED=11

0 commit comments

Comments
 (0)