Commit Graph

24889 Commits

Author SHA1 Message Date
Scott Shawcroft 31b9dd408d
Merge pull request #5245 from jepler/pool-fix-circuitpython
gc.c: Ensure a gap of one byte before the finaliser table.
2021-08-27 09:33:05 -07:00
Scott Shawcroft 3e9daeca8f
Merge pull request #5244 from dhalbert/stop-pio-on-deinit
Stop StateMachine explicitly on deinit
2021-08-27 08:59:04 -07:00
Scott Shawcroft 8edf0c5d3c
Merge pull request #5243 from dhalbert/user-interruptible-pio
Allow PIO to be user-interruptible
2021-08-27 08:57:08 -07:00
Scott Shawcroft b17216d9d4
Merge pull request #5199 from aramcon-badge/aramcon/quick-refresh
Adding quick refresh support
2021-08-27 08:54:44 -07:00
Jeff Epler ab4ab2aee1
Merge pull request #5241 from capellini/mp-register-module-pybadge-b-m
Convert more modules to use MP_REGISTER_MODULE
2021-08-27 10:35:17 -05:00
Limor "Ladyada" Fried 12f3213aa2
Merge pull request #5242 from lesamouraipourpre/patch-2
Minor typo in README.rst
2021-08-27 11:30:24 -04:00
Dan Halbert 09897dbc82
Merge pull request #5238 from tannewt/fix_rp2_usb
Fix usb irq race
2021-08-27 10:40:06 -04:00
Jeff Epler 955c0276c2 Merge remote-tracking branch 'origin/main' into pool-fix-circuitpython 2021-08-27 09:26:29 -05:00
Jeff Epler 5a162eb168 gc.c: Ensure a gap of one byte before the finaliser table.
.. or, for !MICROPY_ENABLE_FINALISER, before the first block of the pool.

Closes: adafruit/circuitpython#5021
Closes: micropython/micropython#7116
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-08-27 09:23:08 -05:00
Jeff Epler 15133cbf59 gc.c: Avoid valgrind false positives.
When you wish to use the valgrind memory analysis tool on micropython,
you can arrange to define MICROPY_DEBUG_VALGRIND to enable use of
special valgrind macros. For now, this only fixes `gc_get_ptr`
so that it never emits the diagnostic "Conditional jump or move depends
on uninitialised value(s)".

Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-08-27 09:23:08 -05:00
Dan Halbert 0261cacb06 Stop StateMachine explicitly on deinit 2021-08-27 10:07:14 -04:00
Dan Halbert f1d25af7ba Allow PIO to be user-interruptible 2021-08-27 08:38:51 -04:00
James Carr 172febefac
Minor typo in README.rst 2021-08-27 12:49:50 +01:00
Jeff Epler c174b7c7e7
Merge pull request #5229 from warmbit/warmbit_bluepixel
add warmbit_bluepixel
2021-08-27 06:48:34 -05:00
microDev b4558a5a8d
Merge pull request #5232 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-27 09:24:08 +05:30
Rob Capellini b8f2799609 Convert more modules to use MP_REGISTER_MODULE
Convert bitbangio, bitmaptools, _bleio, board, busio, countio, digitalio, framebufferio, frequencyio, gamepadshift, getpass, keypad, math, microcontroller, and msgpack modules to use MP_REGISTER_MODULE.

