-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
1,736 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
examples: | ||
disable: | ||
- if: IDF_VERSION_MAJOR < 5 and CONFIG_NAME in ["esp32_c3_lcdkit", "esp32_s3_lcd_ev_board", "esp32_s3_usb_otg"] | ||
- if: IDF_VERSION_MAJOR < 5 and CONFIG_NAME in ["esp32_c3_lcdkit", "esp32_s3_lcd_ev_board", "esp32_s3_usb_otg", "m5stack_core_s3"] | ||
reason: Example depends on BSP, which is supported only for IDF >= 5.0 | ||
- if: IDF_VERSION_MAJOR < 5 and IDF_TARGET in ["esp32c2", "esp32p4", "esp32c5", "esp32c6"] | ||
reason: Example depends on target, which is supported only for IDF >= 5.0 |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,6 @@ | ||
description: ESP-BSP SquareLine LVGL Example | ||
targets: | ||
- esp32s3 | ||
dependencies: | ||
idf: ">=5.0" | ||
m5stack_core_s3: "*" |
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,18 @@ | ||
{ | ||
"name":"M5Stack CoreS3", | ||
"version":"1.0.0", | ||
"mcu":"ESP32S3", | ||
|
||
"screen_width":"320", | ||
"screen_height":"240", | ||
"screen_color_swap":true, | ||
|
||
"short_description":"CoreS3 is the third generation of the M5Stack Core series. Powered by the ESP32-S3 solution, this kit features a dual-core Xtensa LX7 processor running at 240MHz. CoreS3 comes equipped with built-in Wi-Fi functionality, enabling seamless connectivity. It boasts 16MB of onboard flash memory and 8MB of PSRAM, providing ample space for program storage.", | ||
"long_description":"CoreS3 offers convenient programming options through its TYPE-C interface, supporting OTG and CDC functions. This allows for easy connection with external USB devices and hassle-free firmware flashing. CoreS3 features a 2.0-inch capacitive touch IPS screen, protected by high-strength glass material. Additionally, a 0.3 megapixel camera GC0308 is integrated at the bottom of the screen, accompanied by a proximity sensor LTR-553ALS-WA for enhanced functionality. Power management is handled by the AXP2101 power management core chip, employing a 4-way power flow control loop for efficient power distribution. The overall design emphasizes low power consumption. CoreS3 also features a 6-axis attitude sensor BMI270 and a magnetometer BMM150 for precise motion detection. With the onboard TF-card (microSD) card slot and BM8563 RTC chip, accurate timing and sleep-timer wake-up functions are readily available.", | ||
|
||
"placeholders": | ||
{ | ||
"__ESP_BOARD_INCLUDE__": "bsp/esp-bsp.h", | ||
"__ESP_BOARD_I2C_INIT__": "/* Initialize I2C (for touch and audio) */\n bsp_i2c_init();" | ||
} | ||
} |
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 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild | ||
nvs, data, nvs, 0x9000, 0x6000, | ||
phy_init, data, phy, 0xf000, 0x1000, | ||
factory, app, factory, 0x10000, 8M, |
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,11 @@ | ||
# This file was generated using idf.py save-defconfig. It can be edited manually. | ||
# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration | ||
# | ||
CONFIG_IDF_TARGET="esp32s3" | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_LV_COLOR_16_SWAP=y | ||
CONFIG_LV_MEM_CUSTOM=y | ||
CONFIG_LV_MEMCPY_MEMSET_STD=y | ||
CONFIG_LV_USE_PERF_MONITOR=y |
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,7 @@ | ||
idf_component_register( | ||
SRCS "m5stack_core_s3.c" "m5stack_core_s3_idf5.c" | ||
INCLUDE_DIRS "include" | ||
PRIV_INCLUDE_DIRS "priv_include" | ||
REQUIRES driver spiffs | ||
PRIV_REQUIRES fatfs esp_lcd | ||
) |
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,86 @@ | ||
menu "Board Support Package" | ||
|
||
config BSP_ERROR_CHECK | ||
bool "Enable error check in BSP" | ||
default y | ||
help | ||
Error check assert the application before returning the error code. | ||
|
||
menu "I2C" | ||
config BSP_I2C_NUM | ||
int "I2C peripheral index" | ||
default 1 | ||
range 0 1 | ||
help | ||
ESP32S3 has two I2C peripherals, pick the one you want to use. | ||
|
||
config BSP_I2C_FAST_MODE | ||
bool "Enable I2C fast mode" | ||
default y | ||
help | ||
I2C has two speed modes: normal (100kHz) and fast (400kHz). | ||
|
||
config BSP_I2C_CLK_SPEED_HZ | ||
int | ||
default 400000 if BSP_I2C_FAST_MODE | ||
default 100000 | ||
endmenu | ||
|
||
menu "SPIFFS - Virtual File System" | ||
config BSP_SPIFFS_FORMAT_ON_MOUNT_FAIL | ||
bool "Format SPIFFS if mounting fails" | ||
default n | ||
help | ||
Format SPIFFS if it fails to mount the filesystem. | ||
|
||
config BSP_SPIFFS_MOUNT_POINT | ||
string "SPIFFS mount point" | ||
default "/spiffs" | ||
help | ||
Mount point of SPIFFS in the Virtual File System. | ||
|
||
config BSP_SPIFFS_PARTITION_LABEL | ||
string "Partition label of SPIFFS" | ||
default "storage" | ||
help | ||
Partition label which stores SPIFFS. | ||
|
||
config BSP_SPIFFS_MAX_FILES | ||
int "Max files supported for SPIFFS VFS" | ||
default 5 | ||
help | ||
Supported max files for SPIFFS in the Virtual File System. | ||
endmenu | ||
|
||
menu "SD card - Virtual File System" | ||
config BSP_SD_FORMAT_ON_MOUNT_FAIL | ||
bool "Format SD card if mounting fails" | ||
default n | ||
help | ||
The SDMMC host will format (FAT) the SD card if it fails to mount the filesystem. | ||
|
||
config BSP_SD_MOUNT_POINT | ||
string "SD card mount point" | ||
default "/sdcard" | ||
help | ||
Mount point of the SD card in the Virtual File System | ||
|
||
endmenu | ||
|
||
menu "Display" | ||
config BSP_DISPLAY_BRIGHTNESS_LEDC_CH | ||
int "LEDC channel index" | ||
default 1 | ||
range 0 7 | ||
help | ||
LEDC channel is used to generate PWM signal that controls display brightness. | ||
Set LEDC index that should be used. | ||
endmenu | ||
|
||
config BSP_I2S_NUM | ||
int "I2S peripheral index" | ||
default 1 | ||
range 0 1 | ||
help | ||
ESP32S3 has two I2S peripherals, pick the one you want to use. | ||
endmenu |
Oops, something went wrong.