Skip to content

Commit 11e0ee6

Browse files
Add Caps led as default led
1 parent fe8763c commit 11e0ee6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/boards/include/boards/raspberry_pi_pi500_rp2040.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
3030
#define PICO_RP2040_B0_SUPPORTED 0
3131
#endif
3232

33-
// Keyboard indicator LEDs
33+
// Keyboard CAPS Lock indicator LED as default
3434
#define PI500_RP2040_CAPS_LOCK_LED_PIN 25
35+
#ifndef PICO_DEFAULT_LED_PIN
36+
#define PICO_DEFAULT_LED_PIN PI500_RP2040_CAPS_LOCK_LED_PIN
37+
#endif
3538

3639
// --- PI 500 POWER MANAGEMENT ---
3740
// Power button control (critical for Pi 500 power management)

0 commit comments

Comments
 (0)