-
Notifications
You must be signed in to change notification settings - Fork 3
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 #24 from ikjordan/hdmimerge
Hdmimerge
- Loading branch information
Showing
37 changed files
with
1,168 additions
and
249 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
Submodule PicoDVI
updated
29 files
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,72 @@ | ||
#ifndef _BOARDS_LCDWS28BOARD_H | ||
#define _BOARDS_LCDWS28BOARD_H | ||
|
||
// For board detection | ||
#define RASPBERRYPI_LCDWS28BOARD | ||
|
||
#define LCDWS28BOARD_SD_CLK_PIN 10 | ||
#define LCDWS28BOARD_SD_CMD_PIN 11 // MOSI | ||
#define LCDWS28BOARD_SD_DAT0_PIN 12 // MISO | ||
|
||
#define LCDWS28BOARD_LCD_DC_PIN 8 | ||
#define LCDWS28BOARD_LCD_CS_PIN 9 | ||
#define LCDWS28BOARD_LCD_BL 13 | ||
#define LCDWS28BOARD_LCD_RS 15 | ||
|
||
#define LCDWS28BOARD_SD_CS_PIN 22 | ||
#define LCDWS28BOARD_TS_CS_PIN 16 | ||
|
||
#define LCDWS28BOARD_PWM_L_PIN 28 | ||
|
||
#ifndef PICO_AUDIO_PWM_L_PIN | ||
#define PICO_AUDIO_PWM_L_PIN LCDWS28BOARD_PWM_L_PIN | ||
#endif | ||
|
||
#ifndef PICO_SD_CLK_PIN | ||
#define PICO_SD_CLK_PIN LCDWS28BOARD_SD_CLK_PIN | ||
#endif | ||
|
||
#ifndef PICO_SD_CMD_PIN | ||
#define PICO_SD_CMD_PIN LCDWS28BOARD_SD_CMD_PIN | ||
#endif | ||
|
||
#ifndef PICO_SD_DAT0_PIN | ||
#define PICO_SD_DAT0_PIN LCDWS28BOARD_SD_DAT0_PIN | ||
#endif | ||
|
||
#ifndef PICO_SD_CS_PIN | ||
#define PICO_SD_CS_PIN LCDWS28BOARD_SD_CS_PIN | ||
#endif | ||
|
||
#ifndef PICO_LCD_DC_PIN | ||
#define PICO_LCD_DC_PIN LCDWS28BOARD_LCD_DC_PIN | ||
#endif | ||
|
||
#ifndef PICO_LCD_CS_PIN | ||
#define PICO_LCD_CS_PIN LCDWS28BOARD_LCD_CS_PIN | ||
#endif | ||
|
||
#ifndef PICO_LCD_BL_PIN | ||
#define PICO_LCD_BL_PIN LCDWS28BOARD_LCD_BL | ||
#endif | ||
|
||
#ifndef PICO_LCD_RS_PIN | ||
#define PICO_LCD_RS_PIN LCDWS28BOARD_LCD_RS | ||
#endif | ||
|
||
#ifndef PICO_TS_TS_PIN | ||
#define PICO_TS_CS_PIN LCDWS28BOARD_TS_CS_PIN | ||
#endif | ||
|
||
// No sound output | ||
#define PICO_NO_SOUND | ||
|
||
// Share SPI bus | ||
#define PICO_SPI_LCD_SD_SHARE | ||
|
||
#define PICO_LCDWS28_BOARD | ||
|
||
// lcdws28board has a Pico on it, so default anything we haven't set above | ||
#include "boards/pico.h" | ||
|
||
#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
Oops, something went wrong.