Commit Graph

26506 Commits

Author SHA1 Message Date
Jeff Epler
47a6b13d63
Merge pull request #4906 from FoamyGuy/remove_duplicate_line
remove duplicate line in setup py
2021-06-22 07:41:25 -05:00
Michael Weiss
b3a34dde36 esp32,esp8266: Add __len__ to NeoPixel driver to support iterating.
Signed-off-by: mishafarms <github@mishafarms.us>
2021-06-22 16:33:55 +10:00
Jim Mussared
2fa975c264 LICENSE: Reference third-party licenses.
This is to provide a summary of the licenses used by MicroPython.

- Add SPDX identifier for every directory that includes
  non-MIT-licensed content.
- Add brief summary.
- Update docs license to be more explicit.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-06-22 15:50:47 +10:00
foamyguy
17cef0019a remove duplicate line in setup py 2021-06-21 20:14:50 -05:00
Scott Shawcroft
2548f865fe
Merge pull request #4902 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-21 17:57:37 -07:00
Jeff Epler
b1785eb3f1 finish copyright-notice suggestion 2021-06-21 19:52:08 -05:00
Jeff Epler
680ac9388f review suggestion: remove files 2021-06-21 19:51:03 -05:00
Jeff Epler
4401d73efd
Update tools/pyboard.py
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-06-21 19:49:56 -05:00
Dan Halbert
f052dc4d8b ShiftRegisterKeys: allow specifying sense of latch 2021-06-21 19:50:05 -04:00
Hosted Weblate
f9524469b3
Merge remote-tracking branch 'origin/main' into main 2021-06-22 00:28:37 +02:00
Scott Shawcroft
0f54124e08
Merge pull request #4876 from t-ikegami/fix_TileGrid_refresh_areas
Fix partial refresh of displayio.TileGrid
2021-06-21 15:28:34 -07:00
Hosted Weblate
c282e69486
Merge remote-tracking branch 'origin/main' into main 2021-06-22 00:27:16 +02:00
Wellington Terumi Uemura
d372e9561c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-22 00:27:16 +02:00
Scott Shawcroft
44d471a5ab
Merge pull request #4861 from FoamyGuy/upload_stubs_action
Stubs upload actions
2021-06-21 15:27:07 -07:00
Dan Halbert
8c74b4a5f2 fix some typos 2021-06-21 17:47:12 -04:00
Dan Halbert
51c547a5b9 add generic arg validation routines; add interval args to keypad 2021-06-21 12:13:39 -04:00
Hosted Weblate
723266b33f
Merge remote-tracking branch 'origin/main' into main 2021-06-21 15:39:51 +02:00
Jonny Bergdahl
d283034ad2
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-21 15:39:51 +02:00
Dan Halbert
624a53adee
Merge pull request #4900 from hathach/fix-nrf-control-race-condition
update tinyusb to fix nrf control race condition
2021-06-21 09:39:43 -04:00
Dan Halbert
a718d33157 fix doc typos 2021-06-21 09:04:26 -04:00
Dan Halbert
ed41acd879 merge from upstream to fix translations 2021-06-21 08:26:44 -04:00
Dan Halbert
154e91ab85 add EventQueue.store_next() to allow reusing event objects 2021-06-21 08:18:06 -04:00
Lucian Copeland
a23c659eda Add alarm tests 2021-06-20 18:09:18 -04:00
Lucian Copeland
1f3d69d87c Clean up sleep memory, mark as not-implemented 2021-06-20 17:57:51 -04:00
Lucian Copeland
372ddfd562 Fix deep sleep masking, cleanup 2021-06-20 17:20:47 -04:00
Lucian Copeland
626e4e9748 Fix missed precommit formatting 2021-06-20 17:00:56 -04:00
Lucian Copeland
2c30312dd4 Fix waitskip behavior 2021-06-20 16:57:20 -04:00
Lucian Copeland
cf9741bd3a Merge remote-tracking branch 'upstream/main' into setnextcode 2021-06-20 15:25:37 -04:00
Damien George
bbf9dd849a esp32/boards/sdkconfig.base: Disable MEMPROT_FEATURE to alloc from IRAM.
Dynamically generate/loaded native code (eg from @micropython.native or
native .mpy files) needs to be able allocate from IRAM, and the memory
protection feature must be disabled for that to work.  Disabling it is
needed to get native code working on ESP32-S2 and -C3.

