Commit Graph

34449 Commits

Author SHA1 Message Date
Dan Halbert
2f391e5679 restore SUPEROPT_GC, SUPEROPT_VM 2023-10-12 15:25:28 -04:00
Dan Halbert
a13185bb34 fix inclusion of ulab sources 2023-10-12 11:03:00 -04:00
Taiki Komoda
33e90ba8fe Fix pid and clean comments 2023-10-12 13:33:56 +09:00
Scott Shawcroft
81ccc606b9
Fix memorymap type check 2023-10-11 14:11:48 -07:00
Scott Shawcroft
1f38293096
Fix ESP related issues 2023-10-11 14:11:29 -07:00
Scott Shawcroft
9633c4e78f
Merge remote-tracking branch 'adafruit/main' into v1.20-merge 2023-10-11 11:21:57 -07:00
Scott Shawcroft
4c4eba88db
Add lib/mbedtls back 2023-10-11 10:05:02 -07:00
Scott Shawcroft
26a503f56c
Remove two mpy docs 2023-10-11 10:05:02 -07:00
Scott Shawcroft
db9085cab7
Hopefully fix mpy-cross-mac build 2023-10-11 10:04:03 -07:00
Scott Shawcroft
9ded673895
Unpack mpy-cross to the new location 2023-10-11 10:04:03 -07:00
Scott Shawcroft
6e278900bd
Only include mpconfigport.h once 2023-10-11 10:04:03 -07:00
Scott Shawcroft
9be3999e78
Add back makefile print variable 2023-10-11 10:04:02 -07:00
Scott Shawcroft
01aec147ca
Add windows/fmode.c for mpy-cross 2023-10-11 10:04:02 -07:00
Scott Shawcroft
2910dea6fd
Almost fix extra_coverage test 2023-10-11 10:04:02 -07:00
Scott Shawcroft
22a44c6003
Try and fix mpy-cross variants 2023-10-11 10:03:46 -07:00
Dan Halbert
7869706551 force FROZEN_MANIFEST build; add back make print-% 2023-10-10 22:10:17 -04:00
Taiki Komoda
d638aa07aa brightness is now functional 2023-10-09 12:18:50 +09:00
Sumitra Sharma
002961775b Refine error message for rp2040 audiobusio I2S object creation
The error message for creating an I2S object on the rp2040 platform
in CircuitPython can be misleading when the word_select and data pins
are not sequential. This change updates the error message to provide
clearer guidance by specifying "GPIO pins" instead of just "pins".
The revised message now reads:

ValueError: Bit clock and word select must be sequential GPIO pins

