Skip to content

Commit 79f469c

Browse files
cpatuleathebentern
andauthored
pioarduino Heltec v4: fix build due to LED_BUILTIN compile error. (#9875)
Fixes this build error: <command-line>: error: expected unqualified-id before '-' token /home/<snip>/.platformio/packages/framework-arduinoespressif32/variants/esp32s3/pins_arduino.h:15:22: note: in expansion of macro 'LED_BUILTIN' 15 | static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + PIN_RGB_LED; | ^~~~~~~~~~~ More info: #9122 (comment) The fix is consistent with variants/esp32s3/heltec_v3/platformio.ini This commit is intentionally on the develop branch, because it's harmless to develop branch, and makes us more ready for pioarduino when the time comes. Heltec v4 introduced in: #7845 Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
1 parent 0501e17 commit 79f469c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

variants/esp32s3/heltec_v4/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ build_flags =
88
-D HELTEC_V4
99
-D HAS_LORA_FEM=1
1010
-I variants/esp32s3/heltec_v4
11+
-ULED_BUILTIN
1112

1213

1314
[env:heltec-v4]

0 commit comments

Comments
 (0)