Commit Graph

32336 Commits

Author SHA1 Message Date
Dan Halbert
823e505572
Merge pull request #8184 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-07-21 13:14:35 -04:00
Tod Kurt
a5fc766b2f ESP32 synthio channels to 12 2023-07-21 10:06:17 -07:00
Scott Shawcroft
924422eff8
Merge remote-tracking branch 'adafruit/main' into three_small 2023-07-21 09:37:26 -07:00
Hosted Weblate
d4c4e0bdb9
Merge remote-tracking branch 'origin/main' 2023-07-21 18:37:20 +02:00
Scott Shawcroft
9e22850d51
Merge pull request #8186 from jepler/synthio-note-state
synthio: Add Synthesizer.note_state
2023-07-21 09:37:14 -07:00
hexthat
c0de8a9cd9
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2023-07-21 02:10:43 +02:00
Scott Shawcroft
525dad71c3
Add RuntimeError_varg and fix imx capitalization 2023-07-20 16:00:43 -07:00
Jeff Epler
60b233f160
document EnvelopeState 2023-07-20 16:26:07 -05:00
Jeff Epler
70cf0610cc
disable synthio on this board, it's very full 2023-07-20 14:18:03 -05:00
Jeff Epler
f71831dea9
skip all the byecode hex data, it's adequately checked
... by the disassembly just below

This was tripped up because in exactly the right conditions some qstr
could be of the form 'xx 63' and make the expression `\.\+63` match
something other than what was intended.

This test was re-worked upstream for mpy version 6 so it'll be a conflict
to resolve when we get to that. :-/
2023-07-20 14:10:44 -05:00
Jeff Epler
29a4364ba7
fix method signature 2023-07-20 14:05:56 -05:00
Scott Shawcroft
a56e97db1d
Align MP heap allocations to cache lines 2023-07-20 11:20:32 -07:00
Scott Shawcroft
d7fa7380b8
Move some find_qstr wrappers to tcm next to it 2023-07-20 11:20:32 -07:00
Scott Shawcroft
5f082561b3
Unify some error strings 2023-07-20 11:20:32 -07:00
Jeff Epler
346f08f8b9
synthio: Add Synthesizer.note_state
This enables the specific use case of checking whether a note's release
phase has ended, but is also potentially useful to implement a sort of
"voice stealing" algorithm in Python code, which can take account of
the note's envelope state as well as other factors specific to the
program.
2023-07-20 13:16:00 -05:00
Scott Shawcroft
98bd9e50d9
Merge pull request #8185 from jepler/document-optional-types-functions
Document optional types & functions
2023-07-20 10:31:28 -07:00
Jeff Epler
f41e314f48
document builtins.pow3 availability
this makes it show up in the support matrix
2023-07-20 11:16:49 -05:00
Jeff Epler
f15eceb24c
Document more classes that can be separately enabled 2023-07-20 11:16:49 -05:00
Jeff Epler
aca93d0ebb
MODULES_NOT_IN_BINDINGS can skip listing things in ADDITIONAL_MODULES 2023-07-20 11:16:49 -05:00
Jeff Epler
6a2499227a
render the board support list within the docs of os.getenv 2023-07-20 11:16:48 -05:00
Jeff Epler
9593ec44b1
add os.getenv to the support matrix 2023-07-20 11:16:48 -05:00
Jeff Epler
d7ff56b00e
sort a block of items 2023-07-20 11:16:48 -05:00
Jeff Epler
8ea0835ff6
Allow any files to be rendered as jinja templates
by including a comment ".. jinja" anywhere in the file. By convention,
this should be at the top.

os.getenv will use this so it can render a 'supported boards' list.
2023-07-20 11:16:48 -05:00
Hosted Weblate
3fc3a92383
Merge remote-tracking branch 'origin/main' 2023-07-20 00:04:24 +02:00
Scott Shawcroft
305303996d
Merge pull request #8182 from tannewt/usb_host_singleton
Make usb_host.Port a singleton
2023-07-19 15:04:19 -07:00
Andi Chandler
b2c3297358
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-07-19 23:06:20 +02:00
Luc
b10294e939
Translated using Weblate (German)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-07-19 23:06:19 +02:00
Scott Shawcroft
e81ed62cfd
Add missing header file 2023-07-19 11:46:04 -07:00
Scott Shawcroft
12d1181c64
Merge pull request #8183 from Qyriad/features/samx5x-external-clock
samx5x: support external clock sources
2023-07-19 09:59:27 -07:00
Dan Halbert
74eb360922
Merge pull request #8143 from kolkmvd/ShiftRegister-multi-data-pin
Extended ShiftRegisterKeys to support multiple data pins with shared clock and latch
2023-07-18 23:30:13 -04:00
Qyriad
3f3ec1c835 samx5x: support external clock sources
Adds two board config define's, which can be added in a board's
mpconfigboard.h: BOARD_XOSC_FREQ_HZ, and BOARD_XOSC_IS_CRYSTAL, which
are passed to clock_init(). External clock sources are currently only
implemented for SAM_D5X_E5X series chips, so defining BOARD_XOSC_FREQ_HZ
for a SAMD21 board will emit an error.

