Installation instructions

Using Windows:
	Install the latest version of python if it's not already on your machine.
	Install the esptool.py program, instructions here: https://docs.espressif.com/projects/esptool/en/latest/esp32/

For Linux:  (You need to setup a python virtual enviorment to get the latest esptool)
	Install the python venv module  (use the correct python version for your setup)
		sudo apt install python3.12-venv

	Create a dir for your virtual enviroment and setup the env, The directory name can be what you what.
		mkdir [dir name]
		python3 -m venv [dir name]

	Activate the enviroment and then install esptool, you must run esp tool from the virtual env in future (run the activate beforehand)
		cd [dir name]
		source bin/activate
		pip install esptool


If you are putting MicroPython on your board for the first time then you should first erase the entire flash using:

esptool.py --chip esp32 --port COM10 erase_flash

From then on program the firmware starting at address 0x1000:

esptool.py --chip esp32 --port COM10 --baud 460800 write_flash -z 0x1000 ESP32_GENERIC-20251209-v1.27.0.bin

NOTE: If you only have one esp32 hooked up, the chip and port arguments are optional.

Note: For linux you can just use esptool, no .py needed.

