Commit graph

37894 commits

Author SHA1 Message Date
gamblor21
48e1327c0e Fix about incorrectly recalculating delay 2024-10-06 20:47:13 -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
gamblor21
0fa3cd8632 Removed utils.h which was not required 2024-10-05 18:03:03 -05:00
Bill Sideris
1e4fbd94ed
Add MakerGo C6 SuperMini 2024-10-05 21:58:11 +03:00
gamblor21
146c13e6ce Improved documentation 2024-10-05 11:25:27 -05:00
gamblor21
d2e5173e2d Merge remote-tracking branch 'origin/audio_effects' into audio_effects 2024-10-05 10:16:01 -05:00
gamblor21
cca8d00f6b Doc and error messaging changes 2024-10-05 10:08:42 -05: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
Mark
af171dab84
Merge branch 'main' into audio_effects 2024-10-03 20:38:49 -05:00
gamblor21
f5a8e3d138 Calculate current delay for a BlockInput correctly 2024-10-03 20:13:58 -05: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
gamblor21
af9321777d Documentation 2024-10-01 19:44:55 -05: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
gamblor21
3c204608f6 Fixed incorrectly updating sample remaining pointer 2024-09-30 21:23:45 -05: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
gamblor21
00a149a2c1 More comments and cleanup 2024-09-30 14:04:43 -05:00
gamblor21
70c0bf9254 8 bit unsigned samples working 2024-09-30 10:25:59 -05: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
Bernhard Bablok
3b07c3c7a7 support setups with all modules in src-directory 2024-09-30 09:08:10 +02: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
Dan Halbert
42db18ee51 merge from main 2024-09-29 17:00:02 -04:00
Dan Halbert
90053fe8ac bring esp32-camera up to date 2024-09-29 15:03:31 -04:00
sam blenny
154ef2e36d Change USB NULL errors to short strings
shared-module/usb/core/Device.c had several spots where it would
raise a MicroPython exception with a NULL argument. That made it
very difficult for CircuitPython code to attempt to recover from
fault conditions caused by quirky USB device behavior. This adds
short error strings to distinguish the different types of faults.
2024-09-29 18:20:11 +00:00