Commit Graph

31367 Commits

Author SHA1 Message Date
Jeff Epler c026704fd2
gifio does require displayio 2023-07-26 08:54:02 -05:00
Jeff Epler c516870f89
switch camera to use the no-ota partition scheme
this gives us a comfortable few hundred kB flash space left for the app

1398912 bytes used,  763776 bytes free in flash firmware space out of 2162688 bytes (2112.0kB).
2023-07-26 08:38:59 -05:00
Jeff Epler 9edd8957a1
Add a "4MB without OTA" partition scheme
This is needed on the camera board, because we have a lot of code.
2023-07-26 08:38:30 -05:00
Jeff Epler f503b37b2b
espressif: allow setting FLASH_SDKCONFIG at board level 2023-07-26 08:32:25 -05:00
Jeff Epler d83b8db678
restore fontio define 2023-07-25 21:34:57 -05:00
Jeff Epler 9a18524c30
simplify circuitpy_mpconfig with enable-if-any, -all
and make corresponding simplifications in shared-bindings-matrix,
but directly using the final defines from CFLAGS instead of the
status quo.

The net changes are to disable audiocore & audiomixer on some espressif
devices that have no audio output at all. Other than that, the
shared-bindings-matrix seems to be identical.
2023-07-25 19:56:08 -05:00
Jeff Epler fd60cccb06
Re-enable ulab at the expense of some other modules
.. and gate audiomixer based on audiocore (should be no net change)

.. and get rid of now-redundant enables in the espressif mpconfigport
2023-07-25 16:01:11 -05:00
ladyada 45b6c84cdd Merge branch 'main' of github.com:ladyada/circuitpython 2023-07-25 16:13:47 -04:00
ladyada 767b7a0506 compiling 2023-07-25 16:12:53 -04:00
Limor "Ladyada" Fried 1303fe5378
Merge branch 'adafruit:main' into main 2023-07-25 16:10:42 -04:00
Dan Halbert 8de3467550
Merge pull request #8209 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-07-25 09:19:35 -04:00
Hosted Weblate 3bf1f4f274
Merge remote-tracking branch 'origin/main' 2023-07-25 03:50:22 +02:00
Dan Halbert 2d53627796
Merge pull request #8189 from todbot/esp32_synthio_channels
ESP32 synthio channels to 12
2023-07-24 21:39:00 -04:00
Hosted Weblate 3397d2d42f
Merge remote-tracking branch 'origin/main' 2023-07-24 19:19:00 +02:00
Scott Shawcroft 03261fe188
Merge pull request #8191 from gaweng/main
displayio: added Mapping to bits_per_value getter
2023-07-24 10:18:56 -07:00
Hosted Weblate 4d77f0ccd0
Merge remote-tracking branch 'origin/main' 2023-07-24 19:18:14 +02:00
Scott Shawcroft be0028ec16
Merge pull request #8192 from gaweng/ssl
ssl: Mapping python None to NULL in cadata var
2023-07-24 10:18:09 -07:00
Hosted Weblate 082bb7c148
Merge remote-tracking branch 'origin/main' 2023-07-24 19:17:07 +02:00
Scott Shawcroft fff309b90a
Merge pull request #8164 from madcitygeek/add_luatos_core_esp32c3_ch343
Add luatos core esp32c3 ch343
2023-07-24 10:17:03 -07:00
Hosted Weblate 3ee9aaff97
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/
2023-07-24 18:42:48 +02:00
Dan Halbert 66a76d034e
Merge pull request #8187 from tannewt/three_small
Three small changes
2023-07-24 12:42:38 -04:00
Dan Halbert 688f62a927
Merge pull request #8174 from UnexpectedCircuitPython/main
Added second I2C bus and IO for UM FeatherS3
2023-07-23 00:07:42 -04:00
Unexpected Maker 4bc12d9fb0
Update pins.c
Changed naming of the second I2C board reference to match how others name things.
2023-07-23 13:39:53 +10:00
Gaweng Tan 8140d0cb03 Mapping python None to NULL in cadata var 2023-07-22 14:34:06 +02:00
Gaweng Tan e58496feb2 added Mapping to bits_per_value getter 2023-07-22 13:26:34 +02:00
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
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