Dan Halbert
a5dc0fef5f
Revert #5341 . Does not work on power-cycle.
2021-09-16 11:59:43 -04:00
Dan Halbert
650ce17c0d
Fix formatting
2021-09-13 19:12:21 -04:00
Uri Shaked
e5290a2886
Enable WFI for raspberrypi port
...
See #5331 for details
2021-09-14 01:09:15 +03:00
Scott Shawcroft
0ee0ed7035
Merge pull request #5320 from rjp5th/main
...
Implement reset_reason for raspberrypi port
2021-09-09 10:54:14 -07:00
Pontus Oldberg
647eca6a81
Added support for Challenger RP2040 WiFi
2021-09-09 17:36:56 +02:00
Robert Pafford
65f8804816
Implement reset_reason for raspberrypi port
2021-09-08 18:34:34 -04:00
Dan Halbert
d2d0bd289f
Fix RP2040 I2S: always copy to output buffer
2021-09-07 16:35:42 -04:00
Neradoc
8625e53817
change board dicts to include a common macro with __name__
2021-09-03 21:03:55 +02:00
Scott Shawcroft
838d30b3a4
Fix incorrect macros
2021-08-30 14:40:14 -07:00
Jeff Epler
7520feed1c
Move ParallelBus to its own module
2021-08-29 07:33:54 -05:00
Dan Halbert
5a4029059e
Merge pull request #5246 from jpconstantineau/board-CNCEncoderPad-RP2040
...
Add New Board: EncoderPad RP2040
2021-08-28 10:44:10 -04:00
Scott Shawcroft
6e7e703f89
Fix RP2 countio reset
...
Fixes #5251
2021-08-27 17:39:19 -07:00
Scott Shawcroft
3e9daeca8f
Merge pull request #5244 from dhalbert/stop-pio-on-deinit
...
Stop StateMachine explicitly on deinit
2021-08-27 08:59:04 -07:00
Scott Shawcroft
8edf0c5d3c
Merge pull request #5243 from dhalbert/user-interruptible-pio
...
Allow PIO to be user-interruptible
2021-08-27 08:57:08 -07:00
Pierre Constantineau
ada178893d
updated PID as per OpenMoko PR
2021-08-27 09:02:49 -06:00
Dan Halbert
09897dbc82
Merge pull request #5238 from tannewt/fix_rp2_usb
...
Fix usb irq race
2021-08-27 10:40:06 -04:00
Dan Halbert
0261cacb06
Stop StateMachine explicitly on deinit
2021-08-27 10:07:14 -04:00
Dan Halbert
f1d25af7ba
Allow PIO to be user-interruptible
2021-08-27 08:38:51 -04:00
Pierre Constantineau
e07bce2bf1
fixing trailing space
2021-08-27 00:25:22 -06:00
Pierre Constantineau
873729149d
adding EncodderPad RP2040
2021-08-26 23:08:10 -06:00
Neradoc
4d05bb26bf
change board.ID to board.board_id
2021-08-26 23:11:55 +02:00
Neradoc
b14b294516
add board.ID
2021-08-26 23:11:55 +02:00
Scott Shawcroft
9663a227a3
Fix usb irq race
...
Run the USB background once after we hook our IRQ up in case we
missed one.
Related to #5212
2021-08-26 10:20:26 -07:00
Jeff Epler
bef07961ab
raspberrypi: audiopwmout: subtle for #5092
...
I noticed that the loop over 65535 possible denominators took a long time,
causing up to 100ms wait for a sound sample to start playing!
This algorithm, adapted from an algorithm shown in Python's fractions.py,
is guaranteed to find the best denominator in a small number of steps
(I think log2-many steps but I'm not sure). In practice, it means the time
between samples playing is just 10ms, and some of that is recreating the
sine wave sample in Python each time.
It often finds the same solution as the old code, but sometimes it finds
one a bit better since it compares the ratios using float point instead
of integer arithmetic.
2021-08-24 16:33:20 -05:00
Jeff Epler
77b0c76a37
raspberrypi: audiopwmout: simple fix for #5092
2021-08-24 15:54:06 -05:00
microDev
2e41550770
Merge pull request #5210 from DavePutz/issue_5091
...
Change optimizer option so RP2040 DEBUG builds work
2021-08-24 12:24:01 +05:30
root
0e3aa27794
Change optimizer option so RP2040 DEBUG builds work
2021-08-23 21:37:34 -05:00
Scott Shawcroft
6d49a9f0c5
Merge pull request #5205 from jepler/deprecate-vertical-scroll
...
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 12:52:12 -07:00
Scott Shawcroft
935888927e
Merge pull request #5196 from dhalbert/samd-audio-fixes
...
improve SAMD audio DMA
2021-08-23 10:27:59 -07:00
Jeff Epler
379461df7d
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 09:17:59 -05:00
Dan Halbert
b8b23c97d9
improve SAMD audio DMA
2021-08-21 14:34:37 -04:00
microDev
f6d1caabc9
Merge pull request #5182 from tannewt/fix_imx
...
Check background pending before sleep
2021-08-21 08:00:10 +05:30
Dan Halbert
419d374d3c
Merge pull request #5181 from kattni/macropad-speaker-enable
...
Add SPEAKER_ENABLE to MacroPad
2021-08-19 19:32:28 -04:00
Kattni Rembor
1185228b90
Remove SPEAKER_SHUTDOWN pin.
2021-08-19 15:18:19 -04:00
Scott Shawcroft
d2860b58b0
Check background pending before sleep
...
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.
Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
Kattni Rembor
ae923db06d
Add SPEAKER_ENABLE pin to MacroPad.
2021-08-18 17:30:42 -04:00
Scott Shawcroft
0390f812be
Fix RP2040 I2C instance check
2021-08-18 08:55:52 -07:00
Scott Shawcroft
a5143d284b
Merge pull request #5161 from ZodiusInfuser/patch_micropy
...
Removed unnecessary defines from Pimoroni board files
2021-08-17 12:40:12 -07:00
Scott Shawcroft
abe8638f41
Merge pull request #5160 from ZodiusInfuser/patch_tiny2040
...
Removed default UART, SPI and I2C from Tiny2040 config
2021-08-16 14:54:52 -07:00
ZodiusInfuser
2255ab1486
Removed unnecessary Micropy and Ignore defines
2021-08-16 16:40:12 +01:00
ZodiusInfuser
5fb507c3ff
Removed default UART SPI and I2C from Tiny2040 config
2021-08-16 16:31:31 +01:00
Scott Shawcroft
de796e2304
Move OneWire to onewireio
from busio
...
This will allow finer grained inclusion in 8.0.0
Fixes #5135
2021-08-12 10:47:14 -07:00
Scott Shawcroft
9c77d2653f
Merge pull request #5099 from ZodiusInfuser/main
...
Added definitions for some upcoming Pimoroni LED driver boards
2021-08-12 09:27:21 -07:00
ZodiusInfuser
47c8ff0570
Removed unnecessary defines
2021-08-11 23:34:20 +01:00
Scott Shawcroft
0632a1e681
Merge pull request #5060 from cdwilson/cdwilson/circuitpython/sparkfun-stm32f405-micromod
...
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-11 12:19:16 -07:00
Dan Halbert
4608877c12
address review comments
2021-08-11 12:10:49 -04:00
Dan Halbert
35aac3d26b
display SPI now 10MHz; set PWM duty cycle to zero at stop to quiet output
2021-08-11 10:48:53 -04:00
Dan Halbert
24e61a7da8
Track more carefully which audio buffers to fill, based on interrupt channels
2021-08-10 22:00:09 -04:00
ZodiusInfuser
e587bd7dc0
Added final USB PIDs
2021-08-10 11:17:06 +01:00
Chris Wilson
e741330ca8
Consistent pin naming for SparkFun MicroMod processor boards.
2021-08-09 23:10:52 -07:00