Skip to content

Implement alarm-module for RP2350 (follow-up for #9965) #10023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
implement module alarm for RP2350
  • Loading branch information
bablokb committed Feb 1, 2025
commit aa3662d47075df7860bb456a55dd7380fd9bdeb3
6 changes: 4 additions & 2 deletions ports/raspberrypi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ CFLAGS += $(OPTIMIZATION_FLAGS)
CFLAGS += $(CFLAGS_CYW43)
#Debugging/Optimization
ifeq ($(DEBUG), 1)
CFLAGS += -ggdb3 -Og
CFLAGS += -ggdb3 -O3
# No LTO because we may place some functions in RAM instead of flash.
else
CFLAGS += -DNDEBUG
Expand All @@ -219,7 +219,8 @@ else
endif
endif

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

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

Expand Down Expand Up @@ -530,6 +531,7 @@ SRC_C += \
bindings/rp2pio/__init__.c \
common-hal/rp2pio/StateMachine.c \
common-hal/rp2pio/__init__.c \
common-hal/alarm/rosc.c \
audio_dma.c \
background.c \
peripherals/pins.c \
Expand Down
Loading