Search found 2 matches

by LC2047
Fri May 27, 2022 10:57 am
Forum: ESP-IDF 中文讨论版
Topic: Can't compile esp-idf-master console example
Replies: 0
Views: 1337

Can't compile esp-idf-master console example

大家好,我是编程初学者。 我想尝试 esp-idf-master(https://github.com/espressif/esp-idf) 控制台示例(\esp-idf-master\examples\system\console\basic) 在 VS code中使用 platformio 。 三个库(cmd_system, cmd_wifi & cmd_nvs)拷贝至“lib”文件夹中。 但是,我在编译时遇到问题。 src/main.c: In function 'app_main': src/main.c:68:16: error: 'esp_console_repl_config_t...
by LC2047
Thu May 19, 2022 5:25 am
Forum: ESP-IDF
Topic: IDF console example code questions
Replies: 6
Views: 6197

Re: IDF console example code questions

console_example_main.c
(3.16 KiB) Downloaded 284 times
Complie_error.jpg
Complie_error.jpg (635.86 KiB) Viewed 4158 times
Hi All

I use VS code with PlatformIO to comply ESP-IDF example(esp-idf-master\examples\system\console\basic\main.c), but no success. Please share your comments to fix it.

Why the original example(demo) has an error in compile?

BR