Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/atmel-samd/boards/ugame10/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_PA09), // Command or data
MP_OBJ_FROM_PTR(&pin_PA08), // Chip select
MP_OBJ_NULL, // Reset
mp_const_none, // Reset
24000000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
4 changes: 2 additions & 2 deletions ports/espressif/boards/elecrow_crowpanel_3.5/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ void board_init(void) {
bus->base.type = &fourwire_fourwire_type;
common_hal_fourwire_fourwire_construct(bus,
spi,
MP_OBJ_FROM_PTR(&pin_GPIO2), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO2), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO15), // TFT_CS Chip select
NULL, // TFT_RST Reset
mp_const_none, // TFT_RST Reset
20000000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/espressif_esp32s3_eye/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO43), // DC
MP_OBJ_FROM_PTR(&pin_GPIO44), // CS
NULL, // no reset pin
mp_const_none, // no reset pin
40000000, // baudrate
0, // polarity
0 // phase
Expand Down
4 changes: 2 additions & 2 deletions ports/espressif/boards/hardkernel_odroid_go/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ void board_init(void) {
common_hal_fourwire_fourwire_construct(bus,
spi,
MP_OBJ_FROM_PTR(&pin_GPIO21), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO5), // TFT_CS Chip select
NULL, // TFT_RST Reset
MP_OBJ_FROM_PTR(&pin_GPIO5), // TFT_CS Chip select
mp_const_none, // TFT_RST Reset
40000000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/hiibot_iots2/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO35), // DC
MP_OBJ_FROM_PTR(&pin_GPIO36), // CS
NULL, // NO RST ?
mp_const_none, // NO RST ?
40000000, // baudrate
0, // polarity
0 // phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/lilygo_tdeck/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO11), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO12), // TFT_CS Chip select
NULL, // TFT_RST Reset
mp_const_none, // TFT_RST Reset
60000000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/lilygo_twatch_2020_v3/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static void display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO27), // DC
MP_OBJ_FROM_PTR(&pin_GPIO5), // CS
NULL, // RST
mp_const_none, // RST
24000000, // baudrate
0, // polarity
0 // phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/lilygo_twatch_s3/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO38), // DC
MP_OBJ_FROM_PTR(&pin_GPIO12), // CS
NULL, // RST
mp_const_none, // RST
40000000, // baudrate
0, // polarity
0 // phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/m5stack_core2/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ static bool display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO15), // DC
MP_OBJ_FROM_PTR(&pin_GPIO5), // CS
MP_OBJ_NULL, // RST
mp_const_none, // RST
32000000, // baudrate
0, // polarity
0 // phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/m5stack_cores3/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static bool display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO35), // DC
MP_OBJ_FROM_PTR(&pin_GPIO3), // CS
MP_OBJ_NULL, // RST
mp_const_none, // RST
40000000, // baudrate
0, // polarity
0 // phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/m5stack_cores3_se/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static bool display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO35), // DC
MP_OBJ_FROM_PTR(&pin_GPIO3), // CS
NULL, // RST
mp_const_none, // RST
40000000, // baudrate
0, // polarity
0 // phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/sunton_esp32_2424S012/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static void display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO2), // DC
MP_OBJ_FROM_PTR(&pin_GPIO10), // CS
MP_OBJ_NULL, // RST
mp_const_none, // RST
80000000, // baudrate
0, // polarity
0 // phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/sunton_esp32_2432S024C/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static void display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO2), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO15), // TFT_CS Chip select
MP_OBJ_NULL, // TFT_RST Reset
mp_const_none, // TFT_RST Reset
6000000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/sunton_esp32_2432S028/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static void display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO2), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO15), // TFT_CS Chip select
MP_OBJ_NULL, // TFT_RST Reset
mp_const_none, // TFT_RST Reset
6000000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/sunton_esp32_2432S032C/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static void display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO2), // TFT_DC
MP_OBJ_FROM_PTR(&pin_GPIO15), // TFT_CS
MP_OBJ_NULL, // TFT_RST
mp_const_none, // TFT_RST
26600000, // Baudrate
0, // Polarity
0 // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/espressif/boards/vidi_x/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO21), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO5), // TFT_CS Chip select
MP_OBJ_NULL, // TFT_RST Reset
mp_const_none, // TFT_RST Reset
40000000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
1 change: 0 additions & 1 deletion ports/nordic/boards/espruino_banglejs2/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "mpconfigboard.h"

#include "shared-bindings/busio/SPI.h"
#include "shared-bindings/fourwire/FourWire.h"
#include "shared-bindings/framebufferio/FramebufferDisplay.h"
#include "shared-bindings/sharpdisplay/SharpMemoryFramebuffer.h"
#include "shared-module/displayio/__init__.h"
Expand Down
2 changes: 1 addition & 1 deletion ports/nordic/boards/hiibot_bluefi/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_P0_27), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_P0_05), // TFT_CS Chip select
MP_OBJ_NULL, // no TFT_RST Reset
mp_const_none, // no TFT_RST Reset
// &pin_P1_14, // TFT_RST Reset
60000000, // Baudrate
0, // Polarity
Expand Down
2 changes: 1 addition & 1 deletion ports/raspberrypi/boards/adafruit_floppsy_rp2040/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(CIRCUITPY_BOARD_TFT_DC),
MP_OBJ_FROM_PTR(CIRCUITPY_BOARD_TFT_CS),
MP_OBJ_NULL, // TFT_RESET Reset
mp_const_none, // TFT_RESET Reset
40000000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/raspberrypi/boards/heiafr_picomo_v2/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO16), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO17), // TFT_CS Chip select
MP_OBJ_NULL, // TFT_RST Reset
mp_const_none, // TFT_RST Reset
62500000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/raspberrypi/boards/heiafr_picomo_v3/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void board_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO16), // TFT_DC Command or data
MP_OBJ_FROM_PTR(&pin_GPIO17), // TFT_CS Chip select
MP_OBJ_NULL, // TFT_RST Reset
mp_const_none, // TFT_RST Reset
62500000, // Baudrate
0, // Polarity
0); // Phase
Expand Down
2 changes: 1 addition & 1 deletion ports/raspberrypi/boards/lilygo_t_display_rp2040/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static void display_init(void) {
spi,
MP_OBJ_FROM_PTR(&pin_GPIO1), // DC
MP_OBJ_FROM_PTR(&pin_GPIO5), // CS
MP_OBJ_NULL, // RST (Reset pin tie to 0, do not set here)
mp_const_none, // RST (Reset pin tie to 0, do not set here)
40000000, // baudrate
1, // polarity
0 // phase
Expand Down
Loading