一、前言
本文基于VS Code IDE进行编程、编译、下载、运行等操作
基础入门章节请查阅:ESP32-C3入门教程 基础篇①——基于VS Code构建Hello World
教程目录大纲请查阅:ESP32-C3入门教程——导读
二、发现问题
移植blufi
功能的时候,发现编译错误blufi_example.c:244: undefined reference to `esp_ble_gap_start_advertising
> Executing task: ninja <
[1/5] Performing build step for 'bootloader'
ninja: no work to do.
[2/3] Linking CXX executable esp_aliyun_demo.elf
FAILED: esp_aliyun_demo.elf
cmd.exe /C "cd . && C:\Users\Administrator\.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0