import ports/devel/py-esptool: esp8266 and esp32 rom bootloader communication

tool

esptool.py is a Python-based, open source, platform independent, utility to
communicate with the ROM bootloader in Espressif ESP8266 & ESP32 chips.

Extensive editing from paco@, with other kmos@ changes.

Ok kmos@ and paco@
This commit is contained in:
tracey 2020-02-23 17:35:04 +00:00
parent c680590394
commit 5d3b3fe650
4 changed files with 50 additions and 0 deletions

29
devel/py-esptool/Makefile Normal file
View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/02/23 17:35:04 tracey Exp $
COMMENT = esp8266 and esp32 rom bootloader communication tool
MODPY_EGG_VERSION = 2.8
DISTNAME = esptool-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = https://github.com/espressif/esptool
#GPLv2
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS += devel/py-serial${MODPY_FLAVOR} \
security/py-aes${MODPY_FLAVOR} \
security/py-ecdsa${MODPY_FLAVOR} \
FLAVORS = python3
FLAVOR = python3
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (esptool-2.8.tar.gz) = HkKI2fAOVbo2gJzHnEk2Q8Yjv6A217AZoOvjlihLwxc=
SIZE (esptool-2.8.tar.gz) = 84520

View File

@ -0,0 +1,3 @@
A Python-based, open source, platform independent, utility to communicate with
the ROM bootloader in Espressif ESP8266 & ESP32 chips. The py3-serial plugin
is required.

View File

@ -0,0 +1,16 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/02/23 17:35:04 tracey Exp $
bin/espefuse.py
bin/espsecure.py
bin/esptool.py
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}espefuse.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}espsecure.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}esptool.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/espefuse.py
lib/python${MODPY_VERSION}/site-packages/espsecure.py
lib/python${MODPY_VERSION}/site-packages/esptool-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/esptool-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/esptool-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/esptool-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/esptool-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/esptool-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/esptool.py