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:
parent
2b39dd0ec9
commit
bc43e5e55d
16
pkg/esptool/Makefile
Normal file
16
pkg/esptool/Makefile
Normal 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
|
||||
1
pkg/esptool/Makefile.include
Normal file
1
pkg/esptool/Makefile.include
Normal file
@ -0,0 +1 @@
|
||||
PSEUDOMODULES += esptool
|
||||
Loading…
x
Reference in New Issue
Block a user