Skip to content

Commit 4c2f039

Browse files
authored
Merge pull request #525 from espressif/bsp/m5_atom_s3
bsp(m5_atom_s3): New BSP for M5 AtomS3
2 parents 1d88c24 + 52c8ff5 commit 4c2f039

28 files changed

+1216
-3
lines changed

.github/workflows/build-run-applications.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ jobs:
173173
- runs-on: "esp32_s3_korvo_2"
174174
marker: "esp32_s3_korvo_2"
175175
target: "esp32s3"
176+
- runs-on: "m5_atom_s3"
177+
marker: "m5_atom_s3"
178+
target: "esp32s3"
176179
env:
177180
TEST_RESULT_NAME: test_results_${{ matrix.runner.target }}_${{ matrix.runner.marker }}_${{ matrix.idf_ver }}
178181
BENCHMARK_RESULT_NAME: benchmark_${{ matrix.runner.target }}_${{ matrix.runner.marker }}_${{ matrix.idf_ver }}

.github/workflows/upload_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
components/lcd_touch/esp_lcd_touch;components/lcd_touch/esp_lcd_touch_ft5x06;components/lcd_touch/esp_lcd_touch_gt911;components/lcd_touch/esp_lcd_touch_tt21100;components/lcd_touch/esp_lcd_touch_gt1151;components/lcd_touch/esp_lcd_touch_cst816s;
2222
components/lcd/esp_lcd_gc9a01;components/lcd/esp_lcd_ili9341;components/lcd/esp_lcd_ra8875;components/lcd_touch/esp_lcd_touch_stmpe610;components/lcd/esp_lcd_sh1107;components/lcd/esp_lcd_st7796;components/lcd/esp_lcd_gc9503;components/lcd/esp_lcd_ssd1681;components/lcd/esp_lcd_ili9881c;components/lcd/esp_lcd_lt8912b;
2323
components/io_expander/esp_io_expander;components/io_expander/esp_io_expander_tca9554;components/io_expander/esp_io_expander_tca95xx_16bit;components/io_expander/esp_io_expander_ht8574;
24-
bsp/esp32_azure_iot_kit;bsp/esp32_s2_kaluga_kit;bsp/esp_wrover_kit;bsp/esp-box;bsp/esp32_s3_usb_otg;bsp/esp32_s3_eye;bsp/esp32_s3_lcd_ev_board;bsp/esp32_s3_korvo_2;bsp/esp-box-lite;bsp/esp32_lyrat;bsp/esp32_c3_lcdkit;bsp/esp-box-3;bsp/esp_bsp_generic;bsp/esp32_s3_korvo_1;bsp/esp32_p4_function_ev_board;bsp/m5stack_core_s3;bsp/m5dial;bsp/m5stack_core_2;bsp/esp_bsp_devkit;
24+
bsp/esp32_azure_iot_kit;bsp/esp32_s2_kaluga_kit;bsp/esp_wrover_kit;bsp/esp-box;bsp/esp32_s3_usb_otg;bsp/esp32_s3_eye;bsp/esp32_s3_lcd_ev_board;bsp/esp32_s3_korvo_2;bsp/esp-box-lite;bsp/esp32_lyrat;bsp/esp32_c3_lcdkit;bsp/esp-box-3;bsp/esp_bsp_generic;bsp/esp32_s3_korvo_1;bsp/esp32_p4_function_ev_board;bsp/m5stack_core_s3;bsp/m5dial;bsp/m5stack_core_2;bsp/esp_bsp_devkit;bsp/m5_atom_s3;
2525
namespace: "espressif"
2626
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
2727
dry_run: ${{ github.ref_name != 'master' || github.repository_owner != 'espressif' }}

