Scott Shawcroft
17fcd499b2
Merge pull request #4649 from tannewt/merge_1.11_2
...
Merge MicroPython v1.11 into CircuitPython
2021-04-27 11:02:02 -07:00
Scott Shawcroft
f99deeda68
Merge pull request #4668 from DavePutz/issue_4659
...
Increased possible pulsein length to ~65 ms.
2021-04-27 11:01:51 -07:00
root
91739de71a
Increased max pulse to 65535 us
2021-04-26 18:52:15 -05:00
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython
2021-04-26 15:47:41 -07:00
root
5bd1da21a2
Increased possible pulsein length to 32 ms.
2021-04-25 21:38:57 -05:00
Jeff Epler
92919c25c2
Merge pull request #4666 from DavePutz/issue_4660
...
Reset buffer index in PulseIn clear
2021-04-25 20:33:58 -05:00
root
d1861a6b9c
Reset buffer index in PulseIn clear
2021-04-25 14:24:21 -05:00
Limor "Ladyada" Fried
f7f6a42f3d
Merge pull request #4663 from zapwizard/patch-1
...
Update pins.c
2021-04-25 15:09:13 -04:00
zapwizard
889da596ff
Update pins.c
...
Both D0 and D1 were assigned to pin_GPIO7, fixed D0 to pin_GPIO6, which also matches the comment.
2021-04-25 13:10:52 -05:00
gamblor21
30f31639d3
Added statemachine deinit
2021-04-25 11:58:22 -05:00
Dan Halbert
80f05c76a8
Merge pull request #4654 from dhalbert/6.2.x-merge-1
...
Port #4645 to main
2021-04-24 10:29:52 -04:00
Scott Shawcroft
80e8b4ac14
Merge pull request #4635 from jepler/pcc
...
WIP: Implement 'ParallelImageCapture' for samd51
2021-04-23 13:31:53 -07:00
Dan Halbert
454e78f41f
merge #4645 from 6.2.x to main
2021-04-23 13:33:58 -04:00
Jeff Epler
f838ff9528
raspberrypi: Remove debug prints
2021-04-23 09:44:01 -05:00
Jeff Epler
10fee3e673
raspberrypi: Increase PIO clock speed in ParallelImageCapture
...
.. this allows DIV_4 and DIV_2 resolutions to work without being
jumbled.
2021-04-22 12:14:44 -05:00
Jeff Epler
2def016fd0
raspberrypi: Use 32-bit elements in FIFO
...
.. these do come in the right
2021-04-22 12:14:03 -05:00
Jeff Epler
7fb751808f
raspberrypi: Implement ParallelImageCapture using PIO
...
.. based on code from Phil B.
2021-04-22 12:02:51 -05:00
Dan Halbert
b3ffb3ab1f
Return bytes written from RP2040 UART.write()
2021-04-21 18:38:35 -04:00
Limor "Ladyada" Fried
17e419f129
Merge pull request #4633 from ZodiusInfuser/main
...
Tweaked Pimoroni board names
2021-04-19 15:16:37 -04:00
ZodiusInfuser
efdbc6be08
Tweaked board name
2021-04-19 10:38:07 +01:00
Limor "Ladyada" Fried
b6fa90d0b5
Merge pull request #4625 from stonehippo/sparkfun_micromod_atp_rp2040
...
Added Sparkfun MicroMod RP2040
2021-04-18 21:14:47 -04:00
George White
5bd2e97865
Fix pin definitions
...
I missed a few pin definitions. Fixed those.
2021-04-17 18:43:49 -04:00
George White
493127f4bc
pre-commit trailing space fixes
2021-04-17 17:43:13 -04:00
George White
e0bb7385a1
Added Sparkfun MicroMod RP2040
...
Added board definition for the Sparkfun MicroMod RP2040.
Mostly followed the format for pins from the MicroMod nRF52840 board
definition, as MicroMod tries to standardize pins across
microcontrollers.
2021-04-17 10:56:04 -04:00
Dan Halbert
b2160bdddd
Add VBUS_SENSE (GP24) to board
...
Prompted by https://forums.adafruit.com/viewtopic.php?f=60&t=178237 .
Also add some whitespace to make pin aliases stand out, and add GP23 as an alias for `SMPS_MODE`.
2021-04-17 08:51:20 -04:00
ZodiusInfuser
efa9cfa5ec
Tweaked board name
2021-04-16 18:02:10 +01:00
Dan Halbert
f55d684057
Merge pull request #4612 from ZodiusInfuser/main
...
Added definitions for Pimoroni RP2040-based boards
2021-04-15 19:20:24 -04:00
ZodiusInfuser
1c700a82c9
Removed trailing whitespaces
2021-04-15 12:01:47 +01:00
ZodiusInfuser
f69bf8beb9
Removed whitespaces
2021-04-15 11:57:27 +01:00
ZodiusInfuser
d67ccb625c
Added correct USB PIDs
2021-04-15 11:41:46 +01:00
ZodiusInfuser
e4456bd756
Added definitions for PicoLipo boards
2021-04-14 23:09:10 +01:00
Scott Shawcroft
3978b50b8d
Merge pull request #4489 from gamblor21/audiomixer_rp2040
...
Add non M4 audiomixer support
2021-04-14 12:19:17 -07:00
Dan Halbert
11b9a5e605
Merge pull request #4577 from dglaude/patch-1
...
Respect product name: space between QT and Py
2021-04-09 13:10:19 -04:00
Dan Halbert
1b60c9d033
Merge pull request #4580 from jepler/incrementalencoder-refactor
...
IncrementalEncoder: factor out the quadrature state machine
2021-04-09 13:10:02 -04:00
Dan Halbert
61e33a5619
fix nrf ISR; make direction consistent across ports; save code size
2021-04-09 11:07:47 -04:00
Dan Halbert
fdc5bb41f4
D3 pin should be GPIO26
2021-04-08 19:11:27 -04:00
Jeff Epler
3ce0b512f8
rasberrypi: IncrementalEncoder: factor out state machine
2021-04-08 16:25:47 -05:00
David Glaude
5d6bef569d
Respect product name: space between QT and Py
...
https://www.adafruit.com/product/4900 say "Adafruit QT Py RP2040"
This is also matching other "QT Py" product.
2021-04-08 21:50:16 +02:00
Scott Shawcroft
6097afdaa5
Merge pull request #4559 from jepler/rp2-rotary-encoder-fixes
...
raspberrypi: Several rotary encoder fixes
2021-04-06 10:00:26 -07:00
Jeff Epler
1a2ce27b73
raspberrypi: Drop support for auto-reversing swapped encoder
2021-04-06 09:22:59 -05:00
Scott Shawcroft
71eabe814c
Update StateMachine.c
2021-04-05 16:17:08 -07:00
Jeff Epler
fc86475de5
IncrementalEncoder: support swapped pins
...
Closes : #4422
2021-04-04 13:49:50 -05:00
Jeff Epler
93d6ceedd9
IncrementalEncoder: Disconnect interrupt handler during deinit.
...
Closes : #4557
2021-04-04 13:49:41 -05:00
Jeff Epler
bcd90dd927
IncrementalEncoder: There are no out pins.
...
Closes #4556
2021-04-04 13:49:21 -05:00
Jeff Epler
cce8b2be07
raspberypi: Allow mpconfigboard to override additional items
...
This allows more options to be overridden to 0 in an mpconfigboard.mk.
Improved:
* FRAMEBUFFERIO, FULL_BUILD, BITOPS, PWMIO, RGBMATRIX, OTARYIO, PULSEIO, WATCHDOG
Still problematic (pull requests welcome):
* RP2PIO & NEOPIXEL_WRITE, possibly only if a status neopixel is defined
* BITBANGIO, possibly only if BUSIO is enabled
* RTC
Incidentally, with RP2PIO & NEOPIXEL_WRITE, BITBANGIO, and RTC re-enabled I get
```
323956 bytes used, 720524 bytes free in flash firmware space out of 1044480 bytes (1020.0kB).
12072 bytes used, 250072 bytes free in ram for stack and heap out of 262144 bytes (256.0kB).
```
Closes #4515
2021-03-31 09:40:48 -05:00
Dan Halbert
8e0834d74c
Calculate RP2040 SDA hold time
2021-03-29 14:40:13 -04:00
Dan Halbert
03340a3fcd
Incorporate https://github.com/adafruit/pico-sdk/pull/2
2021-03-26 18:55:45 -04:00
Dan Halbert
155b61f027
Merge pull request #4378 from Gadgetoid/patch-remove-rp2040-i2c-bitbang
...
RP2040: Remove short-write bitbang from I2C
2021-03-25 21:01:02 -04:00
gamblor21
0b212e2243
Add non M4 audiomixer support
2021-03-25 17:30:40 -05:00
Scott Shawcroft
f79d60b205
Use GCC @file to shorten linker command length
...
This hopefully fixes linking on Windows with cmd.exe
2021-03-24 15:03:33 -07:00