- Notifications
You must be signed in to change notification settings - Fork0
Building micropython for esp8266 & pybd boards
License
boidolr/mpy-esp8266
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Buildingmicropythonforesp8266 &pybd boards.
Setting up the tool chains for the esp8266 on mac was a pain, so I am using aVagrantfile
to manage a VM with the tools.
Create a VM with thevirtualbox
provider by usingvagrant up
.The scripts provisioning the image and building the firmware are inproviders
.
The VM will mount the folder containing theVagrantfile
assources
directory, and copy firmware images into it.To build the firmware usevagrant provision --provision-with build-image
.
Python sources that should be baked into the firmware can be added tomodules
.If sources from a different location should be added these can be added tomanifest.py
.
Install micropython on an esp8266 board:
Steps to follow (backup first!):
pip3 install esptoolesptool.py --port /dev/tty.usbserial* read_macesptool.py --port /dev/tty.usbserial* erase_flashesptool.py --port /dev/tty.usbserial* --baud 460800 write_flash --flash_size=detect 0<firmware.bin>
Usepydfu.py from micropython:
pip3 install pyusb pyserialpython3 pydfu.py -u<firmware.dfu># -- or via build if mapped to the image --make BOARD=PYBD_SF2 deploy
About
Building micropython for esp8266 & pybd boards
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Uh oh!
There was an error while loading.Please reload this page.