Scott Shawcroft
fb0ff7e5bd
Only disable aesio on C3
2024-10-10 10:22:15 -07:00
Scott Shawcroft
1543642dc2
Fix mac address formatting and disable aesio for ESP
2024-10-09 14:22:16 -07:00
Scott Shawcroft
390c280d2b
Turn off keypad demux on ESP32-C3
2024-10-08 15:49:19 -07:00
Scott Shawcroft
ed0e640fb8
MDNS hostname match DHCP. Fix collision mangling
...
MDNS defaults to the hostname used by DHCP/LWIP since it is now
unique. This makes it the same either way.
This also updates esp-protocols (used for mdns) with a patch to
ensure that mangled names are the ones that collide.
(circuitpython.local collides but was causing cpy- to be mangled.)
Fixes #6869 again.
2024-10-08 15:01:47 -07:00
Scott Shawcroft
6ca0380d26
Merge pull request #9672 from samblenny/usb-device
...
Improve usb.core.Device exception handling and reporting
2024-10-08 13:52:52 -07:00
Dan Halbert
d2e82bd55b
conf.py: remove deprecated get_html_theme_path()
2024-10-08 16:29:35 -04:00
Dan Halbert
44748abcc4
Merge pull request #9694 from Sola85/fix-epaperdisplay-delay
...
epaperdisplay: fix delay when two_byte_sequence_length is true
2024-10-08 13:28:06 -04:00
Sola85
af7d8b7d94
epaperdisplay: fix delay when two_byte_sequence_length is true
2024-10-08 09:03:08 +02:00
sam blenny
08bc84b4f4
revert usb.core.Device error message changes
...
This puts the error messages back like they were, leaving the null
pointer dereference fixes in place.
2024-10-07 17:50:22 +00:00
Scott Shawcroft
fe20582f72
Merge pull request #9687 from bill88t/c6supmini
...
Add MakerGo C6 SuperMini
2024-10-07 10:25:39 -07:00
Scott Shawcroft
6a007ef780
Merge pull request #9688 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2024-10-07 10:22:24 -07:00
Hosted Weblate
b694388800
Merge remote-tracking branch 'origin/main'
2024-10-07 16:50:42 +02:00
Dan Halbert
ef70b7b548
Merge pull request #9692 from jepler/fix-printing-deepsleeprequest
...
Avoid crashing when printing DeepSleepRequest objects
2024-10-07 10:50:35 -04:00
5b771569d8
remove deprecated call in doc setup
2024-10-07 09:15:07 -05:00
125faaec18
Avoid crashing when printing DeepSleepRequest objects
2024-10-07 08:43:42 -05:00
Bill Sideris
1c58d7c293
Change the comment type
2024-10-06 17:03:15 +03:00
Bill Sideris
e9bb5cf4de
Do power led
2024-10-06 17:02:09 +03:00
Diamond Rivero
0ced12c360
Translated using Weblate (Filipino)
...
Currently translated at 32.5% (325 of 1000 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fil/
2024-10-06 03:15:39 +02:00
Bill Sideris
1e4fbd94ed
Add MakerGo C6 SuperMini
2024-10-05 21:58:11 +03:00
Scott Shawcroft
54d4827e60
Merge pull request #9684 from diamant3/GH-9660
...
remove 'mp_obj_property_t' usage remains
2024-10-04 11:21:05 -07:00
Scott Shawcroft
7f14b9c49a
Merge pull request #9679 from dhalbert/fix-ble-serial-check
...
Correct `ble_serial_connected()` when BLE workflow was never started
2024-10-04 11:19:52 -07:00
Scott Shawcroft
a693bd748a
Merge pull request #9683 from dhalbert/raspberrypi-os-uname
...
fix os.uname() values for rp2350
2024-10-04 11:18:54 -07:00
Dan Halbert
11d4bce481
Merge pull request #9682 from jepler/rp2350-sdk-bug-workaround
...
Work around an sdk bug
2024-10-04 11:58:47 -04:00
Dan Halbert
321d6e90a7
Merge pull request #9680 from jepler/rp2-pio-background-dma-bug
...
clear any pending interrupt flag
2024-10-04 11:37:48 -04:00
Diamond Rivero
2a8589471f
add static to 'extmod/vfs_fat.c: fat_vfs_label_obj'
2024-10-04 16:55:35 +08:00
Diamond Rivero
a19ddf57df
add static 'MP_PROPERTY_GETTER(fat_vfs_readonly_obj,
...
(mp_obj_t)&fat_vfs_getreadonly_obj);'
2024-10-04 15:38:13 +08:00
Diamond Rivero
d5d40267bf
use 'mp_obj_property_getter_t' type
2024-10-04 14:56:36 +08:00
Diamond Rivero
d976f832f1
fix formatting
2024-10-04 11:14:46 +08:00
Diamond Rivero
7e72009ca6
remove 'mp_obj_property_t' usage remains
2024-10-04 11:01:14 +08:00
Dan Halbert
9432fb97b6
fix os.uname() values for rp2350
2024-10-03 22:21:27 -04:00
d0e8030986
clear any pending interrupt flag
...
While debugging, I found that on RP2040 the first looped background
write on a StateMachine would be garbled: It the first few outputs
would be as expected, but then the data would go back to the start
of the buffer.
I realized that this could be due to there already being a pending
interrupt on this DMA channel that had occurred previously but never
been acknowledged. In fact, by printing the value of `dma_hw->intr`
before this, I could see that it was the case.
After this change, both my special case reproducer from the related
issue works, and the odd gaps in LED data transmission seen in the
WIP code for TM1814 LEDs was fixed.
I never saw this problem on Feather RP2350, only on Metro RP2040,
but I don't know why. It would depend on what had previously
happened to the DMA channel that ends up allocated to this PIO
state machine. Less likely, it could depend on details of the DMA
peripheral that changed between the chips.
Closes : #9678
2024-10-03 16:42:43 -05:00
Dan Halbert
d0dc144d4d
fix ble_serial_connected()
2024-10-03 16:55:00 -04:00
Scott Shawcroft
a9e50e2661
Merge pull request #9677 from RetiredWizard/lmhostname
...
Optimize hostname variable size
2024-10-02 10:18:20 -07:00
Scott Shawcroft
29f64c7013
Merge pull request #9676 from dhalbert/bleio-char-empty-current-value
...
espressif/common-hal/_bleio/Characteristic.c: handle empty initial value
2024-10-02 10:11:40 -07:00
RetiredWizard
156d7a87d1
remove hostname from sdkconfig of newly added board
2024-10-01 19:55:02 -04:00
RetiredWizard
923741c07d
pre-commit formatting
2024-10-01 19:00:38 -04:00
RetiredWizard
a7f700e2d6
Optimize hostname variable size
2024-10-01 18:50:39 -04:00
Dan Halbert
f030c37a14
espressif/common-hal/_bleio/Characteristic.c: handle empty initial value
2024-10-01 18:25:39 -04:00
Scott Shawcroft
66e289dd3c
Merge pull request #9656 from RetiredWizard/rmlwiphname
...
Remove CONFIG_LWIP_LOCAL_HOSTNAME from S3 boards
2024-10-01 13:46:10 -07:00
Scott Shawcroft
7e9e8b1dec
Merge pull request #9671 from dhalbert/esp-idf-new-i2c
...
Use new ESP-IDF I2C driver
2024-10-01 12:22:54 -07:00
Dan Halbert
d62a9847e2
broadcom: restore reset_i2c() and special handling of two I2C ports
2024-09-30 21:52:24 -04:00
RetiredWizard
e1ca12269d
Remove comment abount resetting concerns -thanks @anecdata
2024-09-30 15:41:11 -04:00
RetiredWizard
0d5a234c98
precommit run -all :/ someday I'll remember
2024-09-30 11:21:29 -04:00
RetiredWizard
72052a4b5e
Set default hostname proof of concept
2024-09-30 11:16:38 -04:00
sam blenny
280bbbe058
update translations for usb.core.Device
...
This is the result of a `pre-commit run --all-files` to fix the
translation file changes which were causing a CI check fail. I'm
not convinced this change is a good idea. I would prefer to set
USBError.errno, if possible, but I don't know how to do that.
2024-09-30 14:08:39 +00:00
Dan Halbert
a023f926c9
address review
2024-09-29 22:37:11 -04:00
sam blenny
6cc41f0bf9
return early after raising USBError
...
This commit makes sure that functions in usb.core.Device return as
soon as they raise a MicroPython exception rather than continuing
on with whatever code would normally run. This will hopefully help
to avoid things like dereferencing null pointers.
2024-09-30 01:18:18 +00:00
Dan Halbert
e44504727e
Merge pull request #9668 from tannewt/feather_rp2350_pin_tweaks
...
Add IO4 and IO7 to Feather RP2350
2024-09-29 20:28:04 -04:00
Dan Halbert
3ed76982b5
shrink some builds
2024-09-29 19:31:10 -04:00
Dan Halbert
9116911a6c
fix formatting
2024-09-29 17:07:50 -04:00