Commit Graph

11897 Commits

Author SHA1 Message Date
elpekenin
b4e127a853 Resolve #8610 2023-11-15 15:59:43 +01:00
silabs-ChatNguyen
0a6e92d001 Workaround for race condition issue 2023-11-15 21:54:11 +07:00
Dan Halbert
e9d72e93a0 fix qt py esp32-s3 4/2 flash size and mode 2023-11-15 09:40:11 -05:00
Dan Halbert
58b111d428
Merge pull request #8608 from jepler/add-locale-module
Add `locale.getlocale()`
2023-11-15 09:24:04 -05:00
Dan Halbert
0dffd06e7a
Merge pull request #8601 from SiliconLabs/dev_9.0
Fix cannot write to characteristic unless read property is set for Silabs's board
2023-11-15 08:40:31 -05: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
James Ward
e97f5b3570
chore: disable unused physical usb support 2023-11-14 14:42:44 -05: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
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
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
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
Bill Sideris
df1cc17359
Fix C6 wifi 2023-11-13 19:35:47 +02: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
Dimitrios Kouzis-Loukas
07050f2e6f Consistency improvement on I2S mclk support for Espressif port #8570 2023-11-11 06:42:38 -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
b1b01e2e0d
UM boards are qio
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-11-10 18:09:56 -05:00
Dan Halbert
3a34acb93c merge 8.2.x to main 2023-11-09 19:58:34 -05:00
Scott Shawcroft
25525f048a
Merge pull request #8563 from rgrizzell/main
Board support for LILYGO T-Deck
2023-11-09 15:31:22 -08:00
Robert Grizzell
e0034602a7
Removing SPI and I2C prefixes from pin labels 2023-11-08 19:59:05 -06:00
Dimitrios Kouzis-Loukas
3921520fed Issue #8570 fix 2023-11-08 19:53:18 -05:00
Dan Halbert
01be5f402e
Merge pull request #8553 from tannewt/switch_to_split_heap
Switch all ports to auto-growing split heap
2023-11-08 12:48:12 -05:00
Robert Grizzell
57c064fa36
Fix pin assignments for trackball and provide better labels for audio and LoRa pins. 2023-11-07 23:01:50 -06:00
Robert Grizzell
0d517ed1cc
Using USB PID allocated by Espressif 2023-11-07 18:19:51 -06:00
Scott Shawcroft
f9cbbf7740
Merge pull request #8550 from bill88t/main
Add WeAct C6
2023-11-06 14:53:22 -08:00
Bill Sideris
963e76961c
Fix creator ids
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-11-06 23:31:15 +02:00
Scott Shawcroft
b6e9536e4f
Merge pull request #8560 from dhalbert/type-flag-has-special-accessors
correct MP_TYPE_FLAG_NONE to  MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS
2023-11-06 13:31:05 -08:00
Robert Grizzell
68e7a05cb7
Board support for LILYGO T-Deck 2023-11-05 20:39:25 -06:00
Bill Sideris
1f83f59928
Merge remote-tracking branch 'adafruit/main' 2023-11-06 03:08:14 +02:00
Bill Sideris
2f264d3178
Add BOOT button 2023-11-06 02:46:03 +02:00
Dan Halbert
616201109c correct MP_TYPE_FLAG_NONE to MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS
also remove #include py/objproperty.h where not needed
(side effect of looking for property uses)
2023-11-04 22:51:41 -04:00
Limor "Ladyada" Fried
2358e7bcc3
Update mpconfigboard.h
fix second place I2C is defined >.<
2023-11-04 19:54:11 -04:00
Alex Tremblay
861a847421
Update manufacturer from Keeb.io to Maple Computing 2023-11-02 09:10:16 -04:00
Noqman
9ca30c4a94 Update cytron_maker_uno_rp2040 board files 2023-11-02 17:44:31 +08:00
Noqman
6a2707514f Add cytron_maker_uno_rp2040 2023-11-02 15:11:50 +08:00
Bill Sideris
97f3d0f74b
Merge remote-tracking branch 'adafruit/main' 2023-11-02 00:57:55 +02:00
Scott Shawcroft
8137e2d6d2
Switch all ports to auto-growing split heap
This simplifies allocating outside of the VM because the VM doesn't
take up all remaining memory by default.

