I followed the instructions and VSCODE cannot use the library:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/system.html#_CPPv411esp_restartv
[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
It is exits. Invalid using the Arduino: Rebuild IntelliSense Configuration
How do implement a soft restart for ESP32?