Commit Graph

28450 Commits

Author SHA1 Message Date
KurtE
219ef5e407 disable on mimxrt10xx (Teensy40 41) Serial port Hooks
As mentioned in issue #6241  the commit to setup port hooks is now
    causing all input/output that are to go to the Mu window to also
    go to the LpUart that is defined the port serial.c

    and in this case it goes to lpuart4, which on Teensy 4, 4.1 is
    used on Arduino Serial2.  With this new code this port no longer
    works properly.

    This is one way to solve it, in that there is a #if defined() that
    if not set, all of the code in this file is ignored and the higher
    level supervisor stub versions of these functions will be used, which
    don't interfere with Serial2 and my test sketch works again.

    Note: the PR for Switch to Port Serial Hooks, also changed code in
    other ports.  I have not tried to see how.

    There are other more global fixes for this, in which maybe a higer
    level  #if that disables the code within the top level supervisor.  Or
    could be software controlled

    Again this may not be the final solution, but at least it gets
    Serial2 up and running agin.
2022-04-06 15:58:27 -07:00
KurtE
ef9f9c8bf0 Update PID/VID and Flash 2022-04-06 15:22:24 -07:00
KurtE
a69738c592 Start setting up a Teensy MicroMod port 2022-04-06 14:19:38 -07:00
Dan Halbert
b0bb5ff5d3
Merge pull request #6253 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-04-06 13:26:02 -04:00
Hosted Weblate
67dea13392
Merge remote-tracking branch 'origin/main' 2022-04-06 19:22:08 +02:00
Dan Halbert
dbb6f5f16c
Merge pull request #6246 from DavePutz/issue_6148
Don't reset GPIO4 on the MagTag (used for voltage monitoring)
2022-04-06 13:22:01 -04:00
Dominic Davis-Foster
f297e872d6
Account for divisor when overriding position. 2022-04-06 18:13:59 +01:00
Hosted Weblate
84e77ef89c
Merge remote-tracking branch 'origin/main' 2022-04-06 19:13:45 +02:00
Dan Halbert
742c05db28
Merge pull request #6226 from EmergReanimator/fs_stub_build_fix
Fixed internal flash filesystem stub build issue
2022-04-06 13:13:36 -04:00
Hosted Weblate
4a2b68000e
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/
2022-04-06 18:06:54 +02:00
Hosted Weblate
3ba81c344f
Merge remote-tracking branch 'origin/main' 2022-04-06 18:06:51 +02:00
Dan Halbert
2693a4cfe1
Merge pull request #6069 from gamblor21/uzlib-module
zlib Module
2022-04-06 12:06:44 -04:00
Hosted Weblate
d0da2de999
Merge remote-tracking branch 'origin/main' 2022-04-06 17:55:11 +02:00
Dan Halbert
1a329cfd11
Merge pull request #6029 from jepler/pio-wrap
raspberry: StateMachine: Add support for wrap=, wrap_target=
2022-04-06 11:55:02 -04:00
Dan Halbert
99dc4029dc Espressif: disable pull-up on AnalogIn creation 2022-04-06 11:33:56 -04:00
Hosted Weblate
45a66c65ca
Merge remote-tracking branch 'origin/main' 2022-04-06 16:37:27 +02:00
Dan Halbert
1cd3e222f5
Merge pull request #6251 from PontusO/main
Added support for 4MB flash.
2022-04-06 10:37:17 -04:00
Jeff Epler
b8d0aadf54
Merge remote-tracking branch 'origin/main' into fs_stub_build_fix 2022-04-06 09:26:39 -05:00
Hosted Weblate
dbe929d7f1
Merge remote-tracking branch 'origin/main' 2022-04-06 15:40:46 +02:00
Dan Halbert
85ce1610ea
Merge pull request #6245 from jepler/document-tilegrid-8bit
Document TileGrid limitation to tile values 0..255 & improve mp3 doc
2022-04-06 09:40:41 -04:00
Hosted Weblate
0c97ac041b
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/
2022-04-06 15:37:52 +02:00
Hosted Weblate
d8af5edff1
Merge remote-tracking branch 'origin/main' 2022-04-06 15:37:49 +02:00
Jeff Epler
b7acdee226
Translated using Weblate (Russian)
Currently translated at 37.7% (398 of 1053 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2022-04-06 15:37:49 +02:00
Dan Halbert
83e1b5b058
Merge pull request #6248 from jepler/refactor-keypad
refactor keypad to share more code; fix initial keys pressed
2022-04-06 09:37:43 -04:00
Pontus Oldberg
286e26edf0 Added support for 4MB flash. 2022-04-06 11:08:22 +02:00
ViktorWiz
76efdfd9a6 initial commit for w5100s-evb-pico 2022-04-06 14:52:28 +09:00
Dan Halbert
359d8e5773
Merge pull request #6234 from jepler/merge-7.2.x
Merge 7.2.x
2022-04-05 16:53:22 -04:00
Jeff Epler
d7c86c0e3e
refactor keypad to share more code
This saves 444 bytes on the pygamer build (both commits taken together)

testing performed:
 * pygamer (samd51) with ShiftRegisterKeys
 * macropad (rp2040) with Keys
 * UM feather s2 (esp32-s2) with KeyMatrix

Result:
 * all ports still worked nicely
 * keys held down at start always registered (>2 trials all boards, >100 trials esp32-s2)
 * keys held down are immediately registered after reset() (>100 trials esp32-s2)
 * double .reset() is OK, accessing .events throws (only tested esp32-s2)
2022-04-05 14:50:30 -05:00
Jeff Epler
203dad11bf
keypad: scan immediately on construct, .reset() 2022-04-05 14:50:30 -05:00
Dan Halbert
7ad35bf67d
Merge pull request #6239 from ReeceRobinson/reecer-hid-usage-fix
Enable support for extended HID usage page and usage. Related to Supp…
2022-04-05 12:40:18 -04:00
root
b993313ac1 Don't reset GPIO4 (used for voltage monitoring) 2022-04-05 11:30:12 -05:00
Jeff Epler
c89af99f59
Advise about ways to improve mp3 playback
Closes: #6133
2022-04-05 09:18:01 -05:00
Jeff Epler
d24f3b812d
Document TileGrid limitation to tile values 0..255
Closes #6149
2022-04-05 09:07:35 -05:00
Jeff Epler
fe98248a3d
Merge remote-tracking branch 'origin/7.2.x' into merge-7.2.x 2022-04-05 08:45:13 -05:00
Jeff Epler
e0827eb52a
Merge pull request #6238 from dhalbert/ringbuf-free-fix
Free ringbuf buffer by relying on gc, not gc_free()
2022-04-05 08:43:36 -05:00
Jeff Epler
8cd09b1f0d
Merge pull request #6240 from dhalbert/7.2.x-rp2040-clear-uart-rtic-interrupt
handle clearing both RXIC and RTIC interrupts
2022-04-05 08:43:22 -05:00
Dan Halbert
47d3d0d7f8
Merge pull request #6202 from jepler/issue5985
samd: Don't rely on RTC interrupt
2022-04-05 09:16:40 -04:00
Dan Halbert
c3539f0948
bump espressif CI cache id 2022-04-05 09:12:02 -04:00
Dan Halbert
259e56062f
Update mpy-cross/mpy-cross.mk 2022-04-05 09:10:25 -04:00
Dan Halbert
204a1d3e7e
Merge pull request #6231 from jepler/fix-build-clang13
py/vm: Prevent array bound warning when using -MP_OBJ_ITER_BUF_NSLOTS.
2022-04-05 09:01:40 -04:00
Dan Halbert
c3cf9267b8
Merge pull request #6230 from jepler/audio-fix-looping
MP3Decoder: Accurately inform when no more data
2022-04-05 09:00:54 -04:00
Dan Halbert
4cccc1a036 handle clearing both RXIC and RTIC interrupts 2022-04-04 23:55:08 -04:00
Dan Halbert
0da10d802c
advance espressif CI cache id 2022-04-04 22:36:58 -04:00
Dan Halbert
70add52775 advance espressif CI cache key 2022-04-04 22:15:31 -04:00
Reece Robinson
4b0f80f081 Enable support for extended HID usage page and usage. Related to Support HID Usage Pages and Usages >255 #5529 2022-04-05 13:54:07 +12:00
Dan Halbert
076d9f74a5
Merge pull request #6233 from jepler/nrf-fix-pwm-reset
nrf: Correctly mark PWM unused during reset
2022-04-04 20:46:07 -04:00
Dan Halbert
b29b7bfe32 Free ringbuf buffer by relying on gc, not gc_free() 2022-04-04 20:34:49 -04:00
EmergReanimator
f7fd168396 Incorporated feedback from PR. 2022-04-04 21:47:05 +02:00
Jeff Epler
fa4b4fa639
nrf: Correctly mark PWM unused during reset 2022-04-04 10:08:54 -05:00
Damien George
a43cfdd274
py/vm: Prevent array bound warning when using -MP_OBJ_ITER_BUF_NSLOTS.
This warning can happen on clang 13.0.1 building mpy-cross:

../py/vm.c:748:25: error: array index -3 refers past the last possible
  element for an array in 64-bit address space containing 64-bit (8-byte)
  elements (max possible 2305843009213693952 elements)
  [-Werror,-Warray-bounds]
                        sp[-MP_OBJ_ITER_BUF_NSLOTS + 1] = MP_OBJ_NULL;
                        ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~

Using pointer access instead of array access works around this warning.

Fixes issue #8467.

Signed-off-by: Damien George <damien@micropython.org>
2022-04-04 09:22:30 -05:00