Skip to content

Commit d8d3386

Browse files
committed
implement module alarm for RP2350
1 parent db4f059 commit d8d3386

File tree

7 files changed

+504
-122
lines changed

7 files changed

+504
-122
lines changed

ports/raspberrypi/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ CFLAGS += $(OPTIMIZATION_FLAGS)
207207
CFLAGS += $(CFLAGS_CYW43)
208208
#Debugging/Optimization
209209
ifeq ($(DEBUG), 1)
210-
CFLAGS += -ggdb3 -Og
210+
CFLAGS += -ggdb3 -O3
211211
# No LTO because we may place some functions in RAM instead of flash.
212212
else
213213
CFLAGS += -DNDEBUG
@@ -219,7 +219,8 @@ else
219219
endif
220220
endif
221221

222-
DISABLE_WARNINGS = -Wno-cast-align
222+
# Remove -Wno-stringop-overflow after we can test with CI's GCC 10. Mac's looks weird.
223+
DISABLE_WARNINGS = -Wno-stringop-overflow -Wno-cast-align
223224

224225
CFLAGS += $(INC) -Wall -Werror -std=gnu11 -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT) $(DISABLE_WARNINGS) -Werror=missing-prototypes
225226

@@ -530,6 +531,7 @@ SRC_C += \
530531
bindings/rp2pio/__init__.c \
531532
common-hal/rp2pio/StateMachine.c \
532533
common-hal/rp2pio/__init__.c \
534+
common-hal/alarm/rosc.c \
533535
audio_dma.c \
534536
background.c \
535537
peripherals/pins.c \

0 commit comments

Comments
 (0)