From 1d7b0ea1cde71c19715aadc1a8e64d6d5a822459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=81=E5=AD=90=E5=B8=8C?= <113960039+NingZiXi@users.noreply.github.com> Date: Mon, 13 Apr 2026 14:57:00 +0800 Subject: [PATCH] =?UTF-8?q?build(esp=5Fwifi=5Fbsp):=20=E6=B7=BB=E5=8A=A0ma?= =?UTF-8?q?in=E7=9B=AE=E5=BD=95=E5=88=B0=E5=8C=85=E5=90=AB=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为了能够访问main目录中的头文件,将../../main添加到组件的包含路径中 --- Code/PhoneBed_code/components/esp_wifi_bsp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/PhoneBed_code/components/esp_wifi_bsp/CMakeLists.txt b/Code/PhoneBed_code/components/esp_wifi_bsp/CMakeLists.txt index c26e9eb..f082f66 100644 --- a/Code/PhoneBed_code/components/esp_wifi_bsp/CMakeLists.txt +++ b/Code/PhoneBed_code/components/esp_wifi_bsp/CMakeLists.txt @@ -6,4 +6,4 @@ idf_component_register( nvs_flash REQUIRES esp_wifi - INCLUDE_DIRS "./") \ No newline at end of file + INCLUDE_DIRS "./" "../../main") \ No newline at end of file