From 749bb99863e54e13c130d833b42adab654a86c90 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 2 Feb 2022 17:13:20 -0600 Subject: [PATCH] bump pico-sdk to 1.3.0 --- ports/raspberrypi/Makefile | 2 +- ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c | 2 -- ports/raspberrypi/sdk | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ports/raspberrypi/Makefile b/ports/raspberrypi/Makefile index b63b26d58d..67de654255 100644 --- a/ports/raspberrypi/Makefile +++ b/ports/raspberrypi/Makefile @@ -187,7 +187,7 @@ SRC_SDK := \ src/rp2_common/pico_unique_id/unique_id.c \ SRC_SDK := $(addprefix sdk/, $(SRC_SDK)) -$(patsubst %.c,$(BUILD)/%.o,$(SRC_SDK)): CFLAGS += -Wno-missing-prototypes +$(patsubst %.c,$(BUILD)/%.o,$(SRC_SDK)): CFLAGS += -Wno-missing-prototypes -Wno-undef SRC_C += \ boards/$(BOARD)/board.c \ diff --git a/ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c b/ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c index 4b4c365385..2f09124f4b 100644 --- a/ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c +++ b/ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c @@ -44,8 +44,6 @@ #include "src/rp2040/hardware_structs/include/hardware/structs/dma.h" #include "src/rp2_common/hardware_pwm/include/hardware/pwm.h" -#define NUM_DMA_TIMERS 4 - // The PWM clock frequency is base_clock_rate / PWM_TOP, typically 125_000_000 / PWM_TOP. // We pick BITS_PER_SAMPLE so we get a clock frequency that is above what would cause aliasing. #define BITS_PER_SAMPLE 10 diff --git a/ports/raspberrypi/sdk b/ports/raspberrypi/sdk index bfcbefafc5..2062372d20 160000 --- a/ports/raspberrypi/sdk +++ b/ports/raspberrypi/sdk @@ -1 +1 @@ -Subproject commit bfcbefafc5d2a210551a4d9d80b4303d4ae0adf7 +Subproject commit 2062372d203b372849d573f252cf7c6dc2800c0a