-
Notifications
You must be signed in to change notification settings - Fork 68
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 #827 from Daft-Freak/pico-config-defs
More pico config
- Loading branch information
Showing
10 changed files
with
117 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
set(BLIT_BOARD_NAME "Display Pack") | ||
|
||
set(BLIT_BOARD_DEFINITIONS | ||
DISPLAY_HEIGHT=135 | ||
|
||
LED_INVERTED | ||
LED_R_PIN=6 | ||
LED_G_PIN=7 | ||
LED_B_PIN=8 | ||
) | ||
|
||
blit_driver(display st7789) | ||
blit_driver(input gpio_abxy) |
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,8 @@ | ||
#pragma once | ||
|
||
#define DISPLAY_HEIGHT 135 | ||
|
||
#define LED_INVERTED | ||
#define LED_R_PIN 6 | ||
#define LED_G_PIN 7 | ||
#define LED_B_PIN 8 |
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 |
---|---|---|
@@ -1,13 +1,4 @@ | ||
set(BLIT_BOARD_NAME "Display Pack 2.0") | ||
|
||
set(BLIT_BOARD_DEFINITIONS | ||
DISPLAY_WIDTH=320 | ||
|
||
LED_INVERTED | ||
LED_R_PIN=6 | ||
LED_G_PIN=7 | ||
LED_B_PIN=8 | ||
) | ||
|
||
blit_driver(display st7789) | ||
blit_driver(input gpio_abxy) |
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,8 @@ | ||
#pragma once | ||
|
||
#define DISPLAY_WIDTH 320 | ||
|
||
#define LED_INVERTED | ||
#define LED_R_PIN 6 | ||
#define LED_G_PIN 7 | ||
#define LED_B_PIN 8 |
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,17 @@ | ||
#pragma once | ||
|
||
#define AUDIO_BEEP_PIN PICOSYSTEM_AUDIO_PIN | ||
|
||
#define LED_R_PIN PICOSYSTEM_LED_R_PIN | ||
#define LED_G_PIN PICOSYSTEM_LED_G_PIN | ||
#define LED_B_PIN PICOSYSTEM_LED_B_PIN | ||
|
||
#define LCD_CS_PIN PICOSYSTEM_LCD_CSN_PIN | ||
#define LCD_DC_PIN PICOSYSTEM_LCD_DC_PIN | ||
#define LCD_SCK_PIN PICOSYSTEM_LCD_SCLK_PIN | ||
#define LCD_MOSI_PIN PICOSYSTEM_LCD_MOSI_PIN | ||
#define LCD_BACKLIGHT_PIN PICOSYSTEM_BACKLIGHT_PIN | ||
#define LCD_VSYNC_PIN PICOSYSTEM_LCD_VSYNC_PIN | ||
#define LCD_RESET_PIN PICOSYSTEM_LCD_RESET_PIN | ||
|
||
#define USB_PRODUCT_STR "PicoSystem" |
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,5 @@ | ||
#pragma once | ||
|
||
#ifndef ALLOW_HIRES | ||
#define ALLOW_HIRES 0 // disable by default, mode switching isn't supported | ||
#endif |
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