当前位置:网站首页>Esp32-c3 introductory tutorial problems ⑧ - blufi_ example. c:244: undefined reference to `esp_ ble_ gap_ start_ advertising

Esp32-c3 introductory tutorial problems ⑧ - blufi_ example. c:244: undefined reference to `esp_ ble_ gap_ start_ advertising

2022-06-23 13:03:00 Senior brother Xiaokang

One 、 Preface

This article is based on VS Code IDE Programming 、 compile 、 download 、 Operation, etc
Please refer to the basic introduction chapter :ESP32-C3 Introductory tutorial The basic chapter ①—— be based on VS Code structure Hello World
For an outline of the tutorial directory, please refer to :ESP32-C3 Introductory tutorial —— Reading guide

Two 、 Find the problem

transplant blufi Functional time , Compilation errors found 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\riscv32-esp-elf\bin\riscv32-esp-elf-g++.exe  -march=rv32imc  -nostartfiles 
-march=rv32imc --specs=nosys.specs @CMakeFiles\esp_aliyun_demo.el
原网站

版权声明
本文为[Senior brother Xiaokang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206231121581900.html