ZodiusInfuser
dea498a51f
Added new line
2021-02-20 17:20:28 +00:00
ZodiusInfuser
9fbeb0baea
Added new line
2021-02-20 17:20:06 +00:00
ZodiusInfuser
03577ec81c
Added new line
2021-02-20 17:19:45 +00:00
ZodiusInfuser
dac81ea545
Added new line
2021-02-20 17:19:31 +00:00
ZodiusInfuser
0a00f91979
Added new line
2021-02-20 17:15:42 +00:00
ZodiusInfuser
f1df07002f
Added new line
2021-02-20 17:15:20 +00:00
ZodiusInfuser
27bc5492f5
Added other files for PicoSystem
2021-02-20 13:37:08 +00:00
ZodiusInfuser
e9c7af1dee
Added board.c for PicoSystem
2021-02-20 13:36:46 +00:00
ZodiusInfuser
fb7cce6503
Added other files for Keybow2040
2021-02-20 13:35:27 +00:00
ZodiusInfuser
7ac20bfb8b
Added board.c for Keybow2040
2021-02-20 13:35:06 +00:00
ZodiusInfuser
66dd74cd12
Added other files for Tiny2040
2021-02-20 13:33:54 +00:00
ZodiusInfuser
ad8916499d
Added board.c for Tiny2040
2021-02-20 13:32:54 +00:00
ZodiusInfuser
ee5a48fece
Delete pimoroni_tiny2040
2021-02-19 18:30:29 +00:00
ZodiusInfuser
db102ab1ad
Create pimoroni_tiny2040
2021-02-19 18:29:57 +00:00
Jeff Epler
1cd4e4552e
Merge pull request #4219 from jepler/bit_transpose
...
Add Bit transpose function to support piopixl8
2021-02-18 20:29:05 -06:00
Jeff Epler
7fd4567893
bitops: rename from _bit_transpose, describe the algorithm
2021-02-18 15:41:23 -06:00
Jeff Epler
9cf7d73c6c
core: add bit_transpose function
...
.. this version can only handle exactly 8 bits "across". The restriction
may be relaxed in a future revision.
2021-02-18 11:32:47 -06:00
Jeff Epler
ab5eb86118
raspberrypi: implement os.urandom
...
Since the datasheet cast some doubt on the strength of the "rosc_hw->randombit",
I use the SHA256 hash function to create a high quality random seed
from random values of uncertain entropy, as well as to generate a sequence
of random values from that seed using SHA256 as a cryptographically-secure
random number generator.
In practice, it produces over 100kB/s of random data which does not
have any gross problems according to _PractRand_.
2021-02-17 17:49:25 -06:00
Dan Halbert
0ec99b37e0
handle 100% duty cycle; improve actual_frequency calc
2021-02-13 13:16:49 -05:00
Dan Halbert
3e4328140c
fix off-by-one PWM top issue
2021-02-12 15:53:31 -05:00
Dan Halbert
08f30fedf5
Merge pull request #4188 from ladyada/main
...
QT Py with RP2040
2021-02-11 22:19:56 -05:00
lady ada
6c914b8722
QT Py with RP2040
2021-02-11 19:21:42 -05:00
Scott Shawcroft
191b143e7b
Add PWM based audio playback
...
See
https://learn.adafruit.com/circuitpython-essentials/circuitpython-audio-out
to get started.
Fixes #4037
2021-02-09 15:38:33 -08:00
Scott Shawcroft
b19c700d4a
Merge pull request #4165 from DavePutz/issue_4143
...
Issue 4143 - Fixed marking a PWM slice incorrectly as variable frequency
2021-02-09 14:30:39 -08:00
root
9a28f0bf45
Fix check for variable PWM frequency
2021-02-09 15:22:59 -06:00
Dan Halbert
3c99b09993
Merge pull request #4160 from gamblor21/rp2040_neopixel_pin_fix
...
RP2040 Set the neopixel pin as output after PIO use
2021-02-08 17:57:30 -05:00
Dan Halbert
b0ed258302
Merge pull request #4155 from jepler/rpi-pio-background
...
rp2pio: Transfer up to 32 bytes before checking background tasks
2021-02-08 16:34:16 -05:00
gamblor21
386b49c3e1
Set the pin as output after PIO use
2021-02-08 15:13:37 -06:00
Jeff Epler
5423e4966c
rp2pio: Transfer up to 32 bytes before checking background tasks
...
@Jerryneedell noticed that this problem affected strips short enough
to not use the DMA peripheral, thanks for the hot tip!
Instead of checking for background tasks after every byte transfer,
try up to 32 transfers before attending to background tasks.
This fixes the problem I was seeing on my 5-pixel circuit.
Closes #4135 .
2021-02-08 08:35:07 -06:00
Jason Nichols
ae262cde55
Fix maximum PIO instructions
2021-02-06 10:54:25 -05:00
Scott Shawcroft
22dc7d5359
Update to the very latest SDK w/GP15 restore
...
Also adds unique id support
Fixes #4039 and hopefully #4107
2021-02-05 18:44:06 -08:00
Scott Shawcroft
c6a7b00030
Merge pull request #4137 from ferret-guy/smps-mode-pin-rpi-pico
...
Add SMPS mode pin to Raspi Pico pins.c
2021-02-05 12:12:55 -08:00
Scott Shawcroft
e7438c481e
Merge pull request #4125 from xorbit/main
...
Add A3 pin to Raspberry Pi Pico
2021-02-05 12:08:35 -08:00
Mark Omo
1292c35d59
Add SMPS mode pin to Raspi Pico pins.c
...
Add SMPS mode pin to Raspi Pico pins.c; see section "4.3. Using the ADC" of the Pico datasheet for discussion.
Driving this pin high forces the onboard regulator into a lower noise PWM mode.
2021-02-05 11:09:40 -07:00
Patrick Van Oosterwijck
a158dde628
Add alternate name VOLTAGE_MONITOR
for A3
2021-02-05 10:55:03 -07:00
Jeff Epler
6e153d9948
raspberrypi: implement reset, reset_to_bootloader
...
This makes all the following work:
* normal microcontroller.reset()
* reset into safe mode or UF2 bootloader via microcontroller.on_next_reset()
* reset into UF2 bootloader via the "1200 baud trick"
The implementation of reset_cpu is from micropython.
2021-02-04 12:07:50 -06:00
Patrick Van Oosterwijck
d357a05870
Add A3 pin to Raspberry Pi Pico
...
We want to be able to use this to measure VSYS.
2021-02-04 10:44:37 -07:00
BiffoBear
2656c84b01
Initial commit. Edited error messages in .c files
2021-02-03 05:49:40 +07:00
Scott Shawcroft
8789a2c8a9
Merge pull request #4110 from microDev1/rtc-rp
...
RP2040: Support for RTC
2021-02-01 19:47:44 -08:00
microDev
ec03267035
rtc implementation for rp2040
2021-02-02 00:00:00 +05:30
Dan Halbert
459f323247
Merge pull request #4087 from DavePutz/cpu_temp_doc
...
Fixing microcontroller.cpu on multi-core cpus and adding microcontroller.cpus
2021-02-01 12:50:37 -05:00
Scott Shawcroft
17cf03c8e4
Merge pull request #4083 from microDev1/watchdog-rp
...
RP2040: Support for WatchDog
2021-01-31 19:45:38 -08:00
microDev
34fe152fcf
extend include path
2021-01-30 14:00:14 +05:30
James Bowman
acbf66dacc
Make sys.platform "RP2040" on raspberrypi
...
[#4091 ]
2021-01-29 12:33:37 -08:00
James Bowman
067f42b4f8
Add Gameduino 3X Dazzler support on raspberry_pi_pico
...
Tested with hardware. Looks good.
Follow on from #4054
2021-01-29 12:25:59 -08:00
root
67f128c0cf
Fixing microcontroller.cpu on muti-core cpus and adding microcontroller.cpus
2021-01-28 14:42:39 -06:00
microDev
a54b57ea40
watchdog implementation for rp2040
2021-01-28 15:15:15 +05:30
Dan Halbert
29e672fe86
Merge pull request #4071 from tannewt/rp2040_uart_error
...
Raise an error on UART use
2021-01-26 15:22:02 -05:00
Dan Halbert
a9227e15d0
Merge pull request #4063 from dhalbert/rp2040-gp15
2021-01-26 13:38:41 -05:00
Scott Shawcroft
b42e94ee2c
Raise an error on UART use
2021-01-26 08:48:30 -08:00