More cleanly remove LED_BUILTIN (#10179)

* Test PR to remove LED_BUILTIN 

Comment out the LED_BUILTIN definition in platformio.ini

* Add LED_BUILTIN definition to nrf52840.ini
This commit is contained in:
Jonathan Bennett
2026-04-21 09:57:41 -05:00
committed by Ben Meadors
co-authored by Ben Meadors
parent f5be09c123
commit 25febfdeee
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ build_flags = -Wno-missing-field-initializers
-DMESHTASTIC_EXCLUDE_POWERMON=1 -DMESHTASTIC_EXCLUDE_POWERMON=1
-DMESHTASTIC_EXCLUDE_STATUS=1 -DMESHTASTIC_EXCLUDE_STATUS=1
-D MAX_THREADS=40 ; As we've split modules, we have more threads to manage -D MAX_THREADS=40 ; As we've split modules, we have more threads to manage
-DLED_BUILTIN=-1 #-DLED_BUILTIN=-1
#-DBUILD_EPOCH=$UNIX_TIME ; set in platformio-custom.py now #-DBUILD_EPOCH=$UNIX_TIME ; set in platformio-custom.py now
#-D OLED_PL=1 #-D OLED_PL=1
#-D DEBUG_HEAP=1 ; uncomment to add free heap space / memory leak debugging logs #-D DEBUG_HEAP=1 ; uncomment to add free heap space / memory leak debugging logs
+1
View File
@@ -4,6 +4,7 @@ extends = nrf52_base
build_flags = build_flags =
${nrf52_base.build_flags} ${nrf52_base.build_flags}
-DSERIAL_BUFFER_SIZE=4096 -DSERIAL_BUFFER_SIZE=4096
-DLED_BUILTIN=-1
lib_deps = lib_deps =
${nrf52_base.lib_deps} ${nrf52_base.lib_deps}