Skip to content

Commit 836db4e

Browse files
authored
Merge pull request #4816 from hierophect/rp2040-alarms
RP2040: add Alarm module
2 parents 0438d7f + 1f3d69d commit 836db4e

File tree

29 files changed

+891
-0
lines changed

29 files changed

+891
-0
lines changed

locale/circuitpython.pot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,6 +1702,7 @@ msgstr ""
17021702

17031703
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
17041704
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
1705+
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
17051706
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
17061707
msgid "Only one alarm.time alarm can be set."
17071708
msgstr ""
@@ -2035,6 +2036,7 @@ msgstr ""
20352036
msgid "Size not supported"
20362037
msgstr ""
20372038

2039+
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
20382040
#: ports/stm/common-hal/alarm/SleepMemory.c
20392041
msgid "Sleep Memory not available"
20402042
msgstr ""
@@ -2179,6 +2181,7 @@ msgstr ""
21792181
msgid "Total data to write is larger than %q"
21802182
msgstr ""
21812183

2184+
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
21822185
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
21832186
msgid "Touch alarms not available"
21842187
msgstr ""

ports/raspberrypi/boards/adafruit_feather_rp2040/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ bool board_requests_safe_mode(void) {
3838

3939
void reset_board(void) {
4040
}
41+
42+
void board_deinit(void) {
43+
}

ports/raspberrypi/boards/adafruit_itsybitsy_rp2040/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ bool board_requests_safe_mode(void) {
3535

3636
void reset_board(void) {
3737
}
38+
39+
void board_deinit(void) {
40+
}

ports/raspberrypi/boards/adafruit_macropad_rp2040/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ void reset_board(void) {
4141
// turn off any left over LED
4242
board_reset_user_neopixels(&pin_GPIO19, 12);
4343
}
44+
45+
void board_deinit(void) {
46+
}

ports/raspberrypi/boards/adafruit_qt2040_trinkey/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ bool board_requests_safe_mode(void) {
3838

3939
void reset_board(void) {
4040
}
41+
42+
void board_deinit(void) {
43+
}

ports/raspberrypi/boards/adafruit_qtpy_rp2040/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ bool board_requests_safe_mode(void) {
3535

3636
void reset_board(void) {
3737
}
38+
39+
void board_deinit(void) {
40+
}

ports/raspberrypi/boards/arduino_nano_rp2040_connect/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ bool board_requests_safe_mode(void) {
3535

3636
void reset_board(void) {
3737
}
38+
39+
void board_deinit(void) {
40+
}

ports/raspberrypi/boards/cytron_maker_pi_rp2040/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ bool board_requests_safe_mode(void) {
3535

3636
void reset_board(void) {
3737
}
38+
39+
void board_deinit(void) {
40+
}

ports/raspberrypi/boards/pimoroni_keybow2040/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ bool board_requests_safe_mode(void) {
3535

3636
void reset_board(void) {
3737
}
38+
39+
void board_deinit(void) {
40+
}

ports/raspberrypi/boards/pimoroni_pga2040/board.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ bool board_requests_safe_mode(void) {
3535

3636
void reset_board(void) {
3737
}
38+
39+
void board_deinit(void) {
40+
}

0 commit comments

Comments
 (0)