platform-espressif32 icon indicating copy to clipboard operation
platform-espressif32 copied to clipboard

wrong flash mode resulting in issues

Open Jason2866 opened this issue 3 years ago • 3 comments

issue https://github.com/espressif/arduino-esp32/issues/6572#issuecomment-1203630400 similar the fix for the S3 esp32-s3-devkitc-1.json

Jason2866 avatar Aug 03 '22 09:08 Jason2866

@valeros Probably a change for all newer boards to flash mode qio will avoid more issues here. Only old ESP32 board designs may not support mode qio.

Jason2866 avatar Aug 03 '22 09:08 Jason2866

Hi @Jason2866 ! Thanks for the PR. I'm in favor of keeping the flash mode settings in sync with the Arduino core for ESP32. For example, they use the dio mode for the ESP32 Pico Kit board https://github.com/espressif/arduino-esp32/blob/master/boards.txt#L1014:L1015. Is it a mistake?

valeros avatar Aug 03 '22 14:08 valeros

Well, than the question is why dio works with Arduino IDE and it fails with PlatformIO? Since i dont have this board nor i have Arduino IDE i cant say if it really works with the setting choosen in ArduinoIDE

Jason2866 avatar Aug 03 '22 14:08 Jason2866

Closing this PR will fix the issues with flash modes. All modes are possible.

Jason2866 avatar Aug 16 '22 17:08 Jason2866