Added initial support for the M5Stack Cardputer shield for M5 Stamp S3. The following features are supported: - uSD - st7789 LCD - Analog input from VBAT - I2C on the grove connector Signed-off-by: Sahaj Sarup <sahaj.sarup@linaro.org>
39 lines
496 B
Plaintext
39 lines
496 B
Plaintext
# Copyright (c) 2025 Linaro Limited
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SHIELD_M5STACK_CARDPUTER
|
|
|
|
config INPUT
|
|
default y
|
|
|
|
if DISK_DRIVERS
|
|
|
|
config DISK_DRIVER_SDMMC
|
|
default y
|
|
|
|
endif # DISK_DRIVERS
|
|
|
|
if DISPLAY
|
|
|
|
choice ST7789V_PIXEL_FORMAT
|
|
default ST7789V_RGB565
|
|
endchoice
|
|
|
|
if LVGL
|
|
|
|
config LV_Z_BITS_PER_PIXEL
|
|
default 16
|
|
|
|
choice LV_COLOR_DEPTH
|
|
default LV_COLOR_DEPTH_16
|
|
endchoice
|
|
|
|
configdefault LV_COLOR_16_SWAP
|
|
default y
|
|
|
|
endif # LVGL
|
|
|
|
endif # DISPLAY
|
|
|
|
endif # SHIELD_M5STACK_CARDPUTER
|