Commit Graph

30106 Commits

Author SHA1 Message Date
Dan Halbert
9058beb573
"a array" to "an array" 2023-02-23 13:41:49 -05:00
Milind
9e73e8351a
Calling stop_dma function while retruning errors from start_dma after configuring dma 2023-02-23 14:47:05 +05:30
Milind
09f84e3513
Changed the code structure to start and stop dma from readinto function as per review comment to support one shot conversion mode for analogbufio
Added check for verifying the buffer type passed to readinto is H
2023-02-23 13:32:48 +05:30
Milind Movasha
556e2c915d
Fix for pre-commit issue related to translation 2023-02-18 20:42:31 +05:30
Milind Movasha
f1b6deacda
Yet another formatting change related to whitespaces 2023-02-18 14:49:11 +05:30
Milind Movasha
b2c6fad713
Additional formatting change related to whitespaces 2023-02-18 14:45:37 +05:30
Milind Movasha
4683e48337
Further formatting changes related to whitespaces 2023-02-18 14:40:12 +05:30
Milind Movasha
ead5751803
Pre-commit: Done the formatting changes
Pre-commit: Fixed compilation error for other ESP32C3/ESP32S3/ESP32H2 boards
Review comment: Removed the self->pin NULL check
Review comment: Using raise_ValueError_invalid_pin when adc_index is not ADC_UNIT1 for ESP32
Review comment: Optimized the code to set data in buffer from DMA results
Fix: For ESP32C3 boards continuing collecting samples after channel mismatch as DMA runs in alternating UNIT mode
Fix: For ESP32S3 and ESP32H2 setting conversion mode to type2
2023-02-18 14:26:50 +05:30
Milind Movasha
58532ece3f
Moved CIRCUITPY_ANALOGBUFIO flag to correct place in alphabetical order 2023-02-17 23:50:41 +05:30
Milind Movasha
5635077853
Espressif analogbufio implementation 2023-02-17 19:19:15 +05:30
MicroDev
cd0ff5196a
Merge pull request #7597 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-02-17 09:03:45 +05:30
Hosted Weblate
5a955a8740
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/
2023-02-16 20:15:42 +01:00
Hosted Weblate
1f3f4e6484
Merge remote-tracking branch 'origin/main' 2023-02-16 20:15:38 +01:00
Wellington Terumi Uemura
459f991dfb
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-02-16 20:15:38 +01:00
Jose David M
1d1abd690f
Translated using Weblate (Spanish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-16 20:15:38 +01:00
Dan Halbert
bbadc00599
Merge pull request #7577 from dhalbert/safemode-py
Implement safemode.py
2023-02-16 14:15:20 -05:00
Dan Halbert
e47e6454e1
Merge pull request #7594 from MicroDev1/ci
Custom board build
2023-02-16 10:48:56 -05:00
MicroDev
d3ef1b21bc
Merge pull request #7587 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-02-16 14:14:25 +05:30
MicroDev
729fc97668
custom board build 2023-02-16 09:36:12 +05:30
MicroDev
3036348f72
couple ci fixes
- upload stubs as `.tar.gz` instead of `.zip`
- append recursive flag only when the source ends with a backslash
2023-02-16 09:07:41 +05:30
Hosted Weblate
599ecbef05
Merge remote-tracking branch 'origin/main' 2023-02-15 22:55:48 +01:00
Jonny Bergdahl
f3cc597c13
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-02-15 22:55:48 +01:00
Dan Halbert
ca24cff0d3
Merge pull request #7586 from gneverov/issue_7333
Move serial init to earlier in boot process
2023-02-15 16:55:38 -05:00
Dan Halbert
f79459cb70 Try -fweb -frename-registers to make more SAMD21 builds fit 2023-02-15 16:38:24 -05:00
Hosted Weblate
bf274258a4
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/
2023-02-15 22:07:24 +01:00
Dan Halbert
c3e7670712
Merge pull request #7579 from jepler/better-boot-output-truncation
Improve boot_out.txt truncation
2023-02-15 16:07:14 -05:00
Dan Halbert
fe40181144 Turn back on for pewpew_m4, turn off terminalio for incomplete fonts in pewpew_m4 2023-02-15 14:45:15 -05:00
Scott Shawcroft
fd3c691af5
Merge pull request #7584 from MicroDev1/ci
Fix upload to aws & Refactor mpy-cross-mac path
2023-02-15 11:17:42 -08:00
Gregory Neverov
ffbb7550b4 Move serial init to earlier in boot process 2023-02-15 11:08:09 -08:00
MicroDev
9de039b625
pass secrets to reusable workflows 2023-02-15 21:31:15 +05:30
MicroDev
cfea7c1d69
refactor mpy-cross-mac aws path 2023-02-15 10:56:54 +05:30
MicroDev
5168e96d0c
fix docs upload to aws 2023-02-15 10:56:06 +05:30
MicroDev
32d86c3ea3
Merge pull request #7580 from adafruit/8.0.x
Merge 8.0.x up to main
2023-02-15 09:16:51 +05:30
MicroDev
48077daa7f
Merge pull request #7581 from gneverov/issue_7333
Add function common_hal_busio_uart_never_reset for rp2
2023-02-15 09:16:25 +05:30
Scott Shawcroft
c8a325a40b
Merge pull request #7567 from MicroDev1/ci
CI Enhancements & Refactoring
2023-02-14 11:12:08 -08:00
Scott Shawcroft
0be53977f9
Merge pull request #7570 from RetiredWizard/broadcomNeopix
Broadcom pi zero2w neopixel misbehaving/crash fix
2023-02-14 09:56:18 -08:00
Gregory Neverov
98b61279e4 Add function common_hal_busio_uart_never_reset for rp2 2023-02-14 09:05:24 -08:00
Jeff Epler
73840f840d Improve boot_out.txt truncation
* write any partial message
 * instead of "..." show a sensible (translatable) message

This does slightly lower the amount of data that can be printed,
and makes the exact amount dependent on the language. However, if boot.py
intentionally needs to produce larger amounts of output, it can
deliberately mount the filesystem in RW mode and perform any writes needed.
In that case it's up to the boot.py to choose an appropriate way to
limit the number of writes if needed for the application.
2023-02-14 10:47:06 -06:00
Dan Halbert
328585f160 don't enter safemode.py on USER safe mode 2023-02-14 11:20:29 -05:00
MicroDev
50c52fca88
split raspberrypi and refactor espressif 2023-02-14 20:38:14 +05:30
Dan Halbert
0f099cdb31 Turn off safemode.py for pewpew_m4 2023-02-13 22:52:39 -05:00
Dan Halbert
c39a51527f Turn safemode.py off on non-external-flash SAMD21 builds 2023-02-13 21:48:03 -05:00
Dan Halbert
d46d9d5c21 shorten safe mode messages; improve message printing; fix CIRCUITPY_SAFEMODE_PY=0 2023-02-13 21:29:57 -05:00
RetiredWizard
6ebb911a4d pre-commit formatting fix 2023-02-13 21:06:47 -05:00
RetiredWizard
09ccf2988d Replace bitwise or with boolean or 2023-02-13 21:04:11 -05:00
RetiredWizard
39d3d97ea4 Remove unnecessary memory barriers 2023-02-13 19:46:35 -05:00
Dan Halbert
d8231f1588 Implement safemode.py 2023-02-13 18:26:38 -05:00
RetiredWizard
dcb6955fa5 use boolean and symbols 2023-02-13 14:58:37 -05:00
RetiredWizard
791aefd388
Update ports/broadcom/common-hal/neopixel_write/__init__.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-02-13 14:44:54 -05:00
RetiredWizard
575f177dd0
Update ports/broadcom/common-hal/neopixel_write/__init__.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-02-13 14:44:46 -05:00