mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
Compare commits
293 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e4cf5a45a5 | |||
| 56a0360823 | |||
| 9d15f7ad9b | |||
| f650b830d7 | |||
| 7b9c474c19 | |||
| 08f251bc63 | |||
| ff6816b2e1 | |||
| c7bed971ba | |||
| d1d62515b6 | |||
| 054ac6a206 | |||
| d5e9686ca9 | |||
| 504280ca84 | |||
| 24bf7316a9 | |||
| 75b08441f7 | |||
| e0a6ac9ff0 | |||
| 9e9a3c6e7e | |||
| cc96e4697e | |||
| 7dd48f78d4 | |||
| 602a997757 | |||
| d0537484c5 | |||
| cacd9eab27 | |||
| 5a06d221c8 | |||
| 0044b741ac | |||
| 951d0d4383 | |||
| 8a3980272e | |||
| b02edbda5e | |||
| f57d47dc2b | |||
| a3e0e70aec | |||
| c947c8bb4c | |||
| 23167b4f1c | |||
| b779fd0fac | |||
| 86b19d081d | |||
| 26e8fed4e1 | |||
| 78e1562b48 | |||
| 9ce0a84208 | |||
| 99b2456f82 | |||
| 9cd0d924bb | |||
| 0841c2b06f | |||
| 9356fa70c5 | |||
| 77701e541c | |||
| c8561c8071 | |||
| d7fda3b89e | |||
| 8ddd8f1313 | |||
| 668f0118b0 | |||
| a80509af34 | |||
| 8a649272e0 | |||
| 8699f496d6 | |||
| 0d3b260bd5 | |||
| d2915e9ad9 | |||
| 0fbf9f0849 | |||
| 88d9c262af | |||
| 7c9d9d171b | |||
| e487db022a | |||
| 9b413cd9bb | |||
| 862f4bc0d3 | |||
| 9a0cff1f63 | |||
| 21c09b2588 | |||
| f900f897b7 | |||
| 3fae70bd61 | |||
| 206355b3ec | |||
| 4b1be34561 | |||
| 549bd6527c | |||
| 90965aad85 | |||
| a001bd9e35 | |||
| 209cba2352 | |||
| 1e06556fe5 | |||
| 94810689c2 | |||
| 64588b6c5a | |||
| fa1127190c | |||
| fb64394571 | |||
| a24e56e941 | |||
| 91a3aeb206 | |||
| cc0a679613 | |||
| 5c4b1512bb | |||
| c78891a423 | |||
| 088a4b0397 | |||
| 5540b6ae4d | |||
| bb318d6a96 | |||
| 07349f3586 | |||
| 6c0c3ce77e | |||
| 4efe3af7bb | |||
| 8aec09fe76 | |||
| 1919d3c210 | |||
| ea67d46810 | |||
| e6f8e3f9d0 | |||
| 3542ba1a6a | |||
| 719908d7ff | |||
| d7e4181377 | |||
| 1214e306ea | |||
| ae868f42d6 | |||
| fda79ea55f | |||
| a19ee7bc51 | |||
| 8c9c0c28eb | |||
| 20fa427377 | |||
| b5c6c3a618 | |||
| 02fc784002 | |||
| cf4f688b4b | |||
| 21b93f4065 | |||
| 77221651a1 | |||
| 8076625704 | |||
| 708f51e202 | |||
| ea088ca47d | |||
| 1303c106b5 | |||
| dc4215deaf | |||
| 902b2768fb | |||
| 3708311e07 | |||
| dff2f43e41 | |||
| 0005bd0931 | |||
| b7a729d012 | |||
| bd47e11a47 | |||
| 7cb0492a30 | |||
| 29a95f79c0 | |||
| 5d0fe62f71 | |||
| fb3d532e2f | |||
| 3b1f1e7b9e | |||
| 4c65015327 | |||
| fd19c42cf0 | |||
| b744f9b88b | |||
| 40954519db | |||
| 9d59d6cf60 | |||
| 5a99efa0c2 | |||
| 63b3d0faa7 | |||
| 03ea4dddd1 | |||
| 8166e55fca | |||
| 1d8485391e | |||
| 2c2657799d | |||
| 5d46dd5807 | |||
| 3d598a1217 | |||
| ebc908a3a1 | |||
| 8bf3c86a92 | |||
| e65241e201 | |||
| eb29e4f227 | |||
| dc16a663ec | |||
| df4a9540a5 | |||
| 9b1c2e5889 | |||
| 94b7bf7fc4 | |||
| 3216131e96 | |||
| b30b9346fb | |||
| db29ee566c | |||
| 8b56ea4378 | |||
| 8b9584f975 | |||
| 6fa661690b | |||
| 2947a1e53c | |||
| 696254a932 | |||
| 581c172e8e | |||
| ad4d9df00a | |||
| 2f66491153 | |||
| 04caf6ffdf | |||
| 6a6fbf469b | |||
| d084849fd6 | |||
| 02fd5078c9 | |||
| cbe5980766 | |||
| 7595a99474 | |||
| cd32554175 | |||
| 515728207f | |||
| eb43bc5d18 | |||
| 8aac733cd1 | |||
| 517b760e49 | |||
| ac71e4436b | |||
| bdac63fa8a | |||
| 12af8d0286 | |||
| eff97d117c | |||
| ed0330307e | |||
| 141bb9c657 | |||
| 8d779c4581 | |||
| 8cc63445be | |||
| 83e61b042e | |||
| d1def67417 | |||
| ba535a6e12 | |||
| 98db109235 | |||
| 23e493097e | |||
| c74575e0e9 | |||
| b6149c4603 | |||
| 111b85ca04 | |||
| 1048d543c5 | |||
| 3e3b5f9f5f | |||
| 5b5e5e9010 | |||
| 415fce33c8 | |||
| 772f3ab28c | |||
| e7f376196c | |||
| ecb11ce3a5 | |||
| 064ef6f007 | |||
| 8d87f09e29 | |||
| 8652810558 | |||
| b60ff43cf2 | |||
| 4508600cde | |||
| 37a6c677ce | |||
| 8fccde7686 | |||
| 5bdbaf3513 | |||
| 1c3a4421f3 | |||
| 2509075803 | |||
|
|
979349a38e | ||
|
|
23f2e60079 | ||
|
|
9ea9ad8698 | ||
|
|
040dcfe746 | ||
|
|
7e6842cd1d | ||
| 3e3d8e6d84 | |||
|
|
2ff511be35 | ||
|
|
e75813e721 | ||
|
|
52b94055f7 | ||
|
|
cd03599b83 | ||
| 02af69ba83 | |||
| 222b92d536 | |||
| ad555164f6 | |||
|
|
b5112c2a29 | ||
|
|
67c7e373a0 | ||
|
|
321e4843ba | ||
|
|
08f1aaf72d | ||
|
|
4101f7bd2e | ||
|
|
ab1ab64f77 | ||
|
|
655ef79b5d | ||
|
|
18915c26c2 | ||
|
|
9d6ffe7f7d | ||
|
|
7c46f3b7cd | ||
|
|
fe9300f921 | ||
|
|
766cd060b8 | ||
|
|
1b2646d0d0 | ||
|
|
2bf6050f50 | ||
|
|
41df3b701e | ||
| d89dfd2364 | |||
| dd44e46f77 | |||
| 687ef7cd99 | |||
| 3038e41788 | |||
| 87e7bcbd6a | |||
|
|
db8a48b1c4 | ||
|
|
dcf2fcf58e | ||
|
|
39f655ff78 | ||
|
|
9432898b03 | ||
|
|
40fe3d3d1b | ||
|
|
5d64a72ea0 | ||
|
|
b7675f8dd1 | ||
|
|
e1db33cc69 | ||
|
|
02a64ac155 | ||
|
|
698c2a653a | ||
|
|
b83badcff8 | ||
|
|
ebc7c57fd6 | ||
|
|
fecdd737d0 | ||
|
|
5e06c822cd | ||
| 9275467052 | |||
| df95bec241 | |||
| 770c6e3c25 | |||
|
|
7742747d5d | ||
| ae2187de84 | |||
| c9bed1ea8f | |||
|
|
ba34596c08 | ||
| 6efbe5f021 | |||
| 4875136ebc | |||
| b33c621926 | |||
| 263888ddf1 | |||
| b2238e5f6f | |||
| c89bed6920 | |||
| abcde9042e | |||
| 36dcd5896b | |||
| 39eed2f05f | |||
| 3031a25095 | |||
|
|
f38dfc1851 | ||
|
|
40479ba2c8 | ||
|
|
09726be883 | ||
|
|
797ce5d4ce | ||
|
|
ec4f4784a2 | ||
|
|
f8355cfb7b | ||
| 34c618db72 | |||
| fa864bd9f7 | |||
| 74689fcd8b | |||
|
|
a54c67e062 | ||
|
|
90c21ef125 | ||
|
|
483454d9f6 | ||
|
|
21da448e93 | ||
|
|
0f670ca506 | ||
|
|
973919dc84 | ||
|
|
407a2af235 | ||
|
|
3de7baa0de | ||
|
|
589c510b32 | ||
|
|
7d09bc6ad0 | ||
| 7b69482180 | |||
|
|
4c6acda58a | ||
|
|
025ae66990 | ||
|
|
d17ba12a31 | ||
| 8e38095177 | |||
|
|
119c1082c2 | ||
|
|
2ce453db82 | ||
|
|
bc44c146b9 | ||
| b8861d895a | |||
| 2b56dcd8dd | |||
|
|
44da59a216 | ||
| d1cab710ea | |||
|
|
dc110e0b79 | ||
|
|
9032802d2a | ||
|
|
cfa2b83513 | ||
|
|
f17d857808 | ||
|
|
a2fe9fd231 | ||
|
|
0a3d044cab | ||
|
|
71908ab2eb |
16
.gitignore
vendored
16
.gitignore
vendored
@@ -1,5 +1,21 @@
|
||||
.pioenvs
|
||||
.piolibdeps
|
||||
.pio
|
||||
.clang_complete
|
||||
.gcc-flags.json
|
||||
.DS_Store
|
||||
CMakeListsPrivate.txt
|
||||
custom-build-flags/*
|
||||
custom-build-flags/build_flags_due
|
||||
custom-build-flags/build_flags_esp32
|
||||
custom-build-flags/build_flags_esp8266
|
||||
custom-build-flags/build_flags_stm32
|
||||
custom-build-flags/build_flags_due-5500
|
||||
custom-build-flags/build_flags_mega2560
|
||||
custom-build-flags/build_flags_mega2560-net
|
||||
custom-build-flags/build_flags_controllino
|
||||
custom-build-flags/build_flags_nrf52840
|
||||
.vscode/*
|
||||
.vscode/.browse.c_cpp.db
|
||||
.vscode/c_cpp_properties.json
|
||||
.vscode/launch.json
|
||||
|
||||
8
.idea/markdown-exported-files.xml
generated
Normal file
8
.idea/markdown-exported-files.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="MarkdownExportedFiles">
|
||||
<htmlFiles />
|
||||
<imageFiles />
|
||||
<otherFiles />
|
||||
</component>
|
||||
</project>
|
||||
162
README.md
162
README.md
@@ -1,26 +1,33 @@
|
||||
# LightHub
|
||||
is Flexible, Arduino-Mega/Arduino DUE/ESP8266 open-software and open-hardware SmartHome controller. [RU](https://geektimes.ru/post/295109/) [HOME-site RU](http://lazyhome.ru)
|
||||
is Flexible, Arduino-Mega/Arduino DUE/ESP8266/ESP32 open-software and open-hardware SmartHome controller. [RU](https://geektimes.ru/post/295109/) [HOME-site RU](http://lazyhome.ru)
|
||||
It may operate both:
|
||||
* On [especially designed hardware board](http://www.lazyhome.ru/index.php/featurerequest) with 16 optocoupled digital inputs, 16 ESD protected digital/analog Inputs/outputs, 8 open-collector outputs (up to 0.5A/50V), DMX IN/OUT, MODBUS RTU and hardware 1-wire support circuit.
|
||||
* On plain Arduino MEGA 2560, Arduino DUE, ESP8266 and even on [Controllino](http://controllino.biz/)
|
||||
(Controllino and ESP8266 is not tested enough and in experimental stage yet)
|
||||
* On plain Arduino MEGA 2560, Arduino DUE, ESP8266, ESP32 and even on [Controllino](http://controllino.biz/)
|
||||
(Controllino is not tested enough)
|
||||
|
||||
Lighthub allows connecting together:
|
||||
* Contact sensors (switches, buttons etc)
|
||||
* Analog sensors (Leak detectors, Knobs etc)
|
||||
* 1-Wire temperature sensors (up to 20 on single bus)
|
||||
* Standard nonexpensive Relay board with TTL inputs, [like this](https://aliexpress.com/item/16-Channel-20A-Relay-Control-Module-for-Arduino-UNO-MEGA2560-R3-Raspberry-Pi/32747887693.html) to control AC powered lamps, floor heaters, boilers etc
|
||||
* [Standard nonexpensive LED dimmers](https://aliexpress.com/item/30-channel-27channel-Easy-DMX-LED-controller-dmx-decoder-driver-rgb-led-controller/2015743918.html) and [AC DMX-512 dimmers](https://aliexpress.com/item/DMX302-led-DMX-triac-dimmer-brightness-controller-AC90V-240V-Output-3channels-1A-CH-High-voltage-led/32822841266.html)
|
||||
* Temperature/Humidity/CO2 sensors: DHT22, CS811, HDC1080
|
||||
* Standard nonexpensive Relay board with TTL inputs, [like this](http://ali.pub/2zlosh) to control AC powered lamps, floor heaters, boilers etc
|
||||
* [Standard nonexpensive LED dimmers](http://ali.pub/2zlokp) and [AC DMX-512 dimmers](http://ali.pub/2zlont)
|
||||
* Modbus RTU devices (Currently, are deployed two types of Modbus devices: AC Dimmer and Ventilation set (Based on [Vacon 10 controller](http://files.danfoss.com/download/Drives/Vacon-10-Quick-Guide-DPD00714F1-UK.pdf))
|
||||
* Simple DMX wall sensor panel [like this](https://aliexpress.com/item/New-Ltech-D8-LED-rgb-RGBW-touch-panel-controller-DMX512-controller-DC12-24V-4-zones-4/32800199589.html)
|
||||
* Simple DMX wall sensor panel [like this](http://ali.pub/2zlohe)
|
||||
|
||||
[List of non-expensive compatible components from AliExpress here](http://ppv.alipromo.com/custom/promo.php?hash=pjagwaovaero6vkeabjpkpvy4gznbgkc&landing_id=39661)
|
||||
|
||||

|
||||
|
||||
Where is possible both, to configure local control/mapping between inputs and outputs (light, floor heating thermostats) and remote control from MQTT enabled software. At the moment, LightHub tested with following set of complementary free software:
|
||||
|
||||

|
||||
|
||||
Where is possible both, to configure local control/mapping between inputs and outputs (light, floor heating thermostats) and remote control from MQTT enabled software. At the moment, LightHub tested and perfectly working with following set of complementary free software:
|
||||
* [Openhab or Openhab2 Smarthome software](http://www.openhab.org/)
|
||||
Openhab provides own native mobile app both, for IoS and Android, and even allow you to use Apple's HomeKit to say "Siri, turn on light in bedroom" but requires some server to be installed (Raspberry PI with [Openhabian](https://docs.openhab.org/installation/openhabian) will good enough)
|
||||
Openhab provides own native mobile app both, for IoS and Android, and even allow you to use Apple's HomeKit and Google Home to say "Siri, turn on light in bedroom" or "Hey Google, set bedroom light to Red" but requires some server to be installed in-premises (Raspberry PI with [Openhabian](https://docs.openhab.org/installation/openhabian) will good enough)
|
||||
* [HomeRemote mobile client](http://thehomeremote.com/)
|
||||
Home Remote mobile applicatios for IoS and Android requires just MQTT broker to be working. Any Cloud-based MQTT broker, like [CloudMQTT](https://www.cloudmqtt.com/) will enough to serve average household, even with free account.
|
||||
* [Node-Red](https://nodered.org/) Possibly, the best solution to deploy event-based authomation and scripting on top of MQTT/LightHub. The easy to use universal and visual tool to wire many different devices in single system. Having own Dashbord which allow control from web/mobile web, even without mobile apps (but excelent co-working with OpenHab and HomeRemote)
|
||||
Home Remote mobile applicatios for IoS and Android requires just MQTT broker to be working. Any Cloud-based MQTT broker, like [CloudMQTT](https://www.cloudmqtt.com/) will enough to serve average household, even with free account.
|
||||
* [Node-Red](https://nodered.org/) Possibly, the best solution to deploy event-based authomation and scripting on top of MQTT/LightHub. The easy to use universal and visual tool to wire many different devices in single system. Having own Dashbord which allow control from web/mobile web, even without mobile apps (excelent co-working with OpenHab and HomeRemote)
|
||||
|
||||
Scalability of Lighthub is virtually unlimited: Setup so many controllers you needed in most convenient places of your house - MQTT broker will allow controllers communicate each other and with Openhab/NodeRed/HomeRemote and propagate commands across network.
|
||||
|
||||
@@ -30,105 +37,28 @@ Scalability of Lighthub is virtually unlimited: Setup so many controllers you ne
|
||||
* [Channel commands](https://github.com/anklimov/lighthub/wiki/Channel-commands)
|
||||
* [OpenHab integration](https://github.com/anklimov/lighthub/wiki/OpenHab--integration)
|
||||
|
||||
Finished portation of project to Arduino DUE and ESP8266 (ESP32 not tested).
|
||||
|
||||
Compiled image has been added to [compiled/](https://github.com/anklimov/lighthub/tree/master/compiled) folder. Flash your Mega 2560
|
||||
|
||||
```bash
|
||||
avrdude -v -V -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
```
|
||||
|
||||
or flash your DUE (need to correct path and port, of course)
|
||||
```bash
|
||||
/Users/<user>/Library/Arduino15/packages/arduino/tools/bossac/1.6.1-arduino/bossac -i -d --port=cu.usbmodem1451 -U false -e -w -v -b firmware.bin -R
|
||||
```
|
||||
Note: binary images usually not up-to-date with recent code. The preferred way, to compile and upload firmware to your controller.
|
||||
|
||||
# Dependencies
|
||||
(quite big number of libs required. Use git clone to have your local copy in your Arduino libs folder)
|
||||
Please check updates for all dependences.
|
||||
|
||||
For patched libraries, appropriate GitHub repo URL provided:
|
||||
|
||||
* Arduino-Temperature-Control-Library https://github.com/anklimov/Arduino-Temperature-Control-Library
|
||||
* DS2482_OneWire https://github.com/anklimov/DS2482_OneWire
|
||||
* FastLED
|
||||
* Wire (standard)
|
||||
* Artnet https://github.com/anklimov/Artnet.git
|
||||
* DmxSimple https://github.com/anklimov/DmxSimple (for AVR) or https://github.com/anklimov/ESP-Dmx (for ESP) or https://github.com/anklimov/DmxDue (for DUE)
|
||||
* HTTPClient (for AVR) https://github.com/anklimov/HTTPClient or https://github.com/arduino-libraries/ArduinoHttpClient for other platforms
|
||||
* aJson https://github.com/anklimov/aJson
|
||||
* CmdArduino https://github.com/anklimov/CmdArduino
|
||||
* EEPROM (standard for AVR) or DueFlashStorage for DUE: https://github.com/sebnil/DueFlashStorage
|
||||
* ModbusMaster https://github.com/anklimov/ModbusMaster
|
||||
* pubsubclient-2.6
|
||||
* DMXSerial-master (for AVR) https://github.com/anklimov/DMXSerial
|
||||
* Ethernet https://github.com/anklimov/Ethernet
|
||||
* SPI (standard)
|
||||
|
||||
Portation from AVR Mega 2560 to SAM3X8E (Arduino DUE) done since v 0.96 and tested against Wiznet 5100 Ethernet shield and Wiznet 5500 Ethernet module
|
||||
|
||||
# Platforms specific details:
|
||||
|
||||
AVR version is basic, long tome in production and have all functions
|
||||
*DMX-out is software (DMXSimple) on pin3
|
||||
**AVR** version (Arduino Mega) is basic, long time in production and have all functions
|
||||
* DMX-out is software (DMXSimple) on pin3, can be re-defined to PIN 18 (USART1 TX)
|
||||
* DMX-in - hardware
|
||||
* WIZNET 5100 and 5500 Ethernets are supported
|
||||
* Modbus on USART2
|
||||
|
||||
**SAM3X8E**: (Tested. Recomended hardware at current moment)
|
||||
* default PWM frequency
|
||||
**SAM3X8E** (Arduino DUE): (Tested. In production. Recomended hardware at current moment)
|
||||
* default PWM out frequency
|
||||
* both, DMX-in and DMX-out are hardware USART based. Use USART1 (pins 18 and 19) for DMX-out and DMX-in
|
||||
* WIZNET 5100 and 5500 Ethernets are supported
|
||||
* Modbus on USART2
|
||||
|
||||
**ESP8266**: (Developed but not tested in production)
|
||||
**ESP8266, ESP32**: (Tested)
|
||||
* DMX-OUT on USART1 TX
|
||||
* DMX-IN - not possible to deploy in ESP8266
|
||||
* DMX-IN - disabled - not possible to deploy in ESP8266
|
||||
* Modbus - disabled. Might be configured in future on USART0 instead CLI/DEBUG
|
||||
* Uses Wifi interface instead wired connection
|
||||
|
||||
since v. 0.97:
|
||||
Mega and DUE:
|
||||
Need to use compiler directive -D Wiz5500 and https://github.com/anklimov/Ethernet2 library to compile with Wiznet 5500 instead 5100
|
||||
|
||||
Prefered way to compile project is using platformio toolchain, suitable for Arduino Due, and Arduino Mega2560
|
||||
|
||||
# Due compilation issue "USART0_Handler redefinition"
|
||||
Please, open /variants/arduino_due_x/variant.cpp file, then add USART0_Handler method definition like this
|
||||
void USART0_Handler(void) __attribute__((weak));
|
||||
|
||||
The normal path to find this file in platformio is:
|
||||
.platformio/packages/framework-arduinosam/variants/arduino_due_x
|
||||
|
||||
# Platformio command line build instructions
|
||||
[First of all install platformio framework.]( http://docs.platformio.org/en/latest/installation.html) [Good tutorial for fast start in RUSSIAN.](https://geektimes.ru/post/273852/)
|
||||
|
||||
In linux\OSX you can open terminal, navigate to your programming directory, then
|
||||
|
||||
```bash
|
||||
git clone https://github.com/anklimov/lighthub.git
|
||||
cd lighthub
|
||||
```
|
||||
now prepare project files for your IDE
|
||||
```bash
|
||||
pio init --ide [atom|clion|codeblocks|eclipse|emacs|netbeans|qtcreator|sublimetext|vim|visualstudio|vscode]
|
||||
```
|
||||
Set custom build flags. first make your own copy of template
|
||||
```bash
|
||||
cp build_flags_template.sh my_build_flags.sh
|
||||
```
|
||||
then edit, change or comment unnecessary sections and source it
|
||||
```bash
|
||||
nano my_build_flags.sh
|
||||
source my_build_flags.sh
|
||||
```
|
||||
build and upload firmware for due|megaatmega2560|esp8266 board
|
||||
```bash
|
||||
pio run -e due|megaatmega2560|esp8266 -t upload
|
||||
```
|
||||
Clean pio libraries folder. Try it if you have compilation problem:
|
||||
```bash
|
||||
rm -Rf .piolibdeps
|
||||
```
|
||||
open COM-port monitor with specified baud rate
|
||||
```bash
|
||||
platformio device monitor -b 115200
|
||||
```
|
||||
**NRF52840** : Still early development stage
|
||||
|
||||
# Custom build flags
|
||||
|
||||
@@ -144,24 +74,44 @@ platformio device monitor -b 115200
|
||||
* MODBUS_DISABLE // disable Modbus support
|
||||
* OWIRE_DISABLE // disable OneWire support
|
||||
* ARTNET_ENABLE //Enable Artnet protocol support
|
||||
* AVR_DMXOUT_PIN=18 // Set Pin for DMXOUT on megaatmega2560
|
||||
* CONTROLLINO //Change Modbus port, direction pins and Wiznet SS pins to be working on [Controllino](http://controllino.biz/)
|
||||
* LAN_INIT_DELAY=2000 // set lan init delay for Wiznet ethernet shield
|
||||
* ESP_WIFI_AP=MYAP // esp wifi access point name
|
||||
* ESP_WIFI_PWD=MYPWD // esp wifi access point password
|
||||
* WIFI_MANAGER_DISABLE //Disable wifi manager for esp8266
|
||||
* COUNTER_DISABLE //disable Counter, Uptime input support (for RAM savings on mega2560)
|
||||
* DHT_DISABLE //disable DHT input support (for RAM savings on mega2560)
|
||||
* RESTART_LAN_ON_MQTT_ERRORS //reinit LAN if many mqtt errors occured
|
||||
* DEVICE_NAME short handy device name which is used instead of mac for download config http://{MY_CONFIG_SERVER}/{DEVICE_NAME}_config.json
|
||||
* SYSLOG_ENABLE enable UDP SYSLOG support feature(under DEVELOPMENT) that must be configured through config file
|
||||
* WITH_PRINTEX_LIB use PrintEx library (develop experimental feature)
|
||||
* CSSHDC_DISABLE //Disable CS811 and HDC1080 sensors support
|
||||
|
||||
|
||||
|
||||
# Default compilation behavior:
|
||||
* Config server: lazyhome.ru
|
||||
* Config server: lazyhome.ru (hosting of config files available for all registred users of portal - see MyDevices tab)
|
||||
* Watchdog enabled
|
||||
* 1-Wire communication with DS2482-100 I2C driver
|
||||
* No SD
|
||||
* Serial speed 115200
|
||||
* Wiznet 5100 (for MEGA & DUE)
|
||||
* Free Ram printing enabled
|
||||
* de:ad:be:ef:fe:00
|
||||
* de:ad:be:ef:fe:ff default MAC address for MEGA (on ESPx, DUE - using hardware defined MAC by default)
|
||||
* DMX support enabled
|
||||
* Modbus support enabled
|
||||
* OneWire support enabled
|
||||
* Artnet disabled
|
||||
* Defailt MQTT input topic: /myhome/in
|
||||
* Default MQTT topic to publish device status: /myhome/s_out
|
||||
* Default Alarm output topic /alarm
|
||||
* LAN_INIT_DELAY=500 //ms
|
||||
* Defailt MQTT broadcast input topic: myhome/in
|
||||
* Default MQTT topic to publish device status: myhome/s_out
|
||||
* Default Alarm output topic: alarm
|
||||
* DHT, Counter, Uptime support enabled
|
||||
* Wifi manager for esp8266/esp32 enabled
|
||||
* RESTART_LAN_ON_MQTT_ERRORS disabled
|
||||
* DEVICE_NAME disabled
|
||||
* SYSLOG_ENABLE disabled
|
||||
* WITH_PRINTEX_LIB disabled, using Streaming library
|
||||
* CS811 and HDC1080 sensors support are enabled
|
||||
|
||||
If you've using Arduino IDE to compile & flash firmware, it will use Default options above and you will not able to configure additional compilers options except edit "options.h" file
|
||||
|
||||
1
_config.yml
Normal file
1
_config.yml
Normal file
@@ -0,0 +1 @@
|
||||
theme: jekyll-theme-cayman
|
||||
2
build-flags/build_flags_controllino
Normal file
2
build-flags/build_flags_controllino
Normal file
@@ -0,0 +1,2 @@
|
||||
-DCONTROLLINO
|
||||
-DCUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:07
|
||||
1
build-flags/build_flags_due-5100
Normal file
1
build-flags/build_flags_due-5100
Normal file
@@ -0,0 +1 @@
|
||||
#NO special flags
|
||||
3
build-flags/build_flags_due-5500
Normal file
3
build-flags/build_flags_due-5500
Normal file
@@ -0,0 +1,3 @@
|
||||
-DWiz5500
|
||||
-DARTNET_ENABLE
|
||||
-DDMX_SMOOTH
|
||||
9
build-flags/build_flags_esp32-wifi
Normal file
9
build-flags/build_flags_esp32-wifi
Normal file
@@ -0,0 +1,9 @@
|
||||
-DDMX_DISABLE
|
||||
-DMODBUS_DISABLE
|
||||
-DOWIRE_DISABLE
|
||||
-DDHT_DISABLE
|
||||
-DCOUNTER_DISABLE
|
||||
-DSPILED_DISABLE
|
||||
-DAC_DISABLE
|
||||
#-DM5STACK
|
||||
-DOTA
|
||||
4
build-flags/build_flags_esp8266-wifi
Normal file
4
build-flags/build_flags_esp8266-wifi
Normal file
@@ -0,0 +1,4 @@
|
||||
-DMODBUS_DISABLE
|
||||
#-DCOUNTER_DISABLE
|
||||
-DOTA
|
||||
-std=gnu++11
|
||||
6
build-flags/build_flags_lighthub21
Normal file
6
build-flags/build_flags_lighthub21
Normal file
@@ -0,0 +1,6 @@
|
||||
-DWiz5500
|
||||
-DW5500_CS_PIN=53
|
||||
-DARTNET_ENABLE
|
||||
-DDMX_SMOOTH
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8N1
|
||||
-DMODBUS_SERIAL_BAUD=9600
|
||||
8
build-flags/build_flags_m5stack
Normal file
8
build-flags/build_flags_m5stack
Normal file
@@ -0,0 +1,8 @@
|
||||
-DDMX_DISABLE
|
||||
-DMODBUS_DISABLE
|
||||
-DOWIRE_DISABLE
|
||||
-DDHT_DISABLE
|
||||
-DCOUNTER_DISABLE
|
||||
-DSPILED_DISABLE
|
||||
-DAC_DISABLE
|
||||
-DM5STACK
|
||||
2
build-flags/build_flags_mega2560-5100
Normal file
2
build-flags/build_flags_mega2560-5100
Normal file
@@ -0,0 +1,2 @@
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
-DAVR_DMXOUT_PIN=18
|
||||
3
build-flags/build_flags_mega2560-5500
Normal file
3
build-flags/build_flags_mega2560-5500
Normal file
@@ -0,0 +1,3 @@
|
||||
-DWiz5500
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
-DAVR_DMXOUT_PIN=18
|
||||
2
build-flags/build_flags_mega2560-slim-5100
Normal file
2
build-flags/build_flags_mega2560-slim-5100
Normal file
@@ -0,0 +1,2 @@
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
-DAVR_DMXOUT_PIN=18
|
||||
11
build-flags/build_flags_nrf52840-5500
Normal file
11
build-flags/build_flags_nrf52840-5500
Normal file
@@ -0,0 +1,11 @@
|
||||
-DWiz5500
|
||||
#-DW5500_CS_PIN=10
|
||||
-DDMX_DISABLE
|
||||
-DMODBUS_DISABLE
|
||||
#-DOWIRE_DISABLE
|
||||
-std=gnu++11
|
||||
-DWIFI_MANAGER_DISABLE
|
||||
-DCOUNTER_DISABLE
|
||||
-DCSSHDC_DISABLE
|
||||
-DSPILED_DISABLE
|
||||
-DAC_DISABLE
|
||||
9
build-flags/build_flags_stm32-enc2860
Normal file
9
build-flags/build_flags_stm32-enc2860
Normal file
@@ -0,0 +1,9 @@
|
||||
-DDMX_DISABLE
|
||||
-DMODBUS_DISABLE
|
||||
-DOWIRE_DISABLE
|
||||
-DDHT_DISABLE
|
||||
-DCOUNTER_DISABLE
|
||||
-DNO_HOMIE
|
||||
-DCSSHDC_DISABLE
|
||||
-DSPILED_DISABLE
|
||||
-DAC_DISABLE
|
||||
33
build-flags/build_flags_template
Normal file
33
build-flags/build_flags_template
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
# usage:
|
||||
# first make your own copy of template
|
||||
# cp build_flags_template build_flags_ENVNAME
|
||||
# then edit, change or comment something
|
||||
# place to custom-build-flags dir if you would like have your own private settings
|
||||
# -DMY_CONFIG_SERVER=lazyhome.ru
|
||||
# -DWATCH_DOG_TICKER_DISABLE
|
||||
# -DUSE_1W_PIN=12
|
||||
# -DSD_CARD_INSERTED
|
||||
# -DSERIAL_BAUD=115200
|
||||
# -DWiz5500
|
||||
# -DDISABLE_FREERAM_PRINT
|
||||
# -DCUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:ff
|
||||
# -DDMX_DISABLE
|
||||
# -DMODBUS_DISABLE
|
||||
# -DOWIRE_DISABLE
|
||||
# -DAVR_DMXOUT_PIN=18
|
||||
# -DLAN_INIT_DELAY=2000
|
||||
# -DCONTROLLINO
|
||||
# -DESP_WIFI_AP=MYAP
|
||||
# -DESP_WIFI_PWD=MYPWD
|
||||
# -DWIFI_MANAGER_DISABLE
|
||||
# -DRESET_PIN=5
|
||||
# -DDHCP_RETRY_INTERVAL=60000
|
||||
# -DRESTART_LAN_ON_MQTT_ERRORS
|
||||
# -DW5500_CS_PIN=53
|
||||
# -DSYSLOG_ENABLE
|
||||
# -DDEVICE_NAME=MYDEVICE
|
||||
# -DDHT_DISABLE
|
||||
# -DCOUNTER_DISABLE
|
||||
# -DWITH_PRINTEX_LIB
|
||||
# -DCSSHDC_DISABLE
|
||||
@@ -1,21 +0,0 @@
|
||||
#! /bin/bash
|
||||
# usage:
|
||||
# first make your own copy of template
|
||||
# cp build_flags_template.sh my_build_flags.sh
|
||||
# then edit, change or comment something
|
||||
# nano my_build_flags.sh
|
||||
# and source it
|
||||
# source my_build_flags.sh
|
||||
export FLAGS="-DMY_CONFIG_SERVER=lazyhome.ru"
|
||||
export FLAGS="$FLAGS -DWATCH_DOG_TICKER_DISABLE"
|
||||
export FLAGS="$FLAGS -DUSE_1W_PIN=12"
|
||||
export FLAGS="$FLAGS -DSD_CARD_INSERTED"
|
||||
export FLAGS="$FLAGS -DSERIAL_BAUD=115200"
|
||||
export FLAGS="$FLAGS -DWiz5500"
|
||||
export FLAGS="$FLAGS -DDISABLE_FREERAM_PRINT"
|
||||
export FLAGS="$FLAGS -DCUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:00"
|
||||
export FLAGS="$FLAGS -DDMX_DISABLE"
|
||||
export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
||||
export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
||||
export PLATFORMIO_BUILD_FLAGS="$FLAGS"
|
||||
unset FLAGS
|
||||
Binary file not shown.
Binary file not shown.
273
compiled/DUE_16u2_reflash/16u2.hex
Normal file
273
compiled/DUE_16u2_reflash/16u2.hex
Normal file
@@ -0,0 +1,273 @@
|
||||
:10000000A7C00000C0C00000BEC00000BCC000000F
|
||||
:10001000BAC00000B8C00000B6C00000B4C0000004
|
||||
:10002000B2C00000B0C00000AEC00000C1C40000FB
|
||||
:1000300085C40000A8C00000A6C00000A4C0000045
|
||||
:10004000A2C00000A0C000009EC000009CC0000034
|
||||
:100050009AC0000098C0000096C0000021C10000B6
|
||||
:1000600092C0000090C000008EC000008CC0000054
|
||||
:100070008AC0000088C0000086C0000084C0000064
|
||||
:1000800082C0000080C000007EC000007CC0000074
|
||||
:100090007AC0000078C000001201100102000008C0
|
||||
:1000A00041233D0001000102DC0109023E00020182
|
||||
:1000B00000C0320904000001020201000524000111
|
||||
:1000C0001004240206052406000107058203080027
|
||||
:1000D000FF09040100020A000000070504024000B5
|
||||
:1000E00001070583024000010403090432034100B3
|
||||
:1000F00072006400750069006E006F002000280027
|
||||
:100100007700770077002E006100720064007500B0
|
||||
:1001100069006E006F002E0063006300290000007C
|
||||
:100120002E03410072006400750069006E006F00CC
|
||||
:1001300020004400750065002000500072006F0030
|
||||
:1001400067002E00200050006F0072007400000055
|
||||
:1001500011241FBECFEFD2E0DEBFCDBF11E0A0E083
|
||||
:10016000B1E0E4EDF0E102C005900D92A831B107D5
|
||||
:10017000D9F712E0A8E1B1E001C01D92A833B107A0
|
||||
:10018000E1F72BD1A5C73CCF9C01DC01AE57BF4F97
|
||||
:10019000ED91FC91119741911196FC93EE9380584B
|
||||
:1001A0009F4FE817F90711F42D933C939FB7F894EC
|
||||
:1001B000F901EC57FF4F8081815080839FBF842FCE
|
||||
:1001C0000895882311F03F9A01C03F9847980895F9
|
||||
:1001D000882311F046980895469A0895DF92EF9289
|
||||
:1001E000FF920F931F93FC018489813019F08230B4
|
||||
:1001F00019F404C010E303C010E001C010E28389C9
|
||||
:10020000823009F418608589873031F0883031F008
|
||||
:10021000863029F4126003C0146001C01660109289
|
||||
:10022000C9001092C8001092CA000785F088E188C2
|
||||
:10023000D288202F3F2D4E2D5D2D10921E01203B88
|
||||
:1002400084E0380780E0480780E0580719F481E02F
|
||||
:1002500080931E01CA01B90122E030E040E050E085
|
||||
:100260001CD720583B47414E5F4FCA01B901202F90
|
||||
:100270003F2D4E2D5D2DEFD6215030403093CD00D7
|
||||
:100280002093CC001093CA0082E08093C80088E9D4
|
||||
:100290008093C9001F910F91FF90EF90DF90089518
|
||||
:1002A0001F920F920FB60F9211242F938F939F934B
|
||||
:1002B000EF93FF939091CE008EB38430F1F4E091F0
|
||||
:1002C000A201F091A3019083E091A201F091A3011A
|
||||
:1002D000CF0101969093A3018093A201825A91408D
|
||||
:1002E00021F482E291E0928381839FB7F894809118
|
||||
:1002F000A6018F5F8093A6019FBFFF91EF919F9111
|
||||
:100300008F912F910F900FBE0F901F901895FC01A9
|
||||
:1003100040911A0140931B0180911C0180931D01A3
|
||||
:100320008585282F30E02170307020931A01858553
|
||||
:1003300090E096958795817080931C0180911E01B5
|
||||
:10034000882339F088E790E0909319018093180191
|
||||
:100350000895442341F4222331F082E390E0909306
|
||||
:10036000190180931801089580E091E00AC680E0A9
|
||||
:1003700091E0BDC584B7877F84BF88E10FB6F8944C
|
||||
:1003800080936000109260000FBE81E01ADF16BCFF
|
||||
:1003900083E085BD86B58831E8F315BC16BC80E0E6
|
||||
:1003A00010DF469A3E9A87E690E09093CD008093C6
|
||||
:1003B000CC0086E08093CA001092C80088E1809348
|
||||
:1003C000C900539A5A9A8AB180638AB98BB1806303
|
||||
:1003D0008BB9A9D284E085BD08950F931F93CF9365
|
||||
:1003E000DF93C8DF2FB7F89487EA91E09093280253
|
||||
:1003F0008093270290932A02809329022FBF2FB760
|
||||
:10040000F89482E291E09093A3018093A2019093EB
|
||||
:10041000A5018093A4012FBF7894C7EAD1E003E03F
|
||||
:100420008FB7F89490912B028FBF903809F180E03C
|
||||
:1004300091E0D3D497FD1CC0E0912702F0912802EF
|
||||
:100440008083E0912702F0912802CF0101969093DA
|
||||
:100450002802809327028752924011F4D283C183ED
|
||||
:100460009FB7F89480912B028F5F80932B029FBFE0
|
||||
:100470008FB7F8941091A6018FBFA89903C01136C9
|
||||
:1004800008F456C0A89A8091A601882361F05D986F
|
||||
:1004900000931F0108C082E291E076DE682F80E0C1
|
||||
:1004A00091E001D511501123B1F780911F018823EC
|
||||
:1004B00051F080911F01815080931F0180911F0195
|
||||
:1004C000882309F45D9A80912001882351F080915E
|
||||
:1004D000200181508093200180912001882309F41C
|
||||
:1004E0005C9A809118019091190118161906E4F48C
|
||||
:1004F000CC97CD9710F481E001C080E069DE809157
|
||||
:100500001801909119010197C29710F481E001C080
|
||||
:1005100080E057DE80911801909119010197909326
|
||||
:1005200019018093180104C080E052DE80E049DEAA
|
||||
:100530008FB7F89490912B028FBF992369F087EAC7
|
||||
:1005400091E022DE982F8091C80085FFFCCF909328
|
||||
:10055000CE005C980093200180E091E095D42AD4ED
|
||||
:100560005FCFDA01923049F0933061F09130F9F4C5
|
||||
:10057000E8E9F0E022E130E01EC0EAEAF0E02EE334
|
||||
:1005800030E019C0813049F0813018F0823079F4C0
|
||||
:1005900008C0E8EEF0E0849107C0ECEEF0E0849152
|
||||
:1005A00003C0E0E2F1E08491282F30E004C0E0E0F5
|
||||
:1005B000F0E020E030E0ED93FC93C901089528E0DD
|
||||
:1005C00030E040E003C04F5F220F331F2817390788
|
||||
:1005D000D0F3842F8295807F08958093E9008091E5
|
||||
:1005E000EB0081608093EB001092ED006093EC00D3
|
||||
:1005F0004093ED008091EE00881F8827881F0895A2
|
||||
:100600001092F40090E09093E9001092F0001092A4
|
||||
:10061000E8001092ED008091EB008E7F8093EB005C
|
||||
:100620009F5F953081F708958091300288238CF484
|
||||
:1006300003C08EB38823B1F08091E80082FFF9CF28
|
||||
:100640008091E8008B778093E80008958EB388232B
|
||||
:1006500049F08091E80080FFF9CF8091E8008E7723
|
||||
:100660008093E800089594E68091EC0080FF05C037
|
||||
:100670008091E80080FF05C023C08091E80082FDE2
|
||||
:100680001FC08EB3882311F482E008958EB38530A5
|
||||
:1006900011F483E008958091EB0085FF02C081E0B2
|
||||
:1006A00008958091E10082FFDFCF8091E1008B7F90
|
||||
:1006B0008093E100992311F484E008959150D4CF00
|
||||
:1006C00080E008959C014091360250913702461710
|
||||
:1006D000570718F4F90120E038C06115710511F0D1
|
||||
:1006E000AB01F8CF8091E8008E778093E80040E07E
|
||||
:1006F00050E0F0CF8091E80083FF02C081E00895D0
|
||||
:100700008091E80082FD2DC08EB3882381F18EB3E5
|
||||
:10071000853079F18091E80080FF17C09091F20058
|
||||
:1007200006C081918093F100415050409F5F411578
|
||||
:10073000510511F09830A8F320E0983009F421E039
|
||||
:100740008091E8008E778093E8004115510591F67D
|
||||
:10075000222381F606C08EB3882349F08EB38530FC
|
||||
:1007600041F08091E80082FFF6CF80E0089582E0BA
|
||||
:10077000089583E008959C0140913602509137021C
|
||||
:100780004617570710F490E03BC06115710511F052
|
||||
:10079000AB01F9CF8091E8008E778093E80040E0CC
|
||||
:1007A00050E0F1CF8091E80083FF02C081E008951E
|
||||
:1007B0008091E80082FD30C08EB3882399F18EB31A
|
||||
:1007C000853091F18091E80080FF1AC08091F2009D
|
||||
:1007D00009C0F9012F5F3F4FE491E093F1004150D0
|
||||
:1007E00050408F5F4115510511F0883090F390E033
|
||||
:1007F000883009F491E08091E8008E778093E800DA
|
||||
:100800004115510579F6992369F606C08EB3882300
|
||||
:1008100049F08EB3853041F08091E80082FFF6CF39
|
||||
:1008200080E0089582E0089583E008959C016115B9
|
||||
:10083000710529F48091E8008B778093E800F90135
|
||||
:1008400020C08091E80083FF02C081E008958EB34C
|
||||
:10085000882339F18EB3853031F18091E80082FF31
|
||||
:10086000F0CF06C08091F10081936150704021F07B
|
||||
:100870008091F2008823B1F78091E8008B77809314
|
||||
:10088000E80061157105E9F606C08EB3882349F0CA
|
||||
:100890008EB3853041F08091E80080FFF6CF80E094
|
||||
:1008A000089582E0089583E0089542D044D01EBAAE
|
||||
:1008B00010922E0210922D0210922C0284E089BD1B
|
||||
:1008C00089B5826089BD09B400FEFDCF8091D80052
|
||||
:1008D000982F9F779093D80080688093D80080915C
|
||||
:1008E00063008E7F809363008091D8008F7D80931A
|
||||
:1008F000D8008091E0008E7F8093E0008091E1003D
|
||||
:100900008E7F8093E1008091E20081608093E2001D
|
||||
:100910008091E100877F8093E1008091E200886010
|
||||
:100920008093E2000895C1DF81E080932F02089553
|
||||
:100930001092E20008951092E10008951F920F9224
|
||||
:100940000FB60F9211241F932F933F934F935F93F2
|
||||
:100950006F937F938F939F93AF93BF93EF93FF9387
|
||||
:10096000E9EEF0E0108117701082E0EFF0E0808196
|
||||
:10097000877F80837894C3D0F894A9EEB0E01C926E
|
||||
:10098000E0EFF0E08081886080831C93FF91EF911D
|
||||
:10099000BF91AF919F918F917F916F915F914F9197
|
||||
:1009A0003F912F911F910F900FBE0F901F901895A0
|
||||
:1009B0001F920F920FB60F9211242F933F934F93D4
|
||||
:1009C0005F936F937F938F939F93AF93BF93EF93B7
|
||||
:1009D000FF938091E10080FF1BC08091E20080FFC7
|
||||
:1009E00017C08091E1008E7F8093E1008091E2004A
|
||||
:1009F0008E7F8093E2008091E20080618093E2002C
|
||||
:100A00008091D80080628093D80019BC1EBAD1D1E1
|
||||
:100A10008091E10084FF29C08091E20084FF25C01D
|
||||
:100A200084E089BD89B5826089BD09B400FEFDCF2F
|
||||
:100A30008091D8008F7D8093D8008091E1008F7ED7
|
||||
:100A40008093E1008091E2008F7E8093E2008091AC
|
||||
:100A5000E20081608093E20080912E02882311F4ED
|
||||
:100A600081E001C084E08EBBA4D18091E10083FFCE
|
||||
:100A700027C08091E20083FF23C08091E100877F3F
|
||||
:100A80008093E10082E08EBB10922E028091E10003
|
||||
:100A90008E7F8093E1008091E2008E7F8093E20060
|
||||
:100AA0008091E20080618093E200AADD80E060E056
|
||||
:100AB00042E093DD8091F00088608093F00079D16E
|
||||
:100AC0008091E10082FF0AC08091E20082FF06C0AF
|
||||
:100AD0008091E1008B7F8093E1006BD1FF91EF91DA
|
||||
:100AE000BF91AF919F918F917F916F915F914F9146
|
||||
:100AF0003F912F910F900FBE0F901F9018951F934D
|
||||
:100B0000DF93CF93CDB7DEB7AC970FB6F894DEBFC7
|
||||
:100B10000FBECDBFE0E3F2E08091F100819322E0CF
|
||||
:100B2000E833F207C9F78091300230913102353055
|
||||
:100B300009F487C0363040F43130C9F1313070F0FB
|
||||
:100B4000333009F01DC133C0383009F4EFC03930FB
|
||||
:100B500009F4FEC0363009F013C192C0803821F08C
|
||||
:100B6000823809F00DC108C090912C0280912D02AD
|
||||
:100B7000882399F0926011C080913402877080932D
|
||||
:100B8000E9008091EB0090E025E0969587952A9505
|
||||
:100B9000E1F7982F91701092E9008091E800877F2B
|
||||
:100BA0008093E8009093F1001092F100CAC088236E
|
||||
:100BB00019F0823009F0E4C090E08F7190700097D6
|
||||
:100BC00021F0029709F0DDC00CC080913202813023
|
||||
:100BD00009F0D7C010922D02333069F580932D02B1
|
||||
:100BE0002AC080913202882331F520913402277087
|
||||
:100BF00009F4C7C02093E9008091EB0080FFC1C0D9
|
||||
:100C0000333021F48091EB00806213C08091EB00BF
|
||||
:100C100080618093EB0081E090E002C0880F991F13
|
||||
:100C20002A95E2F78093EA001092EA008091EB00A7
|
||||
:100C300088608093EB001092E9008091E800877F44
|
||||
:100C400083C0882309F09CC0109132028091E80093
|
||||
:100C5000877F8093E800E8DC04C08EB3882309F422
|
||||
:100C600090C08091E80080FFF8CF812F8F7711F43A
|
||||
:100C700092E001C093E09EBB80688093E30081C056
|
||||
:100C80008058823008F07CC080913202909133020B
|
||||
:100C900023E08C3D920799F55FB7F894DE01159635
|
||||
:100CA0004EE020E030E061E2E42FF0E06093570096
|
||||
:100CB000849120FF03C082958F704F5F982F9F70A3
|
||||
:100CC000892F805D8A3308F0895F8C9311961C927E
|
||||
:100CD00011972F5F3F4F12962431310529F75FBFDF
|
||||
:100CE0008AE28B8383E08C838091E800877F809306
|
||||
:100CF000E800CE0103966AE270E0E4DC11C0609186
|
||||
:100D00003402AE014F5F5F4F2CDCBC010097C9F18C
|
||||
:100D10008091E800877F8093E80089819A812BDDAC
|
||||
:100D20008091E8008B778093E8002BC0803841F5F4
|
||||
:100D30008091E800877F8093E80080912E02809365
|
||||
:100D4000F1008091E8008E778093E8006DDC19C097
|
||||
:100D50008823B1F490913202923098F48091E800A7
|
||||
:100D6000877F8093E80090932E025EDC80912E02B4
|
||||
:100D7000882311F483E001C084E08EBBF8DA01C05F
|
||||
:100D8000F3DA8091E80083FF0AC08091EB00806273
|
||||
:100D90008093EB008091E800877F8093E800AC9619
|
||||
:100DA0000FB6F894DEBF0FBECDBFCF91DF911F917C
|
||||
:100DB000089508951F938EB3882361F01091E90080
|
||||
:100DC0001092E9008091E80083FF01C098DE17705F
|
||||
:100DD0001093E9001F9108950895FC018EB38430AB
|
||||
:100DE00021F587859089A189B2890097A105B10570
|
||||
:100DF000E1F085818093E9008091E80082FF15C0D1
|
||||
:100E00008091F200882319F42FEF3FEF04C0809106
|
||||
:100E1000F100282F30E08091F200882341F4809186
|
||||
:100E2000E8008B778093E80002C02FEF3FEFC90105
|
||||
:100E30000895FC018EB3843011F587859089A189CE
|
||||
:100E4000B2890097A105B105D1F081818093E900B5
|
||||
:100E50008091F2008823A9F09091E8008091E80049
|
||||
:100E60008E778093E80095FD0CC0FDDB982F8823DA
|
||||
:100E700049F48091E8008E778093E80003C092E007
|
||||
:100E800001C090E0892F0895FC018EB3843051F4A5
|
||||
:100E900087859089A189B2890097A105B10511F0D4
|
||||
:100EA000CF01C7CF08951F93FC01162F8EB3843056
|
||||
:100EB000D9F487859089A189B2890097A105B105E8
|
||||
:100EC00099F081818093E9008091E80085FD08C058
|
||||
:100ED0008091E8008E778093E800C5DB882329F4B1
|
||||
:100EE0001093F10080E001C082E01F9108950F93FC
|
||||
:100EF0001F93CF93DF93EC010D96FC0189E0DF0196
|
||||
:100F00001D928A95E9F72A813B8109818C8188238A
|
||||
:100F100011F410E001C014E0C90151DB182B12607C
|
||||
:100F2000802F61E8412F59DB882329F12E813F81F1
|
||||
:100F30000D818885882311F410E001C014E0C901F7
|
||||
:100F40003EDB182B1260802F60E8412F46DB8823A0
|
||||
:100F500091F02A853B8509858C85882311F410E062
|
||||
:100F600001C014E0C9012BDB182B1260802F61EC4B
|
||||
:100F7000412F33DB01C080E0DF91CF911F910F91B2
|
||||
:100F80000895CF93DF93EC018091E80083FF60C068
|
||||
:100F9000888190E02091340230913502281739077A
|
||||
:100FA00009F056C080913102813261F0823220F422
|
||||
:100FB000803209F04DC019C0823269F1833209F0E4
|
||||
:100FC00047C038C080913002813A09F041C0809119
|
||||
:100FD000E800877F8093E800CE010F9667E070E01D
|
||||
:100FE00071DB8091E8008B7713C0809130028132F1
|
||||
:100FF00079F58091E800877F8093E800CE010F9615
|
||||
:1010000067E070E013DCCE01E9D88091E8008E77CC
|
||||
:101010008093E8001DC0809130028132C9F4809134
|
||||
:10102000E800877F8093E800809132028D87CE01AF
|
||||
:101030006ED90DC080913002813251F48091E80068
|
||||
:10104000877F8093E800CE0160913202C5DEECDA42
|
||||
:10105000DF91CF910895A1E21A2EAA1BBB1BFD01BF
|
||||
:101060000DC0AA1FBB1FEE1FFF1FA217B307E40787
|
||||
:10107000F50720F0A21BB30BE40BF50B661F771FDF
|
||||
:10108000881F991F1A9469F76095709580959095BF
|
||||
:101090009B01AC01BD01CF01089597FB092E0526E8
|
||||
:1010A0000ED057FD04D0D7DF0AD0001C38F450957D
|
||||
:1010B0004095309521953F4F4F4F5F4F0895F6F77C
|
||||
:1010C00090958095709561957F4F8F4F9F4F0895B4
|
||||
:0410D000F894FFCFC2
|
||||
:1010D400000340000004400000020800000000007B
|
||||
:0810E4000000000000001400F0
|
||||
:00000001FF
|
||||
1
compiled/DUE_16u2_reflash/reflash16u2DUE.sh
Executable file
1
compiled/DUE_16u2_reflash/reflash16u2DUE.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -c arduino -P /dev/cu.usbmodem14101 -b 19200 -p m16u2 -vvv -U flash:w:16u2.hex:i
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
5909
compiled/controllino/firmware.hex
Normal file
5909
compiled/controllino/firmware.hex
Normal file
File diff suppressed because it is too large
Load Diff
1
compiled/controllino/upload.bat
Normal file
1
compiled/controllino/upload.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\tools\win\tool-avrdude\avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P com3 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
1
compiled/controllino/upload.sh
Executable file
1
compiled/controllino/upload.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P /dev/cu.usbmodem1411 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
BIN
compiled/due-5100/firmware.bin
Normal file
BIN
compiled/due-5100/firmware.bin
Normal file
Binary file not shown.
3
compiled/due-5100/upload.bat
Normal file
3
compiled/due-5100/upload.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
mode com3:1200,n,8,1
|
||||
pause
|
||||
..\tools\win\tool-bossac\bossac.exe -i --port=com3 -U false -e -w -v -b firmware.bin -R
|
||||
3
compiled/due-5100/upload.sh
Executable file
3
compiled/due-5100/upload.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
export PORT=cu.usbmodem1451
|
||||
echo . | stty -f /dev/$PORT speed 1200
|
||||
../tools/mac/tool-bossac/bossac -U false -p $PORT -i -e -w -v -b firmware.bin -R
|
||||
BIN
compiled/due-5500/firmware.bin
Normal file
BIN
compiled/due-5500/firmware.bin
Normal file
Binary file not shown.
3
compiled/due-5500/upload.bat
Normal file
3
compiled/due-5500/upload.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
mode com3:1200,n,8,1
|
||||
pause
|
||||
..\tools\win\tool-bossac\bossac.exe -i --port=com3 -U false -e -w -v -b firmware.bin -R
|
||||
3
compiled/due-5500/upload.sh
Executable file
3
compiled/due-5500/upload.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
export PORT=cu.usbmodem14201
|
||||
echo . | stty -f /dev/$PORT speed 1200
|
||||
../tools/mac/tool-bossac/bossac -U false -p $PORT -i -e -w -v -b firmware.bin -R
|
||||
BIN
compiled/esp32-wifi/firmware.bin
Normal file
BIN
compiled/esp32-wifi/firmware.bin
Normal file
Binary file not shown.
BIN
compiled/esp32-wifi/partitions.bin
Normal file
BIN
compiled/esp32-wifi/partitions.bin
Normal file
Binary file not shown.
BIN
compiled/esp8266-wifi/firmware.bin
Normal file
BIN
compiled/esp8266-wifi/firmware.bin
Normal file
Binary file not shown.
BIN
compiled/lighthub21/firmware.bin
Normal file
BIN
compiled/lighthub21/firmware.bin
Normal file
Binary file not shown.
3
compiled/lighthub21/upload.bat
Normal file
3
compiled/lighthub21/upload.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
mode com3:1200,n,8,1
|
||||
pause
|
||||
..\tools\win\tool-bossac\bossac.exe -i --port=com3 -U false -e -w -v -b firmware.bin -R
|
||||
3
compiled/lighthub21/upload.sh
Executable file
3
compiled/lighthub21/upload.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
export PORT=cu.usbmodem1451
|
||||
echo . | stty -f /dev/$PORT speed 1200
|
||||
../tools/mac/tool-bossac/bossac -U false -p $PORT -i -e -w -v -b firmware.bin -R
|
||||
BIN
compiled/m5stack/firmware.bin
Normal file
BIN
compiled/m5stack/firmware.bin
Normal file
Binary file not shown.
4925
compiled/mega2560-5100/firmware.hex
Normal file
4925
compiled/mega2560-5100/firmware.hex
Normal file
File diff suppressed because it is too large
Load Diff
1
compiled/mega2560-5100/upload.bat
Normal file
1
compiled/mega2560-5100/upload.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\tools\win\tool-avrdude\avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P com3 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
1
compiled/mega2560-5100/upload.sh
Executable file
1
compiled/mega2560-5100/upload.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P /dev/cu.usbmodem1411 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
4704
compiled/mega2560-5500/firmware.hex
Normal file
4704
compiled/mega2560-5500/firmware.hex
Normal file
File diff suppressed because it is too large
Load Diff
1
compiled/mega2560-5500/upload.bat
Normal file
1
compiled/mega2560-5500/upload.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\tools\win\tool-avrdude\avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P com3 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
1
compiled/mega2560-5500/upload.sh
Executable file
1
compiled/mega2560-5500/upload.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P /dev/cu.usbmodem1411 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
6102
compiled/mega2560slim-5100/firmware.hex
Normal file
6102
compiled/mega2560slim-5100/firmware.hex
Normal file
File diff suppressed because it is too large
Load Diff
1
compiled/mega2560slim-5100/upload.bat
Normal file
1
compiled/mega2560slim-5100/upload.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\tools\win\tool-avrdude\avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -v -V -P com3 -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
1
compiled/mega2560slim-5100/upload.sh
Executable file
1
compiled/mega2560slim-5100/upload.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -P /dev/cu.wchusbserial1450 -v -V -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
1
compiled/monitor.bat
Normal file
1
compiled/monitor.bat
Normal file
@@ -0,0 +1 @@
|
||||
pio device monitor -b 115200
|
||||
4584
compiled/nrf52840-5500/firmware.hex
Normal file
4584
compiled/nrf52840-5500/firmware.hex
Normal file
File diff suppressed because it is too large
Load Diff
BIN
compiled/stm32-enc2860/firmware.bin
Normal file
BIN
compiled/stm32-enc2860/firmware.bin
Normal file
Binary file not shown.
273
compiled/tools/DUE_16u2_reflash/16u2.hex
Normal file
273
compiled/tools/DUE_16u2_reflash/16u2.hex
Normal file
@@ -0,0 +1,273 @@
|
||||
:10000000A7C00000C0C00000BEC00000BCC000000F
|
||||
:10001000BAC00000B8C00000B6C00000B4C0000004
|
||||
:10002000B2C00000B0C00000AEC00000C1C40000FB
|
||||
:1000300085C40000A8C00000A6C00000A4C0000045
|
||||
:10004000A2C00000A0C000009EC000009CC0000034
|
||||
:100050009AC0000098C0000096C0000021C10000B6
|
||||
:1000600092C0000090C000008EC000008CC0000054
|
||||
:100070008AC0000088C0000086C0000084C0000064
|
||||
:1000800082C0000080C000007EC000007CC0000074
|
||||
:100090007AC0000078C000001201100102000008C0
|
||||
:1000A00041233D0001000102DC0109023E00020182
|
||||
:1000B00000C0320904000001020201000524000111
|
||||
:1000C0001004240206052406000107058203080027
|
||||
:1000D000FF09040100020A000000070504024000B5
|
||||
:1000E00001070583024000010403090432034100B3
|
||||
:1000F00072006400750069006E006F002000280027
|
||||
:100100007700770077002E006100720064007500B0
|
||||
:1001100069006E006F002E0063006300290000007C
|
||||
:100120002E03410072006400750069006E006F00CC
|
||||
:1001300020004400750065002000500072006F0030
|
||||
:1001400067002E00200050006F0072007400000055
|
||||
:1001500011241FBECFEFD2E0DEBFCDBF11E0A0E083
|
||||
:10016000B1E0E4EDF0E102C005900D92A831B107D5
|
||||
:10017000D9F712E0A8E1B1E001C01D92A833B107A0
|
||||
:10018000E1F72BD1A5C73CCF9C01DC01AE57BF4F97
|
||||
:10019000ED91FC91119741911196FC93EE9380584B
|
||||
:1001A0009F4FE817F90711F42D933C939FB7F894EC
|
||||
:1001B000F901EC57FF4F8081815080839FBF842FCE
|
||||
:1001C0000895882311F03F9A01C03F9847980895F9
|
||||
:1001D000882311F046980895469A0895DF92EF9289
|
||||
:1001E000FF920F931F93FC018489813019F08230B4
|
||||
:1001F00019F404C010E303C010E001C010E28389C9
|
||||
:10020000823009F418608589873031F0883031F008
|
||||
:10021000863029F4126003C0146001C01660109289
|
||||
:10022000C9001092C8001092CA000785F088E188C2
|
||||
:10023000D288202F3F2D4E2D5D2D10921E01203B88
|
||||
:1002400084E0380780E0480780E0580719F481E02F
|
||||
:1002500080931E01CA01B90122E030E040E050E085
|
||||
:100260001CD720583B47414E5F4FCA01B901202F90
|
||||
:100270003F2D4E2D5D2DEFD6215030403093CD00D7
|
||||
:100280002093CC001093CA0082E08093C80088E9D4
|
||||
:100290008093C9001F910F91FF90EF90DF90089518
|
||||
:1002A0001F920F920FB60F9211242F938F939F934B
|
||||
:1002B000EF93FF939091CE008EB38430F1F4E091F0
|
||||
:1002C000A201F091A3019083E091A201F091A3011A
|
||||
:1002D000CF0101969093A3018093A201825A91408D
|
||||
:1002E00021F482E291E0928381839FB7F894809118
|
||||
:1002F000A6018F5F8093A6019FBFFF91EF919F9111
|
||||
:100300008F912F910F900FBE0F901F901895FC01A9
|
||||
:1003100040911A0140931B0180911C0180931D01A3
|
||||
:100320008585282F30E02170307020931A01858553
|
||||
:1003300090E096958795817080931C0180911E01B5
|
||||
:10034000882339F088E790E0909319018093180191
|
||||
:100350000895442341F4222331F082E390E0909306
|
||||
:10036000190180931801089580E091E00AC680E0A9
|
||||
:1003700091E0BDC584B7877F84BF88E10FB6F8944C
|
||||
:1003800080936000109260000FBE81E01ADF16BCFF
|
||||
:1003900083E085BD86B58831E8F315BC16BC80E0E6
|
||||
:1003A00010DF469A3E9A87E690E09093CD008093C6
|
||||
:1003B000CC0086E08093CA001092C80088E1809348
|
||||
:1003C000C900539A5A9A8AB180638AB98BB1806303
|
||||
:1003D0008BB9A9D284E085BD08950F931F93CF9365
|
||||
:1003E000DF93C8DF2FB7F89487EA91E09093280253
|
||||
:1003F0008093270290932A02809329022FBF2FB760
|
||||
:10040000F89482E291E09093A3018093A2019093EB
|
||||
:10041000A5018093A4012FBF7894C7EAD1E003E03F
|
||||
:100420008FB7F89490912B028FBF903809F180E03C
|
||||
:1004300091E0D3D497FD1CC0E0912702F0912802EF
|
||||
:100440008083E0912702F0912802CF0101969093DA
|
||||
:100450002802809327028752924011F4D283C183ED
|
||||
:100460009FB7F89480912B028F5F80932B029FBFE0
|
||||
:100470008FB7F8941091A6018FBFA89903C01136C9
|
||||
:1004800008F456C0A89A8091A601882361F05D986F
|
||||
:1004900000931F0108C082E291E076DE682F80E0C1
|
||||
:1004A00091E001D511501123B1F780911F018823EC
|
||||
:1004B00051F080911F01815080931F0180911F0195
|
||||
:1004C000882309F45D9A80912001882351F080915E
|
||||
:1004D000200181508093200180912001882309F41C
|
||||
:1004E0005C9A809118019091190118161906E4F48C
|
||||
:1004F000CC97CD9710F481E001C080E069DE809157
|
||||
:100500001801909119010197C29710F481E001C080
|
||||
:1005100080E057DE80911801909119010197909326
|
||||
:1005200019018093180104C080E052DE80E049DEAA
|
||||
:100530008FB7F89490912B028FBF992369F087EAC7
|
||||
:1005400091E022DE982F8091C80085FFFCCF909328
|
||||
:10055000CE005C980093200180E091E095D42AD4ED
|
||||
:100560005FCFDA01923049F0933061F09130F9F4C5
|
||||
:10057000E8E9F0E022E130E01EC0EAEAF0E02EE334
|
||||
:1005800030E019C0813049F0813018F0823079F4C0
|
||||
:1005900008C0E8EEF0E0849107C0ECEEF0E0849152
|
||||
:1005A00003C0E0E2F1E08491282F30E004C0E0E0F5
|
||||
:1005B000F0E020E030E0ED93FC93C901089528E0DD
|
||||
:1005C00030E040E003C04F5F220F331F2817390788
|
||||
:1005D000D0F3842F8295807F08958093E9008091E5
|
||||
:1005E000EB0081608093EB001092ED006093EC00D3
|
||||
:1005F0004093ED008091EE00881F8827881F0895A2
|
||||
:100600001092F40090E09093E9001092F0001092A4
|
||||
:10061000E8001092ED008091EB008E7F8093EB005C
|
||||
:100620009F5F953081F708958091300288238CF484
|
||||
:1006300003C08EB38823B1F08091E80082FFF9CF28
|
||||
:100640008091E8008B778093E80008958EB388232B
|
||||
:1006500049F08091E80080FFF9CF8091E8008E7723
|
||||
:100660008093E800089594E68091EC0080FF05C037
|
||||
:100670008091E80080FF05C023C08091E80082FDE2
|
||||
:100680001FC08EB3882311F482E008958EB38530A5
|
||||
:1006900011F483E008958091EB0085FF02C081E0B2
|
||||
:1006A00008958091E10082FFDFCF8091E1008B7F90
|
||||
:1006B0008093E100992311F484E008959150D4CF00
|
||||
:1006C00080E008959C014091360250913702461710
|
||||
:1006D000570718F4F90120E038C06115710511F0D1
|
||||
:1006E000AB01F8CF8091E8008E778093E80040E07E
|
||||
:1006F00050E0F0CF8091E80083FF02C081E00895D0
|
||||
:100700008091E80082FD2DC08EB3882381F18EB3E5
|
||||
:10071000853079F18091E80080FF17C09091F20058
|
||||
:1007200006C081918093F100415050409F5F411578
|
||||
:10073000510511F09830A8F320E0983009F421E039
|
||||
:100740008091E8008E778093E8004115510591F67D
|
||||
:10075000222381F606C08EB3882349F08EB38530FC
|
||||
:1007600041F08091E80082FFF6CF80E0089582E0BA
|
||||
:10077000089583E008959C0140913602509137021C
|
||||
:100780004617570710F490E03BC06115710511F052
|
||||
:10079000AB01F9CF8091E8008E778093E80040E0CC
|
||||
:1007A00050E0F1CF8091E80083FF02C081E008951E
|
||||
:1007B0008091E80082FD30C08EB3882399F18EB31A
|
||||
:1007C000853091F18091E80080FF1AC08091F2009D
|
||||
:1007D00009C0F9012F5F3F4FE491E093F1004150D0
|
||||
:1007E00050408F5F4115510511F0883090F390E033
|
||||
:1007F000883009F491E08091E8008E778093E800DA
|
||||
:100800004115510579F6992369F606C08EB3882300
|
||||
:1008100049F08EB3853041F08091E80082FFF6CF39
|
||||
:1008200080E0089582E0089583E008959C016115B9
|
||||
:10083000710529F48091E8008B778093E800F90135
|
||||
:1008400020C08091E80083FF02C081E008958EB34C
|
||||
:10085000882339F18EB3853031F18091E80082FF31
|
||||
:10086000F0CF06C08091F10081936150704021F07B
|
||||
:100870008091F2008823B1F78091E8008B77809314
|
||||
:10088000E80061157105E9F606C08EB3882349F0CA
|
||||
:100890008EB3853041F08091E80080FFF6CF80E094
|
||||
:1008A000089582E0089583E0089542D044D01EBAAE
|
||||
:1008B00010922E0210922D0210922C0284E089BD1B
|
||||
:1008C00089B5826089BD09B400FEFDCF8091D80052
|
||||
:1008D000982F9F779093D80080688093D80080915C
|
||||
:1008E00063008E7F809363008091D8008F7D80931A
|
||||
:1008F000D8008091E0008E7F8093E0008091E1003D
|
||||
:100900008E7F8093E1008091E20081608093E2001D
|
||||
:100910008091E100877F8093E1008091E200886010
|
||||
:100920008093E2000895C1DF81E080932F02089553
|
||||
:100930001092E20008951092E10008951F920F9224
|
||||
:100940000FB60F9211241F932F933F934F935F93F2
|
||||
:100950006F937F938F939F93AF93BF93EF93FF9387
|
||||
:10096000E9EEF0E0108117701082E0EFF0E0808196
|
||||
:10097000877F80837894C3D0F894A9EEB0E01C926E
|
||||
:10098000E0EFF0E08081886080831C93FF91EF911D
|
||||
:10099000BF91AF919F918F917F916F915F914F9197
|
||||
:1009A0003F912F911F910F900FBE0F901F901895A0
|
||||
:1009B0001F920F920FB60F9211242F933F934F93D4
|
||||
:1009C0005F936F937F938F939F93AF93BF93EF93B7
|
||||
:1009D000FF938091E10080FF1BC08091E20080FFC7
|
||||
:1009E00017C08091E1008E7F8093E1008091E2004A
|
||||
:1009F0008E7F8093E2008091E20080618093E2002C
|
||||
:100A00008091D80080628093D80019BC1EBAD1D1E1
|
||||
:100A10008091E10084FF29C08091E20084FF25C01D
|
||||
:100A200084E089BD89B5826089BD09B400FEFDCF2F
|
||||
:100A30008091D8008F7D8093D8008091E1008F7ED7
|
||||
:100A40008093E1008091E2008F7E8093E2008091AC
|
||||
:100A5000E20081608093E20080912E02882311F4ED
|
||||
:100A600081E001C084E08EBBA4D18091E10083FFCE
|
||||
:100A700027C08091E20083FF23C08091E100877F3F
|
||||
:100A80008093E10082E08EBB10922E028091E10003
|
||||
:100A90008E7F8093E1008091E2008E7F8093E20060
|
||||
:100AA0008091E20080618093E200AADD80E060E056
|
||||
:100AB00042E093DD8091F00088608093F00079D16E
|
||||
:100AC0008091E10082FF0AC08091E20082FF06C0AF
|
||||
:100AD0008091E1008B7F8093E1006BD1FF91EF91DA
|
||||
:100AE000BF91AF919F918F917F916F915F914F9146
|
||||
:100AF0003F912F910F900FBE0F901F9018951F934D
|
||||
:100B0000DF93CF93CDB7DEB7AC970FB6F894DEBFC7
|
||||
:100B10000FBECDBFE0E3F2E08091F100819322E0CF
|
||||
:100B2000E833F207C9F78091300230913102353055
|
||||
:100B300009F487C0363040F43130C9F1313070F0FB
|
||||
:100B4000333009F01DC133C0383009F4EFC03930FB
|
||||
:100B500009F4FEC0363009F013C192C0803821F08C
|
||||
:100B6000823809F00DC108C090912C0280912D02AD
|
||||
:100B7000882399F0926011C080913402877080932D
|
||||
:100B8000E9008091EB0090E025E0969587952A9505
|
||||
:100B9000E1F7982F91701092E9008091E800877F2B
|
||||
:100BA0008093E8009093F1001092F100CAC088236E
|
||||
:100BB00019F0823009F0E4C090E08F7190700097D6
|
||||
:100BC00021F0029709F0DDC00CC080913202813023
|
||||
:100BD00009F0D7C010922D02333069F580932D02B1
|
||||
:100BE0002AC080913202882331F520913402277087
|
||||
:100BF00009F4C7C02093E9008091EB0080FFC1C0D9
|
||||
:100C0000333021F48091EB00806213C08091EB00BF
|
||||
:100C100080618093EB0081E090E002C0880F991F13
|
||||
:100C20002A95E2F78093EA001092EA008091EB00A7
|
||||
:100C300088608093EB001092E9008091E800877F44
|
||||
:100C400083C0882309F09CC0109132028091E80093
|
||||
:100C5000877F8093E800E8DC04C08EB3882309F422
|
||||
:100C600090C08091E80080FFF8CF812F8F7711F43A
|
||||
:100C700092E001C093E09EBB80688093E30081C056
|
||||
:100C80008058823008F07CC080913202909133020B
|
||||
:100C900023E08C3D920799F55FB7F894DE01159635
|
||||
:100CA0004EE020E030E061E2E42FF0E06093570096
|
||||
:100CB000849120FF03C082958F704F5F982F9F70A3
|
||||
:100CC000892F805D8A3308F0895F8C9311961C927E
|
||||
:100CD00011972F5F3F4F12962431310529F75FBFDF
|
||||
:100CE0008AE28B8383E08C838091E800877F809306
|
||||
:100CF000E800CE0103966AE270E0E4DC11C0609186
|
||||
:100D00003402AE014F5F5F4F2CDCBC010097C9F18C
|
||||
:100D10008091E800877F8093E80089819A812BDDAC
|
||||
:100D20008091E8008B778093E8002BC0803841F5F4
|
||||
:100D30008091E800877F8093E80080912E02809365
|
||||
:100D4000F1008091E8008E778093E8006DDC19C097
|
||||
:100D50008823B1F490913202923098F48091E800A7
|
||||
:100D6000877F8093E80090932E025EDC80912E02B4
|
||||
:100D7000882311F483E001C084E08EBBF8DA01C05F
|
||||
:100D8000F3DA8091E80083FF0AC08091EB00806273
|
||||
:100D90008093EB008091E800877F8093E800AC9619
|
||||
:100DA0000FB6F894DEBF0FBECDBFCF91DF911F917C
|
||||
:100DB000089508951F938EB3882361F01091E90080
|
||||
:100DC0001092E9008091E80083FF01C098DE17705F
|
||||
:100DD0001093E9001F9108950895FC018EB38430AB
|
||||
:100DE00021F587859089A189B2890097A105B10570
|
||||
:100DF000E1F085818093E9008091E80082FF15C0D1
|
||||
:100E00008091F200882319F42FEF3FEF04C0809106
|
||||
:100E1000F100282F30E08091F200882341F4809186
|
||||
:100E2000E8008B778093E80002C02FEF3FEFC90105
|
||||
:100E30000895FC018EB3843011F587859089A189CE
|
||||
:100E4000B2890097A105B105D1F081818093E900B5
|
||||
:100E50008091F2008823A9F09091E8008091E80049
|
||||
:100E60008E778093E80095FD0CC0FDDB982F8823DA
|
||||
:100E700049F48091E8008E778093E80003C092E007
|
||||
:100E800001C090E0892F0895FC018EB3843051F4A5
|
||||
:100E900087859089A189B2890097A105B10511F0D4
|
||||
:100EA000CF01C7CF08951F93FC01162F8EB3843056
|
||||
:100EB000D9F487859089A189B2890097A105B105E8
|
||||
:100EC00099F081818093E9008091E80085FD08C058
|
||||
:100ED0008091E8008E778093E800C5DB882329F4B1
|
||||
:100EE0001093F10080E001C082E01F9108950F93FC
|
||||
:100EF0001F93CF93DF93EC010D96FC0189E0DF0196
|
||||
:100F00001D928A95E9F72A813B8109818C8188238A
|
||||
:100F100011F410E001C014E0C90151DB182B12607C
|
||||
:100F2000802F61E8412F59DB882329F12E813F81F1
|
||||
:100F30000D818885882311F410E001C014E0C901F7
|
||||
:100F40003EDB182B1260802F60E8412F46DB8823A0
|
||||
:100F500091F02A853B8509858C85882311F410E062
|
||||
:100F600001C014E0C9012BDB182B1260802F61EC4B
|
||||
:100F7000412F33DB01C080E0DF91CF911F910F91B2
|
||||
:100F80000895CF93DF93EC018091E80083FF60C068
|
||||
:100F9000888190E02091340230913502281739077A
|
||||
:100FA00009F056C080913102813261F0823220F422
|
||||
:100FB000803209F04DC019C0823269F1833209F0E4
|
||||
:100FC00047C038C080913002813A09F041C0809119
|
||||
:100FD000E800877F8093E800CE010F9667E070E01D
|
||||
:100FE00071DB8091E8008B7713C0809130028132F1
|
||||
:100FF00079F58091E800877F8093E800CE010F9615
|
||||
:1010000067E070E013DCCE01E9D88091E8008E77CC
|
||||
:101010008093E8001DC0809130028132C9F4809134
|
||||
:10102000E800877F8093E800809132028D87CE01AF
|
||||
:101030006ED90DC080913002813251F48091E80068
|
||||
:10104000877F8093E800CE0160913202C5DEECDA42
|
||||
:10105000DF91CF910895A1E21A2EAA1BBB1BFD01BF
|
||||
:101060000DC0AA1FBB1FEE1FFF1FA217B307E40787
|
||||
:10107000F50720F0A21BB30BE40BF50B661F771FDF
|
||||
:10108000881F991F1A9469F76095709580959095BF
|
||||
:101090009B01AC01BD01CF01089597FB092E0526E8
|
||||
:1010A0000ED057FD04D0D7DF0AD0001C38F450957D
|
||||
:1010B0004095309521953F4F4F4F5F4F0895F6F77C
|
||||
:1010C00090958095709561957F4F8F4F9F4F0895B4
|
||||
:0410D000F894FFCFC2
|
||||
:1010D400000340000004400000020800000000007B
|
||||
:0810E4000000000000001400F0
|
||||
:00000001FF
|
||||
2
compiled/tools/DUE_16u2_reflash/readme.md
Normal file
2
compiled/tools/DUE_16u2_reflash/readme.md
Normal file
@@ -0,0 +1,2 @@
|
||||
This package need if you have problem with unrelable cold start of Arduino DUE
|
||||
Arduino ISP should be connected to 16u2 ICSP connector before run
|
||||
1
compiled/tools/DUE_16u2_reflash/reflash16u2DUE.sh
Executable file
1
compiled/tools/DUE_16u2_reflash/reflash16u2DUE.sh
Executable file
@@ -0,0 +1 @@
|
||||
../../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -c arduino -P /dev/cu.usbmodem1411 -b 19200 -p m16u2 -vvv -U flash:w:16u2.hex:i
|
||||
BIN
compiled/tools/mac/tool-avrdude/avrdude
Executable file
BIN
compiled/tools/mac/tool-avrdude/avrdude
Executable file
Binary file not shown.
15832
compiled/tools/mac/tool-avrdude/avrdude.conf
Executable file
15832
compiled/tools/mac/tool-avrdude/avrdude.conf
Executable file
File diff suppressed because it is too large
Load Diff
BIN
compiled/tools/mac/tool-avrdude/libavrdude.1.dylib
Executable file
BIN
compiled/tools/mac/tool-avrdude/libavrdude.1.dylib
Executable file
Binary file not shown.
BIN
compiled/tools/mac/tool-avrdude/libavrdude.a
Normal file
BIN
compiled/tools/mac/tool-avrdude/libavrdude.a
Normal file
Binary file not shown.
1
compiled/tools/mac/tool-avrdude/libavrdude.dylib
Symbolic link
1
compiled/tools/mac/tool-avrdude/libavrdude.dylib
Symbolic link
@@ -0,0 +1 @@
|
||||
libavrdude.1.dylib
|
||||
41
compiled/tools/mac/tool-avrdude/libavrdude.la
Executable file
41
compiled/tools/mac/tool-avrdude/libavrdude.la
Executable file
@@ -0,0 +1,41 @@
|
||||
# libavrdude.la - a libtool library file
|
||||
# Generated by libtool (GNU libtool) 2.4.6
|
||||
#
|
||||
# Please DO NOT delete this file!
|
||||
# It is necessary for linking the library.
|
||||
|
||||
# The name that we can dlopen(3).
|
||||
dlname='libavrdude.1.dylib'
|
||||
|
||||
# Names of this library.
|
||||
library_names='libavrdude.1.dylib libavrdude.dylib'
|
||||
|
||||
# The name of the static archive.
|
||||
old_library='libavrdude.a'
|
||||
|
||||
# Linker flags that cannot go in dependency_libs.
|
||||
inherited_linker_flags=' '
|
||||
|
||||
# Libraries that this one depends upon.
|
||||
dependency_libs=' -L/Users/jenkins/jenkins/workspace/avrdude/label/mac-mini/objdir/lib -lreadline -lncurses -ltermcap'
|
||||
|
||||
# Names of additional weak libraries provided by this library
|
||||
weak_library_names=''
|
||||
|
||||
# Version information for libavrdude.
|
||||
current=1
|
||||
age=0
|
||||
revision=0
|
||||
|
||||
# Is this an already installed library?
|
||||
installed=yes
|
||||
|
||||
# Should we warn about portability when linking against -modules?
|
||||
shouldnotlink=no
|
||||
|
||||
# Files to dlopen/dlpreopen
|
||||
dlopen=''
|
||||
dlpreopen=''
|
||||
|
||||
# Directory that this library needs to be installed in:
|
||||
libdir='/Users/jenkins/jenkins/workspace/avrdude/label/mac-mini/objdir/lib'
|
||||
BIN
compiled/tools/mac/tool-avrdude/libelf.a
Normal file
BIN
compiled/tools/mac/tool-avrdude/libelf.a
Normal file
Binary file not shown.
BIN
compiled/tools/mac/tool-avrdude/libusb-1.0.a
Normal file
BIN
compiled/tools/mac/tool-avrdude/libusb-1.0.a
Normal file
Binary file not shown.
41
compiled/tools/mac/tool-avrdude/libusb-1.0.la
Executable file
41
compiled/tools/mac/tool-avrdude/libusb-1.0.la
Executable file
@@ -0,0 +1,41 @@
|
||||
# libusb-1.0.la - a libtool library file
|
||||
# Generated by libtool (GNU libtool) 2.4.2
|
||||
#
|
||||
# Please DO NOT delete this file!
|
||||
# It is necessary for linking the library.
|
||||
|
||||
# The name that we can dlopen(3).
|
||||
dlname=''
|
||||
|
||||
# Names of this library.
|
||||
library_names=''
|
||||
|
||||
# The name of the static archive.
|
||||
old_library='libusb-1.0.a'
|
||||
|
||||
# Linker flags that can not go in dependency_libs.
|
||||
inherited_linker_flags=' '
|
||||
|
||||
# Libraries that this one depends upon.
|
||||
dependency_libs=' -lobjc'
|
||||
|
||||
# Names of additional weak libraries provided by this library
|
||||
weak_library_names=''
|
||||
|
||||
# Version information for libusb-1.0.
|
||||
current=1
|
||||
age=1
|
||||
revision=0
|
||||
|
||||
# Is this an already installed library?
|
||||
installed=yes
|
||||
|
||||
# Should we warn about portability when linking against -modules?
|
||||
shouldnotlink=no
|
||||
|
||||
# Files to dlopen/dlpreopen
|
||||
dlopen=''
|
||||
dlpreopen=''
|
||||
|
||||
# Directory that this library needs to be installed in:
|
||||
libdir='/Users/jenkins/jenkins/workspace/avrdude/label/mac-mini/objdir/lib'
|
||||
81
compiled/tools/mac/tool-avrdude/libusb-config
Executable file
81
compiled/tools/mac/tool-avrdude/libusb-config
Executable file
@@ -0,0 +1,81 @@
|
||||
#!/bin/sh
|
||||
|
||||
prefix=/Users/jenkins/jenkins/workspace/avrdude/label/mac-mini/objdir
|
||||
exec_prefix=${prefix}
|
||||
includedir=${prefix}/include
|
||||
libdir=${exec_prefix}/lib
|
||||
exec_prefix_set=no
|
||||
|
||||
usage()
|
||||
{
|
||||
cat <<EOF
|
||||
Usage: libusb-config [OPTIONS] [LIBRARIES]
|
||||
Options:
|
||||
[--prefix[=DIR]]
|
||||
[--exec-prefix[=DIR]]
|
||||
[--version]
|
||||
[--libs]
|
||||
[--cflags]
|
||||
EOF
|
||||
exit $1
|
||||
}
|
||||
|
||||
if test $# -eq 0; then
|
||||
usage 1 1>&2
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
if test $exec_prefix_set = no ; then
|
||||
exec_prefix=$optarg
|
||||
fi
|
||||
;;
|
||||
--prefix)
|
||||
echo_prefix=yes
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
exec_prefix_set=yes
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo_exec_prefix=yes
|
||||
;;
|
||||
--version)
|
||||
echo 0.1.12
|
||||
exit 0
|
||||
;;
|
||||
--cflags)
|
||||
if test "$includedir" != /usr/include ; then
|
||||
includes="-I$includedir"
|
||||
fi
|
||||
echo_cflags=yes
|
||||
;;
|
||||
--libs)
|
||||
echo_libs=yes
|
||||
;;
|
||||
*)
|
||||
usage 1 1>&2
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if test "$echo_prefix" = "yes"; then
|
||||
echo $prefix
|
||||
fi
|
||||
if test "$echo_exec_prefix" = "yes"; then
|
||||
echo $exec_prefix
|
||||
fi
|
||||
if test "$echo_cflags" = "yes"; then
|
||||
echo $includes
|
||||
fi
|
||||
if test "$echo_libs" = "yes"; then
|
||||
echo -L$libdir -lusb
|
||||
fi
|
||||
BIN
compiled/tools/mac/tool-avrdude/libusb.a
Normal file
BIN
compiled/tools/mac/tool-avrdude/libusb.a
Normal file
Binary file not shown.
41
compiled/tools/mac/tool-avrdude/libusb.la
Executable file
41
compiled/tools/mac/tool-avrdude/libusb.la
Executable file
@@ -0,0 +1,41 @@
|
||||
# libusb.la - a libtool library file
|
||||
# Generated by libtool (GNU libtool) 2.4.2
|
||||
#
|
||||
# Please DO NOT delete this file!
|
||||
# It is necessary for linking the library.
|
||||
|
||||
# The name that we can dlopen(3).
|
||||
dlname=''
|
||||
|
||||
# Names of this library.
|
||||
library_names=''
|
||||
|
||||
# The name of the static archive.
|
||||
old_library='libusb.a'
|
||||
|
||||
# Linker flags that can not go in dependency_libs.
|
||||
inherited_linker_flags=' '
|
||||
|
||||
# Libraries that this one depends upon.
|
||||
dependency_libs=' -L/Users/jenkins/jenkins/workspace/avrdude/label/mac-mini/objdir/lib /Users/jenkins/jenkins/workspace/avrdude/label/mac-mini/objdir/lib/libusb-1.0.la -lobjc'
|
||||
|
||||
# Names of additional weak libraries provided by this library
|
||||
weak_library_names=''
|
||||
|
||||
# Version information for libusb.
|
||||
current=8
|
||||
age=4
|
||||
revision=4
|
||||
|
||||
# Is this an already installed library?
|
||||
installed=yes
|
||||
|
||||
# Should we warn about portability when linking against -modules?
|
||||
shouldnotlink=no
|
||||
|
||||
# Files to dlopen/dlpreopen
|
||||
dlopen=''
|
||||
dlpreopen=''
|
||||
|
||||
# Directory that this library needs to be installed in:
|
||||
libdir='/Users/jenkins/jenkins/workspace/avrdude/label/mac-mini/objdir/lib'
|
||||
10
compiled/tools/mac/tool-avrdude/package.json
Executable file
10
compiled/tools/mac/tool-avrdude/package.json
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"description": "AVRDUDE",
|
||||
"name": "tool-avrdude",
|
||||
"system": [
|
||||
"darwin_x86_64",
|
||||
"darwin_i386"
|
||||
],
|
||||
"url": "http://www.nongnu.org/avrdude/",
|
||||
"version": "1.60300.190424"
|
||||
}
|
||||
BIN
compiled/tools/mac/tool-bossac/bossac
Executable file
BIN
compiled/tools/mac/tool-bossac/bossac
Executable file
Binary file not shown.
7
compiled/tools/mac/tool-bossac/package.json
Executable file
7
compiled/tools/mac/tool-bossac/package.json
Executable file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"description": "Basic Open Source SAM-BA Application (BOSSA)",
|
||||
"name": "tool-bossac",
|
||||
"system": "darwin_x86_64",
|
||||
"url": "https://github.com/shumatech/BOSSA",
|
||||
"version": "1.10700.0"
|
||||
}
|
||||
BIN
compiled/tools/mac/tool-esptool/esptool
Executable file
BIN
compiled/tools/mac/tool-esptool/esptool
Executable file
Binary file not shown.
10
compiled/tools/mac/tool-esptool/package.json
Executable file
10
compiled/tools/mac/tool-esptool/package.json
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"description": "esptool-ck",
|
||||
"name": "tool-esptool",
|
||||
"system": [
|
||||
"darwin_x86_64",
|
||||
"darwin_i386"
|
||||
],
|
||||
"url": "https://github.com/igrr/esptool-ck",
|
||||
"version": "1.413.0"
|
||||
}
|
||||
15832
compiled/tools/win/tool-avrdude/avrdude.conf
Normal file
15832
compiled/tools/win/tool-avrdude/avrdude.conf
Normal file
File diff suppressed because it is too large
Load Diff
BIN
compiled/tools/win/tool-avrdude/avrdude.exe
Normal file
BIN
compiled/tools/win/tool-avrdude/avrdude.exe
Normal file
Binary file not shown.
BIN
compiled/tools/win/tool-avrdude/giveio.sys
Normal file
BIN
compiled/tools/win/tool-avrdude/giveio.sys
Normal file
Binary file not shown.
34
compiled/tools/win/tool-avrdude/install_giveio.bat
Normal file
34
compiled/tools/win/tool-avrdude/install_giveio.bat
Normal file
@@ -0,0 +1,34 @@
|
||||
@set DIRVERNAME=giveio
|
||||
@set DIRVERFILE=%DIRVERNAME%.sys
|
||||
|
||||
@echo Copying the driver to the windows directory
|
||||
@echo target file: %WINDIR%\%DIRVERFILE%
|
||||
@copy %DIRVERFILE% %WINDIR%\%DIRVERFILE%
|
||||
|
||||
@echo Remove a running service if needed...
|
||||
@loaddrv stop %DIRVERNAME% >NUL
|
||||
@if errorlevel 2 goto install
|
||||
|
||||
@loaddrv remove %DIRVERNAME% >NUL
|
||||
@if errorlevel 1 goto install
|
||||
|
||||
:install
|
||||
@echo Installing Windows NT/2k/XP driver: %DIRVERNAME%
|
||||
|
||||
@loaddrv install %DIRVERNAME% %WINDIR%\%DIRVERFILE%
|
||||
@if errorlevel 3 goto error
|
||||
|
||||
@loaddrv start %DIRVERNAME%
|
||||
@if errorlevel 1 goto error
|
||||
|
||||
@loaddrv starttype %DIRVERNAME% auto
|
||||
@if errorlevel 1 goto error
|
||||
|
||||
@echo Success
|
||||
@goto exit
|
||||
|
||||
:error
|
||||
@echo ERROR: Installation of %DIRVERNAME% failed
|
||||
|
||||
:exit
|
||||
|
||||
BIN
compiled/tools/win/tool-avrdude/libusb0.dll
Normal file
BIN
compiled/tools/win/tool-avrdude/libusb0.dll
Normal file
Binary file not shown.
BIN
compiled/tools/win/tool-avrdude/loaddrv.exe
Normal file
BIN
compiled/tools/win/tool-avrdude/loaddrv.exe
Normal file
Binary file not shown.
11
compiled/tools/win/tool-avrdude/package.json
Normal file
11
compiled/tools/win/tool-avrdude/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "tool-avrdude",
|
||||
"description": "AVRDUDE",
|
||||
"system": [
|
||||
"windows",
|
||||
"windows_amd64",
|
||||
"windows_x86"
|
||||
],
|
||||
"url": "http://www.nongnu.org/avrdude/",
|
||||
"version": "1.60300.190424"
|
||||
}
|
||||
14
compiled/tools/win/tool-avrdude/remove_giveio.bat
Normal file
14
compiled/tools/win/tool-avrdude/remove_giveio.bat
Normal file
@@ -0,0 +1,14 @@
|
||||
@set DIRVERNAME=giveio
|
||||
|
||||
@loaddrv stop %DIRVERNAME%
|
||||
@if errorlevel 2 goto error
|
||||
|
||||
@loaddrv remove %DIRVERNAME%
|
||||
@if errorlevel 1 goto error
|
||||
|
||||
@goto exit
|
||||
|
||||
:error
|
||||
@echo ERROR: Deinstallation of %DIRVERNAME% failed
|
||||
|
||||
:exit
|
||||
12
compiled/tools/win/tool-avrdude/status_giveio.bat
Normal file
12
compiled/tools/win/tool-avrdude/status_giveio.bat
Normal file
@@ -0,0 +1,12 @@
|
||||
@set DIRVERNAME=giveio
|
||||
|
||||
@loaddrv status %DIRVERNAME%
|
||||
@if errorlevel 1 goto error
|
||||
|
||||
@goto exit
|
||||
|
||||
:error
|
||||
@echo ERROR: Status querry for %DIRVERNAME% failed
|
||||
|
||||
:exit
|
||||
|
||||
BIN
compiled/tools/win/tool-bossac/bossac.exe
Normal file
BIN
compiled/tools/win/tool-bossac/bossac.exe
Normal file
Binary file not shown.
11
compiled/tools/win/tool-bossac/package.json
Normal file
11
compiled/tools/win/tool-bossac/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Basic Open Source SAM-BA Application (BOSSA)",
|
||||
"name": "tool-bossac",
|
||||
"system": [
|
||||
"windows",
|
||||
"windows_amd64",
|
||||
"windows_x86"
|
||||
],
|
||||
"url": "https://github.com/shumatech/BOSSA",
|
||||
"version": "1.10700.0"
|
||||
}
|
||||
BIN
compiled/tools/win/tool-esptool/esptool.exe
Normal file
BIN
compiled/tools/win/tool-esptool/esptool.exe
Normal file
Binary file not shown.
11
compiled/tools/win/tool-esptool/package.json
Normal file
11
compiled/tools/win/tool-esptool/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "esptool-ck",
|
||||
"name": "tool-esptool",
|
||||
"system": [
|
||||
"windows",
|
||||
"windows_amd64",
|
||||
"windows_x86"
|
||||
],
|
||||
"url": "https://github.com/igrr/esptool-ck",
|
||||
"version": "1.413.0"
|
||||
}
|
||||
Binary file not shown.
BIN
compiled/tools/win/tool-mkspiffs/mkspiffs_espressif32_espidf.exe
Normal file
BIN
compiled/tools/win/tool-mkspiffs/mkspiffs_espressif32_espidf.exe
Normal file
Binary file not shown.
Binary file not shown.
11
compiled/tools/win/tool-mkspiffs/package.json
Normal file
11
compiled/tools/win/tool-mkspiffs/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Tool to build and unpack SPIFFS images",
|
||||
"name": "tool-mkspiffs",
|
||||
"system": [
|
||||
"windows",
|
||||
"windows_amd64",
|
||||
"windows_x86"
|
||||
],
|
||||
"url": "https://github.com/igrr/mkspiffs",
|
||||
"version": "2.230.0"
|
||||
}
|
||||
12
compiled/update_bin.sh
Executable file
12
compiled/update_bin.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
cp ../.pio/build/controllino/firmware.hex controllino
|
||||
cp ../.pio/build/m5stack/firmware.bin m5stack
|
||||
cp ../.pio/build/mega2560slim-5100/firmware.hex mega2560slim-5100
|
||||
cp ../.pio/build/due-5100/firmware.bin due-5100
|
||||
cp ../.pio/build/mega2560-5100/firmware.hex mega2560-5100
|
||||
cp ../.pio/build/due-5500/firmware.bin due-5500
|
||||
cp ../.pio/build/nrf52840-5500/firmware.hex nrf52840-5500
|
||||
cp ../.pio/build/esp32-wifi/firmware.bin esp32-wifi
|
||||
cp ../.pio/build/stm32-enc2860/firmware.bin stm32-enc2860
|
||||
cp ../.pio/build/esp8266-wifi/firmware.bin esp8266-wifi
|
||||
cp ../.pio/build/lighthub21/firmware.bin lighthub21
|
||||
cp ../.pio/build/mega2560-5500/firmware.hex mega2560-5500
|
||||
30
config-examples/c4-3e-11-03-1b-1e.config.json
Normal file
30
config-examples/c4-3e-11-03-1b-1e.config.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"mqtt":["garden","192.168.10.114",1883,"test","test"],
|
||||
"ow":{
|
||||
"28FFADCE601705A3":{"emit":"t_soil1","item":"h_relay6"},
|
||||
"286164123FF96F55":{"emit":"t_soil2"},
|
||||
"28FFEF6D60170335":{"emit":"t_soil3"}
|
||||
},
|
||||
"items":{
|
||||
"h_relay1":[6,39,1,1],
|
||||
"h_relay2":[6,38,1,1],
|
||||
"h_relay3":[6,37,1,1],
|
||||
"h_relay4":[6,36,1,1],
|
||||
"h_relay5":[6,35,1,1],
|
||||
"h_relay6":[5,34,27,1],
|
||||
"h_relay7":[6,33,1,1],
|
||||
"h_relay8":[6,32,1,1],
|
||||
"h_auto":[6,29,1,1]
|
||||
},
|
||||
"in":{
|
||||
"5": {"T":4,"emit": "/myhome/s_out/t_dht1"},
|
||||
"40":{"emit":"/myhome/s_out/g_in1","scmd":"CLOSED","rcmd":"OPEN"},
|
||||
"41":{"emit":"/myhome/s_out/g_in2","scmd":"CLOSED","rcmd":"OPEN"},
|
||||
"42":{"emit":"/myhome/s_out/g_in3","scmd":"CLOSED","rcmd":"OPEN"},
|
||||
"43":{"emit":"/myhome/s_out/g_in4","scmd":"CLOSED","rcmd":"OPEN"},
|
||||
"44":{"emit":"/myhome/s_out/g_in5","scmd":"CLOSED","rcmd":"OPEN"},
|
||||
"45":{"emit":"/myhome/s_out/g_in6","scmd":"CLOSED","rcmd":"OPEN"},
|
||||
"46":{"emit":"/myhome/s_out/g_in7","scmd":"CLOSED","rcmd":"OPEN"},
|
||||
"47":{"emit":"/myhome/s_out/g_in8","scmd":"CLOSED","rcmd":"OPEN"}
|
||||
}
|
||||
}
|
||||
9
config-examples/c4-3e-1f-03-1b-1b.config.json
Normal file
9
config-examples/c4-3e-1f-03-1b-1b.config.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"mqtt": ["test_esp","192.168.10.1",1883,"test","test"],
|
||||
"items":{
|
||||
"h_speed0": [6,9],
|
||||
"h_speed1": [6,10]},
|
||||
"in": {
|
||||
"5": {"T":4,"emit": "/myhome/s_out/t_vent_street"}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 178 KiB |
31
get_build_flags.py
Normal file
31
get_build_flags.py
Normal file
@@ -0,0 +1,31 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
import os
|
||||
import sys
|
||||
print(sys.argv[1:], file=sys.stderr)
|
||||
#print("build_flags_"+sys.argv[1:][0])
|
||||
try:
|
||||
file = open("build-flags/build_flags_"+sys.argv[1:][0])
|
||||
except IOError as e:
|
||||
print(u'No build flags file ', file=sys.stderr)
|
||||
else:
|
||||
with file:
|
||||
for line in file.readlines():
|
||||
if not line.startswith('#'):
|
||||
print (line)
|
||||
file.close()
|
||||
|
||||
try:
|
||||
file = open("custom-build-flags/build_flags_"+sys.argv[1:][0])
|
||||
except IOError as e:
|
||||
print(u'No custom build flags file ', file=sys.stderr)
|
||||
else:
|
||||
with file:
|
||||
for line in file.readlines():
|
||||
if not line.startswith('#'):
|
||||
print (line)
|
||||
file.close()
|
||||
|
||||
sys.stdout.write("-DPIO_SRC_REV=")
|
||||
sys.stdout.flush()
|
||||
os.system("git log --pretty=format:%h_%ad -1 --date=short")
|
||||
BIN
hardware/LightHub_2018-09-14.pdf
Normal file
BIN
hardware/LightHub_2018-09-14.pdf
Normal file
Binary file not shown.
42
lighthub/abstractch.cpp
Normal file
42
lighthub/abstractch.cpp
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
#include "abstractch.h"
|
||||
#include <PubSubClient.h>
|
||||
#include "utils.h"
|
||||
#include <aJSON.h>
|
||||
#include "main.h"
|
||||
|
||||
extern lan_status lanStatus;
|
||||
extern PubSubClient mqttClient;
|
||||
extern int8_t ethernetIdleCount;
|
||||
|
||||
int abstractCh::publishTopic(const char* topic, long value, const char* subtopic)
|
||||
{
|
||||
char valstr[16];
|
||||
printUlongValueToStr(valstr, value);
|
||||
return publishTopic(topic, valstr,subtopic);
|
||||
};
|
||||
|
||||
int abstractCh::publishTopic(const char* topic, float value, const char* subtopic)
|
||||
{
|
||||
char valstr[16];
|
||||
printFloatValueToStr(value, valstr);
|
||||
return publishTopic(topic, valstr,subtopic);
|
||||
};
|
||||
|
||||
int abstractCh::publishTopic(const char* topic, const char * value, const char* subtopic)
|
||||
{
|
||||
char addrstr[MQTT_TOPIC_LENGTH];
|
||||
|
||||
if (topic)
|
||||
{
|
||||
strncpy(addrstr,topic,sizeof(addrstr));
|
||||
if (!strchr(addrstr,'/')) setTopic(addrstr,sizeof(addrstr),T_OUT,topic);
|
||||
strncat(addrstr,subtopic,sizeof(addrstr));
|
||||
if (mqttClient.connected() && lanStatus == OPERATION && !ethernetIdleCount)
|
||||
{
|
||||
mqttClient.publish(addrstr, value, true);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
};
|
||||
23
lighthub/abstractch.h
Normal file
23
lighthub/abstractch.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include "Arduino.h"
|
||||
|
||||
#define CST_UNKNOWN 0
|
||||
#define CST_INITIALIZED 1
|
||||
|
||||
class abstractCh {
|
||||
public:
|
||||
abstractCh(){};
|
||||
virtual ~abstractCh(){};
|
||||
virtual int Poll(short cause) = 0;
|
||||
virtual int Setup() =0; //Should initialize hardware and reserve resources
|
||||
virtual int Anounce () {return 0;};
|
||||
virtual int Stop() {return 0;}; //Should free resources
|
||||
virtual int Status() {return CST_UNKNOWN;}
|
||||
|
||||
|
||||
protected:
|
||||
virtual int publishTopic(const char* topic, long value, const char* subtopic = NULL);
|
||||
virtual int publishTopic(const char* topic, float value, const char* subtopic = NULL );
|
||||
virtual int publishTopic(const char* topic, const char * value, const char* subtopic = NULL);
|
||||
//friend Input;
|
||||
};
|
||||
38
lighthub/abstractin.cpp
Normal file
38
lighthub/abstractin.cpp
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
#include "abstractin.h"
|
||||
#include "abstractch.h"
|
||||
#include <PubSubClient.h>
|
||||
#include "utils.h"
|
||||
#include <aJSON.h>
|
||||
#include "inputs.h"
|
||||
#include "main.h"
|
||||
|
||||
extern lan_status lanStatus;
|
||||
extern PubSubClient mqttClient;
|
||||
|
||||
int abstractIn::publish(long value, const char* subtopic)
|
||||
{
|
||||
char valstr[16];
|
||||
printUlongValueToStr(valstr, value);
|
||||
return publish(valstr,subtopic);
|
||||
};
|
||||
|
||||
int abstractIn::publish(float value, const char* subtopic)
|
||||
{
|
||||
char valstr[16];
|
||||
printFloatValueToStr(value, valstr);
|
||||
return publish(valstr,subtopic);
|
||||
};
|
||||
|
||||
int abstractIn::publish(char * value, const char* subtopic)
|
||||
{
|
||||
if (in)
|
||||
{
|
||||
aJsonObject *emit = aJson.getObjectItem(in->inputObj, "emit");
|
||||
if (emit && emit->type == aJson_String)
|
||||
{
|
||||
return publishTopic(emit->valuestring,value,subtopic);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user