Paulus H.J. Schulinck
d66eeaab26
Update I2CTarget.c
...
Modification of the doc text of function request().
1) The timout parameter is a keyword-only argument; so Added '*,' in the function signature;
2) for parameter timeout an integer is expected, not a float.
2022-10-01 21:56:07 +01:00
Paulus H.J. Schulinck
6f5ffd80e1
I did not make changes in ports-broadcom-firmware
...
I made a fresh fork of circuitpython. Using Github Desktop app, created a local clone of this fork. Then Desktop app confronted me we a change in ports\broadcom\firmware -Subproject commit .nr.... and +Subproject commit same nr-dirty.
2022-10-01 21:34:12 +01:00
Dan Halbert
ad79f595a5
Merge pull request #6974 from MicroDev1/patch
...
Couple Minor Fixes
2022-10-01 13:12:01 -04:00
Dan Halbert
c518d6809e
Merge pull request #6976 from jepler/picow-pm
...
Set "disabled" PM at reset, provide PM constants and better documentation
2022-10-01 12:03:46 -04:00
Dan Halbert
7bb90dbf45
remove redundant port/*/.gitignore; cleanup others
2022-10-01 11:52:36 -04:00
Jeff Epler
40c2de833d
doc improvements
2022-10-01 10:09:33 -05:00
Jeff Epler
d3e85d165e
Set cyw43 power management as needed, default to disabled
...
.. the value actually needs to be enforced each time the STA or AP
is enabled, because internally there's a call to cyw43_wifi_pm with the
library's defaut power management value, not ours.
Add a getter, though it only returns our idea of what the power
management register is set to, it doesn't read out from the actual
hardware, sadly.
2022-10-01 08:20:34 -05:00
Jeff Epler
943b992bfc
Improve cyw43.set_power_management documentation
...
.. and provide 4 preset values
2022-10-01 07:52:08 -05:00
microDev
7eaeca4eb3
update espressif port's .gitignore
2022-10-01 09:14:48 +05:30
Dan Halbert
f9e655da47
Merge pull request #6962 from dhalbert/espressif-deep-sleep-hold-pins
...
Espressif: do not hold pins during deep sleep if not necessary
2022-09-30 22:20:44 -04:00
Dan Halbert
1086052d82
Merge pull request #6971 from dhalbert/8.0.0-beta.1-frozen-libraries
...
update frozen libraries for 8.0.0-beta.1
2022-09-30 22:19:10 -04:00
Dan Halbert
bced76887e
Merge pull request #6973 from jepler/rp2040-fix-warnings
...
Rp2040 fix warnings
2022-09-30 16:21:31 -04:00
Dan Halbert
9f8a68fa84
Merge pull request #6972 from jepler/blacken-bindings2
...
Tweak black_bindings
2022-09-30 16:19:22 -04:00
microDev
f64be33d4b
add esp32 in readme port status
2022-09-30 23:24:59 +05:30
Jeff Epler
c02602ace1
Enable strict-overflow diagnostic
2022-09-30 11:19:23 -05:00
Jeff Epler
afc1c0e3bb
Fix unused variable diagnostics, make it a fatal error
2022-09-30 11:19:22 -05:00
Jeff Epler
37620d4eb0
Fix several classes of compiler diagnostic & make fatal
...
* -Wno-nested-externs
* -Wno-strict-prototypes
* -Wno-double-promotion
* -Wno-sign-compare
2022-09-30 11:19:22 -05:00
Jeff Epler
c6eef3931f
Enable warning for unused static functions
2022-09-30 11:19:22 -05:00
Jeff Epler
2c9c6fc80e
Remove unused static functions
2022-09-30 11:19:21 -05:00
Jeff Epler
907c5d387f
Tweak black_bindings
...
Originally, black_bindings found each contiguous "//|" block and sent
it to black independently. This was slower than it needed to be.
Instead, swap the comment prefix: when running black, take off
"//|" prefixes and put "##|" prefixes on all un-prefixed lines.
Then, after black is run, do the opposite operation
This more than doubles the overall speed of "pre-commit run --all",
from 3m20s to 55s CPU time on my local machine (32.5s to under 10s
"elapsed" time)
It also causes a small amount of churn in the bindings, because
black now sees enough context to know whether one 'def' follows another
or ends the 'def's in a 'class'. In the latter case, it adds an extra
newline, which becomes a "//|" line.
I'm less sure why a trailing comma was omitted before down in
rp2pio/StateMachine.c but let's roll with it.
2022-09-30 11:18:13 -05:00
Jeff Epler
fcf7cfe838
Merge pull request #6960 from jepler/picow-server
...
Pico W: implement more things
2022-09-30 11:15:37 -05:00
Dan Halbert
63c9d9234f
update frozen libraries for 8.0.0-beta.1
2022-09-30 11:15:32 -04:00
Jeff Epler
0912889106
raspberrypi: statically allocate storage for hostname
2022-09-30 10:05:11 -05:00
Jeff Epler
84c7ac4a81
Make cyw43.set_power_management() be a function as intended
2022-09-30 07:56:59 -05:00
Jeff Epler
39e524feb3
Merge pull request #6970 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-09-30 07:56:13 -05:00
Jonny Bergdahl
7107995efd
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1000 of 1000 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-09-30 10:18:14 +02:00
Wellington Terumi Uemura
83a138cfbc
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1000 of 1000 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-09-30 10:18:14 +02:00
Jeff Epler
3281e14be1
fix reference to board module
2022-09-29 21:37:34 -05:00
Jeff Epler
325cbb1564
exclude files from doc build
2022-09-29 21:37:23 -05:00
Jeff Epler
4de9487820
It turns out you CAN have too many GPIO
2022-09-29 20:10:33 -05:00
Dan Halbert
9d1b12066d
Espressif: do not hold pins during deep sleep if not necessary
2022-09-29 20:11:48 -04:00
Jeff Epler
66372605c4
Merge pull request #6961 from flom84/stm32f4-dfu-mode-fixes
...
Update STM DFU mode software implementation.
2022-09-29 16:02:13 -05:00
flom84
7af8a23ddf
Use macro for computing size of array.
2022-09-29 22:10:21 +02:00
flom84
3609c29b27
Update STM DFU mode software implementation.
...
- fix for sizeof array calculation.
- follow ARM recommendation to turn off interruptions with NVIC.
2022-09-29 21:15:51 +02:00
Dan Halbert
03f02c7e8a
Merge pull request #6957 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-09-29 13:10:30 -04:00
Jeff Epler
510bd11f58
Enable reading back value of cyw43 pin
...
Now, `led.value = not led.value` works as a way to toggle the LED state.
Closes : #6959
2022-09-29 11:06:11 -05:00
Jeff Epler
a3bcfd6911
Add pin_CYW1 for SMPS_MODE
2022-09-29 10:54:06 -05:00
Jeff Epler
72b06021c0
fix doc formatting
2022-09-29 10:27:13 -05:00
Jeff Epler
74cdf42ece
pico w: implement bind, listen, accept
...
this works with some simple tcp & udp echo service code
2022-09-29 10:02:20 -05:00
Jeff Epler
12ea04ca70
Add cyw43.set_power_management
2022-09-29 10:02:20 -05:00
Jeff Epler
91f1266db5
Document CywPin
2022-09-29 10:02:19 -05:00
Jeff Epler
56f9f0d136
add tx power get/set
2022-09-29 10:02:19 -05:00
Jeff Epler
71a00157ba
Add hostname setting
2022-09-29 10:02:19 -05:00
Jeff Epler
c6d3163841
remove comment about something the Makefile does now
2022-09-29 10:02:18 -05:00
Hosted Weblate
6049728ed2
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-29 00:09:41 +02:00
Dan Halbert
db065a299f
Merge pull request #6933 from jepler/ 🥧 🐮
...
Implement a useful subset of `wifi` and `socketpool` modules on 🥧 🐮
2022-09-28 18:09:24 -04:00
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