diff --git a/comms/Makefile b/comms/Makefile index 3c67a58fc4b6..89ee6a0f75e2 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -1,221 +1,222 @@ COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += airspyhf SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bladerf SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cubicsdr SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += cyclonedds SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += digiham SUBDIR += direwolf SUBDIR += dsd SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += ebusd SUBDIR += echolinux SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flamp SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flmsg SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hackrf-devel SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += iceoryx SUBDIR += inspectrum SUBDIR += iwmbt-firmware SUBDIR += java-simple-serial-connector SUBDIR += kermit SUBDIR += klog SUBDIR += libconcord SUBDIR += libfap SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd SUBDIR += limesuite SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mbelib SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += multimon-ng SUBDIR += nanovna-saver SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += obexapp SUBDIR += opencbm SUBDIR += opencbm-kmod SUBDIR += opencbm-plugin-xa1541 SUBDIR += openobex SUBDIR += openzwave SUBDIR += openzwave-devel SUBDIR += owfs SUBDIR += p5-Cisco-UCS SUBDIR += p5-Device-Gsm SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += p5-Fax-Hylafax-Client SUBDIR += p5-Nexmo-SMS SUBDIR += p5-SMS-SMS77 SUBDIR += p5-SMS-Send SUBDIR += p5-SMS-Send-DeviceGsm SUBDIR += p5-SMS-Send-NexmoUnicode SUBDIR += p5-SMS-Send-TW-HiAir SUBDIR += p5-SMS-Send-TW-PChome SUBDIR += p5-SMS-Send-TW-Socket2Air SUBDIR += p5-SMS-Send-TW-chtsns SUBDIR += p5-SMS-Send-TW-emome SUBDIR += pear-Horde_ActiveSync SUBDIR += pear-Horde_SyncMl SUBDIR += picocom SUBDIR += pr SUBDIR += predict SUBDIR += py-adafruit-ampy + SUBDIR += py-elelabs-zigbee-ezsp-utility SUBDIR += py-esptool SUBDIR += py-fritzconnection SUBDIR += py-hid SUBDIR += py-hidapi SUBDIR += py-libimobiledevice SUBDIR += py-libscrc SUBDIR += py-pyserial SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialbus SUBDIR += qt5-serialport SUBDIR += qt6-sensors SUBDIR += qt6-serialbus SUBDIR += qt6-serialport SUBDIR += qtel SUBDIR += redsea SUBDIR += remserial SUBDIR += rtl-433 SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rubygem-serialport SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scrcpy SUBDIR += sdr++ SUBDIR += sdr-wspr SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += sms_client SUBDIR += smstools3 SUBDIR += snap7 SUBDIR += soapyairspy SUBDIR += soapybladerf SUBDIR += soapyplutosdr SUBDIR += soapyredpitaya SUBDIR += soapyremote SUBDIR += soapysdr-rtlsdr SUBDIR += soapysdrhackrf SUBDIR += soapyuhd SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += sunxi-tools SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tio SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += uhd SUBDIR += uird SUBDIR += ujprog SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wsjtz SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdemorse SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yagiuda SUBDIR += yfklog .include diff --git a/comms/py-elelabs-zigbee-ezsp-utility/Makefile b/comms/py-elelabs-zigbee-ezsp-utility/Makefile new file mode 100644 index 000000000000..b8aa6152655d --- /dev/null +++ b/comms/py-elelabs-zigbee-ezsp-utility/Makefile @@ -0,0 +1,47 @@ +PORTNAME= elelabs-zigbee-ezsp-utility +DISTVERSION= 20220218 +CATEGORIES= comms python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rozhuk.im@gmail.com +COMMENT= Elelabs Firmware Update Utility +WWW= https://github.com/Elelabs/elelabs-zigbee-ezsp-utility + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=3.4:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xmodem>=0.4.5:comms/py-xmodem@${PY_FLAVOR} + +USES= python:3.6+ shebangfix +USE_GITHUB= yes +GH_ACCOUNT= Elelabs +GH_TAGNAME= 7fc415497f7e2b3410e3350b359ac5c71043399e +USE_PYTHON= flavors + +SHEBANG_FILES= Elelabs_EzspFwUtility.py + +NO_ARCH= yes +NO_BUILD= yes + +post-patch: + @${REINPLACE_CMD} -e "s|data/EFR32|${DATADIR}/EFR32|g" \ + ${WRKSRC}/Elelabs_EzspFwUtility.py + +# This is to prevent Mk/Uses/python.mk do-configure target from firing. +do-configure: + @${ECHO} 'No configure' + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/Elelabs_EzspFwUtility.py ${STAGEDIR}${PREFIX}/bin/ + ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/Elelabs_EzspFwUtility.py + (cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) + +post-install: +# Regenerate .PLIST.pymodtemp to get all installed files from +# ${STAGEDIR}. + @${FIND} ${STAGEDIR} -type f -o -type l | \ + ${SORT} | ${SED} -e 's|${STAGEDIR}||' \ + >> ${WRKDIR}/.PLIST.mktmp + +.include diff --git a/comms/py-elelabs-zigbee-ezsp-utility/distinfo b/comms/py-elelabs-zigbee-ezsp-utility/distinfo new file mode 100644 index 000000000000..1e4b2a1476e0 --- /dev/null +++ b/comms/py-elelabs-zigbee-ezsp-utility/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1662938072 +SHA256 (Elelabs-elelabs-zigbee-ezsp-utility-20220218-7fc415497f7e2b3410e3350b359ac5c71043399e_GH0.tar.gz) = 412f7c5b0b7786c8a6d6f760a3063d4c0e0551d79bd023a731e7200c69324158 +SIZE (Elelabs-elelabs-zigbee-ezsp-utility-20220218-7fc415497f7e2b3410e3350b359ac5c71043399e_GH0.tar.gz) = 1244999 diff --git a/comms/py-elelabs-zigbee-ezsp-utility/pkg-descr b/comms/py-elelabs-zigbee-ezsp-utility/pkg-descr new file mode 100644 index 000000000000..ce81d67a8358 --- /dev/null +++ b/comms/py-elelabs-zigbee-ezsp-utility/pkg-descr @@ -0,0 +1,21 @@ +The Elelabs Firmware Update Utility is a basic Python 3 script to flash +the the firmware inside a range of Elelabs Zigbee and Thread products to +a newer version. + +Currently sold supported products based on Silicon Labs microcontrollers: + Elelabs Zigbee Raspberry Pi Shield ELR023 (EFR32MG13P) + Elelabs Zigbee USB Adapter ELU013 (EFR32MG13P) + +Previously sold supported products based on Silicon Labs microcontrollers: + Elelabs Zigbee Raspberry Pi Shield ELR022 (EFR32MG1B) + Elelabs Zigbee USB Adapter ELU012 (EFR32MG1B) + Elelabs Zigbee Raspberry Pi Shield EZBPIS (EM357) + Elelabs Zigbee USB Adapter EZBUSBA (EM357) + +Disclaimer: This utility should also work with other generic EZSP +(EmberZNet Serial Protocol) or Spinel (Openthread Serial Protocol) based +adapters and modules from other vendors, however firmwares for products +not from Elelabs are not provided here and there is no guarantees that +it will work with non-Elelabs products. Be wanted that you may void your +warranty and even brick your adapter if the firmware update is not +supported by your mnaufacturer. diff --git a/comms/py-elelabs-zigbee-ezsp-utility/pkg-message b/comms/py-elelabs-zigbee-ezsp-utility/pkg-message new file mode 100644 index 000000000000..f096790047b7 --- /dev/null +++ b/comms/py-elelabs-zigbee-ezsp-utility/pkg-message @@ -0,0 +1,34 @@ +[ +{ type: install + message: <