.github/workflows/upload_component_noglib.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Upload noglib version of BSPs
1717
# TODO: Extend this part to all BSPs
1818
env:
19-
BSPs: "bsp/esp_wrover_kit bsp/esp32_s3_eye bsp/esp32_p4_function_ev_board bsp/m5stack_core_s3 bsp/m5stack_core_2 bsp/m5dial"
19+
BSPs: "bsp/esp_wrover_kit bsp/esp32_s3_eye bsp/esp32_p4_function_ev_board bsp/m5stack_core_s3 bsp/m5stack_core_2 bsp/m5dial bsp/m5_atom_s3"
2020
run: |
2121
pip install idf-component-manager==1.* py-markdown-table --upgrade
2222
python .github/ci/bsp_noglib.py ${BSPs}
@@ -28,6 +28,7 @@ jobs:
2828
bsp/m5stack_core_s3_noglib;
2929
bsp/m5dial_noglib;
3030
bsp/esp_wrover_kit_noglib;
31+
bsp/m5_atom_s3_noglib;
3132
namespace: "espressif"
3233
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
3334
dry_run: ${{ github.ref_name != 'master' || github.repository_owner != 'espressif' }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Board support packages for development boards using Espressif's SoCs, written in
2121
| [M5Stack CoreS3](bsp/m5stack_core_s3) | ESP32-S3 | LCD display with touch, uSD card slot, microphone, audio codec | <img src="docu/pics/m5stack_cores3.webp" width="150"> |
2222
| [M5Stack Core2](bsp/m5stack_core_2) | ESP32 | LCD display with touch, uSD card slot | <img src="docu/pics/m5stack_core2.webp" width="150"> |
2323
| [M5Dial](bsp/m5dial) | ESP32-S3 | LCD display with touch and encoder | <img src="docu/pics/m5dial.webp" width="150"> |
24+
| [M5 Atom S3](bsp/m5_atom_s3) | ESP32-S3 | LCD display with button | <img src="docu/pics/m5atoms3.webp" width="150"> |
2425

2526
### Deprecated boards
2627
| Board name | SoC | Features | Photo |
45.9 KB
Loading
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
description: ESP-BSP SquareLine LVGL Example
2+
targets:
3+
- esp32s3
4+
dependencies:
5+
idf: ">=5.0"
6+
m5_atom_s3: "*"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name":"M5 AtomS3",
3+
"version":"1.0.0",
4+
"mcu":"ESP32S3",
5+
6+
"screen_width":"128",
7+
"screen_height":"128",
8+
"screen_color_swap":false,
9+
10+
"supported_lvgl_version":"9.1.*",
11+
12+
"short_description":"AtomS3 is a highly integrated programmable controller that harnesses the power of the ESP32-S3 chip. This compact controller boasts a range of features, including integrated WiFi functionality and 8MB of on-chip FLASH memory. With the ESP32-S3 chip, AtomS3 delivers exceptional performance and versatility for a variety of applications.",
13+
"long_description":"AtomS3 is a highly integrated programmable controller that harnesses the power of the ESP32-S3 chip. This compact controller boasts a range of features, including integrated WiFi functionality and 8MB of on-chip FLASH memory. With the ESP32-S3 chip, AtomS3 delivers exceptional performance and versatility for a variety of applications.",
14+
15+
"placeholders":
16+
{
17+
"__ESP_BOARD_INCLUDE__": "bsp/esp-bsp.h",
18+
"__ESP_BOARD_I2C_INIT__": ""
19+
}
20+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
3+
nvs, data, nvs, 0x9000, 0x6000,
4+
phy_init, data, phy, 0xf000, 0x1000,
5+
factory, app, factory, 0x10000, 6M,
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated using idf.py save-defconfig. It can be edited manually.
2+
# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration
3+
#
4+
CONFIG_IDF_TARGET="esp32s3"
5+
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
6+
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
7+
CONFIG_PARTITION_TABLE_CUSTOM=y
8+
CONFIG_LV_COLOR_16_SWAP=y
9+
CONFIG_LV_MEM_CUSTOM=y
10+
CONFIG_LV_MEMCPY_MEMSET_STD=y
11+
CONFIG_LV_USE_PERF_MONITOR=y

bsp/m5_atom_s3/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
idf_component_register(
2+
SRCS "m5_atom_s3.c"
3+
INCLUDE_DIRS "include"
4+
PRIV_INCLUDE_DIRS "priv_include"
5+
REQUIRES driver spiffs
6+
PRIV_REQUIRES fatfs esp_lcd
7+
)

0 commit comments

Comments
 (0)