File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
src/boards/include/boards Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,12 @@ pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
8989#define CYW43_WL_GPIO_LED_PIN 0
9090#endif
9191
92+ // Drive high to force power supply into PWM mode (lower ripple on 3V3 at light loads)
93+ // As this is a CYW43 pin you can do this by calling cyw43_gpio_set
94+ #ifndef CYW43_WL_GPIO_SMPS_PIN
95+ #define CYW43_WL_GPIO_SMPS_PIN 1
96+ #endif
97+
9298// If CYW43_WL_GPIO_VBUS_PIN is defined then a CYW43 GPIO has to be used to read VBUS.
9399// This can be passed to cyw43_arch_gpio_get to determine if the device is battery powered.
94100// PICO_VBUS_PIN and CYW43_WL_GPIO_VBUS_PIN should not both be defined.
Original file line number Diff line number Diff line change @@ -94,6 +94,12 @@ pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
9494#define CYW43_WL_GPIO_LED_PIN 0
9595#endif
9696
97+ // Drive high to force power supply into PWM mode (lower ripple on 3V3 at light loads)
98+ // As this is a CYW43 pin you can do this by calling cyw43_gpio_set
99+ #ifndef CYW43_WL_GPIO_SMPS_PIN
100+ #define CYW43_WL_GPIO_SMPS_PIN 1
101+ #endif
102+
97103// If CYW43_WL_GPIO_VBUS_PIN is defined then a CYW43 GPIO has to be used to read VBUS.
98104// This can be passed to cyw43_arch_gpio_get to determine if the device is battery powered.
99105// PICO_VBUS_PIN and CYW43_WL_GPIO_VBUS_PIN should not both be defined.
You can’t perform that action at this time.
0 commit comments