Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zackees/idf-install
Installs the idf toolset
https://github.com/zackees/idf-install
Last synced: about 1 month ago
JSON representation
Installs the idf toolset
- Host: GitHub
- URL: https://github.com/zackees/idf-install
- Owner: zackees
- License: mit
- Created: 2023-01-04T23:30:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T19:50:23.000Z (12 months ago)
- Last Synced: 2024-10-29T01:12:08.316Z (2 months ago)
- Language: Python
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# idf-install
The missing installer for idf-installer for esp32 development. Run `idf-install` and an environment will be installed and files will be dropped to enter into the environment.
[![Linting](../../actions/workflows/lint.yml/badge.svg)](../../actions/workflows/lint.yml)
[![MacOS_Tests](../../actions/workflows/push_macos.yml/badge.svg)](../../actions/workflows/push_macos.yml)
[![Ubuntu_Tests](../../actions/workflows/push_ubuntu.yml/badge.svg)](../../actions/workflows/push_ubuntu.yml)
[![Win_Tests](../../actions/workflows/push_win.yml/badge.svg)](../../actions/workflows/push_win.yml)[![MacOS Install Test](https://github.com/zackees/idf-install/actions/workflows/macos_install.yml/badge.svg)](https://github.com/zackees/idf-install/actions/workflows/macos_install.yml)
[![Ubuntu Install Test](https://github.com/zackees/idf-install/actions/workflows/ubuntu_install.yml/badge.svg)](https://github.com/zackees/idf-install/actions/workflows/ubuntu_install.yml)
[![Windows Install Test](https://github.com/zackees/idf-install/actions/workflows/windows_install.yml/badge.svg)](https://github.com/zackees/idf-install/actions/workflows/windows_install.yml)# Install idf-install toolset
Install the installer tool
```bash
pip install .
```Then run the installer
```bash
idf-install
```After that, run the `idf_activate` command to enter into the environment
Windows:
```bash
idf_activate.bat
```Linux/MacOS
```bash
. ./idf_activate.sh
```Then after this you are going to initialize the project
```bash
idf.py create-project myproject
```Now cd into the directory and build it
```bash
cd myproject
idf.py build
```Now you can flash the device
```bash
idf.py flash
# or idf.py -p (PORT) flash
```And now you can monitor the device with
```bash
idf.py -p (PORT) monitor
```# Develop
To develop software, run `. ./activate.sh`
## Windows
This environment requires you to use `git-bash`.
## Linting
Run `./lint.sh` to find linting errors using `pylint`, `flake8` and `mypy`.
# Versions
* 1.0.5: Update readme.
* 1.0.4: First release candidate of the project. See readme for details on using this.