Page 1 of 1

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

Posted: Sun Mar 20, 2022 2:18 am
by allrobot
我按照说明操作,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 实现软重启?

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

Posted: Mon Mar 21, 2022 2:11 am
by ESP_morris