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 =
523523 -DWIFICC =CYW43_COUNTRY_UK
524524 -DUSE_TINYUSB
525525 ; -DARDUINO_ARCH_RP2040
526- ; -DUSBD_MAX_POWER_MA=500
526+ ; -DUSBD_MAX_POWER_MA=250
527527 ; -DPICO_CYW43_SUPPORTED=1
528528
529529[env:raspberypi_pico2w_debug]
@@ -545,7 +545,7 @@ build_flags =
545545 ; -UARDUINO
546546 ; -DPICO_BUILD
547547 -DARDUINO_ARCH_RP2040
548- -DUSBD_MAX_POWER_MA =500
548+ -DUSBD_MAX_POWER_MA =250
549549 -DPICO_CYW43_SUPPORTED =1
550550 -DWIFICC =CYW43_COUNTRY_UK
551551 ; -DDEBUG
@@ -571,18 +571,3 @@ build_flags =
571571 ; ; No USB stack
572572 ; build_flags = -DPIO_FRAMEWORK_ARDUINO_NO_USB
573573 ; -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 185185#define BOARD_ID "mkrwifi1010"
186186#define USE_STATUS_LED
187187#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 )
189189#define BOARD_ID "rpi-pico-w"
190190#define USE_TINYUSB
191191#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
193198#else
194199#warning "Board type not identified within Wippersnapper_Boards.h!"
195200#endif
You can’t perform that action at this time.
0 commit comments