fork/exec C:\Users\ankush\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++.exe: Access is denied.
Compilation error: fork/exec C:\Users\ankush\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++.exe: Access is denied.
I have moved your Topic to Programming Questions....Please try not to post in Uncategorised again, If you are unsure about the categories refer to this guide or to the stickies for each category.
Arduino IDE 2.1.1
board using: ESP8266
trying to run the example code
/*
ESP8266 Blink by Simon Peter
Blink the blue LED on the ESP-01 module
This example code is in the public domain
The blue LED on the ESP-01 module is connected to GPIO1
(which is also the TXD pin; so we cannot use Serial.print() at the same time)
Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level
// but actually the LED is on; this is because
// it is active low on the ESP-01)
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED off by making the voltage HIGH
delay(2000); // Wait for two seconds (to demonstrate the active low LED)
}
when I select Tools>Board "Generic ESP8266 Module" the code of post 4 compiles OK
in the Arduino IDE select File>Preferences and enable "Verbose output during Compiling and upload" then attempt to compile and upload your program again
if there are still problems upload the error messages as text
seems your installation is incorrect, you don't have the right to execute xtensa-lx106-elf-g++.exe nor python3.exe...
I'd clean up the installation and start again from scratch. starting by downloading the IDE from the Arduino web site, adding the boards definition you are interested in and using the IDE to perform the board installation.