-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #829 from Daft-Freak/picovision
PicoVision
- Loading branch information
Showing
13 changed files
with
581 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
set(BLIT_BOARD_NAME "PicoVision") | ||
|
||
set(BLIT_BOARD_DEFINITIONS | ||
PICO_AUDIO_I2S_PIO=0 | ||
PICO_AUDIO_I2S_DATA_PIN=26 | ||
PICO_AUDIO_I2S_CLOCK_PIN_BASE=27 | ||
PICO_AUDIO_I2S_BUFFER_SAMPLE_LENGTH=256 | ||
) | ||
|
||
blit_driver(audio i2s) | ||
blit_driver(display picovision) | ||
blit_driver(input usb_hid) | ||
blit_driver(storage sd_spi) | ||
blit_driver(usb host) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#pragma once | ||
|
||
#define DEFAULT_SCREEN_FORMAT PixelFormat::BGR555 | ||
|
||
// native | ||
#define SD_CLK 10 | ||
#define SD_CMD 11 | ||
#define SD_DAT0 12 | ||
|
||
// spi | ||
#define SD_SCK 10 | ||
#define SD_MOSI 11 | ||
#define SD_MISO 12 | ||
#define SD_CS 15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.