Search found 2 matches

by lxdemon
Mon Jan 15, 2024 3:21 am
Forum: ESP-IDF 中文讨论版
Topic: idf.py set-target esp32c3 无法生效
Replies: 0
Views: 26413

idf.py set-target esp32c3 无法生效

idf version: v5.1.2 之前使用的环境是esp32,然后安装了esp32c3,现在编译完下载会出错,具体操作如下: xin_li@DESKTOP-SH0LJ3H:~/workspace/esp32/projects/hello_world$ idf.py set-target esp32c3 Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean Executing action: set-t...
by lxdemon
Tue Mar 09, 2021 9:50 am
Forum: ESP-IDF 中文讨论版
Topic: esp-idf v4.1 SDK使用cjson时编译报错
Replies: 1
Views: 3608

esp-idf v4.1 SDK使用cjson时编译报错

你好,最近准备从ESP-IDF V3.3迁移到V4.1,现在添加了cJSON后,工程编译不过去,我查看了SDK中是有这个component的,我在工程中也添加了头文件,但不知道为何编译不过去,麻烦帮忙看一下是什么问题,万分感激! 附上报错log: ../components/tcp_handle/tcp_handle.c:22:10: fatal error: cJSON.h: No such file or directory #include "cJSON.h" ^~~~~~~~~ compilation terminated. [5/12] Building C object esp-i...