Commit Graph

19616 Commits

Author SHA1 Message Date
Jeff Epler
2ae1e7de61 WIPrp2040: Implement IncrementalEncoder
Any two consecutive pins can be used for an IncrementalEncoder

Testing performed: Put a synthesized (few hundred counts per second) quadrature signal into GP2/3 and read the encoder out.  Performed filesystem operations at the same time to stress test it.

The reasons for not using common_hal_rp2pio_statemachine_readinto are commented on.
2021-03-05 10:31:29 -06:00
Artyom Skrobov
915a5eddeb [audiocore] buffer_read was never used 2021-03-05 10:25:09 -05:00
Dan Halbert
4cf6579e22 remove general changes; not consistent across builds 2021-03-05 10:10:50 -05:00
Artyom Skrobov
e0b96c0f43 [nrf] No need to store buffer_length as part of audiopwmio_pwmaudioout_obj_t 2021-03-05 06:01:58 -05:00
Artyom Skrobov
4720dc179a
[stm] curr_pulseout can be STATIC
Not used outside of PulseOut.c
2021-03-05 12:52:13 +02:00
Dan Halbert
c97721455a Shrink the smallest builds with compile options 2021-03-04 23:07:06 -05:00
Dan Halbert
c68073e12b
Merge pull request #4331 from dhalbert/tilegrid-transpose-fix
Tilegrid transpose fix
2021-03-04 21:53:21 -05:00
Jeff Epler
2ab13d6d1e bump xtensa cache timestamp again 2021-03-04 15:52:31 -06:00
Jeff Epler
c9dea3d72d make translate 2021-03-04 14:23:06 -06:00
Dan Halbert
b1268107af change esp build cache key (again) 2021-03-04 15:22:56 -05:00
Dan Halbert
68552e90e8 Merge remote-tracking branch 'adafruit/main' into tilegrid-transpose-fix 2021-03-04 15:04:38 -05:00
Dan Halbert
d1184e7e94 Be cognizant of null transform for .transpose_xy 2021-03-04 14:40:50 -05:00
Jeff Epler
bc14ed31f6 StateMachine.h: Add header for declaration of mcu_pin_obj_t typedef 2021-03-04 12:28:46 -06:00
Jeff Epler
c023ec03ff PDMIn: Add missing deinit call 2021-03-04 12:28:06 -06:00
Scott Shawcroft
7970c882a6
Merge pull request #4316 from microDev1/issue-template
Add issue templates
2021-03-04 10:16:09 -08:00
Scott Shawcroft
3698d4bc5d
Merge pull request #4287 from pewpew-game/displayio-transpose-uint
Use uint16 for temporary variables in displayio.TileGrid
2021-03-04 10:01:07 -08:00
Jeff Epler
bd01d31542 rp2pio: Add pins_are_sequential
This can be used where the standard API calls for a list of pins, to check that they satisfy the requirements of the rp2pio state machine, e.g.,
```python
    def __init__(self, pin_a, pin_b):
        if not rp2pio.pins_are_sequential([pin_a, pin_b]):
            raise ValueError("Pins must be sequential")
```
2021-03-04 11:26:33 -06:00
Jeff Epler
ff62b0d2c0 StateMachine: Add pull up/down for inputs 2021-03-04 11:26:29 -06:00
Jeff Epler
68ac14b309 StateMachine: Add in_available property
I named the property `in_available` because it is similar to pyserial.
However, it indicates the number of words in the fifo, not the number
of bytes.
2021-03-04 11:14:09 -06:00
Dan Halbert
2ae8a44b2a
Merge pull request #4325 from microDev1/fix-wdt
ESP32S2: Fix watchdog deinit
2021-03-04 11:04:01 -05:00
Dan Halbert
627c5f5bd4
Merge pull request #4327 from hathach/fix-4066-rp2040-hanged-tud_disconnect
fix rp2040 use of tud_disconnect
2021-03-04 10:50:26 -05:00
hathach
c26120a3ac update tinyusb 2021-03-04 21:29:04 +07:00
hathach
6f99026a64 rp2040 use normal usb_irq_handler() 2021-03-04 21:29:04 +07:00
microDev
13453d35c6
fix watchdog deinit 2021-03-04 13:23:34 +05:30
Dan Halbert
dca2989df8
Merge pull request #4317 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-03 20:19:24 -05:00
Hosted Weblate
cca7679146 Merge remote-tracking branch 'origin/main' into main 2021-03-04 00:55:58 +01:00
Dan Halbert
b71f3e1385
Merge pull request #4322 from dhalbert/group-list-member-fix
use self->members in displayio_group_set()
2021-03-03 18:55:51 -05:00
Jeff Epler
2be302fa0b
Added translation using Weblate (English (United Kingdom)) 2021-03-04 00:19:09 +01:00
Dan Halbert
29575ee439 use self->members in displayio_group_set() 2021-03-03 17:36:48 -05:00
Hosted Weblate
bd06992a37 Merge remote-tracking branch 'origin/main' into main 2021-03-03 22:46:05 +01:00
Dan Halbert
71c43ca2dd
Merge pull request #4319 from jepler/feather-default-uart
feather rp2040: enable default board.UART
2021-03-03 16:46:00 -05:00
Hosted Weblate
3babdf7c7e Merge remote-tracking branch 'origin/main' into main 2021-03-03 22:28:32 +01:00
Jonny Bergdahl
ac308872d6
Translated using Weblate (Swedish)
Currently translated at 100.0% (974 of 974 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-03-03 22:28:31 +01:00
Jeff Epler
c5feceeafc
Merge pull request #4318 from dhalbert/update-idf-cache-id
force a new idf-cache id to fix build issues
2021-03-03 15:28:25 -06:00
microDev
9aa11ec51e
Apply suggestions from code review 2021-03-04 02:38:46 +05:30
Jeff Epler
b0fca4fcda feather rp2040: enable default board.UART 2021-03-03 13:13:06 -06:00
Dan Halbert
d6836047a8 force a new idf-cache id to fix build issues 2021-03-03 14:04:56 -05:00
Hosted Weblate
66fd861b22 Merge remote-tracking branch 'origin/main' into main 2021-03-03 18:42:55 +01:00
Wellington Terumi Uemura
20d2088851
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (974 of 974 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-03-03 18:42:54 +01:00
Dan Halbert
cd48c5ee83
Merge pull request #4315 from dhalbert/rp2040-i2c-short-writes
RP2040: Implement short I2C writes (2 bytes or less) using bitbangio
2021-03-03 12:42:47 -05:00
Hosted Weblate
6281a9024b
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/
2021-03-03 17:47:31 +01:00
Hosted Weblate
9dff2d8b29 Merge remote-tracking branch 'origin/main' into main 2021-03-03 17:47:29 +01:00
Jonny Bergdahl
8a23298bfe
Translated using Weblate (Swedish)
Currently translated at 100.0% (971 of 971 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-03-03 17:47:29 +01:00
Scott Shawcroft
514b73bcf8
Merge pull request #4254 from gamblor21/rp2040_countio
Rp2040 countio
2021-03-03 08:47:24 -08:00
Scott Shawcroft
1d8933dd05
Merge pull request #4265 from DavePutz/pio_soft_reset
Clear out PIOs and State Machines on RP2040 soft reset
2021-03-03 08:43:57 -08:00
Scott Shawcroft
55e41d43eb
Merge pull request #4313 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-03 08:38:07 -08:00
microDev
7c2a291bd1
add .github to exclusions 2021-03-03 21:00:12 +05:30
Dan Halbert
fb7a0f7efc add 1sec timeouts for I2C read and write 2021-03-03 09:43:57 -05:00
microDev
eafcd7d364
add issue templates 2021-03-03 11:22:33 +05:30
gamblor21
98075c5255 Fixed merge 2021-03-02 22:32:59 -06:00