# m5_atom_s3r **Repository Path**: that-days-s3/m5_atom_s3r ## Basic Information - **Project Name**: m5_atom_s3r - **Description**: ESP-IDF m5_atom_s3r组件包 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-18 - **Last Updated**: 2025-08-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # BSP: M5 Atom S3R Atom S3R主控模组的BSP库。 ## Overview 适配的硬件平台:[M5 Atom S3R](https://docs.m5stack.com/en/core/m5atom-s3r) ### 适配内容 - [x] LCD屏幕(GC9107) - [x] 屏幕背光(lp6652) - [x] 按键 - [ ] BMI270 IMU(暂未适配) ## HOW to use ### ESP-IDF 在工程根目录,创建文件夹"components",将本库放入components文件夹中。 或: 在工程根目录,执行以下命令: ``` git clone https://gitee.com/that-days-s3/m5_atom_s3r.git components/m5_atom_s3r ``` 然后,在根目录的'main'文件夹中的`CMakeLists.txt`中添加以下内容: 找到idf_component_register,内部添加: ```cmake REQUIRES m5_atom_s3r ``` 例如: ```cmake idf_component_register(SRCS "hello_world_main.c" PRIV_REQUIRES spi_flash INCLUDE_DIRS "" REQUIRES m5_atom_s3r) ```