Skip to content

Commit 8210f22

Browse files
authored
Merge pull request #8862 from tannewt/esp_parallelbus
Re-enable paralleldisplaybus on ESP
2 parents 7ba62bb + 50acd03 commit 8210f22

File tree

31 files changed

+341
-252
lines changed

31 files changed

+341
-252
lines changed

ports/atmel-samd/boards/circuitplayground_express_displayio/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CIRCUITPY_USB_MIDI = 0
2020
# So not all of displayio, sorry!
2121
CIRCUITPY_VECTORIO = 0
2222
CIRCUITPY_BITMAPTOOLS = 0
23-
CIRCUITPY_PARALLELDISPLAY = 0
23+
CIRCUITPY_PARALLELDISPLAYBUS = 0
2424

2525
# Include these Python libraries in firmware.
2626
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_CircuitPlayground/frozen_cpx

ports/atmel-samd/boards/matrixportal_m4/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CIRCUITPY_LTO_PARTITION = one
1414

1515
CIRCUITPY_AESIO = 0
1616
CIRCUITPY_FLOPPYIO = 0
17-
CIRCUITPY_PARALLELDISPLAY = 0
17+
CIRCUITPY_PARALLELDISPLAYBUS = 0
1818
CIRCUITPY_SHARPDISPLAY = 0
1919
CIRCUITPY_ULAB = 0
2020

ports/atmel-samd/boards/pewpew_m4/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CIRCUITPY_FREQUENCYIO = 0
2222
CIRCUITPY_I2CTARGET = 0
2323
CIRCUITPY_NEOPIXEL_WRITE = 0
2424
CIRCUITPY_ONEWIREIO = 0
25-
CIRCUITPY_PARALLELDISPLAY = 0
25+
CIRCUITPY_PARALLELDISPLAYBUS = 0
2626
CIRCUITPY_PIXELBUF = 0
2727
CIRCUITPY_PS2IO = 0
2828
CIRCUITPY_PULSEIO = 0

ports/atmel-samd/boards/ugame10/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CIRCUITPY_BITMAPTOOLS = 0
2424
CIRCUITPY_FREQUENCYIO = 0
2525
CIRCUITPY_I2CTARGET = 0
2626
CIRCUITPY_NEOPIXEL_WRITE = 0
27-
CIRCUITPY_PARALLELDISPLAY = 0
27+
CIRCUITPY_PARALLELDISPLAYBUS = 0
2828
CIRCUITPY_PIXELBUF = 0
2929
CIRCUITPY_RTC = 0
3030
CIRCUITPY_TOUCHIO = 0

ports/espressif/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,9 @@ endif
490490
ifneq ($(CIRCUITPY_DOTCLOCKFRAMEBUFFER),0)
491491
ESP_IDF_COMPONENTS_LINK += esp_lcd
492492
endif
493+
ifneq ($(CIRCUITPY_PARALLELDISPLAYBUS),0)
494+
ESP_IDF_COMPONENTS_LINK += esp_lcd
495+
endif
493496

494497
ESP_IDF_COMPONENTS_EXPANDED = $(foreach component, $(ESP_IDF_COMPONENTS_LINK), $(BUILD)/esp-idf/esp-idf/$(component)/lib$(component).a)
495498

ports/espressif/boards/adafruit_esp32s3_camera/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CIRCUITPY_ESPCAMERA = 1
2020
CIRCUITPY_FRAMEBUFFERIO = 0
2121
CIRCUITPY_KEYPAD = 0
2222
CIRCUITPY_ONEWIREIO = 0
23-
CIRCUITPY_PARALLELDISPLAY = 0
23+
CIRCUITPY_PARALLELDISPLAYBUS = 0
2424
CIRCUITPY_RGBMATRIX = 0
2525
CIRCUITPY_ROTARYIO = 0
2626

ports/espressif/boards/adafruit_feather_esp32s3_4mbflash_2mbpsram/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ CIRCUITPY_ESP_PSRAM_FREQ = 80m
1515

1616
OPTIMIZATION_FLAGS = -Os
1717
CIRCUITPY_ESPCAMERA = 0
18+
CIRCUITPY_PARALLELDISPLAYBUS = 0

ports/espressif/boards/adafruit_feather_esp32s3_reverse_tft/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ CIRCUITPY_ESP_PSRAM_MODE = qio
1515
CIRCUITPY_ESP_PSRAM_FREQ = 80m
1616

