@retrotechandelectronics
  @retrotechandelectronics
Retro Tech & Electronics | Easy Migration from Arduino IDE to Platform IO Part 2 of 2 @retrotechandelectronics | Uploaded July 2020 | Updated October 2024, 4 hours ago.
We continue with part two of the Arduino IDE to PlatformIO series. I'd stopped part 1 becuase in the last video I'd found something unexpected. It would seem that there is an inconsistency between the two but only when serial output is added on the terminal. This is manifested only when the terminal is activated, where the interrupt for GPIO 0 is disabled as it flips to the second window option. If I attempt the reset button after this the result is also unexpected with a waiting for download indication, requiring a second press. While clearly there is something special about GPIO 0 on the TTGO, its not expressed the same between Arduino IDE and platformIO. This was tested by moving that control off to another GPIO and retesting. This move solved the issue.

The Code is posted here for others to retry --
technocoma.blogspot.com/p/test-programme-2-of-2.html

Getting past this issue, we can talk about some of the reasons I've migrated to PlatformIO, one primary reason being library development which simply doesn't exist in Arduino IDE. Local libraries are easily added into projects as shown. A demonstration of how PlatformIO autocompletes information , methods and parameters is immediately seen, as well as navigation to definitions, constructions , methods, functions.


SPIFFS data upload is also simplified in Platform IO with no special add-ons nor software installations allowing for a push from a data directory from within our project. Then requesting Upload file system image. The verbose output of the activity shown that everything worked as expected.


Another feature for people creating libraries is GIT integration allowing for library modification and pushing to git in a manner which allows for the library to appear in the Arduino library manager, and by extension also in platformio.


At this point developers would be encouraged to discover the many features for themselves.
Easy Migration from Arduino IDE to Platform IO Part 2 of 2Jura Impressa S / X / XS Rebuild Series Part 1 - Opening the UnitVacmaster 3 in 1 carpet cleaner - Unboxing, Demo & ReviewESP32 Development Board ProjectThe Dynaco Dynakit ST70 Stereo Amplifier Restoration Project Part 4Pressure Washer Pump Rebuild -  Annovi Reveberi AR-RMW22G24 Vertical Axial PumpMarlin XT22 Bolt Action Rifle Disassembly for Cleaning and InspectionHVAC Blower Fan Troubleshoot and Repair - Another DIY Repair Saving You Hundreds -Mike & Toby snack timeDelorean Maintenance - Fluids flush OIL/COOLANT/BRAKES - Plus Gas Piston Swap and ComparisonSunn Concert Bass Amp - Troubleshoot and RepairJura Automatic Coffee Machine - Stop Wasting your money on Milk Frother Cleaning Supplies

Easy Migration from Arduino IDE to Platform IO Part 2 of 2 @retrotechandelectronics

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER