Import devel/esptool-ck: firmware creation helper for esp8266 chips

Esptool is a tool to create firmware files for the ESP8266 chip and flash the
firmware to the chip over serial port. Esptool reads the compiled program in ELF
format, extracts code and data sections, and either dumps a section to a file or
assembles the firmware file from several segments. Esptool also communicates
with the ESP8266 bootloader to upload firmware files to flash.

With some corrections from martin@ and kmos@

ok martin@ and kmos@
This commit is contained in:
tracey 2020-02-22 16:26:38 +00:00
parent 1cbad07da5
commit 7eadb828d4
2 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/02/11 20:19:44 sthen Exp $
# $OpenBSD: Makefile,v 1.1.1.2 2020/02/22 16:26:38 tracey Exp $
COMMENT = firmware creation helper for esp8266 chips
V = 0.4.13
@ -11,7 +11,7 @@ CATEGORIES = devel
HOMEPAGE = https://github.com/basepr1me/esptool-ck
# GPLv2+
#GPLv2
PERMIT_PACKAGE = Yes
WANTLIB += c

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2020/02/11 20:19:44 sthen Exp $
$OpenBSD: patch-Makefile,v 1.1.1.2 2020/02/22 16:26:38 tracey Exp $
Index: Makefile
--- Makefile.orig
@ -13,3 +13,12 @@ Index: Makefile
ifeq ($(UNAME_S),FreeBSD)
TARGET_OS := freebsd
endif
@@ -50,8 +53,6 @@ ifeq ($(ARCHIVE), tar)
ARCHIVE_CMD := tar czf
ARCHIVE_EXTENSION := tar.gz
endif
-
-VERSION ?= $(shell git describe --always)
MODULES := infohelper elf binimage argparse serialport espcomm