1717
CIRCUITPY_ESPCAMERA = 0
18+
CIRCUITPY_PARALLELDISPLAYBUS = 0
1819

1920
OPTIMIZATION_FLAGS = -Os

ports/espressif/boards/adafruit_feather_esp32s3_tft/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CIRCUITPY_ESP_FLASH_SIZE = 4MB
1212

1313
OPTIMIZATION_FLAGS = -Os
1414
CIRCUITPY_ESPCAMERA = 0
15+
CIRCUITPY_PARALLELDISPLAYBUS = 0
1516

1617
CIRCUITPY_ESP_PSRAM_SIZE = 2MB
1718
CIRCUITPY_ESP_PSRAM_MODE = qio

ports/espressif/boards/adafruit_matrixportal_s3/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ CIRCUITPY_ESP_PSRAM_MODE = qio
1414
CIRCUITPY_ESP_PSRAM_FREQ = 80m
1515

1616
CIRCUITPY_ESP32_CAMERA = 0
17+
18+
# Not enough pins.
19+
CIRCUITPY_PARALLELDISPLAYBUS = 0

ports/espressif/boards/adafruit_qtpy_esp32_pico/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ CIRCUITPY_ESP_FLASH_FREQ = 80m
1010
CIRCUITPY_ESP_PSRAM_SIZE = 2MB
1111
CIRCUITPY_ESP_PSRAM_MODE = qio
1212
CIRCUITPY_ESP_PSRAM_FREQ = 80m
13+
14+
# Not enough pins.
15+
CIRCUITPY_PARALLELDISPLAYBUS = 0

ports/espressif/boards/adafruit_qtpy_esp32c3/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ CIRCUITPY_ESP_FLASH_SIZE = 4MB
1010
CIRCUITPY_ESP_USB_SERIAL_JTAG = 1
1111

1212
CIRCUITPY_BLEIO = 0
13+
14+
# Not enough pins.
15+
CIRCUITPY_PARALLELDISPLAYBUS = 0

ports/espressif/boards/adafruit_qtpy_esp32s2/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ CIRCUITPY_ESP_FLASH_SIZE = 4MB
1313
CIRCUITPY_ESP_PSRAM_SIZE = 2MB
1414
CIRCUITPY_ESP_PSRAM_MODE = qio
1515
CIRCUITPY_ESP_PSRAM_FREQ = 80m
16+
17+
# Not enough pins.
18+
CIRCUITPY_PARALLELDISPLAYBUS = 0

ports/espressif/boards/adafruit_qtpy_esp32s3_4mbflash_2mbpsram/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ CIRCUITPY_ESP_PSRAM_FREQ = 80m
1515

1616
OPTIMIZATION_FLAGS = -Os
1717
CIRCUITPY_ESPCAMERA = 0
18+
# Not enough pins.
19+
CIRCUITPY_PARALLELDISPLAYBUS = 0

ports/espressif/boards/adafruit_qtpy_esp32s3_nopsram/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ CIRCUITPY_ESP_FLASH_FREQ = 80m
1111
CIRCUITPY_ESP_FLASH_SIZE = 8MB
1212

1313
CIRCUITPY_ESPCAMERA = 0
14+
15+
# Not enough pins.
16+
CIRCUITPY_PARALLELDISPLAYBUS = 0

ports/espressif/boards/deneyap_kart_1a_v2/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ CIRCUITPY_ESP_PSRAM_FREQ = 80m
1616

1717
CIRCUITPY_ESPCAMERA = 0
1818
CIRCUITPY_BITMAPFILTER = 0
19+
CIRCUITPY_PARALLELDISPLAYBUS = 0
1920

