Commit Graph

34896 Commits

Author SHA1 Message Date
Jeff Epler 43e7fcb227
Fix the locale module docstring 2023-11-15 07:22:11 -06:00
Jeff Epler 918e244c13
Add some more synthetic messages
.. so that nobody ever accidentally translates %S, %q, or %s.
These only appear inside MP_ERROR_TEXT for technical reasons.
2023-11-15 07:22:02 -06:00
Jeff Epler 6ca39aa9ec
_asyncio: fix definition of ticks to match adafruit_ticks
Otherwise, the timing of tasks is inconsistent, because C code and
userspace code are using incompatible epochs.

For whatever reason, a bunch of asyncio tests would consistently fail
in the Unix build locally; this change fixes it. I don't know why those
same tests succeed in CI!

Closes: #8500 (probably, didn't test)
2023-11-14 21:48:48 -06:00
Jeff Epler d79bdbbe6b
update test result 2023-11-14 21:31:37 -06:00
Jeff Epler 46bfbad1bb
Add `locale.getlocale()`
This returns the localization of the running CircuitPython, such as
en_US, fr, etc.

Additional changes are needed in build infrastructure since the
string "en_US" should not appear to be translated in weblate, ever;
instead the value comes from the translation metadata.

Closes: #8602
2023-11-14 21:20:03 -06:00
Dan Halbert 80f8979b91 Fix ADC channel for IO32 on ESP32 2023-11-14 19:59:14 -05:00
Scott Shawcroft f03654b61a
Merge pull request #8583 from imnotjames/boards/heltec_esp32s3_wifi_lora_v3
heltec esp32s3 wifi lora v3: new espressif board
2023-11-14 15:00:06 -08:00
Scott Shawcroft 98a92ef0ca
Merge pull request #8600 from supcik/oxocards
Add Oxocards ports
2023-11-14 14:58:37 -08:00
Scott Shawcroft 8ff0682937
Merge pull request #8605 from tannewt/fix_esp_heap_alloc
Fix split heap on ESP
2023-11-14 14:52:28 -08:00
Scott Shawcroft 1f2355742b
Fix split heap on ESP
It was setting the DMA capability requirement which excludes PSRAM.

Fixes #8597. Fixes #8573.
2023-11-14 12:00:59 -08:00
James Ward e97f5b3570
chore: disable unused physical usb support 2023-11-14 14:42:44 -05:00
Scott Shawcroft 4bdd3e6150
Merge pull request #8589 from jepler/issue8588
Rework ci_fetch_deps and use it from makefiles too
2023-11-14 10:04:37 -08:00
Scott Shawcroft 6a6739206c
Merge pull request #8599 from jepler/use-utils-stdout-helpers
Revert to micropython's version of mp_hal_stdout_tx_strn_cooked
2023-11-14 09:43:11 -08:00
Jacques Supcik e8e1a1db9e fix formating using uncrustify 0.72
I was using uncrustify version 0.77.1 and it does not work like
the version 0.72 used by Ununtu 22.04.
2023-11-14 13:35:21 +01:00
Jacques Supcik 9b7f7d0d05 fix style to pass pre-commit checks 2023-11-14 08:39:08 +01:00
silabs-ChatNguyen e1c15629cf Write to characteristic locally with WRITE_NO_RESPONSE 2023-11-14 11:53:12 +07:00
James Ward c1af64ab18
fix: use pending creation id & remove VID/PID 2023-11-13 17:40:50 -05:00
Dan Halbert ed7c714fe2
Merge pull request #8598 from tannewt/fix_pystack_size
Fix pystack size
2023-11-13 16:56:20 -05:00
Dan Halbert 0294ccfb55
Merge pull request #8596 from jepler/obsolete-allocation-stuff
Remove some stuff about reserved psram & supervisor allocations
2023-11-13 16:55:47 -05:00
James Ward d7a27d8d2b
heltec esp32s3 wifi lora v3: new espressif board 2023-11-13 16:55:05 -05:00
Jacques Supcik 388807e725 fix typo 2023-11-13 22:46:39 +01:00
Jeff Epler b47e23c9c5
Finish removing reserved psram 2023-11-13 15:31:35 -06:00
Jacques Supcik 471ee6f8c9 add: display initialisation 2023-11-13 22:26:00 +01:00
Jacques Supcik 4654f9c304 add expressif cards 2023-11-13 22:22:28 +01:00
Jeff Epler 06ee8daab9
Revert to micropython's version of mp_hal_stdout_tx_strn_cooked
Closes #8510
2023-11-13 14:31:30 -06:00
Scott Shawcroft fd5373c364
Merge pull request #8595 from bill88t/main
Fix ESP32-C6 wifi
2023-11-13 11:43:51 -08:00
Scott Shawcroft 0302d6bbc8
Merge pull request #8541 from alextremblay/keebio_elite_pi
Add support for the Keeb.io Elite-Pi
2023-11-13 11:43:37 -08:00
Scott Shawcroft ae07ac17ac
Fix pystack size
Original code used uint32_t* so `/ sizeof(size_t)` was needed. It
is a uint8_t* now so that division makes it 4x smaller. Whoops!