Signed-off-by: Damien George <damien@micropython.org>
2021-06-20 22:54:20 +10:00
Hosted Weblate
a9a4d2e613
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-06-19 22:18:06 +02:00
Hosted Weblate
7dbd754416
Merge remote-tracking branch 'origin/main' into main 2021-06-19 22:18:04 +02:00
hexthat
4c5bccba0a
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-06-19 22:18:03 +02:00
Zoltán Vörös
f19dbf637d
Translated using Weblate (German)
Currently translated at 75.8% (754 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2021-06-19 22:18:03 +02:00
Limor "Ladyada" Fried
6dbeb75a4f
Merge pull request #4880 from jepler/esp32s2-imagecapture
Esp32s2: implement ParallelImageCapture
2021-06-19 16:17:56 -04:00
foamyguy
c81f3fd789 Merge branch 'adafruit_main' into upload_stubs_action
# Conflicts:
#	setup.py
2021-06-19 12:36:13 -05:00
foamyguy
1fe38138e8 use scm_version for stubs. seperate stubs upload from S3 mpy-cross upload steps in actions. 2021-06-19 12:33:34 -05:00
hathach
b3a91220de fix build with esp32s2 2021-06-19 12:55:54 +07:00
David Lechner
259d9b69fe py/mpstate: Schedule KeyboardInterrupt on main thread.
This introduces a new macro to get the main thread and uses it to ensure
that asynchronous exceptions such as KeyboardInterrupt (CTRL+C) are only
scheduled on the main thread. This is more deterministic than being
scheduled on a random thread and is more in line with CPython that only
allow signal handlers to run on the main thread.

Fixes issue #7026.

Signed-off-by: David Lechner <david@pybricks.com>
2021-06-19 09:49:00 +10:00
David Lechner
ca920f7218 py/mpstate: Make exceptions thread-local.
This moves mp_pending_exception from mp_state_vm_t to mp_state_thread_t.
This allows exceptions to be scheduled on a specific thread.

Signed-off-by: David Lechner <david@pybricks.com>
2021-06-19 09:43:44 +10:00
Jeff Epler
a5876f4dea fix compile error on boards with inline asm 2021-06-18 16:59:48 -05:00
Jeff Epler
a703561402 remove docs added in merge 2021-06-18 16:02:44 -05:00
hathach
683304fd3c update tinyusb to fix nrf control race condition 2021-06-19 02:27:41 +07:00
Jeff Epler
198e3aded7 imagecapture: Fix doc markup, update docs for data_pins
Closes: #4896
2021-06-18 12:40:35 -05:00
Dan Halbert
db297add67 fix other too-big builds 2021-06-18 13:20:31 -04:00
Dan Halbert
03adbbca7c turn off keypad by default on all SAMD21, for now 2021-06-18 12:26:48 -04:00
Jeff Epler
fa29be5aea restore a redundant NULL-comparison, it silences compiler diagnostics 2021-06-18 11:24:39 -05:00
Jeff Epler
e1d7e46e88 fix keyboard interrupt 2021-06-18 11:15:51 -05:00
Dan Halbert
8cd7e774e7 add KeyMatrix columns_to_anodes arg 2021-06-18 12:03:47 -04:00
Jeff Epler
8647097078 remove micropython board 2021-06-18 10:59:52 -05:00
Jeff Epler
c50c05aa21 remove workflow file from micropython 2021-06-18 10:58:57 -05:00