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
Dan Halbert
d3449bdabb
Merge pull request #6952 from dhalbert/simpler-status-bar-code
...
Simpler status bar code
2022-09-28 12:40:01 -04: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
Dan Halbert
39492b3403
Merge pull request #6951 from jepler/black-bindings
...
Black bindings
2022-09-27 17:57:07 -04:00
Dan Halbert
4b89b60747
Merge pull request #6953 from kattni/grand-central-pins
...
Update pin order to match silk.
2022-09-27 17:56:07 -04:00
Jeff Epler
3a0d237581
Run black_bindings during pre-commit
2022-09-27 15:22:55 -05:00
Jeff Epler
b2cc8d2aad
run black_bindings across all bindings
2022-09-27 15:21:42 -05:00
Jeff Epler
6a20aef382
new script to blacken docstrings in bindings
2022-09-27 15:20:49 -05:00
Jeff Epler
4e96667d50
Manual fix for oddball cases
2022-09-27 15:19:32 -05:00
Jeff Epler
c415c13517
mend broken doc block
...
Since black_bindings.py will pass each contiguous
"//|"-block to black independently, they must each be a fully
formed Python item.
2022-09-27 15:19:31 -05:00
Kattni Rembor
ea5e4b20b0
Add more spacing for aliased pins.
2022-09-27 15:50:30 -04:00
Kattni Rembor
9c4c7241d0
Update pin order to match silk.
2022-09-27 15:24:07 -04:00
Dan Halbert
0cd37376a0
finish status bar internal simplification
2022-09-27 15:14:40 -04:00
Dan Halbert
d983f08f36
Merge remote-tracking branch 'adafruit/main' into simpler-status-bar-code
2022-09-27 11:24:46 -04:00
Dan Halbert
b8c8e85a97
Merge pull request #6945 from flom84/main
...
Add circuitpython support for STM Nucleo-F446RE development board.
2022-09-27 11:16:58 -04:00
Dan Halbert
f8d2ff0e33
Merge pull request #6947 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-09-27 11:15:05 -04:00
Hosted Weblate
adf8dab64d
Merge remote-tracking branch 'origin/main'
2022-09-27 17:14:37 +02:00
Dan Halbert
5384742d19
Merge pull request #6949 from jepler/doc-fix-usb-cdc
...
Revert "pin python version for doc building"
2022-09-27 11:14:29 -04:00
Jeff Epler
da4f2db1df
Add missing type annotations
...
These are treated as warnings by extract_pyi, so they don't stop
the build process.
2022-09-27 09:10:55 -05:00
Jeff Epler
62aa7dfcdb
Revert "pin python version for doc building"
...
This reverts commit 645cb6c2a5
.
2022-09-27 08:20:44 -05:00
flom_84
96a83ecbfe
Update mpconfigboard.h
2022-09-26 19:58:33 +02:00
flom84
e626502fd2
Add USB VID and PID from STM.
2022-09-26 19:45:33 +02:00
flom84
2bd2406d13
Update license info and remove redundant board functions.
2022-09-26 19:39:07 +02:00
Florin Maticu
8754a6ec53
Add circuitpython support for STM Nucleo-F446RE.
2022-09-26 19:12:42 +02:00
Hosted Weblate
77c1c695b0
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-25 23:56:04 +02:00
Dan Halbert
a7b10d41b4
Merge pull request #6522 from jepler/must-be-int
...
Improve argument checking & reduce strings to translate
2022-09-25 17:55:56 -04:00
Dan Halbert
c291a02bcc
Merge pull request #6943 from snkYmkrct/main
...
Support for opening a file by name in MP3Decoder
2022-09-25 17:53:51 -04:00
Dan Halbert
de80db681f
Merge pull request #6915 from dhalbert/ringbuf-cleanup
...
ringbuf cleanup
2022-09-25 17:50:21 -04:00
Jeff Epler
1c8e12660c
Merge pull request #6944 from Neradoc/doc-fix-usb-cdc
...
docs: usb_cdc.Serial.readinto has no nbytes parameter
2022-09-25 13:35:58 -05:00
Jeff Epler
645cb6c2a5
pin python version for doc building
2022-09-25 12:22:50 -05:00
Neradoc
2c35e5e284
avoid problematic sphinx version number for rtd theme
2022-09-25 16:10:11 +02:00
Dan Halbert
e25c195b78
fix broadcom UART ringbuf init
2022-09-25 09:12:23 -04:00
snkYmkrct
d7ea1c39c6
Minor update to MP3Decoder documentation
2022-09-25 13:34:50 +02:00
snkYmkrct
ee6bd09438
Rename method, and remove redundant checks
2022-09-25 10:42:49 +02:00
Neradoc
5346b89b08
don't use @property in docs, just document as a property
2022-09-25 07:18:18 +02:00
Dan Halbert
e5f2f0be25
simplify suppressing status bar writes
2022-09-25 00:00:37 -04:00
Dan Halbert
d2bc5ebdf8
Merge pull request #6942 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-09-24 23:56:26 -04:00
Hosted Weblate
dfb89e2931
Merge remote-tracking branch 'origin/main'
2022-09-25 05:55:15 +02:00
Dan Halbert
d44edc4a0c
Merge pull request #6937 from jepler/issue6839
...
Use new unique ID for this board
2022-09-24 23:55:06 -04:00