Closed codycodes closed 4 years ago
Just fyi, PRs should be submitted to the pal repo, as this is the parent repo from which this client repo is built.
Thanks for letting me know, @jbobotek! I have created a corresponding PR in the pal repo and will close this PR.
My friend @cheejen93 and I wrote an automation script to help make the process of setting up ESP8266 / ESP32 on Azure IoT Hub easier.
Personally it was not the easiest thing for me to setup this azure-iot-arduino lib manually, as it requires editing a platform.txt and possibly the Arduino.h files several directories deep for each applicable board. It’s useful for me to write a script with my friend to automate this process, since we have about forty or so others in our cohort who we’re hoping will connect their Arduinos to our IoT network on Azure. This script can also be run when board libraries get updated, as I know I was scratching my head as to why code wouldn't upload after updating the Arduino board libraries for ESP8266 or ESP32.
Please feel free to let me know what your thoughts are on this script! We tried to make it as simple and easy to use as possible. It features the following:
Testing this is easy. You can go to Arduino, update to a different version or reinstall the ESP8266 / ESP32 board from the Boards Manager and then run the script to ensure that appropriate changes are made.
I've updated the README for this script appropriately and hope it can be of use to some. Please let me know what improvements can be made and I will be happy to maintain this script as possible.