Commit Graph

28869 Commits

Author SHA1 Message Date
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
Wind-stormger
56c5f1eedf Add BananaPi BPI-Leaf-S3.
Based on esp32s3, all available pins are drawn.
2M PSRAM, 8M FLASH.
A JST SH 4-pin Connector can be used for STEMMA QT / Qwiic.
A MX 1.25mm 2-Pin Connector Lithium battery power supply.
A WS2812 LED.
2022-09-15 14:18:24 +08:00
Dan Halbert
14fc4a0797
Merge pull request #6898 from dhalbert/espressif-pwmout-reset
Espressif pwmout reset fixes
2022-09-14 18:47:05 -04:00
Dan Halbert
87d120678c
Merge pull request #6890 from jepler/fontio
Give fontio its own enable
2022-09-14 14:22:46 -04:00
Dan Halbert
ae64f9fd78
Merge pull request #6899 from BPI-STEAM/CircuitPython-main-BPI-BIT-S2-PR
Add BananaPi BPI-Bit-S2 .
2022-09-13 23:02:46 -04:00
Wind-stormger
6f4cc611ed Add BananaPi BPI-Bit-S2 .
Adds support for the BananaPi BPI-Bit-S2 Boards.
Based on esp32s2 chip.
With 25 ws2812 LEDs, 1 buzzer, 2 photosensitive sensors, 1 thermosensitive sensor,
2 buttons on the front, 1 reset button and 1 boot button on the back.
2022-09-14 10:21:23 +08:00
Dan Halbert
d2f28eb980
Merge pull request #6887 from RetiredWizard/Broadcom-UART
Enable CIRCUITPY_CONSOLE_UART by default on Broadcom boards
2022-09-13 14:35:16 -04:00
Dan Halbert
254044efb9
Merge pull request #6895 from CytronTechnologies/set-default-pin-state-cytron-maker-feather-aiot-s3
Set the default pin state for GPIOs to pull down (Cytron Maker Feather AIoT S3).
2022-09-13 14:31:03 -04:00
Dan Halbert
792943f6eb
Merge pull request #6900 from tekktrik/doc/add-more-documentation
Doc/add more documentation
2022-09-13 14:29:19 -04:00
Dan Halbert
2b25a5d574 update esp32-camera 2022-09-13 13:16:37 -04:00
Dan Halbert
14adfb16dd avoid pwmout_reset() workaround by reordering in main(); remove unnecessary never-resets 2022-09-12 21:32:21 -04:00
Alec Delaney
129e38096e Add information to aesio 2022-09-12 21:15:07 -04:00