https://github.com/boidolr/mpy-esp8266
Building micropython for esp8266 & pybd boards
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.2%) to scientific vocabulary
Keywords
Repository
Building micropython for esp8266 & pybd boards
Basic Info
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
mpy-esp8266
Building micropython for esp8266 & pybd boards.
Setting up the tool chains for the esp8266 on mac was a pain, so I am using a Vagrantfile to manage a VM with the tools.
Using the image
Create a VM with the virtualbox provider by using vagrant up.
The scripts provisioning the image and building the firmware are in providers.
The VM will mount the folder containing the Vagrantfile as sources directory, and copy firmware images into it.
To build the firmware use vagrant provision --provision-with build-image.
Adding modules to the firmware
Python sources that should be baked into the firmware can be added to modules.
If sources from a different location should be added these can be added to manifest.py.
Firmware for esp8266
Install micropython on an esp8266 board: * Install firmware * Development reference
Steps to follow (backup first!):
bash
pip3 install esptool
esptool.py --port /dev/tty.usbserial* read_mac
esptool.py --port /dev/tty.usbserial* erase_flash
esptool.py --port /dev/tty.usbserial* --baud 460800 write_flash --flash_size=detect 0 <firmware.bin>
Firmware for pybd
Use pydfu.py from micropython:
```bash
pip3 install pyusb pyserial
python3 pydfu.py -u
-- or via build if mapped to the image --
make BOARD=PYBD_SF2 deploy ```
Related
- Prebuild firmeare
- Pybd update process
- Firmware building
- Firmware building on macOS
- Espressif toolchain setup
- https://github.com/fcollova/micropython-docker-build
- https://github.com/flusflas/micropython-builder
- https://github.com/larsks/docker-image-esp-open-sdk
- and others
Owner
- Name: Raphael Boidol
- Login: boidolr
- Kind: user
- Location: Munich, Germany
- Company: @TNG
- Website: https://boidolr.github.io/
- Repositories: 12
- Profile: https://github.com/boidolr
coding for the fun of it
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0