ESP-IDF ESP32 无法实现软重启?

allrobot
Posts: 17
Joined: Wed Nov 03, 2021 7:15 am

ESP-IDF ESP32 无法实现软重启?

Postby allrobot » Sun Mar 20, 2022 2:18 am

我按照说明操作,VSCODE 无法使用该库:
https ://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/system.html#_CPPv411esp_restartv

Code: Select all

[Starting] Analyzing sketch 'TEST\TEST.ino'
[Warning] Output path is not specified. Unable to reuse previously compiled files. Build will be slower. See README.
Loading configuration...  
Initializing packages...  
Skipping contributed index file C:\Users\Administrator\AppData\Local\Arduino15\master.zip, parsing error occured:
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'PK': was expecting ('true', 'false' or 'null')
 at [Source: (FileInputStream); line: 1, column: 6]
Skipping contributed index file C:\Users\Administrator\AppData\Local\Arduino15\master.zip, parsing error occured:
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'PK': was expecting ('true', 'false' or 'null')
 at [Source: (FileInputStream); line: 1, column: 6]
Preparing development board...  
Verifying...  
TEST:6:25: fatal error: periph_ctrl.h: No such file or directory
compilation terminated.
exit status 1
[Warning] Failed to generate IntelliSense configuration.
[Error] Analyzing sketch 'TEST\TEST.ino': Exit with code=1
Image

命令没作用Arduino: Rebuild IntelliSense Configuration

Image
如何为 ESP32 实现软重启?


Who is online

Users browsing this forum: No registered users and 56 guests