Commit Graph

25077 Commits

Author SHA1 Message Date
Durapensa 80cadc6ec1 Added Espressif-assigned PID for "Lolin S2 Mini - CircuitPython" 2021-08-30 06:31:20 -04:00
Limor "Ladyada" Fried 73be98c9d1
Merge pull request #5265 from ladyada/main
fix i2c
2021-08-29 21:37:51 -04:00
Radomir Dopieralski 02ada0af5f Update stage library to use keypad module on pygamer and pybadge 2021-08-29 23:57:32 +02:00
lady ada d50dc064ee fix i2c 2021-08-29 17:53:57 -04:00
Jeff Epler 83120eb1b2 Actually fix building ports without parallel displays 2021-08-29 11:49:47 -05:00
Jeff Epler f4bb3cc2c8 Fix stubs & doc redirects 2021-08-29 11:43:51 -05:00
Jeff Epler db3945edfe Make %p include the 0x prefix
.. and modify some messages where 0x was specified "manually".

This involves updating some tests to expect the new 0x to appear.
2021-08-29 11:36:29 -05:00
Jeff Epler 68af5fd040 unix: Filter out -std=gnu11
On Debian Bullseye, it is an error to include this flag when building
a C++ file, which caused the unix coverage build to fail.
2021-08-29 11:36:17 -05:00
Jeff Epler 266b6a1dd9 mkrules: Fix warning preprocessing C++ files
Messages like 'command-line option is [not valid] for C++' can result
from the way the preprocessor is invoked by `genlast`.  Instead, cause
the files to be preprocessed as though their content is "C".  This
should generally be OK, as they'll eventually be _compiled_ as C++.
When preprocessed as C, the file simply needs to generate all the same
QSTRS and TRANSLATEs.
2021-08-29 11:36:17 -05:00
Jeff Epler d7193dcf7c remove debug print 2021-08-29 11:36:17 -05:00
Jeff Epler 8f024316ad explicitly disable paralleldisplay on a few boards 2021-08-29 07:33:54 -05:00
Jeff Epler 468558896c remove paralleldisplay from ports where it was unimplemented 2021-08-29 07:33:54 -05:00
Jeff Epler 7520feed1c Move ParallelBus to its own module 2021-08-29 07:33:54 -05:00
Jeff Epler be0b405e9b
Merge pull request #5256 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-28 18:58:24 -05:00
Hosted Weblate 92abe7b204
Merge remote-tracking branch 'origin/main' into main 2021-08-28 16:44:16 +02:00
Dan Halbert 5a4029059e
Merge pull request #5246 from jpconstantineau/board-CNCEncoderPad-RP2040
Add New Board: EncoderPad RP2040
2021-08-28 10:44:10 -04:00
Hosted Weblate 7487d9e575
Merge remote-tracking branch 'origin/main' into main 2021-08-28 05:15:07 +02:00
microDev b90a16b67c
Merge pull request #5255 from tannewt/fix_rp_countio
Fix RP2 countio reset
2021-08-28 08:45:00 +05:30
Wellington Terumi Uemura d172b8dddb
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-28 03:34:14 +02:00
Scott Shawcroft f71d9e0a20
Merge pull request #5250 from tannewt/update_idf4.3+
Update the idf to a newer 4.3 commit
2021-08-27 17:45:34 -07:00
Scott Shawcroft 6e7e703f89
Fix RP2 countio reset
Fixes #5251
2021-08-27 17:39:19 -07:00
Dan Halbert dd89ff244d
Merge pull request #5249 from dhalbert/usb_hid-gc-fix
Fix usb_hid_gc_collect()
2021-08-27 19:27:55 -04:00
Scott Shawcroft a8dd881ee5
Fix GPIOTE crashes by checking everything is ok
Fixes #5240 and fixes #5211
2021-08-27 16:07:29 -07:00
Scott Shawcroft ca989c4357
Update the idf to a newer 4.3 commit
Also, make all port-level CIRCUITPY_ settings overridable.
2021-08-27 10:49:57 -07:00
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
Dan Halbert 29ae444dc6 Fix usb_hid_gc_collect() 2021-08-27 11:36:56 -04: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
Pierre Constantineau ada178893d updated PID as per OpenMoko PR 2021-08-27 09:02:49 -06: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
Pierre Constantineau e07bce2bf1 fixing trailing space 2021-08-27 00:25:22 -06:00
Pierre Constantineau 873729149d adding EncodderPad RP2040 2021-08-26 23:08:10 -06: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