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 @@ -533,7 +533,7 @@ build_flags =
533
533
-DWIFICC =CYW43_COUNTRY_UK
534
534
-DUSE_TINYUSB
535
535
; -DARDUINO_ARCH_RP2040
536
- ; -DUSBD_MAX_POWER_MA=500
536
+ ; -DUSBD_MAX_POWER_MA=250
537
537
; -DPICO_CYW43_SUPPORTED=1
538
538
539
539
[env:raspberypi_pico2w_debug]
@@ -555,7 +555,7 @@ build_flags =
555
555
; -UARDUINO
556
556
; -DPICO_BUILD
557
557
-DARDUINO_ARCH_RP2040
558
- -DUSBD_MAX_POWER_MA =500
558
+ -DUSBD_MAX_POWER_MA =250
559
559
-DPICO_CYW43_SUPPORTED =1
560
560
-DWIFICC =CYW43_COUNTRY_UK
561
561
; -DDEBUG
@@ -581,18 +581,3 @@ build_flags =
581
581
; ; No USB stack
582
582
; build_flags = -DPIO_FRAMEWORK_ARDUINO_NO_USB
583
583
; -DPIO_FRAMEWORK_ARDUINO_ENABLE_IPV6
584
-
585
-
586
- [env:pimoroni_pico_plus_2w]
587
- extends = common:rp2040
588
- platform = https://github.com/tyeth/maxgerhardt_platform-raspberrypi.git# pico2w
589
- ; platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
590
- platform_packages =
591
- framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
592
- board = pimoroni_pico_plus_2w
593
- build_flags =
594
- -DWIFICC =CYW43_COUNTRY_UK
595
- -DUSE_TINYUSB
596
- ; -DARDUINO_ARCH_RP2040
597
- ; -DUSBD_MAX_POWER_MA=500
598
- ; -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