Skip to content

Commit b3b6a64

Browse files
authored
Merge pull request #2685 from tannewt/lower_power
Lower power by using the Wait for Interrupt (WFI) instruction
2 parents 10c5bf6 + a863b0a commit b3b6a64

File tree

197 files changed

+1555
-7878
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+1555
-7878
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-16.04
13+
runs-on: ubuntu-18.04
1414
steps:
1515
- name: Dump GitHub context
1616
env:
@@ -127,7 +127,7 @@ jobs:
127127
path: mpy-cross/mpy-cross
128128

129129
build-arm:
130-
runs-on: ubuntu-16.04
130+
runs-on: ubuntu-18.04
131131
needs: test
132132
strategy:
133133
fail-fast: false
@@ -245,7 +245,7 @@ jobs:
245245
- "stm32f411ve_discovery"
246246
- "stm32f412zg_discovery"
247247
- "stm32f4_discovery"
248-
- "stm32f746g_disco"
248+
- "stm32f746g_discovery"
249249
- "stringcar_m0_express"
250250
- "teensy40"
251251
- "teknikio_bluebird"
@@ -304,7 +304,7 @@ jobs:
304304
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
305305

306306
build-riscv:
307-
runs-on: ubuntu-16.04
307+
runs-on: ubuntu-18.04
308308
needs: test
309309
strategy:
310310
fail-fast: false

docs/supported_ports.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
Supported Ports
22
==============================
33

4-
Adafruit's CircuitPython currently has limited support with a focus on supporting the Atmel SAMD
5-
and ESP8266.
4+
CircuitPython supports a number of microcontroller families. Support quality for each varies
5+
depending on the active contributors for each port.
6+
7+
Adafruit sponsored developers are actively contributing to atmel-samd, mimxrt10xx, nrf and stm
8+
ports. They also maintain the other ports in order to ensure the boards build. Additional testing
9+
is limited.
610

711
.. toctree::
812
:maxdepth: 2
913

1014
../ports/atmel-samd/README
15+
../ports/cxd56/README
16+
../ports/litex/README
1117
../ports/mimxrt10xx/README
1218
../ports/nrf/README
1319
../ports/stm/README
14-
../ports/cxd56/README

locale/ID.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
11+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -285,11 +285,12 @@ msgstr "Semua timer untuk pin ini sedang digunakan"
285285

286286
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
287287
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
288+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
288289
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
289290
#: ports/cxd56/common-hal/pulseio/PulseOut.c
290291
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
291-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
292-
#: shared-module/_pew/PewPew.c
292+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
293+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
293294
msgid "All timers in use"
294295
msgstr "Semua timer sedang digunakan"
295296

@@ -1242,6 +1243,10 @@ msgstr ""
12421243
msgid "Pull not used when direction is output."
12431244
msgstr ""
12441245

1246+
#: ports/stm/common-hal/pulseio/PulseIn.c
1247+
msgid "PulseIn not supported on this chip"
1248+
msgstr ""
1249+
12451250
#: ports/stm/common-hal/pulseio/PulseOut.c
12461251
msgid "PulseOut not supported on this chip"
12471252
msgstr ""

locale/circuitpython.pot

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
11+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -283,11 +283,12 @@ msgstr ""
283283

284284
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
285285
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
286+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
286287
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
287288
#: ports/cxd56/common-hal/pulseio/PulseOut.c
288289
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
289-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
290-
#: shared-module/_pew/PewPew.c
290+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
291+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
291292
msgid "All timers in use"
292293
msgstr ""
293294

@@ -1228,6 +1229,10 @@ msgstr ""
12281229
msgid "Pull not used when direction is output."
12291230
msgstr ""
12301231

1232+
#: ports/stm/common-hal/pulseio/PulseIn.c
1233+
msgid "PulseIn not supported on this chip"
1234+
msgstr ""
1235+
12311236
#: ports/stm/common-hal/pulseio/PulseOut.c
12321237
msgid "PulseOut not supported on this chip"
12331238
msgstr ""

