Scott Shawcroft
fbb005bc54
Merge pull request #5272 from tannewt/fix_nrf_wdt_crashes
...
Fix two watchdog crashes
2021-08-31 15:54:56 -07:00
Scott Shawcroft
92a43192f8
Fix mpy-cross by providing default
2021-08-31 13:38:37 -07:00
Scott Shawcroft
771b4c7464
Add two space saving knobs
...
* Reduce the number of supported HID reports of IDs per descriptor.
This saves ~200 bytes in the default HID objects.
* (Not enabled) Compute QSTR attrs on init. This trades 1k RAM for
flash. Flash is the default (1).
2021-08-31 13:02:34 -07:00
Scott Shawcroft
cc0a6c8a5f
Merge remote-tracking branch 'adafruit/main' into fix_nrf_wdt_crashes
2021-08-31 11:03:44 -07:00
Scott Shawcroft
65753a1c25
Merge pull request #5275 from lesamouraipourpre/gen-display-headers
...
Fix crash in gen_display_resources.py
2021-08-31 10:00:18 -07:00
Scott Shawcroft
80675107cf
Merge pull request #5270 from pewpew-game/safe-mode-wait
...
Add a flag to skip waiting for safe mode
2021-08-31 09:56:29 -07:00
James Carr
3e543264a5
Convert all_characters to a list before using extend()
2021-08-31 15:26:28 +01:00
microDev
d314df8b84
Merge pull request #5274 from capellini/mp-register-module-pybadge-remaining
...
Convert more modules to use MP_REGISTER_MODULE
2021-08-31 13:30:30 +05:30
microDev
513ca098f9
Merge pull request #5273 from tannewt/fix_nrf_light_sleep_cdc
...
Fix nrf light_sleep when on usb
2021-08-31 13:29:04 +05:30
Radomir Dopieralski
e4baefc593
Add a flag to skip waiting for safe mode
...
Sometimes we don't want the delay in the device's startup.
I used a simple flag, but now it also occurs to me that we could
instead make the wait time a define, and set it to 0 to disable it.
2021-08-31 09:53:30 +02:00
microDev
d7a92f7fd6
Merge pull request #5271 from tannewt/switch_cp_serial_uuids
...
Switch CircuitPython serial off Nordic UUIDs
2021-08-31 09:14:03 +05:30
microDev
1dbeed87af
Merge pull request #5253 from tannewt/fix_nrf_gpiote_crash
...
Fix GPIOTE crashes by checking everything is ok
2021-08-31 09:11:36 +05:30
Rob Capellini
1c8828223f
Convert more modules to use MP_REGISTER_MODULE
...
Convert neopixel_write, onewireio, ps2io, pulseio, pwmio, rainbowio, random, rgbmatrix, rotaryio, rtc, sdcardio, sharpdisplay, _stage, storage, struct, supervisor, synthio, touchio, traceback, usb_cdc, usb_hid, usb_midi, and vectorio modules to use MP_REGISTER_MODULE.
Related to #5183 .
2021-08-30 22:29:51 -04:00
Scott Shawcroft
6ef5241f59
Merge pull request #5267 from pewpew-game/meowbit-stage
...
stm32: Add support for Stage games to Meowbit
2021-08-30 18:35:41 -07:00
Scott Shawcroft
5fb4fa6f12
Merge pull request #5260 from jepler/paralleldisplay
...
Split out paralleldisplay to its own module
2021-08-30 18:35:15 -07:00
Scott Shawcroft
fa9c2189d4
Fix nrf light_sleep when on usb
...
Don't let pending serial input wake us up
Fixes #5257
2021-08-30 18:26:12 -07:00
Scott Shawcroft
a4246bcfa3
Fix two watchdog crashes
...
Fixes a crash from trying to raise an exception when trying to
deinit a RESET wdt by not raising an exception.
Fixes a crash when raise a wdt exception in the REPL when waiting
for input. We now catch and print any exceptions raised.
Fixes #5261
2021-08-30 18:10:43 -07:00
Scott Shawcroft
3ea90dbc1e
Merge pull request #5263 from jepler/printf-0xp
...
Include leading 0x on addresses printed with %p
2021-08-30 18:00:43 -07:00
Scott Shawcroft
76cbd0d74a
Switch CircuitPython serial off Nordic UUIDs
...
This will un-break examples that got confused by the presence of
two Nordic UART Services. It also adds a version characteristic
that gives the CircuitPython build tag back.
Fixes #5252
2021-08-30 15:09:12 -07:00
Scott Shawcroft
838d30b3a4
Fix incorrect macros
2021-08-30 14:40:14 -07:00
Scott Shawcroft
558f9cdfc1
Fix meminfo test
2021-08-30 14:23:11 -07:00
Scott Shawcroft
8fbb3e6d25
Merge pull request #5239 from durapensa/s2mini
...
Add board Lolin S2 Mini
2021-08-30 14:12:56 -07:00
Scott Shawcroft
eabceb9fce
Fix builds without alarm
2021-08-30 14:09:36 -07:00
Radomir Dopieralski
89fc1890af
stm32: Add support for Stage games to Meowbit
...
This enables the _stage library and adds stage and ugame modules to the
frozen modules, so that all Stage games should work.
I had to do several hacks:
* Since displayio.release_displays doesn't release the pins, I couldn't
re-initialize the display inside the ugame module. Instead I changed
the default display initialization for the board to match what Stage
expects.
* I wanted to make the MENU key works as K_Z, but when I try to use it
with the keypad module, I get "pin in use" error. So for now only the
A and B buttons are used.
2021-08-30 20:27:50 +02:00
microDev
156dfad41d
Merge pull request #5264 from pewpew-game/update-stage-pygamer
...
Update stage library to use keypad module on pygamer and pybadge
2021-08-30 20:54:14 +05:30
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