1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 01:23:49 +01:00

pkg: add esptool.py as package for compilation

This commit is contained in:
Gunar Schorcht 2025-06-22 17:13:57 +02:00
parent 2b39dd0ec9
commit bc43e5e55d
2 changed files with 17 additions and 0 deletions

16
pkg/esptool/Makefile Normal file
View File

@ -0,0 +1,16 @@
PKG_NAME=esptool
PKG_URL=https://github.com/espressif/esptool
# esptool v4.9.0
PKG_VERSION=8c3e3bf5d4292f1451744a838b2e60f50aa02b3c
PKG_LICENSE=GPLv2
include $(RIOTBASE)/pkg/pkg.mk
all: $(PKG_SOURCE_DIR)/venv/bin/esptool.py
clean::
rm -rf $(PKG_SOURCE_DIR)/venv*
$(PKG_SOURCE_DIR)/venv/bin/esptool.py:
python3 -m venv $(PKG_SOURCE_DIR)/venv
$(PKG_SOURCE_DIR)/venv/bin/pip install esptool

View File

@ -0,0 +1 @@
PSEUDOMODULES += esptool