mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
parent
eee72cdca7
commit
174cafc31a
2 changed files with 12 additions and 0 deletions
|
|
@ -89,6 +89,12 @@ pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4 * 1024 * 1024))
|
||||||
#define CYW43_WL_GPIO_LED_PIN 0
|
#define CYW43_WL_GPIO_LED_PIN 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Drive high to force power supply into PWM mode (lower ripple on 3V3 at light loads)
|
||||||
|
// As this is a CYW43 pin you can do this by calling cyw43_gpio_set
|
||||||
|
#ifndef CYW43_WL_GPIO_SMPS_PIN
|
||||||
|
#define CYW43_WL_GPIO_SMPS_PIN 1
|
||||||
|
#endif
|
||||||
|
|
||||||
// If CYW43_WL_GPIO_VBUS_PIN is defined then a CYW43 GPIO has to be used to read VBUS.
|
// If CYW43_WL_GPIO_VBUS_PIN is defined then a CYW43 GPIO has to be used to read VBUS.
|
||||||
// This can be passed to cyw43_arch_gpio_get to determine if the device is battery powered.
|
// This can be passed to cyw43_arch_gpio_get to determine if the device is battery powered.
|
||||||
// PICO_VBUS_PIN and CYW43_WL_GPIO_VBUS_PIN should not both be defined.
|
// PICO_VBUS_PIN and CYW43_WL_GPIO_VBUS_PIN should not both be defined.
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,12 @@ pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (2 * 1024 * 1024))
|
||||||
#define CYW43_WL_GPIO_LED_PIN 0
|
#define CYW43_WL_GPIO_LED_PIN 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Drive high to force power supply into PWM mode (lower ripple on 3V3 at light loads)
|
||||||
|
// As this is a CYW43 pin you can do this by calling cyw43_gpio_set
|
||||||
|
#ifndef CYW43_WL_GPIO_SMPS_PIN
|
||||||
|
#define CYW43_WL_GPIO_SMPS_PIN 1
|
||||||
|
#endif
|
||||||
|
|
||||||
// If CYW43_WL_GPIO_VBUS_PIN is defined then a CYW43 GPIO has to be used to read VBUS.
|
// If CYW43_WL_GPIO_VBUS_PIN is defined then a CYW43 GPIO has to be used to read VBUS.
|
||||||
// This can be passed to cyw43_arch_gpio_get to determine if the device is battery powered.
|
// This can be passed to cyw43_arch_gpio_get to determine if the device is battery powered.
|
||||||
// PICO_VBUS_PIN and CYW43_WL_GPIO_VBUS_PIN should not both be defined.
|
// PICO_VBUS_PIN and CYW43_WL_GPIO_VBUS_PIN should not both be defined.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue