85153da161
Disable v6 on a couple of espressif boards where it doesn't fit
2024-07-22 09:29:28 -05:00
06936448fa
enable v6 across all espressif boards
2024-07-19 12:39:33 -05:00
e5e4b0c61c
Implement new routines in raspberrypi port
2024-07-19 12:38:08 -05:00
2385aa6dfb
Fix socket binding
...
.. & make web workflow bind to v6 if available. Binding v6 "any"
address also allows v4 connections
2024-07-17 18:00:04 -05:00
bee32ea826
Make return value of recvfrom_into & accept right for v6 addresses
...
only tested recvfrom_into as can't bind() v6 addresses yet
wifi workflow may be broken by this or maybe it was broken before
2024-07-17 17:15:22 -05:00
524236dc0a
v6 ping works.
2024-07-17 13:23:47 -05:00
86f7a38ff4
Add wifi.radio.addresses, .addresses_ap, .dns
2024-07-17 12:18:29 -05:00
9088488d1c
WIP ipv6 works(-ish)
...
* metro esp32s2 only, because that's what I had handy
* nothing is started at boot; I hung it on `start_dhcp()` which is dubious
* I get a stateless address (which doesn't seem to work) and a dhcpv6 address (which does)
```
>>> wifi.radio.ipv6_addresses
('FE80::7EDF:A1FF:FE00:518C', 'FD5F:3F5C:FE50:0:7EDF:A1FF:FE00:518C')
```
* depending whether a v4 or v6 dns server is configured, DNS resolution breaks
wrong ipv4_dns is first 4 bytes of the v6 dns server address:
```
>>> wifi.radio.ipv4_dns
253.95.63.92
```
* I can connect to a v4 or v6 SSH server on the local network and read its banner
>>> s.close(); s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM); s.connect(("fd5f:3f5c:fe50:0:6d9:f5ff:fe1f:ce10", 22))
*** len[0]=28
*** len=28 family=10 port=5632
>>> s.recv_into(buf)
40
>>> bytes(buf)
b'SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u3\r\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2024-07-17 12:18:29 -05:00
3b30f0cc36
espressif: allow socket(AF_INET6)
2024-07-17 12:18:29 -05:00
d612d182e8
espressif: Socket: pass correct family & type in connect, sendto
...
Otherwise, it was not possible to interact with a v6 address, as
`lwip_getaddrinfo` wouldn't resolve it.
2024-07-17 12:18:29 -05:00
eaa6f99d0e
Add v6 address support to SocketPool.getaddrinfo (on espressif)
2024-07-17 12:18:29 -05:00
Scott Shawcroft
2f62612186
Merge pull request #9431 from jepler/board-doc-build
...
exclude circuitpython-stubs when building docs
2024-07-16 09:33:54 -07:00
0ed2b98d32
exclude circuitpython-stubs when building docs
...
Since 798e38e447 an empty
`board/__init__.py` is created inside the stubs directory and sphinx
uses this in lieu of the autodoc generated file from shared-bindings.
We don't intend to build docs from files in these paths, so just prune
them.
2024-07-15 17:00:19 -05:00
Dan Halbert
dfbbbad490
Merge pull request #9425 from jepler/issue9424
...
rp2040: uart: check all pins before claiming any
2024-07-12 11:36:11 -04:00
598cad7851
Update ports/raspberrypi/common-hal/busio/UART.c
...
Co-authored-by: Dan Halbert <halbert@adafruit.com>
2024-07-12 09:04:23 -05:00
3e7d28c2c9
rp2040: uart: check all pins before claiming any
...
remove the comment that pin_init may raise an exception for an in-use
pin; this is incorrect. The unclaimed status of all pins was verified
in shared-bindings before calling construct.
2024-07-11 20:30:59 -05:00
Dan Halbert
937cfa6748
Merge pull request #9422 from dhalbert/2024-07-09-update-frozen-libraries
...
update frozen libraries for 9.1.0-rc.0
2024-07-09 15:27:00 -04:00
Scott Shawcroft
c65811524f
Merge pull request #9419 from dhalbert/maple_elite_pi-flash-chip
...
maple_elite_pi: correct flash chip
2024-07-09 12:17:05 -07:00
Dan Halbert
353174c30e
Merge pull request #9404 from mumin50/patch-1
...
Update pins.c for m5dial
2024-07-09 15:12:45 -04:00
Dan Halbert
124093b3fb
update frozen libraries for 9.1.0-rc.0
2024-07-09 15:08:58 -04:00
Dan Halbert
08d10e976f
Update pins.c
2024-07-09 13:57:13 -04:00
Dan Halbert
ba4b086e08
maple_elite_pi: correct flash chip
2024-07-09 12:23:29 -04:00
Dan Halbert
685101f2e2
Merge pull request #9418 from dhalbert/sdcardio-deinit-check
...
shared-module/sdcardio/SDCard.c: check for deinit more thoroughly
2024-07-09 11:59:27 -04:00
Dan Halbert
48dd9e3046
shared-module/sdcardio/SDCard.c: check for deinit more thoroughly
2024-07-09 10:40:37 -04:00
Dan Halbert
079a5f5809
Merge pull request #9416 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2024-07-09 00:00:02 -04:00
Wellington Terumi Uemura
0b2bf2e2c0
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (996 of 996 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2024-07-09 04:09:27 +02:00
ff4b747fed
Merge pull request #9415 from RetiredWizard/sdioioDOC
...
sdioio DOC update: DATA pins pass in Set
2024-07-08 16:03:18 -05:00
RetiredWizard
032a0773bd
sdioio DOC update: DATA pins pass in Set
2024-07-08 16:43:55 -04:00
Scott Shawcroft
08512c538c
Merge pull request #9342 from Sola85/esp32-settable-cpu-frequency
...
esp: make cpu frequency settable
2024-07-08 12:01:12 -07:00
Scott Shawcroft
4ebd5f536d
Merge pull request #9409 from dhalbert/serial-jtag-atomic
...
Add more atomicity in usb_serial_jtag.c; handle C6 in more places
2024-07-08 11:10:00 -07:00
Dan Halbert
8fbbb598ff
Merge pull request #9414 from dikei100/LILYGO-T-Display-S3-Pro
...
Removed 'Zone.Identifier' files.
2024-07-08 09:30:51 -04:00
dikei100
cfed2d1087
Removed 'Zone.Identifier' files.
2024-07-08 15:22:16 +02:00
Dan Halbert
921e376d72
Merge pull request #9405 from dikei100/LILYGO-T-Display-S3-Pro
...
Adding support for LILYGO T-Display S3 Pro
2024-07-08 08:39:45 -04:00
Dan Halbert
3f4913e963
Merge pull request #9408 from CDarius/waveshare_pizero
...
Add board Waveshare RP2040-PiZero
2024-07-06 16:39:00 -04:00
Dan Halbert
fa71711448
waveshare_rp2040_pizero: pretty up pins.c
2024-07-06 15:50:22 -04:00
Dan Halbert
364e5f1bda
Merge pull request #9410 from elpekenin/fix/9407
...
[FIX] [Tooling] Broken regex'es in `build_board_specific_stubs`
2024-07-06 15:46:42 -04:00
Pablo Martínez
dc6c4eeb72
Update board_stub_builder.py
2024-07-06 21:13:14 +02:00
Pablo Martínez
28e6afca47
Update tools/board_stubs/build_board_specific_stubs/board_stub_builder.py
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-07-06 21:12:49 +02:00
Pablo Martínez
23b86b35d7
Update tools/board_stubs/build_board_specific_stubs/board_stub_builder.py
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-07-06 21:12:43 +02:00
elpekenin
fec63786ec
allow any number of whitespaces
2024-07-06 19:25:42 +02:00
Dan Halbert
b2a4a20fb8
usb_serial_jtag.c: more atomicity
2024-07-06 12:47:22 -04:00
CDarius
79e4ff3e59
Add board Waveshare RP2040-PiZero
2024-07-06 18:45:06 +02:00
Dan Halbert
4f166f261f
add CONFIG_IDF_TARGET_ESP32C6 conditionals
2024-07-06 12:20:00 -04:00
dikei100
28f8a83b7c
Changed USB_PID
2024-07-05 15:49:42 +02:00
dikei100
d792f19195
Merge branch 'LILYGO-T-Display-S3-Pro' of https://github.com/dikei100/circuitpython into LILYGO-T-Display-S3-Pro
2024-07-05 14:59:06 +02:00
dikei100
e1a5f01a67
Correct copyright
2024-07-05 14:55:47 +02:00
dikei100
af1df0c529
Update pins.c
2024-07-05 14:50:16 +02:00
dikei100
84ce7a7f41
Update mpconfigboard.h
2024-07-05 14:49:30 +02:00
dikei100
3da31218c4
Update board.c
2024-07-05 14:48:55 +02:00
dikei100
92814e7bd9
Added support for new board: LILYGO T-Display S3 Pro
2024-07-05 14:30:30 +02:00