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
Jeff Epler
afca4cef6d
This code can only be active if USB CDC is enabled.
2022-11-18 16:05:46 -06: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
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
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
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
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
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
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
Hosted Weblate
a136638b68
Merge remote-tracking branch 'origin/main'
2022-11-15 05:35:35 +01:00
River Wang
a4dd1b2341
Translated using Weblate (Chinese (Pinyin))
...
Currently translated at 99.4% (990 of 995 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-15 05:35:35 +01:00
Dan Halbert
11dcd69f2c
Merge pull request #7207 from jepler/nicer-pin-checking
...
shared-bindings: Get rid of CYW43 special cases in shared-bindings
2022-11-14 23:35:26 -05:00
Jeff Epler
14ba5a75a3
skip converting from long int if long ints aren't enabled
...
.. saves 20 bytes on proxlight trinkey
2022-11-14 21:26:58 -06:00
Jeff Epler
2d08473ee0
this version actually saves more code space on cortex-m0 with -Os (samd21s)
2022-11-14 21:18:40 -06:00
Hosted Weblate
2db0a72c55
Merge remote-tracking branch 'origin/main'
2022-11-14 23:15:34 +01:00
River Wang
ce22a3293d
Translated using Weblate (Chinese (Pinyin))
...
Currently translated at 99.6% (992 of 995 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-14 23:15:34 +01:00
hexthat
63ad2b763e
Translated using Weblate (Chinese (Pinyin))
...
Currently translated at 99.6% (992 of 995 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-14 23:15:34 +01:00
Dan Halbert
61345325d9
Merge pull request #7211 from jepler/fix-gitignore-sdkconfig
...
only ignore sdkconfig* files in the espressif port's top directory
2022-11-14 17:15:27 -05:00
Bill Sideris
6954e569b7
since it ain't leaving..
2022-11-15 00:05:01 +02:00
Bill Sideris
fde1c05e6d
Revert "remove lwip_src"
...
This reverts commit 398e9122a0
.
It fails on LINK without them.
2022-11-14 20:03:41 +02:00
Dan Halbert
fdeaf805d3
STM: off-by-one TIMx reference; other code cleanup and minor fixes
2022-11-14 13:00:32 -05:00
Bill Sideris
398e9122a0
remove lwip_src
2022-11-14 19:33:06 +02:00
Bill Sideris
6ad61a3fd1
Radio.c work
2022-11-14 19:31:18 +02:00
Jeff Epler
14b20087b5
only ignore sdkconfig* files in the espressif port's top directory
...
danh and microdev1 noticed that this ignore pattern was over-broad
and caused added sdkconfig files in boards/ (which should be committed)
to be ignored and not proposed for addition by common tools like
git status, git gui, etc.
This pattern anchors the search so that it only matches in the
ports/espressif directory, so ports/espressif/sdkconfig is ignored
but ports/espressif/boards/example/sdkconfig is not ignored anymore
2022-11-14 11:29:18 -06:00
Bill Sideris
2e6dd1bf1f
Radio.c no longer needs ping.h
2022-11-14 18:36:42 +02:00
River Wang
e53bbb1bd2
Translated using Weblate (Chinese (Pinyin))
...
Currently translated at 97.3% (969 of 995 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-14 16:47:28 +01:00
Jeff Epler
adca341d3b
Save code space by packing rgbw values into C union
...
It's more efficient passing one register-sized structure than 4
arguments or 4 pointers; working on intermediate values of 'int' size
is also more efficient in code size!
On raspberry pi pico w, this increased free flash space by +104 bytes.
It also increased the speed of my testing animation very slightly, from
187fps to 189fps when run 'unthrottled'
2022-11-14 09:29:45 -06:00
Jeff Epler
cdab078d9d
shared-bindings: Get rid of CYW43 special cases in shared-bindings
...
.. by moving it into a new weak function that can be replaced
just by the picow build.
2022-11-14 08:44:08 -06:00
Dominic Davis-Foster
e1046b1050
Add support for the 16MB WeAct Studio Pico
2022-11-14 14:04:07 +00:00
Dan Halbert
8f414eb4ee
Merge pull request #7179 from jepler/picow-voltage-monitor
...
Add ability to read VOLTAGE_MONITOR on Pico W
2022-11-13 22:40:54 -05:00
Dan Halbert
6e9909c65e
Merge pull request #7198 from CRCibernetica/crcibernetica-ideaboard
...
Add new board crcibernetica-ideaboard
2022-11-13 09:12:43 -05:00
root
43566dec5b
allow inclusion of board while blocking build files
2022-11-13 12:13:32 +00:00
Dan Halbert
7659377ac8
Merge pull request #7202 from jepler/update-ulab-6
2022-11-12 20:20:13 -05:00
Dan Halbert
c96208902f
Merge pull request #7199 from MicroDev1/espressif
...
Enable `microcontroller.cpu.temperature` on esp32s3
2022-11-12 11:16:45 -05:00
Jeff Epler
e4d620f055
make whitespace match
2022-11-12 09:17:52 -06:00