Commit Graph

436 Commits

Author SHA1 Message Date
microDev
5f448139e0
fixes and enhancement for touch alarm
- prevent touch alarm initialization if not set
- fix wake_alarm is set to touch alarm on autoreload
- add ability to have multiple touch alarms in light sleep
2021-01-11 15:30:45 +05:30
Jeff Epler
e79ee785ac circuitpython.pot: regenerate without timestamp 2021-01-07 14:41:49 -06:00
Jeff Epler
30c6dd3f76 Merge remote-tracking branch 'origin/main' into audioout-esp32 2021-01-07 14:11:14 -06:00
iot49
1a82555803
Merge branch 'main' into msgpack 2021-01-05 11:19:11 -08:00
Bernhard Boser
90a299bb1e added //| to (hopefully) get CI to pass 2021-01-05 11:17:09 -08:00
Jeff Epler
f87ce01b8f make translate 2021-01-04 12:55:39 -06:00
Hugo Dahl
ad7f4d8ae9
Merge branch 'main' of https://github.com/adafruit/circuitpython into add-translation-for-builtin-object-help
* 'main' of https://github.com/adafruit/circuitpython:
  update wake-alarm implementation
  enable light-sleep functionality
  update frozen libs for 6.1.0-beta.3
  Revert "Removing frozen libs"
  add pretend-to-sleep functionality
  expose wake pin parameter and more tweaks
  add touch alarm support for esp32s2
  implement touch alarm
