Commit Graph

29697 Commits

Author SHA1 Message Date
Scott Shawcroft
c12e2a170d
Merge pull request #7235 from MicroDev1/ci
Fix json parse issue in ci_set_matrix.py
2022-11-21 13:06:06 -08:00
Dan Halbert
df0150ff0e Add common settings to sdkconfig-esp32c3.defaults 2022-11-21 15:15:26 -05:00
Dan Halbert
85a83b8150 Simplify some ESP32-C3 board sdkconfig files 2022-11-21 12:35:10 -05:00
MicroDev
73a43aa30d
Merge pull request #7236 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-11-21 01:04:09 +05:30
Hosted Weblate
16e34b147a
Merge remote-tracking branch 'origin/main' 2022-11-20 20:16:36 +01:00
Jeff Epler
63e18cdfe7
Merge pull request #7242 from s-ol/i2ctarget_fix
Don't block in I2CTarget.request(-1)
2022-11-20 13:16:22 -06:00
s-ol
40d35e9eaa Don't block in I2CTarget.request(-1)
Partially reverts #6985
Closes #7241
2022-11-20 16:08:00 +01:00
Hosted Weblate
3f357d39f4
Merge remote-tracking branch 'origin/main' 2022-11-19 20:46:22 +01:00
Dan Halbert
d4834cb7ec
Merge pull request #7234 from jepler/espressif-uart-console-break
Interrupt on UART 'break'
2022-11-19 14:46:18 -05:00
Hosted Weblate
b601e4c466
Merge remote-tracking branch 'origin/main' 2022-11-19 20:32:09 +01:00
Dan Halbert
96fc85cd18
Merge pull request #7229 from dhalbert/rp2040-spi-mode-3
RP2040: have clock start high when SPI polarity high
2022-11-19 14:32:02 -05:00
hexthat
4856f42f84
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-19 19:48:17 +01:00
MicroDev
7ea563e661
fix json parse issue 2022-11-19 23:29:05 +05:30
foamyguy
ef3398422a allow set_root_group for FrameBufferDisplay instead of show() 2022-11-19 11:41:48 -06:00
Jeff Epler
4e0f8e7fcd
Interrupt on UART 'break'
Tested and working with the CH9102F USB converter on Adafruit's
Feather ESP32 V2 (& tio as the software on the host computer)

Closes: #7233
2022-11-19 10:57:21 -06:00
Dan Halbert
c837ac4f3a
Merge pull request #7231 from MicroDev1/ci
Compare against PR head commit instead of merge ref
2022-11-19 09:38:25 -05:00
MicroDev
e4f5ca11f9
compare against pr head commit instead of merge ref 2022-11-19 10:51:22 +05:30
Dan Halbert
0f6c708cb1
Merge pull request #7227 from jepler/serial-break-is-interrupt
Allow serial "break" to trigger KeyboardInterrupt
2022-11-18 19:26:17 -05:00
foamyguy
e3cae22297 allow set_root_group for EPaperDisplay instead of show() 2022-11-18 17:34:03 -06:00
Dan Halbert
1611cf98da have clock start high in SPI mode 3 2022-11-18 18:27:38 -05:00
foamyguy
403e3ef430 change to CIRCUITPYTHON_TERMINAL. change internal API to use set_root_group 2022-11-18 16:53:18 -06:00
Jeff Epler
afca4cef6d
This code can only be active if USB CDC is enabled. 2022-11-18 16:05:46 -06:00
Bill Sideris
88bd9ef6b8
just change the ap error 2022-11-18 22:51:05 +02:00
Jeff Epler
406e46f46b
Allow serial "break" to trigger KeyboardInterrupt
When the USB serial buffer is full, the Ctrl-C code to send
KeyboardInterrupt can't be sent, which creates a problem if you've
pasted code or otherwise filled the buffer and need to recover.
A similar problem affects advanced UIs that interact with CircuitPython
and may send characters when they're unexpected, such as mu when it
tries to move the cursor based on the user clicking on the screen.

The main way forward seems to be to use some kind of message that can
still reach CircuitPython when its internal serial recieve buffer is full.
RS232 defines a "break" signal, in which the transmitting device holds its
data line in the "space" state for many entire character times. This still
exists in the world of USB serial.

