Jeff Epler
2dd6df9d93
better to explain why this file has no useful content
2022-09-28 15:19:06 -05:00
Jeff Epler
d59774d750
don't use regcomp to check hostname validity
2022-09-28 15:11:55 -05:00
Jeff Epler
72bce51ce3
restore submodule commits
2022-09-28 14:48:54 -05:00
Jeff Epler
dbd7ce9fdc
restore checking hostname format on esp32 where it was checked before
2022-09-28 14:38:13 -05:00
Jeff Epler
3d76aa00f5
implementations not needed
2022-09-28 14:38:13 -05:00
Jeff Epler
09d4fbc557
Remove FIXME
...
this was verbatim-copied from micropython
2022-09-28 14:38:13 -05:00
Jeff Epler
6189156a0b
Add missing NotImplementedErrors
2022-09-28 14:38:12 -05:00
Jeff Epler
edf1efd728
Add CYW43 guards to more things
2022-09-28 14:38:12 -05:00
Jeff Epler
e100981d90
revert CFLAGS change
2022-09-28 14:38:12 -05:00
Jeff Epler
bc63f9370a
comment why it's this way
2022-09-28 14:38:11 -05:00
Jeff Epler
4380292848
comment why not actually reset wifi
2022-09-28 14:38:11 -05:00
Jeff Epler
ff7731491e
Implement enough of socketpool to do ntp and non-https requests
2022-09-28 10:06:34 -05:00
Jeff Epler
a7a1bd7880
Implement DNS resolution
...
```
>>> s = socketpool.SocketPool(wifi.radio)
>>> s.getaddrinfo("google.com", 80)
[(0, 0, 0, '', ('142.250.81.206', 80))]
```
2022-09-28 10:06:33 -05:00
Jeff Epler
6c3cdceb45
Implement scan, connect, ping
...
My pings go out, and then they come back
```py
import os
import wifi
import ipaddress
wifi.radio.connect(os.getenv('WIFI_SSID'), os.getenv('WIFI_PASSWORD'))
ipv4 = ipaddress.ip_address("8.8.4.4")
print("Ping google.com: %f ms" % (wifi.radio.ping(ipv4)*1000))
```
2022-09-28 10:06:33 -05:00
Jeff Epler
346fff2e7c
cyw43 basic gpio support, hwaddr in boot_out
2022-09-28 10:06:33 -05:00
Jeff Epler
22b04aef22
Reindent a block
2022-09-28 10:05:53 -05:00
Jeff Epler
9caa65cf28
allow a board to override link.ld
2022-09-28 10:05:53 -05:00
Jeff Epler
77fcb8a5a3
disable rainbowio on this arduino_nano_33_iot
...
The gpio changes took away enough code space that it doesn't fit.
2022-09-28 10:05:32 -05:00
Jeff Epler
5593d23a05
Merge pull request #6919 from flom84/stm_dfu_mode
...
Software DFU mode implementation for STM32F4 MCU.
2022-09-18 21:01:26 -04:00
Florin Maticu
745d83adac
DFU mode implementation for STM32F4 MCU.
2022-09-18 18:24:38 +02:00
Jeff Epler
1091d51af2
Merge pull request #6918 from UnexpectedCircuitPython/main
...
Added support for Unexpected Maker TinyPICO (V2/V3) and TinyPICO Nano
2022-09-17 21:39:17 -04:00
Jeff Epler
e55842f75d
Merge pull request #6917 from strid3r21/patch-3
...
updated a pin definition
2022-09-17 21:38:21 -04:00
Seon Rozenblum
268b3f0dde
Added support for Unexpected Maker TinyPICO (V2/V3) and TinyPICO Nano boards using ESP32-PICO-D4
2022-09-18 09:49:30 +10:00
Paul Price
b2ffda219a
updated a pin definition
2022-09-17 16:53:24 -04:00
Dan Halbert
3a0b4df310
Merge pull request #6910 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-09-16 19:19:39 -04:00
Hosted Weblate
00aab2554f
Merge remote-tracking branch 'origin/main'
2022-09-16 20:51:37 +02:00
Jonny Bergdahl
5f65a887a1
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1003 of 1003 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-09-16 20:51:37 +02:00
Dan Halbert
32d8dd425f
Merge pull request #6912 from jepler/makeversionhdr-unforgiving
...
makeversionhdr should be unforgiving
2022-09-16 14:51:30 -04:00
Hosted Weblate
e069c6dead
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-09-16 18:46:34 +02:00
Hosted Weblate
afee7fd417
Merge remote-tracking branch 'origin/main'
2022-09-16 18:46:31 +02:00
Jonny Bergdahl
bdb4793b3e
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1004 of 1004 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-09-16 18:46:31 +02:00
Dan Halbert
3d967037cd
Merge pull request #6911 from dhalbert/fix-analogbufio-err-message
...
touch up analogbufio ValueError msg
2022-09-16 12:46:20 -04:00
Jeff Epler
f11ef4cc4e
makeversionhdr should be unforgiving
...
Recently(?) github started making it the default to only copy a single
branch (e.g., main) and NO TAGS into new forks.
This makes the step of the build process that determines the CircuitPython
version not work, because tags are expected to be present. When tags are
not present, the version number is only a git hash. The version number
ends up being 0.0.0.
This causes problems with libraries that check for CircuitPython version
to determine compatibility, among other things.
We'll do other things to improve the situation, such as document it.
But it'd also be good if the build stopped when this detectable condition
occurs.
2022-09-16 10:28:53 -05:00
Dan Halbert
6f8fe1b3e1
touch up analogbufio ValueError msg; consolidate with another message
2022-09-16 11:17:13 -04:00
Hosted Weblate
593a1f2bc0
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-09-16 14:32:39 +02:00
Hosted Weblate
278c5a2872
Merge remote-tracking branch 'origin/main'
2022-09-16 14:32:37 +02:00
Dan Halbert
8a568d18b5
Merge pull request #6757 from latkinso42/adcdma
...
analogbufio
2022-09-16 08:32:24 -04:00
Hosted Weblate
7540ae87d4
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-09-16 14:22:20 +02:00
MicroDev
4a69dfa50c
Merge pull request #6907 from dhalbert/preserve-pins-on-deep-sleep
...
allow preserving pin state during deep sleep
2022-09-16 17:52:04 +05:30
MicroDev
f994b11d52
Merge pull request #6909 from dhalbert/fesp32s2tft-remove-unneeded-code
...
Remove unneeded workaround for Feather ESP32-S2 TFT
2022-09-16 10:18:13 +05:30
Dan Halbert
7914870f9a
Merge pull request #6908 from dhalbert/nrf-busio-none-empty-uart-read
...
nrf: return None when UART.read() reads nothing
2022-09-15 22:12:06 -04:00
Dan Halbert
6bb47038d5
Merge remote-tracking branch 'adafruit/main' into adcdma
2022-09-15 20:42:51 -04:00
Dan Halbert
0ab4f12dc4
fix some submodules commit skew
2022-09-15 20:36:29 -04:00
Dan Halbert
82694b7265
remove extraneous copyrights
2022-09-15 20:31:08 -04:00
Dan Halbert
4df8a51982
Remove unneeded workaround for Feather ESP32-S2 TFT
2022-09-15 20:06:47 -04:00
Dan Halbert
27c2dfb499
Merge pull request #6904 from BPI-STEAM/CircuitPython-main-BPI-Leaf-S3-PR
...
Add BananaPi BPI-Leaf-S3.
2022-09-15 19:45:03 -04:00
Dan Halbert
f1d592ac8c
Merge pull request #6905 from hardfury-labs/main
...
Fix bindings typing
2022-09-15 19:44:14 -04:00
Dan Halbert
3abfd212ec
nrf: return None when UART.read() reads nothing
2022-09-15 19:40:02 -04:00
Dan Halbert
60f43b1703
allow preserving pin state during deep sleep
2022-09-15 17:35:14 -04:00
TimonPeng
1cc4d63c52
Fix bindings typing
2022-09-16 00:02:17 +08:00