locale/de_DE.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
10+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: Pascal Deneaux\n"
1313
"Language-Team: Sebastian Plamauer, Pascal Deneaux\n"
@@ -285,11 +285,12 @@ msgstr "Alle timer für diesen Pin werden bereits benutzt"
285285

286286
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
287287
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
288+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
288289
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
289290
#: ports/cxd56/common-hal/pulseio/PulseOut.c
290291
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
291-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
292-
#: shared-module/_pew/PewPew.c
292+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
293+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
293294
msgid "All timers in use"
294295
msgstr "Alle timer werden benutzt"
295296

@@ -1245,6 +1246,10 @@ msgstr ""
12451246
msgid "Pull not used when direction is output."
12461247
msgstr "Pull wird nicht verwendet, wenn die Richtung output ist."
12471248

1249+
#: ports/stm/common-hal/pulseio/PulseIn.c
1250+
msgid "PulseIn not supported on this chip"
1251+
msgstr ""
1252+
12481253
#: ports/stm/common-hal/pulseio/PulseOut.c
12491254
msgid "PulseOut not supported on this chip"
12501255
msgstr ""

locale/en_US.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
10+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -283,11 +283,12 @@ msgstr ""
283283

284284
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
285285
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
286+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
286287
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
287288
#: ports/cxd56/common-hal/pulseio/PulseOut.c
288289
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
289-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
290-
#: shared-module/_pew/PewPew.c
290+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
291+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
291292
msgid "All timers in use"
292293
msgstr ""
293294

@@ -1228,6 +1229,10 @@ msgstr ""
12281229
msgid "Pull not used when direction is output."
12291230
msgstr ""
12301231

1232+
#: ports/stm/common-hal/pulseio/PulseIn.c
1233+
msgid "PulseIn not supported on this chip"
1234+
msgstr ""
1235+
12311236
#: ports/stm/common-hal/pulseio/PulseOut.c
12321237
msgid "PulseOut not supported on this chip"
12331238
msgstr ""

locale/en_x_pirate.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
10+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: @sommersoft, @MrCertainly\n"
@@ -285,11 +285,12 @@ msgstr ""
285285

286286
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
287287
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
288+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
288289
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
289290
#: ports/cxd56/common-hal/pulseio/PulseOut.c
290291
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
291-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
292-
#: shared-module/_pew/PewPew.c
292+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
293+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
293294
msgid "All timers in use"
294295
msgstr ""
295296

@@ -1232,6 +1233,10 @@ msgstr ""
12321233
msgid "Pull not used when direction is output."
12331234
msgstr ""
12341235

1236+
#: ports/stm/common-hal/pulseio/PulseIn.c
1237+
msgid "PulseIn not supported on this chip"
1238+
msgstr ""
1239+
12351240
#: ports/stm/common-hal/pulseio/PulseOut.c
12361241
msgid "PulseOut not supported on this chip"
12371242
msgstr ""

locale/es.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
10+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1111
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -287,11 +287,12 @@ msgstr "Todos los timers para este pin están siendo utilizados"
287287

288288
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
289289
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
290+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
290291
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
291292
#: ports/cxd56/common-hal/pulseio/PulseOut.c
292293
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
293-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
294-
#: shared-module/_pew/PewPew.c
294+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
295+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
295296
msgid "All timers in use"
296297
msgstr "Todos los timers en uso"
297298

@@ -1244,6 +1245,10 @@ msgstr ""
12441245
msgid "Pull not used when direction is output."
12451246
msgstr "Pull no se usa cuando la dirección es output."
12461247

1248+
#: ports/stm/common-hal/pulseio/PulseIn.c
1249+
msgid "PulseIn not supported on this chip"
1250+
msgstr ""
1251+
12471252
#: ports/stm/common-hal/pulseio/PulseOut.c
12481253
msgid "PulseOut not supported on this chip"
12491254
msgstr ""

