summaryrefslogtreecommitdiff
path: root/ports/raspberrypi
AgeCommit message (Collapse)Author
2021-02-20Added new lineZodiusInfuser
2021-02-20Added new lineZodiusInfuser
2021-02-20Added new lineZodiusInfuser
2021-02-20Added other files for PicoSystemZodiusInfuser
2021-02-20Added board.c for PicoSystemZodiusInfuser
2021-02-20Added other files for Keybow2040ZodiusInfuser
2021-02-20Added board.c for Keybow2040ZodiusInfuser
2021-02-20Added other files for Tiny2040ZodiusInfuser
2021-02-20Added board.c for Tiny2040ZodiusInfuser
2021-02-19merge from upstream; re-alphabetizeDan Halbert
2021-02-19Delete pimoroni_tiny2040ZodiusInfuser
2021-02-19Create pimoroni_tiny2040ZodiusInfuser
2021-02-19uart implementation for rp2040microDev
2021-02-18Merge pull request #4219 from jepler/bit_transposeJeff Epler
Add Bit transpose function to support piopixl8
2021-02-18bitops: rename from _bit_transpose, describe the algorithmJeff Epler
2021-02-18Initial fix, but bitbangio timing may be offDan Halbert
2021-02-18core: add bit_transpose functionJeff Epler
.. this version can only handle exactly 8 bits "across". The restriction may be relaxed in a future revision.
2021-02-18fix nvm rewritemicroDev
2021-02-17raspberrypi: implement os.urandomJeff Epler
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-15wip: usb_cdc.serialsDan Halbert
2021-02-15Merge remote-tracking branch 'adafruit/main' into secondary-cdcDan Halbert
2021-02-13handle 100% duty cycle; improve actual_frequency calcDan Halbert
2021-02-12wipDan Halbert
2021-02-12fix off-by-one PWM top issueDan Halbert
2021-02-12Enable protomatter on RP2040 buildsJeff Epler
Also found a race condition between timer_disable and redraw, which would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable or put a delay or print inside it. That's what pausing inside reconstruct fixes. So that the "right timer" can be chosen, `timer_allocate` now gets the `self` pointer. It's guaranteed at this point that the pin information is accurate, so you can e.g., find a PWM unit related to the pins themselves. This required touching each port to add the parameter even though it's unused everywhere but raspberrypi.
2021-02-12Merge branch 'main' into nvm-rpmicroDev
2021-02-12implement suggested changesmicroDev
- update FLASH_FIRMWARE length - use linker script define value
2021-02-11Merge pull request #4188 from ladyada/mainDan Halbert
QT Py with RP2040
2021-02-11QT Py with RP2040lady ada
2021-02-11merge from upstream; complicated webusb mergeDan Halbert
2021-02-11nvm implementation for rp2040microDev
2021-02-09Add PWM based audio playbackScott Shawcroft
See https://learn.adafruit.com/circuitpython-essentials/circuitpython-audio-out to get started. Fixes #4037
2021-02-09Merge pull request #4165 from DavePutz/issue_4143Scott Shawcroft
Issue 4143 - Fixed marking a PWM slice incorrectly as variable frequency
2021-02-09Fix check for variable PWM frequencyroot
2021-02-08Merge pull request #4160 from gamblor21/rp2040_neopixel_pin_fixDan Halbert
RP2040 Set the neopixel pin as output after PIO use
2021-02-08Merge pull request #4155 from jepler/rpi-pio-backgroundDan Halbert
rp2pio: Transfer up to 32 bytes before checking background tasks
2021-02-08Set the pin as output after PIO usegamblor21
2021-02-08rp2pio: Transfer up to 32 bytes before checking background tasksJeff Epler
@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-06Fix maximum PIO instructionsJason Nichols
2021-02-05Update to the very latest SDK w/GP15 restoreScott Shawcroft
Also adds unique id support Fixes #4039 and hopefully #4107
2021-02-05Merge pull request #4137 from ferret-guy/smps-mode-pin-rpi-picoScott Shawcroft
Add SMPS mode pin to Raspi Pico pins.c
2021-02-05Merge pull request #4125 from xorbit/mainScott Shawcroft
Add A3 pin to Raspberry Pi Pico
2021-02-05Add SMPS mode pin to Raspi Pico pins.cMark Omo
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-05Add alternate name `VOLTAGE_MONITOR` for `A3`Patrick Van Oosterwijck
2021-02-04usb descriptors all set; rework of enabling for USB devicesDan Halbert
2021-02-04raspberrypi: implement reset, reset_to_bootloaderJeff Epler
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-04Add A3 pin to Raspberry Pi PicoPatrick Van Oosterwijck
We want to be able to use this to measure VSYS.
2021-02-03Initial commit. Edited error messages in .c filesBiffoBear
2021-02-01Merge pull request #4110 from microDev1/rtc-rpScott Shawcroft
RP2040: Support for RTC
2021-02-02rtc implementation for rp2040microDev