# SLE_OLED **Repository Path**: fish-empty/sle_oled ## Basic Information - **Project Name**: SLE_OLED - **Description**: 星闪开发之Server-Client 指令交互控制OLED案例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-04 - **Last Updated**: 2025-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SLE_OLED #### 介绍 星闪开发之Server-Client 指令交互控制OLED案例 # 在Hispark Studio中配置 ## 1.将sle_oled-master文件夹下的相sle_oled放在peripheral文件夹下。 ```c 将sle_oled-master中的sle_oled文件夹复制到 | | | fbb_ws63-master\src\application\samples\peripheral文件夹下 ``` ## 2.peripheral目录下的 Kconfig文件中添加如下代码 ```c config SAMPLE_SUPPORT_SLE_OLED bool prompt "Support SLE_OLED Sample." default n depends on ENABLE_PERIPHERAL_SAMPLE help This option means support SLE_OLED Sample. if SAMPLE_SUPPORT_SLE_OLED menu "SLE_OLED Sample Configuration" osource "application/samples/peripheral/sle_oled/Kconfig" endmenu endif ``` ## 3.peripheral目录下的 CMakeLists.txt文件中添加如下代码 ```c if(DEFINED CONFIG_SAMPLE_SUPPORT_SLE_OLED) add_subdirectory_if_exist(sle_oled) endif() ``` 再分别进行编译和烧录。基础教程请跳转至:[星闪开发入门级教程之安装编译器与小项目烧录](https://blog.csdn.net/qq_42761395/article/details/145499372)