On ESP we delegate to the IDF for allocations. For all other ports,
we use TLSF to manage an outer "port" heap. The IDF uses TLSF
internally and we use their fork for the other ports.

This also removes the dynamic C stack sizing. It wasn't often used
and is not possible with a fixed outer heap.

Fixes #8512. Fixes #7334.
2023-11-01 15:24:16 -07:00
Bill Sideris
b57fdef73a
Disable espcamera and fix name 2023-11-02 00:13:43 +02:00
Scott Shawcroft
648c141aa4
Merge pull request #8262 from thzinc/add-mdns-txt-record-support
Add mDNS TXT record support
2023-11-01 11:04:20 -07:00
Scott Shawcroft
5dfaf66116
Slim down thunderpack 12 2023-11-01 10:44:03 -07:00
Bill Sideris
71d07cd795
Seperate N4 from N8 2023-11-01 19:31:56 +02:00
Bill Sideris
f138b209ef
Add WeAct C6 2023-11-01 17:32:55 +02:00
Daniel James
1309235cd8
Updates for CircuitPython 9.x 2023-10-30 20:53:26 -07:00
Daniel James
f9d3ec5027
Support for publishing TXT records via mDNS
- Update lwIP+Raspberry Pi implementation to use lwIP API correctly
- Add translations
2023-10-30 20:39:38 -07:00
Dan Halbert
5f95232495
Merge pull request #8542 from jepler/mp-error-text
Switch to using MP_ERROR_TEXT instead of translate, globally
2023-10-30 16:45:44 -04:00
Limor "Ladyada" Fried
79aaa4056b
swap i2c 2023-10-30 14:10:09 -04:00
Jeff Epler
a9a8f2d87a
disable a module to make board fit again 2023-10-30 17:25:54 +01:00
Jeff Epler
768859c709
drop ulab on this board, it's full 2023-10-30 16:55:45 +01:00
Jeff Epler
774f6ac6ab
Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
Alex Tremblay
ddfccf45e3
code formatting to please the linting machines 2023-10-29 20:23:09 -04:00
Alex Tremblay
cd6aa6afb2
add support for the Keeb.io Elite-Pi 2023-10-29 20:16:17 -04:00
Jeff Epler
d99368a45f
Merge remote-tracking branch 'origin/main' into camera-rev 2023-10-28 18:03:55 +02:00
ladyada
703bbb2ffb fix backlite 2023-10-27 12:12:55 -04:00
Dan Halbert
32b6ac79d5
Merge pull request #8519 from jepler/compressed-message-type
Rename compressed_string_t to mp_rom_error_text_t to match upstream
2023-10-27 10:53:44 -04:00
ladyada
c2df41b397 update to rev D 2023-10-27 01:48:22 -04:00
Jeff Epler
de541cf155
Fix pointer-ness, const-ness of compressed messages
micropython puts the pointer-ness into the typedef; we can put the
const-ness there too.

this reduces the delta to micropython; for instance, emitinlinextensa
and emitinlinethumb now match upstream.
2023-10-25 21:40:11 +02:00
Scott Shawcroft
be30c12a74
Pass subobject into native subscr
This allows PixelBuf to call transmit after setting a value.

Fixes #8488
2023-10-25 11:44:32 -07:00
Jeff Epler
55874b6470
Rename compressed_string_t to mp_rom_error_text_t to match upstream 2023-10-25 08:14:13 +02:00
Scott Shawcroft
63079c75b0
Re-add passing native methods the subclass instance
Fixes #8488
2023-10-24 16:20:51 -07:00
Scott Shawcroft
53bc6d4bd1
Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07:00
Scott Shawcroft
e62db5adcd
Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
Scott Shawcroft
e1df598199
Split displayio hardware support from core
These are moved:
* Display -> busdisplay.BusDisplay
* FourWire -> fourwire.FourWire
* EPaperDisplay -> epaperdisplay.EPaperDisplay
* I2CDisplay -> i2cdisplaybus.I2CDisplayBus

`paralleldisplay` is now `paralleldisplaybus` (and registered as
`paralleldisplay` too).

