Commit Graph

11835 Commits

Author SHA1 Message Date
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
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
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
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
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
Dan Halbert
c0a4abc03c Fix merge bugs; remove shared/tinyusb/* 2023-10-19 16:02:42 -04:00
Dan Halbert
a8fb081166 Merge remote-tracking branch 'adafruit/main' into v1.21-merge 2023-10-19 11:20:25 -04:00
Dan Halbert
f2ebe6839c Initial MicroPython v1.21.0 merge; not compiled yet 2023-10-18 17:49:14 -04:00
Melissa LeBlanc-Williams
d926e7d619 Add missing Ax pins for Qualia ESP32-S3 2023-10-18 14:11:30 -07:00
Dan Halbert
41e0199414
Merge pull request #8476 from MeNeedingADifferentFork/main
Added support for SuperMini NRF52840
2023-10-18 09:40:41 -04:00
Pascal Bakhuis
b1bcd90ed2 Merge branch 'main' of https://github.com/MeNeedingADifferentFork/circuitpython-supermini-nrf52840 2023-10-17 23:39:26 +01:00
Pascal Bakhuis
2d4702c79c Changed USB VID/PID to one granted by pidcodes.github.com 2023-10-17 23:30:26 +01:00
Axeia
07bb1a6e53
Merge branch 'adafruit:main' into main 2023-10-17 23:24:04 +01:00
Scott Shawcroft
48f4b0f7cb
Switch to gcc 12.3 for arm32
Fixes #7432
2023-10-17 11:43:38 -07:00
Scott Shawcroft
fce45af820
Merge pull request #8484 from tannewt/improve_silabs
A few silabs improvements
2023-10-17 11:37:31 -07:00
Scott Shawcroft
792def24f3
A few silabs improvements
* Fix watchdog code crash.
* Define status LEDs for all boards.
* Add flash target to Makefile.
* Reduce build verbosity.
2023-10-17 11:10:03 -07:00
Dan Halbert
f6601177e0
Merge pull request #8481 from dhalbert/v1.20-merge
Merge from MicroPython v1.20.0
2023-10-16 19:54:32 -04:00
Dan Halbert
f78b35d06f remove unused files; fix typo; remove debugging code 2023-10-16 19:23:35 -04:00
Scott Shawcroft
5a19971efd
Fix pre-commit 2023-10-16 10:46:11 -07:00
Scott Shawcroft
732caedd16
Fix non-CYW43 RP2040 builds 2023-10-16 10:43:31 -07:00
Scott Shawcroft
db4253e268
Fix spresence by disabling asserts 2023-10-16 10:43:31 -07:00
Scott Shawcroft
544553c542
Fix cyw43 (pico w) builds 2023-10-16 10:43:30 -07:00
Axeia
44e9e6464c
Merge branch 'adafruit:main' into main 2023-10-16 17:22:03 +01:00
Seon Rozenblum
4606af4ec2 Added Unexpected Maker BlizzardS3 board for Espressif port. 2023-10-15 17:46:17 +11:00
Dan Halbert
195867e9d2 Merge remote-tracking branch 'adafruit/main' into fix-i2s-error-message 2023-10-14 07:38:39 -04:00
Dan Halbert
43b99a6f35 fix fomu board.c 2023-10-13 19:55:43 -04:00
Scott Shawcroft
e5767829db
Merge pull request #8475 from minordemon/Waveshare-RP2040-Touch-LCD-1_28
Added support for the Waveshare Touch LCD 1.28
2023-10-12 14:17:02 -07:00
Scott Shawcroft
71bd1176f9
Merge pull request #8474 from jins-tkomoda/m5stack_atoms3
Added support for the M5stack atoms3
2023-10-12 14:13:17 -07:00
Scott Shawcroft
2de11f0c03
Merge pull request #8459 from tannewt/metro_s3_revb
Update Metro S3 pin mapping for Rev B
2023-10-12 14:11:23 -07:00
Pascal Bakhuis
b24a551485 Added support for SuperMini NRF52840 2023-10-12 21:26:30 +01:00
Taiki Komoda
33e90ba8fe Fix pid and clean comments 2023-10-12 13:33:56 +09:00
Jeroen Harkes
56d5df3189 Copy non touch, change name, pid and lcd rest pin. 2023-10-12 00:44:09 +02: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
2910dea6fd
Almost fix extra_coverage test 2023-10-11 10:04:02 -07: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
Taiki Komoda
96ae87e559 display is functional now 2023-10-08 23:51:18 +09:00
Tirtharaj Sinha
2047a8d485
Merge branch 'adafruit:8.2.x' into 8.2.x 2023-10-08 13:03:22 +05:30
Tirtharaj Sinha
448b8cb271 removing gpio (19,20) and adding gpio(33,34) and spi pins 2023-10-08 12:53:43 +05:30
Tirtharaj Sinha
c8926de26b removing gpio 19 and 20 as these pins are not broken out in board 2023-10-08 02:48:39 +05:30
Dan Halbert
a14a9a064a
Merge pull request #8463 from tirtharajsinha/8.2.x
Adding the missing pins(33,34) and SPI pins
2023-10-07 16:00:03 -04:00
Tirtharaj Sinha
d4b5146147 Adding the missing pins(33,34) and SPI pins 2023-10-07 23:42:09 +05:30
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
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
Scott Shawcroft
4d2bc35d40
Re-enable rgbmatrix on IDF 5.1 2023-10-05 14:56:11 -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
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
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
iabdalkader
5aec051f9f stm32/i2c: Add support for I2C4 on H7 MCUs.
The current code assumes all I2Cs are on the same peripheral bus, which is
not true for I2C4 and the same goes for the clock enable code.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-10-05 10:26:59 +11:00
Scott Shawcroft
2e6ef78227
Update Metro S3 pin mapping for Rev B 2023-10-04 09:43:41 -07:00
Luca Burelli
1cd61149e4 esp32/boards/ARDUINO_NANO_ESP32: Use Arduino USB IDs.
The IDF-provided version of TinyUSB defaults to Espressif's standard
VID:PID unless specific sdkconfig options are present. The numbers
already defined for the CUSTOM_* config options were ignored otherwise.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2023-10-04 13:06:14 +11:00
Jim Mussared
65a3ce39a3 extmod/modnetwork: Forward if.config(hostname) to network.hostname.
This removes the duplicate code in cyw43, esp32, esp8266 that implements
the same logic as network.hostname.

Renames the `mod_network_hostname` (where we store the hostname value in
`.data`) to `mod_network_hostname_data` to make way for calling the shared
function `mod_network_hostname`.

And uses memcpy for mod_network_hostname_data, because the length of source
is already known and removes reliance on string data being null-terminated.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-10-04 12:39:51 +11:00
Jim Mussared
b329fdcb73 extmod/modnetwork: Increase max hostname length to 32.
This changes from the previous limit of 15 characters.  Although DHCP and
mDNS allow for up to 63, ESP32 and ESP8266 only allow 32, so this seems
like a reasonable limit to enforce across all ports (and avoids wasting the
additional memory).

Also clarifies that `MICROPY_PY_NETWORK_HOSTNAME_MAX_LEN` does not include
the null terminator (which was unclear before).

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-10-04 12:39:23 +11:00
Dan Halbert
7e0e6fcdca Metro M4 now compiles 2023-10-03 15:03:59 -04:00