ESP-IDF学习记录(4) ESP-IDF examples目录

这里我准备按照官方目录,把examples里面的东西都列出来,这篇不会写的太详细,我也刚开始学习,应该会编辑很久,当一个目录来使用。后面需要用到examples里的具体内容,再单独开一篇笔记记录下来。

有中文注释的是我研究过源码的部分。

我用的板子是esp32c3 chip with 1 CPU core(s), WiFi/BLE, silicon revision v0.4, 2MB external flash,要注意看有的demo不支持这款板子

1.get-started(开始)

Simple examples with minimal functionality. Good start point for beginners.

功能最少的示例,适合新手。

亮灯demo,支持高低电平控制或者RBG灯控制,在menuconfig里面可配置亮灯参数。

hello_world

打印选用esp芯片参数,配置,版本,flash大小,延时重启。

sample_project

这是一个可编译工程样板,只有一个头文件和一个空的主函数。

2.bluetooth(蓝牙)

nimble

hci

ble_get_started

bluedroid

Classic BT, BLE and coex examples using default Bluedroid host stack.

ble

contains BLE examples

包含蓝牙示例

a2dp_sink

A2DP-SINK A2DP音频接收器

本示例涉及到使用蓝牙传统配置文件A2DP用于音频流接收,AVRCP用于媒体信息通知,以及I2S用于音频流输出接口。

像蓝牙扬声器这样的应用程序可以利用这个例子作为基本功能的参考。

只支持不带后缀的ESP32,我的ESP32-C3不能编译

a2dp_source
​​​​​​​ ​​​​​​​ bt_discovery
​​​​​​​ ​​​​​​​ ​​​​​​​ ​​​​​​​ bt_hid_mouse_device
bt_l2cap_client
bt_l2cap_server
bt_spp_acceptor
bt_spp_initiator
bt_spp_vfs_acceptor
bt_spp_vfs_initiator
hfp_ag
hfp_hf

ble_50

contains BLE 5.0 examples

包含蓝牙5.0示例

classic_bt

contains Classic BT examples

包含蓝牙经典例子

coex

contains Classic BT and BLE coex examples

blufi

esp_ble_mesh

esp_hid_device

esp_hid_host

3.build_system

Examples of build system features.

4.custom_bootloader

5.cxx

C++ language utilization examples and experimental components.

6.ethernet

Ethernet network examples.

7.mesh

Wi-Fi Mesh examples.

8.network

Examples related to general network environment, test & analysis.

9.openthread

OpenThread examples.

10.peripherals

Examples showing driver functionality for the various onboard ESP32 peripherals.

11.phy

12.protocols

Examples showing network protocol interactions.

13.provisioning

Wi-Fi provisioning examples.

14.security

Examples about security features.

15.storage

Examples showing data storage methods using SPI flash, external storage like the SD/MMC interface and flash partitioning.

16.system

Demonstrates some internal chip features, or debugging & development tools.

17.wifi

Advanced Wi-Fi features (For network protocol examples, see protocols instead.)

18.zigbee

Zigbee network and device examples.

相关推荐
传奇开心果编程17 分钟前
【Rust入门练中学】第4课:函数与所有权入门
开发语言·学习·rust
sunoo-22933 分钟前
【ARM嵌入式学习笔记Day5】一文打通GPIO中断全链路:从硬件引脚→GIC→汇编入口→C语言处理
arm开发·笔记·学习·中断·gic·裸机开发
m4Rk_36 分钟前
【论文阅读】Agent 记忆机制(76):SEEM——从碎片检索到完整事件重建
论文阅读·人工智能·学习·开源·github
我命由我123451 小时前
Mac 操作系统 - 一些使用记录
运维·windows·学习·系统安全·运维开发·mac·学习方法
千谦阙听1 小时前
【 C++篇】:模板初阶——泛型编程、函数模板与类模板
开发语言·c++·学习·visual studio
imDwAaY1 小时前
消息队列四大核心问题:顺序性、幂等性、可靠性与一致性
学习·kafka·rabbitmq
老王爱玩车1 小时前
第6讲:数组和函数实践-----控制台扫雷
c语言·开发语言·学习
是隼人1 小时前
buuctf-pwn [NewStarCTF 2023 公开赛道]orw&rop(shellcode+orw)题解(学习过程持续更新)
c语言·学习·安全·pwn入门·ctf入门
艾莉丝努力练剑2 小时前
【AI大模型接入SDK】SQLite基础概念与C的API开发
网络·c++·人工智能·学习·架构
東隅已逝,桑榆非晚2 小时前
List(类函数学习)
c++·笔记·学习