1 include $(TOPDIR
)/rules.mk
6 PKG_LICENSE
:=GPL-2.0
-only
7 PKG_MAINTAINER
:=Nuno Gonçalves
<nunojpg@gmail.com
>
10 PKG_SOURCE_URL
=https
://github.com
/nunojpg
/esp2net.git
11 PKG_SOURCE_DATE
:=2023-06-20
12 PKG_SOURCE_VERSION
:=be514c7a50bd8f3aac146ba267856d66cad1abd9
13 PKG_MIRROR_HASH
:=bb2d180887c14ee3e6bec51ccaae195274a09e4be108a7e69e2126df5245c0b7
15 include $(INCLUDE_DIR
)/package.mk
16 include $(INCLUDE_DIR
)/cmake.mk
18 define Package
/esp2net
21 TITLE
:=Espressif ESP chip network monitor and flash proxy
25 define Package
/esp2net
/description
26 Allows to flash a Espressif chip connected to this device.
27 The functionality is identical to
"esp_rfc2217_server.py" but without Python.
28 Typically you want also to
install one or more USB serial drivers
:
29 * kmod-usb-serial-cp210x
30 * kmod-usb-serial-ftdi
31 * kmod-usb-serial-ch341
35 define Package
/esp2net
/install
36 $(INSTALL_DIR
) $(1)/usr
/sbin
37 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/esp2net
$(1)/usr
/sbin
/
38 $(INSTALL_DIR
) $(1)/etc
/init.d
39 $(INSTALL_BIN
) .
/files
/esp2net.init
$(1)/etc
/init.d
/esp2net
40 $(INSTALL_DIR
) $(1)/etc
/config
41 $(INSTALL_CONF
) .
/files
/esp2net.config
$(1)/etc
/config
/esp2net
44 define Package
/esp2net
/conffiles
48 $(eval
$(call BuildPackage
,esp2net
))