Skip to content

Commit 6e5c865

Browse files
authored
Disable LFS_ASSERT to stop freezing the boards on LFS errors
1 parent 47b1854 commit 6e5c865

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platformio.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ extends = arduino_base
5454
platform = nordicnrf52
5555
build_flags = ${arduino_base.build_flags}
5656
-D NRF52_PLATFORM
57+
-D LFS_NO_ASSERT=1
5758

5859
[nrf52840_base]
5960
extends = nrf52_base
@@ -83,4 +84,4 @@ build_flags = ${arduino_base.build_flags}
8384
build_src_filter = ${arduino_base.build_src_filter}
8485
+<helpers/stm32>
8586
lib_deps = ${arduino_base.lib_deps}
86-
file://arch/stm32/Adafruit_LittleFS_stm32
87+
file://arch/stm32/Adafruit_LittleFS_stm32

0 commit comments

Comments
 (0)