pico-extras
rpi
Our great sponsors
pico-extras | rpi | |
---|---|---|
6 | 10 | |
436 | 75 | |
4.4% | - | |
2.6 | 7.1 | |
about 1 month ago | almost 2 years ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pico-extras
-
Raspberry Pico C: Remote Sensor
In the Pico Extras repository, find the external/pico_extras_import.cmake file
-
VGA driver using PIO and DMA on the RP2040
[2] https://github.com/raspberrypi/pico-extras/tree/master/src/c...
- External Quad SPI pins?
-
i2s
pico-extras
-
SD/MMC reading/writing with C SDK
There is https://github.com/raspberrypi/pico-extras/tree/master/src/rp2_common/pico_sd_card which is SDIO based, and works for reading/writing sectors, but very bare bones prototype atm.
-
A Closer Look at Raspberry Pi RP2040 Programmable iOS (PIO)
I've just been getting to grips with the PIO, they are a lot of fun to program. Whilst the instruction set is very limited with only enough memory for 32 of them you can do some pretty sophisticated things. A key part of the flexibility is the ability to execute incoming data as instructions. You can stream in a mixture of data and instructions via the DMA, the PIO separates the two and uses the instructions to modify execution so a simple loop becomes a lot more flexible. You can easily sync several of them up to. The scanvideo library: https://github.com/raspberrypi/pico-extras/blob/master/src/c... which is for producing video signals (like VGA) on the fly with scanlines supplied by the CPU is a good example of what's possible. You can have multiple scanline PIO running at once, each decoding a compressed RLE format including transparency and it composes them all together on the fly.
If you've ever played one of the Zachtronics games (in particular Shenzhen IO) it feels like the programming in one of those games. Tight constraints but major possibilities when you think about it for a while.
rpi
-
-mfpu option unnecessary
You can see the startup assembly I use here: https://github.com/blippy/rpi/blob/master/stm32f411re/cmsis/01-blink/startup_stm32f411retx.s
-
Pico C programming without cMake, VS, etc
If you're happy about using the SDK, but don't want VS, then a simple template is here: https://github.com/blippy/rpi/tree/master/pico/0TEMPLATE
- Write to SD card in C++
-
SD/MMC reading/writing with C SDK
I have managed to interface to an SD card as a block device, no file system. I was able to play audio that I dumped to the card. The project is here: https://github.com/blippy/rpi/tree/master/pico/sdcard It is not feature-complete (it doesn't write to cards, and only supports version 2 cards), but hey, it is at least a proof-if-concept that it is doable.
- Look what I made: funky "bytebeat" music
- Drum sample player
- Button debouncer class
-
A "baby 8" sequencer for the Pico
Write-up: https://github.com/blippy/rpi/blob/master/pico/baby.md
-
Stm8s103 UART code
I have a working uart here: https://github.com/blippy/rpi/blob/master/stm8s103f3p6/bare8/05-uart/main.c 115200 baud
What are some alternatives?
no-OS-FatFS-SD-SPI-RPi-Pico - A FAT filesystem with SPI driver for SD card on Raspberry Pi Pico
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
nexmon - The C-based Firmware Patching Framework for Broadcom/Cypress WiFi Chips that enables Monitor Mode, Frame Injection and much more
pico-examples
rpi-openwrt-packages - This repo contains packages for wiringpi and i2ctools / python-smbus for use in OpenWRT / Raspberry Pi
picodvi - [Moved to: https://github.com/Wren6991/PicoDVI]
bm8563 - Platform agnostic I2C driver for BM8563 RTC
pico-dvi-rs - Rust reimplementation of PicoDVI for the rp2040 microcontroller
ssd1306 - Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
nf-interpreter - :gear: nanoFramework Interpreter, CLR, HAL, PAL and reference target boards
STM32GENERIC - Generic implementation of Arduino for STM32 boards