Many thanks @maxgerhardt for your guidance. It is much needed help for us.
- We changed the platformio.ini file as indicated by you.
-
Now we are able to flash esp32-s3-mini. We are able to see the serial print messages.
-
We have a problem here, the GPIO read write functions, interrupts aren’t functioning.
[e.g. pinMode(LED1, OUTPUT); digitalRead(SWITCH), digitalWrite(LED1) ] -
If i program esp32-s3 with the same sample GPIO test code using “Espressif IDE” the switch scanning and LED1 ON/OFF driving works. But in PlatformIO, the program doesnt work.
-
The GPIO output pins doesn’t change state with below code
#define LED1 42
pinMode(LED1, OUTPUT);void Loop() { digitalWrite(LED1, HIGH); delay(500); digitalWrite(LED1, LOW); delay(500); }
-
The GPIO output pins doesn’t change state with below code
#define LED1 42
pinMode(LED1, OUTPUT);void Loop() { if(1 == digitalRead(SWITCH)) digitalWrite(LED1, LOW); else digitalWrite(LED1, LOW); }
-
Attaching interrupts to the above pins doesn’t work.
-
A point to observe is all the above works in when programmed in Espressif IDE.
-
Our entire application is based on Arduino frame work.
Kindly guide us in resolving the above issues. Your help is greatly appreciated.
Thanks,
Sarath