Bus related helpers are split out of display_core into bus_core.
It is in still displayio since it is a dependency of both
busdisplay and epaperdisplay.

Fixes #7667
2023-10-24 15:43:34 -07:00
Scott Shawcroft
168c40e940
Merge pull request #8508 from dhalbert/v1.21-merge
V1.21 merge
2023-10-24 15:36:06 -07:00
Scott Shawcroft
00457788e9
Fix mbedtls and stop removing it 2023-10-24 14:47:43 -07:00
Dan Halbert
ec678a54ce
Merge pull request #8494 from tannewt/merge_in_8.2.7
Merge in 8.2.7
2023-10-23 21:52:25 -04:00
Dan Halbert
2c25e82feb
Merge pull request #8505 from Snipeye/fix_pulseio_rp2040_interrupt
Fixed the RP2040 interrupt problem
2023-10-23 20:18:39 -04:00
Joshua Broekhuijsen
ecf5a6be97 Changed to interrupt guards 2023-10-23 18:00:21 -05:00
Scott Shawcroft
c988ff7898
Remove random A 2023-10-23 14:51:42 -07:00
Scott Shawcroft
f9e63d9ac6
Merge pull request #8492 from jepler/maketranslation-levels
Add CIRCUITPY_MESSAGE_COMPRESSION_LEVEL
2023-10-23 14:41:12 -07:00
Scott Shawcroft
1430cc6e56
Merge pull request #8491 from RetiredWizard/v9debug
DotClock Touch Screen pin fixes/additions
2023-10-23 14:19:55 -07:00
Joshua Broekhuijsen
0f07a9b96e Fixed the RP2040 interrupt problem 2023-10-22 21:04:01 -05:00
RetiredWizard
caeaa947d6 Add board.I2C pin definitions to mpconfigboard.h 2023-10-22 12:27:25 -04:00
RetiredWizard
5effb26cd1 Pin name consistency changes 2023-10-22 03:21:03 -04:00
Seon Rozenblum
bdabf7c5d6 Fixed incorrect IO assignment for UM TinyWATCH S3 2023-10-22 17:53:25 +11:00
RetiredWizard
12a3a62ae5 Add GPIO pins broken out on Mabee connector 2023-10-21 22:49:34 -04:00
RetiredWizard
9d1b9b3c0d Add/Remove correct board level devices 2023-10-21 15:46:05 -04:00
RetiredWizard
8cc9038af0 Makerfabs pin name changes for consistency 2023-10-21 14:30:01 -04:00
Pascal Bakhuis
621805639b Added support the Waveshare ESP32-S3-Zero and GRB status LEDs 2023-10-21 01:22:46 +01:00
Seon Rozenblum
b960321680 Added Unexpected Maker BLING and TinyWATXH-S3 for Espressif port. 2023-10-21 09:51:13 +11:00
Scott Shawcroft
89467ecdab
Merge tag '8.2.7' into merge_in_8.2.7 2023-10-20 15:21:30 -07:00
Dan Halbert
8017a1ad30 ports/unix VARIANT=coverage fixes 2023-10-20 16:51:04 -04:00
Jeff Epler
7ab5252cdd
Add CIRCUITPY_MESSAGE_COMPRESSION_LEVEL
to trade compile speed & flash size

Initially enable the faster mode on rp2040 and espressif, where there's
usually plenty of flash available (these advanced techniques save hundreds
to thousands of bytes, which is important on a lot of old samd21 boards
but is a drop in the lake of a 4MB flash chip)
2023-10-20 19:18:18 +01:00
Dan Halbert
009b3ae86b Merge remote-tracking branch 'adafruit/main' into v1.21-merge 2023-10-20 11:48:44 -04:00
RetiredWizard
8e85358a72 DotClick Touch Screen pin fixes/additions 2023-10-20 00:45:21 -04:00
Dan Halbert
4b42a6f4a0 restore old uzlib; remove remaining U and u prefixes 2023-10-19 21:29:57 -04:00
Dan Halbert
367e13c69f change CIRCUITPY change markers to CIRCUITPY-CHANGE 2023-10-19 16:42:36 -04:00