Signed-off-by: Qyriad <qyriad@qyriad.me>
2023-07-18 17:12:58 -06:00
Jeff Epler
3ec9f8a118
Merge pull request #8136 from FoamyGuy/blit_skip_self_index
adding skip_self_index argument to bitmap.blit()
2023-07-18 15:17:28 -05:00
Scott Shawcroft
1629faf8b3
Make usb_host.Port a singleton
This allows you to initialize usb_host.Port once successfully and
then returns the same object as long as you pass the same arguments
in. It does allow you to fix incorrect pins but not switching from
one valid set to another. (It needs a reset for that.)

This also moves hcd cache operations to RAM so that they don't
access the cache when doing maintenance.
2023-07-18 10:40:54 -07:00
ladyada
dd266f2622 renamed since we are now s3 2023-07-18 01:02:38 -04:00
Scott Shawcroft
a2002e364c
Merge pull request #8165 from anecdata/wifi_docs
Networking docs updates: Access Point, MDNS
2023-07-17 14:58:28 -07:00
Scott Shawcroft
2a83657b6f
Merge pull request #8161 from jepler/usb_host_keyboard
usb host: add keyboard map control in usb workflow
2023-07-17 14:57:13 -07:00
Scott Shawcroft
e2e8b162b6
Merge pull request #8175 from kbsriram/fromkeys-fix
py/objdict: Fix fromkeys to return the right type.
2023-07-17 14:56:14 -07:00
Dan Halbert
bb81b2ecf5
Merge pull request #8181 from jepler/update-metro-rp2040-flash
update metro rp2040 to work with 16MB flash
2023-07-17 14:19:07 -04:00
Jeff Epler
4f09078293
update metro rp2040 to work with 16MB flash 2023-07-17 12:56:55 -05:00
Jeff Epler
fd1fdee312
move set_user_keymap to usb_host module 2023-07-17 09:08:13 -05:00
Dan Halbert
fddb582390
Merge pull request #8180 from anecdata/ipv4_address_ap-read-only
docs:  wifi.radio.ipv4_address_ap is read-only
2023-07-16 23:54:42 -04:00
anecdata
8289722679
docs: wifi.radio.ipv4_address_ap is read-only 2023-07-16 20:35:49 -05:00
Dan Halbert
4b4fb47088
Merge pull request #8177 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-07-16 09:35:52 -04:00
hexthat
2295b1f1ea
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2023-07-16 06:32:18 +02:00
Jose David M
1e2b25be56
Translated using Weblate (Spanish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-07-16 06:32:17 +02:00
Dan Halbert
4a21e05ab6
Merge pull request #8170 from tannewt/fix_rp2_safe_mode
Fix rp2 safe mode via reset press
2023-07-15 17:13:18 -04:00
KB Sriram
03e93f8e6c py/objdict: Fix fromkeys to return the right type.
Fixes https://github.com/adafruit/circuitpython/issues/8173

It looks like a small fix, and mostly independent of upstream
plans around https://github.com/micropython/micropython/pull/6173

I also filed an issue upstream
https://github.com/micropython/micropython/issues/12011
2023-07-14 22:03:06 -07:00
Seon Rozenblum
9642e38783 Added second I2C B\bus IO and stuff for FeatherS3 2023-07-15 08:52:57 +10:00
Scott Shawcroft
4e01674cbd
Fix rp2 safe mode via reset press
The picodvi PR #7880 switched the saved word to the watchdog
register since it reworked the RAM layout. This works for
reset_into_safe_mode because the watchdog scratch registers are
preserved by soft resets. They *aren't* preserved for pressing the
reset button. So it broken manual safe mode. Switch back to using
RAM to store the saved word but use the pico-sdks "uninitialized"
designation instead of a fixed location.

Also fixes USB host feather status neopixel by setting the power
pin.
2023-07-13 14:49:08 -07:00
Scott Shawcroft
8de9d5a522
Merge pull request #8169 from jepler/os-getenv-exception
throw an exception if os.getenv is used on a board without settings.t…
2023-07-13 10:49:42 -07:00