File tree Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ build_flags =
523
523
-DWIFICC =CYW43_COUNTRY_UK
524
524
-DUSE_TINYUSB
525
525
; -DARDUINO_ARCH_RP2040
526
- ; -DUSBD_MAX_POWER_MA=500
526
+ ; -DUSBD_MAX_POWER_MA=250
527
527
; -DPICO_CYW43_SUPPORTED=1
528
528
529
529
[env:raspberypi_pico2w_debug]
@@ -545,7 +545,7 @@ build_flags =
545
545
; -UARDUINO
546
546
; -DPICO_BUILD
547
547
-DARDUINO_ARCH_RP2040
548
- -DUSBD_MAX_POWER_MA =500
548
+ -DUSBD_MAX_POWER_MA =250
549
549
-DPICO_CYW43_SUPPORTED =1
550
550
-DWIFICC =CYW43_COUNTRY_UK
551
551
; -DDEBUG
@@ -571,18 +571,3 @@ build_flags =
571
571
; ; No USB stack
572
572
; build_flags = -DPIO_FRAMEWORK_ARDUINO_NO_USB
573
573
; -DPIO_FRAMEWORK_ARDUINO_ENABLE_IPV6
574
-
575
-
576
- [env:pimoroni_pico_plus_2w]
577
- extends = common:rp2040
578
- platform = https://github.com/tyeth/maxgerhardt_platform-raspberrypi.git# pico2w
579
- ; platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
580
- platform_packages =
581
- framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
582
- board = pimoroni_pico_plus_2w
583
- build_flags =
584
- -DWIFICC =CYW43_COUNTRY_UK
585
- -DUSE_TINYUSB
586
- ; -DARDUINO_ARCH_RP2040
587
- ; -DUSBD_MAX_POWER_MA=500
588
- ; -DPICO_CYW43_SUPPORTED=1
Original file line number Diff line number Diff line change 185
185
#define BOARD_ID "mkrwifi1010"
186
186
#define USE_STATUS_LED
187
187
#define STATUS_LED_PIN 6
188
- #elif defined(ARDUINO_RASPBERRY_PI_PICO_W ) || defined( ARDUINO_ARCH_RP2040 )
188
+ #elif defined(ARDUINO_RASPBERRY_PI_PICO_W )
189
189
#define BOARD_ID "rpi-pico-w"
190
190
#define USE_TINYUSB
191
191
#define USE_STATUS_LED
192
- #define STATUS_LED_PIN 32
192
+ #define STATUS_LED_PIN LED_BUILTIN
193
+ #elif defined(ARDUINO_RASPBERRY_PI_PICO_2W )
194
+ #define BOARD_ID "rpi-pico-2w"
195
+ #define USE_TINYUSB
196
+ #define USE_STATUS_LED
197
+ #define STATUS_LED_PIN LED_BUILTIN
193
198
#else
194
199
#warning "Board type not identified within Wippersnapper_Boards.h!"
195
200
#endif
You can’t perform that action at this time.
0 commit comments