2021
OPTIMIZATION_FLAGS = -Os
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
/*
2+
* This file is part of the MicroPython project, http://micropython.org/
3+
*
4+
* The MIT License (MIT)
5+
*
6+
* Copyright (c) 2020 Scott Shawcroft for Adafruit Industries
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to deal
10+
* in the Software without restriction, including without limitation the rights
11+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
* copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in
16+
* all copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
25+
*/
26+
27+
#include "supervisor/board.h"
28+
#include "mpconfigboard.h"
29+
#include "shared-bindings/microcontroller/Pin.h"
30+
#include "shared-module/displayio/__init__.h"
31+
#include "shared-module/displayio/mipi_constants.h"
32+
33+
#define DELAY 0x80
34+
35+
// display init sequence according to LilyGO example app
36+
uint8_t display_init_sequence[] = {
37+
// sw reset
38+
0x01, 0 | DELAY, 150,
39+
// sleep out
40+
0x11, 0 | DELAY, 255,
41+
// colmod and delay 10ms
42+
0x3A, 1 | DELAY, 0x55, 10,
43+
0x21, 0 | DELAY, 10,
44+
// normal display mode on
45+
0x13, 0 | DELAY, 10,
46+
// madctl display and color format settings
47+
0x36, 1, 0x60,
48+
// ST7789V gamma setting
49+
// 0xE0, 14, 0xD0, 0x00, 0x02, 0x07, 0x0A, 0x28, 0x32, 0x44, 0x42, 0x06, 0x0E, 0x12, 0x14, 0x17,
50+
// 0xE1, 14, 0xD0, 0x00, 0x02, 0x07, 0x0A, 0x28, 0x31, 0x54, 0x47, 0x0E, 0x1C, 0x17, 0x1B, 0x1E,
51+
52+
// display on
53+
0x29, 0 | DELAY, 255,
54+
};
55+
56+
static void display_init(void) {
57+
58+
gpio_set_direction(15, GPIO_MODE_DEF_OUTPUT);
59+
gpio_set_level(15, true);
60+
61+
paralleldisplaybus_parallelbus_obj_t *bus = &allocate_display_bus()->parallel_bus;
62+
bus->base.type = &paralleldisplaybus_parallelbus_type;
63+
const mcu_pin_obj_t *data_pins[] = {
64+
&pin_GPIO39,
65+
&pin_GPIO40,
66+
&pin_GPIO41,
67+
&pin_GPIO42,
68+
&pin_GPIO45,
69+
&pin_GPIO46,
70+
&pin_GPIO47,
71+
&pin_GPIO48
72+
};
73+
common_hal_paralleldisplaybus_parallelbus_construct_nonsequential(bus,
74+
8, // num pins
75+
data_pins, // Data pins
76+
&pin_GPIO7, // Command or data
77+
&pin_GPIO6, // Chip select
78+
&pin_GPIO8, // Write
79+
&pin_GPIO9, // Read
80+
&pin_GPIO5, // Reset
81+
15000000); // Frequency. ST7789 datasheet says min clock cycle is 66ns which is ~15 mhz.
82+
83+
busdisplay_busdisplay_obj_t *display = &allocate_display()->display;
84+
display->base.type = &busdisplay_busdisplay_type;
85+
common_hal_busdisplay_busdisplay_construct(display,
86+
bus,
87+
320, // Width
88+
170, // Height
89+
0, // column start
90+
35, // row start
91+
0, // rotation
92+
16, // Color depth
93+
false, // grayscale
94+
false, // pixels_in_byte_share_row (unused for depths > 8)
95+
1, // bytes per cell. Only valid for depths < 8
96+
false, // reverse_pixels_in_byte. Only valid for depths < 8
97+
true, // reverse_pixels_in_word
98+
MIPI_COMMAND_SET_COLUMN_ADDRESS, // Set column command
99+
MIPI_COMMAND_SET_PAGE_ADDRESS, // Set row command
100+
MIPI_COMMAND_WRITE_MEMORY_START, // Write memory command
101+
display_init_sequence,
102+
sizeof(display_init_sequence),
103+
&pin_GPIO38, // Backlight pin
104+
NO_BRIGHTNESS_COMMAND,
105+
1.0f, // brightness
106+
false, // single_byte_bounds
107+
false, // data_as_commands
108+
true, // auto_refresh
109+
60, // native_frames_per_second
110+
true, // backlight_on_high
111+
false, // SH1107_addressing
112+
50000); // backlight pwm frequency
113+
}
114+
115+
void board_init(void) {
116+
// Display
117+
display_init();
118+
}
119+
120+
bool espressif_board_reset_pin_number(gpio_num_t pin_number) {
121+
// Override the I2C/TFT power pin reset to prevent resetting the display.
122+
if (pin_number == 15) {
123+
// Turn on TFT
124+
gpio_set_direction(pin_number, GPIO_MODE_DEF_OUTPUT);
125+
gpio_set_level(pin_number, true);
126+
return true;
127+
}
128+
return false;
129+
}
130+
131+
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.