Fixes #8574
2023-11-13 11:33:37 -08:00
Alex Tremblay 9478048342
Update USB PID/VID 2023-11-13 14:12:32 -05:00
Bill Sideris d6ad25ee96
Completely remove tx buffer setting 2023-11-13 21:03:05 +02:00
Jeff Epler fb840159fb
Remove some stuff about reserved psram & supervisor allocations
this is obsoleted by the new split heap code 🎉
2023-11-13 12:55:26 -06:00
Scott Shawcroft bb12d36e5a
Merge pull request #8591 from SiliconLabs/dev_9.0
Fix crash when pwmio deinit for Silabs's board
2023-11-13 10:29:25 -08:00
Bill Sideris df1cc17359
Fix C6 wifi 2023-11-13 19:35:47 +02:00
Jeff Epler 1151d1bb2c
Merge pull request #8590 from eightycc/8138
Implement wifi.stop_ap for RP2
2023-11-13 09:12:18 -06:00
silabs-ChatNguyen 55ecc64bf1 Fix crash when pwmio deinit 2023-11-13 11:57:16 +07:00
Bob Abeles 1451d779a2 Implement stop_ap for RP2 2023-11-12 14:22:37 -08:00
Jeff Epler 6db9f2e73f
Rework ci_fetch_deps and use it from makefiles too
* teach ci_fetch_deps about --filter=blob:none
 * change logic ensuring tags in frozen/ are fetched
 * since check=True was all the time, remove unused kwarg
 * add fetch-board-submodules

Closes: #8588
2023-11-12 12:32:34 -06:00
Dan Halbert 166a98fa34
Merge pull request #8587 from dhalbert/lib-tlsf-ci_fetch_deps
add lib/tlsf to tools/ci_fetch_deps.py
2023-11-12 11:43:44 -05:00
Dan Halbert 2f969a4db7 add lib/tlsf to tools/ci_fetch_deps.py 2023-11-11 19:04:56 -05:00
Dan Halbert 7029f7295c
Merge pull request #8586 from lookfwd/fix_8570b
Consistency improvement on I2S mclk support for Espressif port #8570
2023-11-11 08:33:25 -05:00
Dimitrios Kouzis-Loukas 07050f2e6f Consistency improvement on I2S mclk support for Espressif port #8570 2023-11-11 06:42:38 -05:00
Scott Shawcroft 1dec24c48b
Merge pull request #8584 from dhalbert/8.2.x-to-main-2023-11-09 2023-11-10 22:37:12 -08:00
Dan Halbert 24ae0c4c73 use raw string for grep regexp 2023-11-10 22:42:42 -05:00
Dan Halbert 146ca2ada9
Merge pull request #8577 from dhalbert/update-frozen-2023-11-10
update frozen libraries
2023-11-10 21:16:55 -05:00
Dan Halbert e7fabe11c1
Merge pull request #8582 from tannewt/document_heap_config
Document CIRCUITPY_HEAP_START_SIZE
2023-11-10 21:16:39 -05:00
Dan Halbert 75fcacd481
Merge pull request #8575 from dhalbert/8.2.x-to-main-2023-11-09
merge 8.2.x to main
2023-11-10 20:42:13 -05:00
Dan Halbert 2eb283004d
fix title underline 2023-11-10 20:27:32 -05:00
Dan Halbert 57238aa02c
Update docs/environment.rst 2023-11-10 20:25:06 -05:00
Scott Shawcroft 3e6456d7e1
Document CIRCUITPY_HEAP_START_SIZE
and remove CIRCUITPY_RESERVED_PSRAM.

Fixes #8581
2023-11-10 15:53:49 -08:00
Dan Halbert b1b01e2e0d
UM boards are qio
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-11-10 18:09:56 -05:00