This does work, sort of, except that your host computer software will need
to properly handle blocking serial writes; tio can send a break with
the **ctrl-c b** sequence, but this only works if it hasn't yet written
too much data, so it doesn't actually help in most situations :-/
2022-11-18 14:35:06 -06:00
MicroDev
7c51201e88
fix nRF build directory naming 2022-11-19 00:23:03 +05:30
MicroDev
c3c1717813
refactor common port specific Makefile code 2022-11-18 23:00:28 +05:30
MicroDev
f637332de6
Merge pull request #7209 from jepler/code-optimize-pixelbuf
Save code space by packing rgbw values into C union
2022-11-18 14:46:55 +05:30
MicroDev
e2a3597263
add awesome new make error message
Copied from initial implementation on atmel-samd

Co-authored-by: Rose Hooper <rhooper@toybox.ca>
Co-authored-by: Jeff Epler <jepler@gmail.com>
2022-11-18 11:27:23 +05:30
MicroDev
85ea80113b
Merge pull request #6217 from Neradoc/aithinker-c3-status-led
Status LED on AI Thinker ESP32-C3 boards
2022-11-18 10:24:32 +05:30
MicroDev
dd01fc97e5
Merge pull request #7223 from jepler/issue7222
supervisor_start_terminal: don't crash if display is tiny
2022-11-18 09:34:26 +05:30
Bill Sideris
b8cd6c093f
picow-ap progress 2022-11-17 21:47:39 +02:00
Neradoc
f9f1edbb08 setup PWM status LED on aithinker ESP32-C3 boards 2022-11-17 20:32:50 +01:00
Dan Halbert
be53193dde
Merge pull request #7219 from tannewt/c3_pwm_in_use
Fix PWM status LED never_reset
2022-11-17 13:59:47 -05:00
Scott Shawcroft
c525322a29
Merge pull request #7132 from MicroDev1/ci
CI: Schedule PR jobs based on commit specific changes
2022-11-17 10:37:07 -08:00
Jeff Epler
b0d0fcbabc
supervisor_start_terminal: don't crash if display is tiny
Closes: #7222
2022-11-17 12:03:33 -06:00
Scott Shawcroft
866ff5bd21
Merge pull request #7197 from FoamyGuy/vectorio_hidden
implement self hidden property for vectorio shapes
2022-11-16 12:56:10 -08:00
Bill Sideris
a234b74e87
Merge branch 'adafruit:main' into picow-ap 2022-11-16 21:32:46 +02:00
Scott Shawcroft
6689b9ad09
Merge pull request #7208 from domdfcoding/weact_pico_16mb
Add support for the 16MB WeAct Studio Pico
2022-11-16 09:59:37 -08:00
Scott Shawcroft
a4bd7721e9
Merge pull request #7217 from dhalbert/samd21-tick-event
samd21: port_disable_tick() should disable event channel
2022-11-16 09:05:48 -08:00
Dan Halbert
b74893eb07 samd21: port_disable_tick() should disable event channel 2022-11-15 21:52:12 -05:00
foamyguy
788638f727 displayio.SERIAL_GROUP constant 2022-11-15 19:15:25 -06:00
Scott Shawcroft
8e4e84c58b
Match channel number, not timer number 2022-11-15 16:51:47 -08:00
foamyguy
5b64a62c16 move hidden declare inside struct 2022-11-15 18:37:23 -06:00
Scott Shawcroft
93ee54a2fb
Fix PWM status LED never_reset
It doesn't need never reset because the status LED is only active
when user code isn't.

This also fixes PWM never reset on espressif so that deinit will
undo it.

Fixes #6223
2022-11-15 16:14:31 -08:00
Jeff Epler
ef34378b1d
Merge pull request #7201 from jepler/rp2040-light-sleep
raspberrypi: Make port_idle_until_interrupt work
2022-11-15 17:25:48 -06:00
Dominic Davis-Foster
ca84d79809
Allow duplicate VID and PID in CI check. 2022-11-15 23:06:36 +00:00
Jeff Epler
ef93eda0a0
Merge pull request #7192 from bill88t/picow-debug
Fix pi cow debug compilation
2022-11-15 14:08:44 -06:00
Jeff Epler
412df210ad
Merge remote-tracking branch 'origin/main' into build-python3x 2022-11-15 14:02:09 -06:00
Scott Shawcroft
b8a2d3ffdc
Merge pull request #7212 from dhalbert/stm-pwm-fix
STM: off-by-one TIMx reference; other code cleanup and minor fixes
2022-11-15 11:50:53 -08:00
MicroDev
e428c7eded
Merge pull request #7210 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-11-15 16:49:42 +05:30