Closes #8058

Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.com>
2023-10-08 20:54:55 +05:30
Dan Halbert
426e54fb87
Merge pull request #8464 from tirtharajsinha/main
waveshare-esp32-s3-pico - removing gpio (19,20) and adding gpio(33,34) and spi pins
2023-10-08 11:01:29 -04:00
Taiki Komoda
96ae87e559 display is functional now 2023-10-08 23:51:18 +09:00
Tirtharaj Sinha
448b8cb271 removing gpio (19,20) and adding gpio(33,34) and spi pins 2023-10-08 12:53:43 +05:30
Dan Halbert
ca7be16209 fixes for stm and mimxrt10xx 2023-10-07 23:27:20 -04:00
Mark
f14ca95df4
Merge pull request #8462 from tannewt/fix_adc_pin_test_idf5
Fix pin adc unit check
2023-10-06 18:22:56 -05:00
Scott Shawcroft
15c5e8c806
Fix pin adc unit check
IDF5 made 0 valid. Use the NO_ADC macro instead
2023-10-06 15:55:43 -07:00
Dan Halbert
c9d7195505
Merge pull request #8447 from tannewt/5.1_enable_rgbmatrix
Enable rgbmatrix on IDF 5.1
2023-10-06 17:14:04 -04:00
Dan Halbert
f3fc1f70b8
Merge pull request #8461 from tannewt/update_esp_protocols
Update esp-protocols
2023-10-06 17:05:58 -04:00
Scott Shawcroft
22bcb85dd5
Update esp-protocols
The commit was amended for PR review into espressif's repo. Next
time I'll make a branch to PR to them from.
2023-10-06 09:54:55 -07:00
Taiki Komoda
0dfafe2a4b wip 2023-10-06 23:17:36 +09:00
Damien George
e00a144008 all: Bump version to 1.21.0.
Signed-off-by: Damien George <damien@micropython.org>
2023-10-06 10:32:07 +11:00
Scott Shawcroft
376cb87a25
Update protomatter to fix non-S3 and C6 2023-10-05 14:56:11 -07:00
Scott Shawcroft
923a5b28ca
Add NO_FPS_LIMIT instead of magic numbers 2023-10-05 14:56:11 -07:00
Scott Shawcroft
807edd4c66
Improve framebufferdisplay.refresh()
Now the defaults make it easy to refresh when you want. It matches
the displayio.Display().refresh() behavior.
2023-10-05 14:56:11 -07:00
Scott Shawcroft
4d2bc35d40
Re-enable rgbmatrix on IDF 5.1 2023-10-05 14:56:11 -07:00
Scott Shawcroft
bf3d84195f
Fix decompressing using qstrs after running the VM
The qstr state still pointed to qstr pools in the released MP heap.
2023-10-05 14:56:11 -07:00
Scott Shawcroft
85650bf1ab
Fix re unescaping 2023-10-05 13:35:07 -07:00
Scott Shawcroft
49511b0746
Bring back ordereddict.move_to_end() 2023-10-05 12:48:45 -07:00
Scott Shawcroft
94c7082e9c
Fix super init. CP changed it to support kwargs 2023-10-05 12:44:30 -07:00
Scott Shawcroft
4863ce7c8e
Fix binascii.crc32 unicode check 2023-10-05 12:33:51 -07:00
Scott Shawcroft
f8996cb202
Fix json tests by checking for zero read from stream 2023-10-05 12:33:51 -07:00
Dan Halbert
58db1722da Merge branch 'v1.20-merge' of https://github.com/dhalbert/circuitpython into v1.20-merge 2023-10-05 14:50:41 -04:00
Dan Halbert
06765ccfa6 RP2040 now builds 2023-10-05 14:49:49 -04:00
Scott Shawcroft
18c03a74dd
Fix a few tests
* Re-enable a couple FATFS configurations we added.
* Remove MICROPY_PY_IO_FILEIO.
* Remove uasyncio from standard unix build.
* Re-add our unicode printing improvements.
2023-10-05 10:59:08 -07:00
Dan Halbert
5126cd3dc3
Merge pull request #8460 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-10-05 10:22:49 -04:00
Damien George
6f76d1c7fa rp2: Implement time.time_ns with time_us_64 so it has us resolution.
Currently on rp2 the time.time_ns() function has only seconds resolution.
This commit makes it have microsecond resolution, by using the output of
time_us_64() instead of the RTC.

Tested that it does not drift from the RTC over long periods of time.

Signed-off-by: Damien George <damien.p.george@gmail.com>
2023-10-05 21:24:47 +11:00
Damien George
c2e9a6f2a5 esp8266/boards/ESP8266_GENERIC: Remove urllib from the 2MiB manifest.
No other network-enabled board has urllib.urequest frozen in to the
firmware, and esp8266 is relatively low on flash, so remove this module.

And (u)requests is already included by bundle-networking.

Signed-off-by: Damien George <damien@micropython.org>
2023-10-05 20:55:52 +11:00
Glenn Moloney
f0f173ff5c esp32/boards/manifest.py: Freeze aioespnow into firmware by default.
Also remove corresponding commented line from esp8266/boards/manifest.py.
It doesn't have enough flash to have this frozen by default.

Signed-off-by: Glenn Moloney <glenn.moloney@gmail.com>
2023-10-05 20:50:49 +11:00
Andi Chandler
b7db6ad265
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-10-05 03:10:28 +00:00
Wellington Terumi Uemura
3d30d4dc25
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-10-05 03:10:27 +00:00
Angus Gratton
d81cf0b9e3 rp2/CMakeLists: Enable debug symbols in all builds.
Allows using gdb, addr2line, etc. on a "release" ELF file.

No impact to .bin or .uf2 size, only the .elf will get bigger.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-10-05 14:08:17 +11:00
Damien George
040a96d00e docs,tools: Change remaining "urequests" references to "requests".
Signed-off-by: Damien George <damien@micropython.org>
2023-10-05 14:04:45 +11:00