Pontus Oldberg
9ef5b7d118
Merge branch 'main' of https://github.com/PontusO/circuitpython
2022-12-11 13:02:03 +01:00
Pontus Oldberg
da413094f8
Added LDO control pin and initial setup
2022-12-11 13:01:00 +01:00
Radomir Dopieralski
6412d971fa
displayio: Set in_group to false when removing a layer from a group
...
Otherwise the removed layer cannot be re-added.
2022-12-11 02:59:56 +01:00
Jeff Epler
2bf5d2bc07
Merge remote-tracking branch 'origin/main' into dotenv-becomes-toml
2022-12-10 15:39:50 -06:00
Jeff Epler
dd6dd5df21
rework the getenv test again
...
* use a virtual fat filesystem during the test
* this makes the file I/O part more closely patch runtime which is nice
* side-steps the need to add a special function for testing
* but test still can't be run on a device, because the vfs calls
are incompatible, and you intentionally can't remount "/" anyway
* and side-steps problems with storing 'bad' toml files
2022-12-10 12:58:08 -06:00
Jeff Epler
3ab71d7448
Rename test function, make 'bad' files binary & add another test
2022-12-09 15:23:56 -06:00
Jeff Epler
6dca9db225
Rename test function & fix a bug with default value handling
2022-12-09 14:35:50 -06:00
Jeff Epler
040fac0724
No need to track excess length
...
.. this is a relic from when the actual required length was given
back to the caller
2022-12-09 14:29:14 -06:00
Jeff Epler
cc7d550407
Really finish renaming to getenv
2022-12-09 14:28:46 -06:00
Jeff Epler
1f504e5c0f
Remove line accidentally duplicated
2022-12-09 14:15:00 -06:00
Jeff Epler
44f15d563d
Rename "environ" errors to "getenv" errors
2022-12-09 14:14:53 -06:00
Jeff Epler
678a466d1a
alphabetize
2022-12-09 14:12:43 -06:00
Jeff Epler
499af3ed00
update source locations in translation file
2022-12-09 14:11:57 -06:00
Jeff Epler
f2032dbf0f
remove mention of _environ
2022-12-09 14:11:37 -06:00
Jeff Epler
3a92c079fc
Finish renaming os_environ_get_key to os_getenv
...
.. for consistency.
2022-12-09 14:07:23 -06:00
Scott Shawcroft
906cd6eb65
Merge pull request #7324 from dhalbert/doc-remove-asyncio-update-library-pages
...
remove micropython asyncio doc; update libraries page and links
2022-12-09 08:31:43 -08:00
Jeff Epler
529ec23ecb
sadly, no emoji in the docs :( hopefully this works
2022-12-08 20:07:48 -06:00
Dan Halbert
fa96bcce84
remove micropython asyncio doc; update libraries page and links
2022-12-08 20:23:02 -05:00
Jeff Epler
3cb628d290
fix nrf build
2022-12-08 16:45:58 -06:00
Dan Halbert
4fa0c4d108
Merge pull request #7320 from dhalbert/seeed-xiao-nrf52840-charge-rate-pin
...
Add pin for charge rate for Seeed XIAO nRF52840 Sense
2022-12-08 16:51:26 -05:00
Jeff Epler
f30d3ba02e
update expected result
2022-12-08 15:39:19 -06:00
Jeff Epler
3459fe322b
Withdraw the _environ module
...
This existed solely for testing, so expose it a different way during
the unix coverage build
Also turn off os.getenv support on samd21.
2022-12-08 15:33:10 -06:00
Jeff Epler
243ecc2502
remove debugging prints
2022-12-08 14:18:22 -06:00
Jeff Epler
170918995c
fix mistaken code formatting
...
I wanted to use the idiom
```c
#if GUARD
if (condition) {
alternate code
} else
#else
{
common default code
}
```
idiom, in which the common default code is conditioned both on a
compile-time check and a run-time check. However, I got it wrong
and uncrustify chipped in, adding extra brackets around a following
piece of code and re-indenting it.
2022-12-08 14:16:53 -06:00
Jeff Epler
19ad1d5f53
update translations
2022-12-08 14:12:59 -06:00
Jeff Epler
a05829528b
_environ: update documentation
2022-12-08 13:36:48 -06:00
Dan Halbert
4e7d65251f
Add pin for charge rate for Seeed XIAO nRF52840 Sense
2022-12-08 14:09:44 -05:00
Jeff Epler
47339d4248
make a settings.toml file on boards that support the feature
2022-12-08 12:56:24 -06:00
Jeff Epler
1fe05cb8cd
pico w: re-use previous connection if ssid matches
2022-12-08 12:44:34 -06:00
Jeff Epler
ef2bfdb5db
dotenv becomes settings.toml
2022-12-08 12:44:20 -06:00
Scott Shawcroft
c97d23892e
Merge pull request #7315 from RetiredWizard/BPI-LED-definition
...
Update mpconfigboard.h with LED definition for BPI Picow_s3
2022-12-08 09:50:33 -08:00
Dan Halbert
748cb92ff3
Merge pull request #7317 from s-ol/vfsfat-readonly-prop
...
Add VfsFat.readonly property for getting current state
2022-12-08 11:00:55 -05:00
s-ol
99b8564e8f
Add VfsFat.readonly property for getting current state
...
Previously the only other way of determining whether the Vfs has been mounted
read-write or read-only appears to be to attempt a write operation and detect a
possible OSError.
It wasn't possible for the user code to keep track of the state of the state
since the boot VM has to decide whether to (re)mount read-write or read-only,
but can't (easily) pass this information on to the runtime VM.
2022-12-08 14:45:24 +01:00
RetiredWizard
68d510cb2f
Update mpconfigboard.h
...
Configure LED pin for STATUS display and to prevent ESP floating pins from constantly lighting led dimly.
2022-12-07 23:00:09 -05:00
Dan Halbert
295f7b490f
Merge pull request #7313 from jepler/cyw43-additional-delay
...
Add an additional large delay time at start for pico w boards
2022-12-07 19:17:45 -05:00
Dan Halbert
44af05283a
Merge pull request #7291 from jepler/issue6502
...
Ensure orderly shutdown of ssl socket
2022-12-07 19:12:12 -05:00
Jeff Epler
2326b49b24
switch this header to 'pragma once' since I'm touching it already
2022-12-07 15:14:54 -06:00
Jeff Epler
a1dd8405f4
use a more standard method of forward-declaring the structure
2022-12-07 15:14:30 -06:00
Jeff Epler
ff8d051eff
Add an additional large delay time at start for pico w boards
2022-12-07 15:10:13 -06:00
Dan Halbert
676e40d62f
Merge pull request #7311 from dhalbert/esp32-box-lite-sdkconfig
...
make esp32-box-lite sdkconfig same as box
2022-12-06 21:31:45 -05:00
Dan Halbert
3965ef9c2a
make esp32-box-lite sdkconfig same as box
2022-12-06 19:27:00 -05:00
Dan Halbert
4418f268b9
Merge pull request #7309 from tannewt/fix_esp_socket_block
...
Three small ESP web workflow fixes
2022-12-06 17:12:45 -05:00
Scott Shawcroft
b354cec8cb
Three small ESP web workflow fixes
...
* Set nonblock on all accepted sockets. Not just ones for user code.
* Close an open websocket if another is accepted.
* Set debug level to INFO rather than DEBUG because DEBUG crashes
on ESP32-S3 USB OTG.
2022-12-06 11:49:04 -08:00
Dan Halbert
5cb867e854
Merge pull request #7307 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-12-05 22:18:08 -05:00
Boran Roni
1e34fc110a
Translated using Weblate (Turkish)
...
Currently translated at 26.7% (264 of 987 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-12-05 22:48:20 +01:00
Wellington Terumi Uemura
d080f81ffe
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (987 of 987 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-12-05 22:48:19 +01:00
Scott Shawcroft
ac239c0fb3
Merge pull request #7306 from evildave666/add-luatos-core-esp32c3
...
Add Luatos Core ESP32C3 Board
2022-12-05 13:27:08 -08:00
Scott Shawcroft
d7874e65c2
Merge pull request #7299 from BooleanMattock/main
...
Fix to Issue #7224 - Servo update slow due to PWM channel duty cycle update busy-wait
2022-12-05 12:54:41 -08:00
Dan Halbert
d7d5a96da9
Merge pull request #7292 from jepler/fix-error-message
...
fix display of the 'host not found' message
2022-12-05 11:07:11 -05:00
Dan Halbert
e871deb5ce
Merge pull request #7302 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-12-05 11:06:25 -05:00