ports/espressif/common-hal/imagecapture/ParallelImageCapture.h renamed to ports/espressif/boards/lilygo_tdisplay_s3/mpconfigboard.h

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2021 Jeff Epler for Adafruit Industries
6+
* Copyright (c) 2019 Scott Shawcroft for Adafruit Industries
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
99
* of this software and associated documentation files (the "Software"), to deal
@@ -24,19 +24,10 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#pragma once
27+
// Micropython setup
2828

29-
#include "py/obj.h"
30-
#include "shared-bindings/imagecapture/ParallelImageCapture.h"
31-
#include "cam.h"
29+
#define MICROPY_HW_BOARD_NAME "LILYGO T-DISPLAY S3 v1.2"
30+
#define MICROPY_HW_MCU_NAME "ESP32S3"
3231

33-
struct imagecapture_parallelimagecapture_obj {
34-
mp_obj_base_t base;
35-
cam_config_t config;
36-
gpio_num_t data_clock;
37-
gpio_num_t vertical_sync;
38-
gpio_num_t horizontal_reference;
39-
uint8_t data_count;
40-
mp_obj_t buffer1, buffer2;
41-
uint8_t *buffer_to_give;
42-
};
32+
#define DEFAULT_UART_BUS_RX (&pin_GPIO44)
33+
#define DEFAULT_UART_BUS_TX (&pin_GPIO43)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
USB_VID = 0x303a
2+
USB_PID = 0x813F
3+
USB_PRODUCT = "T-Display S3"
4+
USB_MANUFACTURER = "LILYGO"
5+
6+
IDF_TARGET = esp32s3
7+
8+
CIRCUITPY_ESP_FLASH_SIZE = 16MB
9+
CIRCUITPY_ESP_FLASH_MODE = qio
10+
CIRCUITPY_ESP_FLASH_FREQ = 80m
11+
12+
CIRCUITPY_ESP_PSRAM_SIZE = 8MB
13+
CIRCUITPY_ESP_PSRAM_MODE = opi
14+
CIRCUITPY_ESP_PSRAM_FREQ = 80m
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
#include "shared-bindings/board/__init__.h"
2+
#include "shared-module/displayio/__init__.h"
3+
4+
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
5+
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
6+
7+
{ MP_ROM_QSTR(MP_QSTR_BUTTON0), MP_ROM_PTR(&pin_GPIO0) },
8+
{ MP_ROM_QSTR(MP_QSTR_IO0), MP_ROM_PTR(&pin_GPIO0) },
9+
10+
{ MP_ROM_QSTR(MP_QSTR_BUTTON1), MP_ROM_PTR(&pin_GPIO14) },
11+
{ MP_ROM_QSTR(MP_QSTR_IO14), MP_ROM_PTR(&pin_GPIO14) },
12+
13+
// Left side
14+
{ MP_ROM_QSTR(MP_QSTR_IO1), MP_ROM_PTR(&pin_GPIO1) },
15+
{ MP_ROM_QSTR(MP_QSTR_IO2), MP_ROM_PTR(&pin_GPIO2) },
16+
{ MP_ROM_QSTR(MP_QSTR_IO3), MP_ROM_PTR(&pin_GPIO3) },
17+
{ MP_ROM_QSTR(MP_QSTR_IO10), MP_ROM_PTR(&pin_GPIO10) },
18+
{ MP_ROM_QSTR(MP_QSTR_IO11), MP_ROM_PTR(&pin_GPIO11) },
19+
{ MP_ROM_QSTR(MP_QSTR_IO12), MP_ROM_PTR(&pin_GPIO12) },
20+
{ MP_ROM_QSTR(MP_QSTR_IO13), MP_ROM_PTR(&pin_GPIO13) },
21+
22+
// Right side.
23+
{ MP_ROM_QSTR(MP_QSTR_IO43), MP_ROM_PTR(&pin_GPIO43) },
24+
{ MP_ROM_QSTR(MP_QSTR_STEMMA_SDA), MP_ROM_PTR(&pin_GPIO43) },
25+
{ MP_ROM_QSTR(MP_QSTR_IO44), MP_ROM_PTR(&pin_GPIO44) },
26+
{ MP_ROM_QSTR(MP_QSTR_STEMMA_SCL), MP_ROM_PTR(&pin_GPIO44) },
27+
{ MP_ROM_QSTR(MP_QSTR_IO18), MP_ROM_PTR(&pin_GPIO18) },
28+
{ MP_ROM_QSTR(MP_QSTR_TOUCH_SDA), MP_ROM_PTR(&pin_GPIO18) },
29+
{ MP_ROM_QSTR(MP_QSTR_IO17), MP_ROM_PTR(&pin_GPIO17) },
30+
{ MP_ROM_QSTR(MP_QSTR_TOUCH_SCL), MP_ROM_PTR(&pin_GPIO17) },
31+
{ MP_ROM_QSTR(MP_QSTR_IO21), MP_ROM_PTR(&pin_GPIO21) },
32+
{ MP_ROM_QSTR(MP_QSTR_TOUCH_RES), MP_ROM_PTR(&pin_GPIO21) },
33+
{ MP_ROM_QSTR(MP_QSTR_IO16), MP_ROM_PTR(&pin_GPIO16) },
34+
{ MP_ROM_QSTR(MP_QSTR_TOUCH_INT), MP_ROM_PTR(&pin_GPIO16) },
35+
36+
// 1.14 inch LCD ST7789
37+
{ MP_ROM_QSTR(MP_QSTR_LCD_BCKL), MP_ROM_PTR(&pin_GPIO38) },
38+
{ MP_ROM_QSTR(MP_QSTR_LCD_D0), MP_ROM_PTR(&pin_GPIO39) },
39+
{ MP_ROM_QSTR(MP_QSTR_LCD_D1), MP_ROM_PTR(&pin_GPIO40) },
40+
{ MP_ROM_QSTR(MP_QSTR_LCD_D2), MP_ROM_PTR(&pin_GPIO41) },
41+
{ MP_ROM_QSTR(MP_QSTR_LCD_D3), MP_ROM_PTR(&pin_GPIO42) },
42+
{ MP_ROM_QSTR(MP_QSTR_LCD_D4), MP_ROM_PTR(&pin_GPIO45) },
43+
{ MP_ROM_QSTR(MP_QSTR_LCD_D5), MP_ROM_PTR(&pin_GPIO46) },
44+
{ MP_ROM_QSTR(MP_QSTR_LCD_D6), MP_ROM_PTR(&pin_GPIO47) },
45+
{ MP_ROM_QSTR(MP_QSTR_LCD_D7), MP_ROM_PTR(&pin_GPIO48) },
46+
{ MP_ROM_QSTR(MP_QSTR_LCD_WR), MP_ROM_PTR(&pin_GPIO8) },
47+
{ MP_ROM_QSTR(MP_QSTR_LCD_RD), MP_ROM_PTR(&pin_GPIO9) },
48+
{ MP_ROM_QSTR(MP_QSTR_LCD_DC), MP_ROM_PTR(&pin_GPIO7) },
49+
{ MP_ROM_QSTR(MP_QSTR_LCD_CS), MP_ROM_PTR(&pin_GPIO6) },
50+
{ MP_ROM_QSTR(MP_QSTR_LCD_RST), MP_ROM_PTR(&pin_GPIO5) },
51+
52+
{ MP_ROM_QSTR(MP_QSTR_LCD_POWER_ON), MP_ROM_PTR(&pin_GPIO15) },
53+
54+
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display) },
55+
56+
// Battery Sense
57+
{ MP_ROM_QSTR(MP_QSTR_BATTERY), MP_ROM_PTR(&pin_GPIO4) },
58+
};
59+
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# Espressif IoT Development Framework Configuration
3+
#
4+
#
5+
# Component config
6+
#
7+
#
8+
# LWIP
9+
#
10+
CONFIG_LWIP_LOCAL_HOSTNAME="T-DISPLAY-S3"
11+
# end of LWIP
12+
13+
# end of Component config
14+
15+
# end of Espressif IoT Development Framework Configuration

ports/espressif/boards/lolin_s3_mini/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ OPTIMIZATION_FLAGS = -Os
1717
CIRCUITPY_ESPCAMERA = 0
1818
CIRCUITPY_BITMAPFILTER = 0
1919
CIRCUITPY_CODEOP=0
20+
CIRCUITPY_PARALLELDISPLAYBUS = 0
2021

2122
# Include these Python libraries in firmware.
2223
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel

ports/espressif/boards/waveshare_esp32_s3_zero/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ CIRCUITPY_ESP_PSRAM_FREQ = 80m
1616
OPTIMIZATION_FLAGS = -Os
1717
CIRCUITPY_ESPCAMERA = 0
1818
CIRCUITPY_BITMAPFILTER = 0
19+
CIRCUITPY_PARALLELDISPLAYBUS = 0
1920

2021
# Include these Python libraries in firmware.
2122
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel

0 commit comments

Comments
 (0)