2020-12-30 23:37:55 -06:00
Hugo Dahl
1407af7291
Add localization for built-in help
Support localizing the output of a call to  to match the
firmware's language.
2020-12-30 18:20:43 -06:00
microDev
28ce5e8988
Merge branch 'main' into touch-s2 2020-12-30 22:44:22 +05:30
microDev
c7f68022ef
add pretend-to-sleep functionality 2020-12-30 22:11:22 +05:30
Jeff Epler
42cad23dea make translate 2020-12-29 16:31:29 -06:00
Dan Halbert
578abae0f5
make translate yet again; forgot to fetch submodules to fresh clone 2020-12-23 23:05:10 -05:00
Dan Halbert
cf4862e96e
make translate again 2020-12-23 22:52:27 -05:00
Dan Halbert
8061a2574d
Merge branch 'main' into pin_alarm 2020-12-23 22:05:02 -05:00
Scott Shawcroft
c371119da4
Make translate 2020-12-23 15:00:53 -08:00
Dan Halbert
153a686837 make translate for main 2020-12-23 16:41:56 -05:00
Lucian Copeland
9a86829d01 translations 2020-12-21 14:14:31 -05:00
microDev
ecd7c0878e
expose wake pin parameter and more tweaks 2020-12-19 20:54:36 +05:30
microDev
8eaf2b0c19
implement touch alarm 2020-12-18 12:54:36 +05:30
microDev
4512290ba0
Merge branch 'main' into ota-s2 2020-12-18 00:44:00 +05:30
microDev
4863413bc9
rename ota to dualbank 2020-12-18 00:34:56 +05:30
hierophect
3ad4b12ce1
Merge branch 'main' into esp-analog-hang 2020-12-15 15:08:30 -05:00
Lucian Copeland
cac755ba16 Merge remote-tracking branch 'upstream/main' into esp-analog-hang 2020-12-14 13:00:57 -05:00
Lucian Copeland
dc560f0eee translations 2020-12-14 13:00:07 -05:00
Dan Halbert
e0bb4a808a make translate 2020-12-14 11:49:01 -05:00
microDev
37ee5e683d
Merge branch 'main' into ota-s2 2020-12-12 05:25:46 +05:30
Scott Shawcroft
344d3c59cb
Merge branch 'main' into msgpack 2020-12-11 11:10:30 -08:00
microDev
cb35abfd04
add docs, update translation & fix ota.flash() 2020-12-11 01:01:01 +05:30
Lucian Copeland
f7c7324e60 Translations 2020-12-08 18:57:19 -05:00
Scott Shawcroft
40118bcf57
Add board_deinit for use with sleep
This changes lots of files to unify `board.h` across ports. It adds
`board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to
deinit the board before deep sleeping (even when pretending.)

Deep sleep is now a two step process for the port. First, the
port should prepare to deep sleep based on the given alarms. It
should set alarms for both deep and pretend sleep. In particular,
the pretend versions should be set immediately so that we don't
miss an alarm as we shutdown. These alarms should also wake from
`port_idle_until_interrupt` which is used when pretending to deep
sleep.

Second, when real deep sleeping, `alarm_enter_deep_sleep` is called.
The port should set any alarms it didn't during prepare based on
data it saved internally during prepare.

ESP32-S2 sleep is a bit reorganized to locate more logic with
TimeAlarm. This will help it scale to more alarm types.

Fixes #3786
2020-12-08 10:52:25 -08:00
microDev
602243748b
add ota support for esp32s2 2020-12-08 11:45:00 +05:30
Bernhard Boser
534b48fcfe remove a ~ from doc that causes an error; add ExtType.c to circuitpy_defns.mk 2020-12-07 16:08:16 -08:00
Bernhard Boser
b5b6b6d0f2 add ExtType, update doc, add a test 2020-12-07 15:40:02 -08:00
Scott Shawcroft
1130b80e2a
Merge pull request #3612 from gamblor21/bus_device
Moving Adafruit_CircuitPython_BusDevice to core
2020-12-02 13:23:02 -08:00
Scott Shawcroft
608c98501b
Merge remote-tracking branch 'adafruit/main' into msgpack 2020-12-02 13:10:39 -08:00
Bernhard Boser
4b71079628
update translations 2020-12-01 18:39:21 -08:00
Bernhard Boser
f91932d783
make translate 2020-12-01 18:38:44 -08:00
Mark
237385798c
Merge branch 'main' into bus_device 2020-12-01 15:47:16 -06:00
Dan Halbert
2830cc9433 make translate 2020-11-27 23:57:59 -05:00
Dan Halbert
596e0e4bd2 merge from upstream 2020-11-27 16:06:57 -05:00
Dan Halbert
e308a9ec11 working! PinAlarm not implemented yet. 2020-11-27 16:03:37 -05:00
Dan Halbert
ef0830bfe2 merge from upstream + wip 2020-11-25 17:52:06 -05:00
Dan Halbert
9dbea36eac changed alarm.time API 2020-11-25 15:09:27 -05:00
hierophect
510f464234
Merge branch 'main' into esp32s2-udp 2020-11-24 18:28:10 -05:00
Lucian Copeland
e83c481f0f translations 2020-11-24 15:40:27 -05:00
microDev
bbe13490b5
Merge branch 'main' into nvm-s2 2020-11-24 12:24:48 +05:30
Jeff Epler
9d8be648ee ulab: Update to release tag 1.1.0
Disable certain classes of diagnostic when building ulab.  We should
submit patches upstream to (A) fix these errors and (B) upgrade their
CI so that the problems are caught before we want to integrate with
CircuitPython, but not right now.
2020-11-23 10:23:50 -06:00
Dan Halbert
75559f35cc wip: ResetReason to microcontroller.cpu 2020-11-21 23:29:52 -05:00
Dan Halbert
5bb3c321e9 merge from main 2020-11-19 00:29:14 -05:00
Dan Halbert
682054a216 WIP: redo API; not compiled yet 2020-11-19 00:23:27 -05:00
Scott Shawcroft
66fb095069
Merge pull request #3667 from microDev1/watchdog-s2
ESP32S2: Support for WatchDog
2020-11-16 15:01:54 -08:00
Dan Halbert
bb77f1d130 wip: initial code changes, starting from @tannewt's sleepio branch 2020-11-16 11:56:20 -05:00
Scott Shawcroft
8d3a878152
Merge pull request #3681 from adafruit/6.0.x
Merge protomatter update back into `main`
2020-11-12 14:51:53 -08:00
Scott Shawcroft
f4b10879fb
Change creation date back. 2020-11-12 11:48:01 -08:00
Dan Halbert
9817672df7 make translate on 6.0.x 2020-11-11 14:06:34 -05:00
microDev
35ef6c687f
nvm implementation for esp32s2 2020-11-11 23:11:12 +05:30
microDev
6c59836c5d
watchdog implementation for esp32s2 2020-11-10 16:32:46 +05:30
Jeff Epler
5554c27600 make translate 2020-11-09 09:49:43 -06:00
microDev
fe6bfde590
move pcnt handler 2020-11-04 21:20:24 +05:30
microDev
4438050f79
Add pcnt handler 2020-11-01 18:00:07 +05:30
microDev
354536c09f
Update translation 2020-10-27 16:18:33 -07:00
microDev
da449723df
Fix build error 2020-10-27 16:16:15 -07:00
Scott Shawcroft
73162bda85
Merge pull request #3584 from jepler/can-esp32s2
esp32s2: implement canio
2020-10-27 14:01:07 -07:00
Jeff Epler
5110fec312
Merge pull request #3608 from adafruit/6.0.x
Update main with latest 6.0.x
2020-10-27 11:47:44 -05:00
gamblor21
8a379830a8 Added doc and translations 2020-10-26 16:54:24 -05:00
Scott Shawcroft
81ab6a05d0
Use old translation date to avoid merge conflict 2020-10-26 13:25:00 -07:00
Jeff Epler
bdc1343791 make translate 2020-10-26 09:55:32 -05:00
Jeff Epler
85aa851714 make translate 2020-10-25 15:21:13 -05:00
Jensen Kuras
38c8248b9e
Merge branch 'main' into color-converter-transparency 2020-10-19 18:13:44 -05:00
Jensen Kuras
575b2e607b
Merge branch 'main' into color-converter-transparency 2020-10-16 19:55:24 -05:00
Jensen
74c07a4bdc displayio: Add in opaque pixel option for future 2020-10-16 19:50:41 -05:00
Mark
8e6d3e5b91
Merge branch 'main' into recv_into_size_check 2020-10-16 15:52:45 -05:00
gamblor21
645382d51d Updated translation 2020-10-16 14:21:00 -05:00
microDev
26fd2c6223
Add hostname validation 2020-10-15 16:08:01 +05:30
Jensen
cb0a4abc95 displayio: new translation strings 2020-10-14 22:22:48 -05:00
microDev
ceb531086e
Add method to set custom hostname 2020-10-13 14:22:02 +05:30
Jensen Kuras
de9ea47e8e
Merge branch 'main' into color-converter-transparency 2020-10-12 20:48:55 -05:00
Jensen
337019626a displayio: Add make_transparent to ColorConverter 2020-10-12 20:48:04 -05:00
Kenny
88db16a2c6 add translations 2020-10-10 23:50:12 -07:00
Lucian Copeland
68cb384f8f Remove logging from shared-bindings, fix translations, revert config target macro 2020-10-06 13:29:12 -04:00
hierophect
e93a274f2f
Merge branch 'main' into esp32-analogin 2020-10-05 13:02:42 -04:00
Lucian Copeland
0467a82880 Fix/remove various style issues 2020-10-05 13:00:42 -04:00
Lucian Copeland
a8dfae58d9 Add ADC calibration module support 2020-10-01 17:17:39 -04:00
Scott Shawcroft
c27e3857b6
Merge branch 'main' into framebuffer-zero-size 2020-10-01 11:04:21 -07:00
Jeff Epler
c129c8f296 Merge remote-tracking branch 'origin/main' into canbus-api-changes 2020-09-29 20:15:11 -05:00
Jeff Epler
e4b9c16891 rgbmatrix: Check that the number of rgb pins is supported.
Having zero RGB pins may not have been caught, nor having a non-multiple-of-6
value.  Generally, users will only have 6 RGB pins unless they are driving
multiple matrices in parallel.  No existing breakouts exist to do this, and
there are probably not any efficient pinouts to be had anyway.
2020-09-29 19:55:31 -05:00
microDev
4c7d9e3aaf
Update make translate script 2020-09-29 11:14:30 +05:30
Jeff Epler
809225fd1e make translate 2020-09-28 17:22:15 -05:00
Lucian Copeland
128b4a013b Add non-calibrated ADC 2020-09-28 12:11:08 -04:00
Jeff Epler
832869b257 make translate 2020-09-24 16:56:07 -05:00
Jeff Epler
85756fa0cd make translate 2020-09-21 16:45:51 -05:00
Ryan T. Hamilton
1e3241ec6d
Merge branch 'main' into esp32s2-bssid 2020-09-16 17:15:01 -07:00
Ryan T. Hamilton
6a323a583f Add new error msg to translation 2020-09-16 17:08:11 -07:00
Dan Halbert
d774678a0f
Merge pull request #3369 from kamtom480/camera
Add camera module
2020-09-16 12:29:58 -04:00
DavePutz
c68098777d
Fixing up locale/circuitpython.pot date 2020-09-14 10:50:57 -05:00
Kamil Tomaszewski
a25e3c2858 locale: make translate 2020-09-14 13:12:20 +02:00
Kamil Tomaszewski
fbf4431aa0 locale: make translate 2020-09-14 13:11:15 +02:00
Jeff Epler
af24c8ae06 Merge remote-tracking branch 'origin/main' into implicit-fallthrough-diagnostic
Conflict in locale/circuitpython.pot resolved with 'make translate'
2020-09-13 14:21:21 -05:00
microDev
36da92075b Update safe mode reason 2020-09-13 22:57:24 +05:30
Jeff Epler
4d70872b2b make translate 2020-09-12 15:11:02 -05:00