Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ports/raspberrypi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ CFLAGS_CYW43 := \
-DCYW43_USE_STATS=0 \
-DPICO_BUILD \
-DCYW43_ENABLE_BLUETOOTH=0 \
-DCIRCUITPY_CYW43_INIT_DELAY=$(CIRCUITPY_CYW43_INIT_DELAY) \
-DPICO_CYW43_ARCH_POLL=0

SRC_SDK_CYW43 := \
Expand Down
6 changes: 6 additions & 0 deletions ports/raspberrypi/mpconfigport.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ CIRCUITPY_ALARM ?= 1
CIRCUITPY_PICODVI ?= 0

CIRCUITPY_TOUCHIO ?= 1

# delay in ms before calling cyw43_arch_init_with_country
CIRCUITPY_CYW43_INIT_DELAY ?= 1000
endif

ifeq ($(CHIP_VARIANT),RP2350)
Expand All @@ -65,6 +68,9 @@ CIRCUITPY_PICODVI ?= 1
# So, turn touchio off because it doesn't work.
CIRCUITPY_TOUCHIO = 0

# delay in ms before calling cyw43_arch_init_with_country
CIRCUITPY_CYW43_INIT_DELAY ?= 0

# Audio effects
CIRCUITPY_AUDIOEFFECTS ?= 1
endif
Expand Down
2 changes: 1 addition & 1 deletion ports/raspberrypi/supervisor/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ safe_mode_t port_init(void) {
// initializing the cyw43 chip. Delays inside cyw43_arch_init_with_country
// are intended to meet the power on timing requirements, but apparently
// are inadequate. We'll back off this long delay based on future testing.
mp_hal_delay_ms(1000);
mp_hal_delay_ms(CIRCUITPY_CYW43_INIT_DELAY);

// Change this as a placeholder as to how to init with country code.
// Default country code is CYW43_COUNTRY_WORLDWIDE)
Expand Down
Loading