Related to #5183.
2021-08-26 21:35:02 -04:00
Hosted Weblate ee07b337b6
Merge remote-tracking branch 'origin/main' into main 2021-08-27 01:21:38 +02:00
Dan Halbert 41168c8008
Merge pull request #5222 from Neradoc/nera-board-id-in-bootout
Make the board ID available in board and boot_out
2021-08-26 19:21:27 -04:00
Hosted Weblate 5afa96582f
Merge remote-tracking branch 'origin/main' into main 2021-08-26 23:34:12 +02:00
Jonny Bergdahl 19420fb2cf
Translated using Weblate (Swedish)
Currently translated at 100.0% (1021 of 1021 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-26 23:34:12 +02:00
Dan Halbert fa63a41fc4
Merge pull request #5217 from tannewt/ble_workflow_api_v2
Two tweaks to BLE workflow
2021-08-26 17:34:06 -04:00
Neradoc 1302ef62f7 rebase, add adafruit_led_glasses_nrf52840 2021-08-26 23:18:44 +02:00
Neradoc 4d05bb26bf change board.ID to board.board_id 2021-08-26 23:11:55 +02:00
Neradoc fed6e8ea99 Spresense: add CIRCUITPY_BOARD_ID because it doesn't use BASE_CFLAGS 2021-08-26 23:11:55 +02:00
Neradoc b14b294516 add board.ID 2021-08-26 23:11:55 +02:00
Neradoc c70ec3fbbc add the Board ID to boot_out.txt 2021-08-26 23:11:55 +02:00
amit-sides 27502f90cd
Fixed formatting 2021-08-26 20:51:32 +03:00
amit-sides 23bb0bd262
Improved documentation
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-08-26 20:45:38 +03:00
amit-sides 24fcc3f955
Added type hints
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-08-26 20:44:27 +03:00
Scott Shawcroft 9663a227a3
Fix usb irq race
Run the USB background once after we hook our IRQ up in case we
missed one.

Related to #5212
2021-08-26 10:20:26 -07:00
Hosted Weblate 3756e9d9a5
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-08-26 19:10:05 +02:00
Hosted Weblate 7bc9bd1bf2
Merge remote-tracking branch 'origin/main' into main 2021-08-26 19:10:02 +02:00
Jonny Bergdahl 60c2f5cfdc
Translated using Weblate (Swedish)
Currently translated at 100.0% (1021 of 1021 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-26 19:10:02 +02:00
Wellington Terumi Uemura 17919de54e
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1021 of 1021 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-26 19:10:02 +02:00
Scott Shawcroft b36187102f
Merge pull request #5234 from dhalbert/validate-WaveFile-buffer-arg
restrict WaveFile buffer size to 8-1024
2021-08-26 10:09:56 -07:00
Dan Halbert a608934f31 restrict WaveFile buffer size to 8-1024 2021-08-26 09:34:02 -04:00
Hosted Weblate ba4277d823
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-08-26 05:52:21 +02:00
microDev 5425454341
Merge pull request #5208 from jepler/small-memory-savings
Small memory savings
2021-08-26 09:22:14 +05:30
microDev 1d74a6e18f
Merge pull request #5230 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-26 09:14:59 +05:30
Hosted Weblate b5da3250e0
Merge remote-tracking branch 'origin/main' into main 2021-08-26 05:44:07 +02:00
microDev 4805a13b26
Merge pull request #5231 from capellini/mp-register-module-pybadge-a
Convert more modules to use MP_REGISTER_MODULE
2021-08-26 09:14:01 +05:30
Rob Capellini ad103ac6f1 Convert more modules to use MP_REGISTER_MODULE
Convert adafruit_bus_device, adafruit_pixelbuf, analogio, atexit, audiobusio, audiocore, audioio, audiomixer, and audiomp3 modules to use MP_REGISTER_MODULE.

Related to #5183.
2021-08-25 20:48:55 -04:00
Hosted Weblate 5255a81344
Merge remote-tracking branch 'origin/main' into main 2021-08-26 00:51:00 +02:00
Scott Shawcroft 13cba8a17f
Merge pull request #5224 from dhalbert/adafruit_led_glasses_nrf52840
Add adafruit_led_glasses_nrf52840
2021-08-25 15:50:56 -07:00
Hosted Weblate 5ce73f896a
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-08-26 00:35:37 +02:00
Scott Shawcroft c05d3035dc
Merge pull request #5227 from jepler/esp32-nvm
esp32s2: rework nvm/nvs storage
2021-08-25 15:35:30 -07:00
Amit Sides 98f026fbb4 Fixing comments for PR 2021-08-25 15:07:19 -07:00
WarmBit da644bebb3 add warmbit_bluepixel 2021-08-25 15:16:59 -06:00
Jeff Epler 7098d4ccd7 8Kib may align better with flash blocks than 9KiB 2021-08-25 13:39:56 -05:00
Scott Shawcroft d8b3d5af06
Merge pull request #5225 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-25 10:42:49 -07:00