Dan Halbert
70b838a42d
Merge pull request #7395 from jepler/fix-getenv_int-dos-newlines
...
Fix getenv_int handling of "dos-style" newlines
2022-12-28 18:32:38 -05:00
Jeff Epler
7a005aa96b
break out after reading the value
...
This is a small optimization, it avoids reading the full file when an
early key is requested.
In the case of an *invalid* TOML file such as
```
K=80
K=81
```
this stops the value of K actually returned being 8081 and makes it 80
instead; but as it's a malformed file it doesn't really matter much.
2022-12-28 13:24:38 -06:00
Jeff Epler
2c46e785f6
update test results
2022-12-28 12:38:07 -06:00
Jeff Epler
15a24b400d
Permit trailing whitespace in getenv_int
2022-12-28 12:37:27 -06:00
Jeff Epler
83bbfd1815
Allow the tests to directly call the non-heap using _int and _str variants
...
.. of getenv. These can have their own special bugs.
2022-12-28 12:36:58 -06:00
Jeff Epler
edcb832661
These need to be double-blackslashed
2022-12-28 12:35:48 -06:00
Dan Halbert
81e9f5013e
Merge pull request #7390 from RetiredWizard/teensy41-uartfix
...
mimxrt10xx/common-hal/UART.C: Fix for bits parameter validation.
2022-12-27 22:47:09 -05:00
RetiredWizard
7a40d449e6
mimxrt10xx/common-hal/UART.C: Fix for bits parameter validation.
...
I believe this will resolve issue #7389
2022-12-27 22:07:54 -05:00
Jeff Epler
785ebe1f41
Merge pull request #7382 from jepler/translate-name-not-known
...
Make the "name or service not known" message translatable
2022-12-27 12:15:52 -06:00
Jeff Epler
b0a635af4d
Merge pull request #7381 from jepler/issue7380
...
Correctly handle settings.toml that ends without a newline
2022-12-27 11:42:24 -06:00
Jeff Epler
928fb0a9c4
Make the "name or service not known" message translatable
2022-12-26 13:58:31 -06:00
Jeff Epler
337b1da143
Explicitly test \n and \r\n files
...
\r\n files must be working due to micropython's built in handling of
text-mode files, I didn't implement it.
\r-only (old mac text-mode files) are explicitly not supported by
the toml format.
2022-12-26 10:53:58 -06:00
Jeff Epler
f6b69cf5e3
Allow settings.toml to end without a newline
2022-12-26 10:53:58 -06:00
Jeff Epler
4dbbfa0931
Print errors to repl about getenv
2022-12-26 10:53:58 -06:00
Jeff Epler
2901399cc6
No need to depend it here, conf.py runs make stubs
2022-12-26 10:53:57 -06:00
Dan Halbert
0d3b7770d1
Merge pull request #7378 from DavePutz/issue_7325
...
Issue 7352 - set max value of a pulsein
2022-12-24 19:16:44 -05:00
Dan Halbert
88d0eba7f4
Merge pull request #7258 from m1cha1s/ESP32DevKitV1
...
Esp32 dev kit v1
2022-12-24 09:12:45 -05:00
root
94dbefacf1
Issue 7352 - set max value of a pulsein
2022-12-23 19:17:45 -06:00
Dan Halbert
a930756c26
Merge pull request #7374 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-12-22 11:44:06 -05:00
Jonny Bergdahl
9bf62d1433
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (995 of 995 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-12-22 16:49:13 +01:00
Wellington Terumi Uemura
26143e057f
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (995 of 995 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-12-22 16:49:12 +01:00
Dan Halbert
55f0a3bbdd
Merge pull request #7372 from evildave666/fix-luatos-gpio11-and-flashmode
...
Fix Luatos Core-ESP32C3 GPIO11 and flash mode
2022-12-21 21:46:34 -05:00
evildave666
7cfdd24f77
Change flash mode to dio
2022-12-22 09:30:52 +09:00
evildave666
e80ff20583
Remove IO11 from definition
...
It is used internally on this particular board version despite being broken out to a pin and marked on silkscreen.
2022-12-22 09:29:24 +09:00
Dan Halbert
5a2eb22fa5
Merge pull request #7370 from bablokb/ignore-devcontainer
...
ignore .devcontainer/*
2022-12-21 11:32:49 -05:00
Dan Halbert
dbd8d32f8c
Merge pull request #7367 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-12-21 10:26:47 -05:00
Bernhard Bablok
868a98323a
added comment for IGNORE_DIRS
2022-12-21 15:18:33 +01:00
Hosted Weblate
600d7c90b6
Merge remote-tracking branch 'origin/main'
2022-12-21 14:40:11 +01:00
Dan Halbert
2f1476874a
Merge pull request #7368 from dhalbert/preserve-nlr_push-regs
...
Use returns_twice attribute to preserve regs in nlrthumb nlr_push()
2022-12-21 08:40:05 -05:00
Bernhard Bablok
f97925c66c
ignore .devcontainer/*
2022-12-21 13:27:23 +01:00
Dan Halbert
8087887afd
Use returns_twice attribute to preserve regs in nlrthumb nlr_push()
2022-12-20 22:18:43 -05:00
Hosted Weblate
826116879b
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-12-21 02:43:15 +01:00
Dan Halbert
2a1bb72797
Merge pull request #7359 from tannewt/rework_coproc_api
...
Rework the coproc API
2022-12-20 20:42:53 -05:00
Scott Shawcroft
c16b42e972
Tweak arg checking and comments
2022-12-20 11:00:13 -05:00
Scott Shawcroft
e9f032f468
Merge pull request #7364 from jepler/fix-unix-standard-build
...
fix ports/unix builds besides coverage
2022-12-20 06:54:52 -08:00
Scott Shawcroft
e7ded6d684
Merge pull request #7362 from Neradoc/add-status-led-pico
...
Add GP25 as status LED on the Raspberry Pi Pico
2022-12-20 06:48:40 -08:00
Jeff Epler
aa63fae0ae
fix ports/unix builds besides coverage
2022-12-20 07:27:26 -06:00
Neradoc
b36d603cf3
add GP25 as status LED on the Raspberry Pi Pico
2022-12-19 22:11:30 +01:00
Scott Shawcroft
0498b1d2ae
Fix indent
2022-12-19 15:51:34 -05:00
Scott Shawcroft
674f0402a9
Fix ESP32 builds
2022-12-19 15:30:03 -05:00
Scott Shawcroft
f8ac1d9261
Rework the coproc API
...
It is now a generic `memorymap` API and an ESP specific `espulp` module.
Fixes #7218 . Fixes #3234 . Fixes #7300 .
2022-12-19 14:08:38 -05:00
Dan Halbert
9629a0cc4e
Merge pull request #7356 from CRCibernetica/crcibernetica-ideaboard-update
...
added frozen modules, modified FLASH size
2022-12-19 10:19:15 -05:00
Dan Halbert
5897b0d6c3
Merge pull request #7354 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-12-19 10:08:51 -05:00
root
aac324c4d1
added frozen modules, changed to 8BM FLASH
2022-12-18 22:49:28 +00:00
Hosted Weblate
da33f477e8
Merge remote-tracking branch 'origin/main'
2022-12-18 03:15:43 +01:00
Dan Halbert
77a98e6107
Merge pull request #7355 from pypewpew/esp32-camera-xclk
...
esp32-camera: make the master_clock_pin really optional
2022-12-17 21:15:31 -05:00
Hosted Weblate
01be969561
Merge remote-tracking branch 'origin/main'
2022-12-17 15:35:36 +01:00
Jeff Epler
37a30592d6
Merge pull request #7350 from bablokb/fix-devcontainer
...
fixed typo (path) in postCreateCommand
2022-12-17 08:35:19 -06:00
Wellington Terumi Uemura
49dba47f4e
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (991 of 991 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-12-16 22:50:39 +01:00
Radomir Dopieralski
90c805d858
esp32-camera: make the master_clock_pin really optional
...
The master_clock_pin was already optional, but not specifying it would
result in a crash. This fixes it, so it really can be omitted, when the
camera module has its own clock source built in.
2022-12-16 21:53:50 +01:00