locale/fil.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
10+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1111
"PO-Revision-Date: 2018-12-20 22:15-0800\n"
1212
"Last-Translator: Timothy <[email protected]>\n"
1313
"Language-Team: fil\n"
@@ -287,11 +287,12 @@ msgstr "Lahat ng timers para sa pin na ito ay ginagamit"
287287

288288
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
289289
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
290+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
290291
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
291292
#: ports/cxd56/common-hal/pulseio/PulseOut.c
292293
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
293-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
294-
#: shared-module/_pew/PewPew.c
294+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
295+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
295296
msgid "All timers in use"
296297
msgstr "Lahat ng timer ginagamit"
297298

@@ -1250,6 +1251,10 @@ msgstr ""
12501251
msgid "Pull not used when direction is output."
12511252
msgstr "Pull hindi ginagamit kapag ang direksyon ay output."
12521253

1254+
#: ports/stm/common-hal/pulseio/PulseIn.c
1255+
msgid "PulseIn not supported on this chip"
1256+
msgstr ""
1257+
12531258
#: ports/stm/common-hal/pulseio/PulseOut.c
12541259
msgid "PulseOut not supported on this chip"
12551260
msgstr ""

locale/fr.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: 0.1\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
11+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1212
"PO-Revision-Date: 2019-04-14 20:05+0100\n"
1313
"Last-Translator: Pierrick Couturier <[email protected]>\n"
1414
"Language-Team: fr\n"
@@ -290,11 +290,12 @@ msgstr "Tous les timers pour cette broche sont utilisés"
290290

291291
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
292292
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
293+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
293294
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
294295
#: ports/cxd56/common-hal/pulseio/PulseOut.c
295296
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
296-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
297-
#: shared-module/_pew/PewPew.c
297+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
298+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
298299
msgid "All timers in use"
299300
msgstr "Tous les timers sont utilisés"
300301

@@ -1263,6 +1264,10 @@ msgstr "Appuyez sur une touche pour entrer sur REPL ou CTRL-D pour recharger."
12631264
msgid "Pull not used when direction is output."
12641265
msgstr "Le tirage 'pull' n'est pas utilisé quand la direction est 'output'."
12651266

1267+
#: ports/stm/common-hal/pulseio/PulseIn.c
1268+
msgid "PulseIn not supported on this chip"
1269+
msgstr ""
1270+
12661271
#: ports/stm/common-hal/pulseio/PulseOut.c
12671272
msgid "PulseOut not supported on this chip"
12681273
msgstr ""

locale/it_IT.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
11+
"POT-Creation-Date: 2020-04-27 18:34-0700\n"
1212
"PO-Revision-Date: 2018-10-02 16:27+0200\n"
1313
"Last-Translator: Enrico Paganin <[email protected]>\n"
1414
"Language-Team: \n"
@@ -286,11 +286,12 @@ msgstr "Tutti i timer per questo pin sono in uso"
286286

287287
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
288288
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
289+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
289290
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
290291
#: ports/cxd56/common-hal/pulseio/PulseOut.c
291292
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
292-
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
293-
#: shared-module/_pew/PewPew.c
293+
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
294+
#: shared-bindings/pulseio/PWMOut.c shared-module/_pew/PewPew.c
294295
msgid "All timers in use"
295296
msgstr "Tutti i timer utilizzati"
296297

@@ -1259,6 +1260,10 @@ msgstr ""
12591260
msgid "Pull not used when direction is output."
12601261
msgstr ""
12611262

1263+
#: ports/stm/common-hal/pulseio/PulseIn.c
1264+
msgid "PulseIn not supported on this chip"
1265+
msgstr ""
1266+
12621267
#: ports/stm/common-hal/pulseio/PulseOut.c
12631268
msgid "PulseOut not supported on this chip"
12641269
msgstr ""

0 commit comments

Comments
 (0)