当前位置:网站首页>Esp32-c3 introductory tutorial problem ⑦ - fatal error: ESP_ Bt.h: no such file or directory ESP not found_ bt.h

Esp32-c3 introductory tutorial problem ⑦ - fatal error: ESP_ Bt.h: no such file or directory ESP not found_ bt.h

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

./main/blufi/blufi_security.c
../main/blufi/blufi_security.c:20:10: fatal error: esp_bt.h: No such file or directory
 #include "esp_bt.h"
          ^~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
 Terminal process “C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja ” Terminated , Exit code : 1.

 Insert picture description here

3、 ... and 、 solve the problem

as a result of , Need to be in menuconfig Medium enable Bluetooth Bluetooth

 Insert picture description here

Feel good , Just one button three times ( give the thumbs-up + Collection + Focus on )

原网站

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

随机推荐