mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 03:39:49 +03:00
NO Bash required (windows compilation problem gone) - migrated to python
build flags format simplified Binaries updated
This commit is contained in:
18
.gitignore
vendored
18
.gitignore
vendored
@@ -6,15 +6,15 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
CMakeListsPrivate.txt
|
CMakeListsPrivate.txt
|
||||||
custom-build-flags/*
|
custom-build-flags/*
|
||||||
build_flags_due.sh
|
custom-build-flags/build_flags_due
|
||||||
build_flags_esp32.sh
|
custom-build-flags/build_flags_esp32
|
||||||
build_flags_esp8266.sh
|
custom-build-flags/build_flags_esp8266
|
||||||
build_flags_stm32.sh
|
custom-build-flags/build_flags_stm32
|
||||||
build_flags_due-5500.sh
|
custom-build-flags/build_flags_due-5500
|
||||||
build_flags_mega2560.sh
|
custom-build-flags/build_flags_mega2560
|
||||||
build_flags_mega2560-net.sh
|
custom-build-flags/build_flags_mega2560-net
|
||||||
build_flags_controllino.sh
|
custom-build-flags/build_flags_controllino
|
||||||
build_flags_nrf52840.sh
|
custom-build-flags/build_flags_nrf52840
|
||||||
.vscode/*
|
.vscode/*
|
||||||
.vscode/.browse.c_cpp.db
|
.vscode/.browse.c_cpp.db
|
||||||
.vscode/c_cpp_properties.json
|
.vscode/c_cpp_properties.json
|
||||||
|
|||||||
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
|
||||||
2
build-flags/build_flags_due-5500
Normal file
2
build-flags/build_flags_due-5500
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
-DWiz5500
|
||||||
|
-DARTNET_ENABLE
|
||||||
8
build-flags/build_flags_esp32-wifi
Normal file
8
build-flags/build_flags_esp32-wifi
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_esp8266-wifi
Normal file
2
build-flags/build_flags_esp8266-wifi
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
-DMODBUS_DISABLE
|
||||||
|
#-DCOUNTER_DISABLE
|
||||||
3
build-flags/build_flags_lighthub21
Normal file
3
build-flags/build_flags_lighthub21
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
-DWiz5500
|
||||||
|
-DW5500_CS_PIN=53
|
||||||
|
-DARTNET_ENABLE
|
||||||
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,30 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
# usage:
|
|
||||||
# first make your own copy of template
|
|
||||||
# cp build_flags_template.sh build_flags_ENVNAME.sh
|
|
||||||
# then edit, change or comment something
|
|
||||||
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:fe"
|
|
||||||
# export FLAGS="$FLAGS -DDMX_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DARTNET_ENABLE"
|
|
||||||
# export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DAVR_DMXOUT_PIN=18"
|
|
||||||
# export FLAGS="$FLAGS -DLAN_INIT_DELAY=2000"
|
|
||||||
# export FLAGS="$FLAGS -DCONTROLLINO"
|
|
||||||
# export FLAGS="$FLAGS -DESP_WIFI_AP=MYAP"
|
|
||||||
# export FLAGS="$FLAGS -DESP_WIFI_PWD=MYPWD"
|
|
||||||
# export FLAGS="$FLAGS -DWIFI_MANAGER_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DDHT_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DRESET_PIN=5"
|
|
||||||
# export FLAGS="$FLAGS -DDHCP_RETRY_INTERVAL=60000"
|
|
||||||
# export FLAGS="$FLAGS -DRESTART_LAN_ON_MQTT_ERRORS"
|
|
||||||
# export FLAGS="$FLAGS -DW5500_CS_PIN=53"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
export FLAGS="$FLAGS -DCONTROLLINO"
|
|
||||||
export FLAGS="$FLAGS -DCUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:07"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_controllino.sh
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
export FLAGS="$FLAGS -DWiz5500"
|
|
||||||
export FLAGS="$FLAGS -DARTNET_ENABLE"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_due-5500.sh
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_due.sh
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
export FLAGS="$FLAGS -DDMX_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DDHT_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DCOUNTER_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DSPILED_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DAC_DISABLE"
|
|
||||||
#export FLAGS="$FLAGS -DM5STACK"
|
|
||||||
#export FLAGS="$FLAGS -std=gnu++11"
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_esp32.sh
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
|
||||||
#export FLAGS="$FLAGS -DCOUNTER_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_esp8266.sh
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
export FLAGS="$FLAGS -DWiz5500"
|
|
||||||
export FLAGS="$FLAGS -DW5500_CS_PIN=53"
|
|
||||||
export FLAGS="$FLAGS -DARTNET_ENABLE"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_due-5500.sh
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE="custom-build-flags/build_flags_mega2560-5500.sh"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
export FLAGS="$FLAGS -DWiz5500"
|
|
||||||
export FLAGS="$FLAGS -DMODBUS_DIMMER_PARAM=SERIAL_8E1"
|
|
||||||
export FLAGS="$FLAGS -DAVR_DMXOUT_PIN=18"
|
|
||||||
|
|
||||||
#TODO: make one file for all envs
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE="custom-build-flags/build_flags_mega2560-slim.sh"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
export FLAGS="$FLAGS -DMODBUS_DIMMER_PARAM=SERIAL_8E1"
|
|
||||||
export FLAGS="$FLAGS -DAVR_DMXOUT_PIN=18"
|
|
||||||
#TODO: make one file for all envs
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_mega2560.sh
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
export FLAGS="$FLAGS -DMODBUS_DIMMER_PARAM=SERIAL_8E1"
|
|
||||||
export FLAGS="$FLAGS -DAVR_DMXOUT_PIN=18"
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
export FLAGS="$FLAGS -DWiz5500"
|
|
||||||
#export FLAGS="$FLAGS -DW5500_CS_PIN=10"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
export FLAGS="$FLAGS -DDMX_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
|
||||||
#export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -std=gnu++11"
|
|
||||||
export FLAGS="$FLAGS -DWIFI_MANAGER_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DCOUNTER_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DCSSHDC_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DSPILED_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DAC_DISABLE"
|
|
||||||
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_nrf52840.sh
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
CUSTOM_BUILD_FLAGS_FILE=custom-build-flags/build_flags_stm32.sh
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
export FLAGS="$FLAGS -DDMX_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DDHT_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DCOUNTER_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DNO_HOMIE"
|
|
||||||
export FLAGS="$FLAGS -DCSSHDC_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DSPILED_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DAC_DISABLE"
|
|
||||||
if [ -f $CUSTOM_BUILD_FLAGS_FILE ]; then
|
|
||||||
source $CUSTOM_BUILD_FLAGS_FILE
|
|
||||||
fi
|
|
||||||
echo $FLAGS
|
|
||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -140,8 +140,8 @@
|
|||||||
:1008B0002C524553542C584F4E2C584F46462C54CE
|
:1008B0002C524553542C584F4E2C584F46462C54CE
|
||||||
:1008C0004F47474C4500656E756D00666C6F6174EF
|
:1008C0004F47474C4500656E756D00666C6F6174EF
|
||||||
:1008D00000322E312E300024686F6D69650075700E
|
:1008D00000322E312E300024686F6D69650075700E
|
||||||
:1008E00074696D652C667265656865617000393381
|
:1008E00074696D652C667265656865617000303885
|
||||||
:1008F00035366661375F323031392D31302D313642
|
:1008F00034316332625F323031392D31302D31364F
|
||||||
:10090000004C696768744875622000246E616D65EB
|
:10090000004C696768744875622000246E616D65EB
|
||||||
:100910000072656164790020747279206167616991
|
:100910000072656164790020747279206167616991
|
||||||
:100920006E20696E2035207365636F6E6473006698
|
:100920006E20696E2035207365636F6E6473006698
|
||||||
@@ -302,7 +302,7 @@
|
|||||||
:1012D000652E7275000A436F6E66696720736572CA
|
:1012D000652E7275000A436F6E66696720736572CA
|
||||||
:1012E0007665723A000A282B295741544348444FE7
|
:1012E0007665723A000A282B295741544348444FE7
|
||||||
:1012F00047003230313130334C0020432B2B2076E5
|
:1012F00047003230313130334C0020432B2B2076E5
|
||||||
:10130000657273696F6E3A00393335366661375FDF
|
:10130000657273696F6E3A00303834316332625FF0
|
||||||
:10131000323031392D31302D3136000A4C617A7935
|
:10131000323031392D31302D3136000A4C617A7935
|
||||||
:10132000686F6D652E7275204C69676874487562C8
|
:10132000686F6D652E7275204C69676874487562C8
|
||||||
:1013300020636F6E74726F6C6C65722000526574FE
|
:1013300020636F6E74726F6C6C65722000526574FE
|
||||||
|
|||||||
@@ -119,7 +119,7 @@
|
|||||||
:10076000462C544F47474C4500656E756D00666CCE
|
:10076000462C544F47474C4500656E756D00666CCE
|
||||||
:100770006F617400322E312E300024686F6D696510
|
:100770006F617400322E312E300024686F6D696510
|
||||||
:1007800000757074696D652C667265656865617069
|
:1007800000757074696D652C667265656865617069
|
||||||
:1007900000393335366661375F323031392D3130CB
|
:1007900000303834316332625F323031392D3130DC
|
||||||
:1007A0002D3136004C696768744875622000246EEC
|
:1007A0002D3136004C696768744875622000246EEC
|
||||||
:1007B000616D6500726561647900207472792061F1
|
:1007B000616D6500726561647900207472792061F1
|
||||||
:1007C0006761696E20696E2035207365636F6E64A2
|
:1007C0006761696E20696E2035207365636F6E64A2
|
||||||
@@ -201,8 +201,8 @@
|
|||||||
:100C80007A79686F6D652E7275000A436F6E6669BA
|
:100C80007A79686F6D652E7275000A436F6E6669BA
|
||||||
:100C900067207365727665723A000A282B295741DE
|
:100C900067207365727665723A000A282B295741DE
|
||||||
:100CA000544348444F47003230313130334C0020F8
|
:100CA000544348444F47003230313130334C0020F8
|
||||||
:100CB000432B2B2076657273696F6E3A003933359A
|
:100CB000432B2B2076657273696F6E3A003038349F
|
||||||
:100CC000366661375F323031392D31302D313600A3
|
:100CC000316332625F323031392D31302D313600AF
|
||||||
:100CD0000A4C617A79686F6D652E7275204C696770
|
:100CD0000A4C617A79686F6D652E7275204C696770
|
||||||
:100CE000687448756220636F6E74726F6C6C6572A5
|
:100CE000687448756220636F6E74726F6C6C6572A5
|
||||||
:100CF0002000000020002300260029002C002F00E7
|
:100CF0002000000020002300260029002C002F00E7
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3965,8 +3965,8 @@
|
|||||||
:10F7C00020495020616464726573733A0045455066
|
:10F7C00020495020616464726573733A0045455066
|
||||||
:10F7D000524F4D20636C65617265640A000A4C618A
|
:10F7D000524F4D20636C65617265640A000A4C618A
|
||||||
:10F7E0007A79686F6D652E7275204C696768744808
|
:10F7E0007A79686F6D652E7275204C696768744808
|
||||||
:10F7F000756220636F6E74726F6C6C657220003975
|
:10F7F000756220636F6E74726F6C6C65722000307E
|
||||||
:10F800003335366661375F323031392D31302D3145
|
:10F800003834316332625F323031392D31302D314D
|
||||||
:10F81000360020432B2B2076657273696F6E3A0099
|
:10F81000360020432B2B2076657273696F6E3A0099
|
||||||
:10F820003230313130334C000A282D2957415443AE
|
:10F820003230313130334C000A282D2957415443AE
|
||||||
:10F8300048444F47000A436F6E66696720736572DC
|
:10F8300048444F47000A436F6E66696720736572DC
|
||||||
@@ -4017,8 +4017,8 @@
|
|||||||
:10FB00006500636F6C6F7200666C6F6174002468CF
|
:10FB00006500636F6C6F7200666C6F6174002468CF
|
||||||
:10FB10006F6D696500246E6F646573007265616462
|
:10FB10006F6D696500246E6F646573007265616462
|
||||||
:10FB200079002473746174650024737461747300C4
|
:10FB200079002473746174650024737461747300C4
|
||||||
:10FB300024666F726D617400757074696D6500394B
|
:10FB300024666F726D617400757074696D65003054
|
||||||
:10FB40003335366661375F323031392D31302D3102
|
:10FB40003834316332625F323031392D31302D310A
|
||||||
:10FB500036004C696768744875622000445332343B
|
:10FB500036004C696768744875622000445332343B
|
||||||
:10FB600038325F3130305F4932435F544F5F315735
|
:10FB600038325F3130305F4932435F544F5F315735
|
||||||
:10FB70005F42524944474520696E697400445332DC
|
:10FB70005F42524944474520696E697400445332DC
|
||||||
|
|||||||
Binary file not shown.
@@ -1,32 +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="$FLAGS -DMY_CONFIG_SERVER=lighthub.elistech.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=C2:3E:1f:03:1B:1E"
|
|
||||||
# export FLAGS="$FLAGS -DDMX_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
|
||||||
#export FLAGS="$FLAGS -DAVR_DMXOUT_PIN=18"
|
|
||||||
#export FLAGS="$FLAGS -DCONTROLLINO"
|
|
||||||
# export FLAGS="$FLAGS -DRESET_PIN=8"
|
|
||||||
# export FLAGS="$FLAGS -DLAN_INIT_DELAY=2000"
|
|
||||||
# export FLAGS="$FLAGS -DESP_WIFI_AP=vent"
|
|
||||||
# export FLAGS="$FLAGS -DESP_WIFI_PWD=kk007remont"
|
|
||||||
# export FLAGS="$FLAGS -DSYSLOG_ENABLE"
|
|
||||||
export FLAGS="$FLAGS -DDEVICE_NAME=kk007_mega2560"
|
|
||||||
export FLAGS="$FLAGS -DCOUNTER_DISABLE"
|
|
||||||
export FLAGS="$FLAGS -DDHT_DISABLE"
|
|
||||||
#export FLAGS="$FLAGS -DWITH_DOMOTICZ"
|
|
||||||
#export FLAGS="$FLAGS -DWITH_PRINTEX_LIB"
|
|
||||||
export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
# usage:
|
|
||||||
# first make your own copy of template
|
|
||||||
# cp build_flags_template.sh build_flags_ENVNAME.sh
|
|
||||||
# then edit, change or comment something
|
|
||||||
#export FLAGS="$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:ff"
|
|
||||||
#export FLAGS="$FLAGS -DDMX_DISABLE"
|
|
||||||
#export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
|
||||||
#export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DAVR_DMXOUT_PIN=18"
|
|
||||||
# export FLAGS="$FLAGS -DLAN_INIT_DELAY=2000"
|
|
||||||
# export FLAGS="$FLAGS -DCONTROLLINO"
|
|
||||||
# export FLAGS="$FLAGS -DWIFI_MANAGER_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DRESET_PIN=5"
|
|
||||||
# export FLAGS="$FLAGS -DDHCP_RETRY_INTERVAL=60000"
|
|
||||||
# export FLAGS="$FLAGS -DRESTART_LAN_ON_MQTT_ERRORS"
|
|
||||||
# export FLAGS="$FLAGS -DW5500_CS_PIN=53"
|
|
||||||
#export FLAGS="$FLAGS -std=gnu++11"
|
|
||||||
#export FLAGS="$FLAGS -DDEVICE_NAME=MYDEVICE"
|
|
||||||
#export FLAGS="$FLAGS -DDHT_COUNTER_DISABLE"
|
|
||||||
#export FLAGS="$FLAGS -DWITH_PRINTEX_LIB"
|
|
||||||
#export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
echo $FLAGS
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
# usage:
|
|
||||||
# first make your own copy of template
|
|
||||||
# cp build_flags_template.sh build_flags_ENVNAME.sh
|
|
||||||
# then edit, change or comment something
|
|
||||||
# export FLAGS="$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:ff"
|
|
||||||
# export FLAGS="$FLAGS -DDMX_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DAVR_DMXOUT_PIN=18"
|
|
||||||
# export FLAGS="$FLAGS -DLAN_INIT_DELAY=2000"
|
|
||||||
# export FLAGS="$FLAGS -DCONTROLLINO"
|
|
||||||
# export FLAGS="$FLAGS -DESP_WIFI_AP=MYAP"
|
|
||||||
# export FLAGS="$FLAGS -DESP_WIFI_PWD=MYPWD"
|
|
||||||
# export FLAGS="$FLAGS -DWIFI_MANAGER_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DRESET_PIN=5"
|
|
||||||
# export FLAGS="$FLAGS -DDHCP_RETRY_INTERVAL=60000"
|
|
||||||
# export FLAGS="$FLAGS -DRESTART_LAN_ON_MQTT_ERRORS"
|
|
||||||
# export FLAGS="$FLAGS -DW5500_CS_PIN=53"
|
|
||||||
# export FLAGS="$FLAGS -DSYSLOG_ENABLE"
|
|
||||||
# export FLAGS="$FLAGS -DDEVICE_NAME=MYDEVICE"
|
|
||||||
# export FLAGS="$FLAGS -DDHT_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DCOUNTER_DISABLE"
|
|
||||||
# export FLAGS="$FLAGS -DWITH_PRINTEX_LIB"
|
|
||||||
# export FLAGS="$FLAGS -DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
|
|
||||||
# export FLAGS="$FLAGS -DCSSHDC_DISABLE"
|
|
||||||
echo $FLAGS
|
|
||||||
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")
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
echo /tmp/$1/pioenvs
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
echo /tmp/$1/piolibdeps
|
|
||||||
@@ -29,7 +29,7 @@ default_envs =
|
|||||||
; due-5100
|
; due-5100
|
||||||
|
|
||||||
; Arduino DUE + Ethernet shield Wiznet 5500
|
; Arduino DUE + Ethernet shield Wiznet 5500
|
||||||
; due-5500
|
; due-5500
|
||||||
|
|
||||||
; ESP 8266
|
; ESP 8266
|
||||||
; esp8266-wifi
|
; esp8266-wifi
|
||||||
@@ -58,7 +58,7 @@ board = nrf52840_dk
|
|||||||
;upload_protocol = mbed
|
;upload_protocol = mbed
|
||||||
;upload_port = /dev/cu.SLAB_USBtoUART
|
;upload_port = /dev/cu.SLAB_USBtoUART
|
||||||
framework = arduino
|
framework = arduino
|
||||||
build_flags = !bash check_custom_build_flags_nrf52840.sh
|
build_flags = !python get_build_flags.py nrf52840-5500
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
ESP_EEPROM
|
ESP_EEPROM
|
||||||
DmxSimple
|
DmxSimple
|
||||||
@@ -110,7 +110,7 @@ platform = espressif32
|
|||||||
board = m5stack-core-esp32
|
board = m5stack-core-esp32
|
||||||
framework = arduino
|
framework = arduino
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
build_flags = !check_custom_build_flags_esp32.sh
|
build_flags = !python get_build_flags.py m5stack
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DmxSimple
|
DmxSimple
|
||||||
DMXSerial
|
DMXSerial
|
||||||
@@ -157,7 +157,7 @@ framework = arduino
|
|||||||
;board = pico32
|
;board = pico32
|
||||||
board = esp32-evb
|
board = esp32-evb
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
build_flags = !bash check_custom_build_flags_esp32.sh
|
build_flags = !python get_build_flags.py esp32-wifi
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DmxSimple
|
DmxSimple
|
||||||
DMXSerial
|
DMXSerial
|
||||||
@@ -201,7 +201,7 @@ lib_deps =
|
|||||||
platform = atmelsam
|
platform = atmelsam
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = due
|
board = due
|
||||||
build_flags = !bash check_custom_build_flags_due.sh
|
build_flags = !python get_build_flags.py due-5100
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DHT sensor library for ESPx
|
DHT sensor library for ESPx
|
||||||
ESP_EEPROM
|
ESP_EEPROM
|
||||||
@@ -244,7 +244,7 @@ platform = atmelavr
|
|||||||
board = megaatmega2560
|
board = megaatmega2560
|
||||||
;upload_port = net:192.168.88.31:23
|
;upload_port = net:192.168.88.31:23
|
||||||
framework = arduino
|
framework = arduino
|
||||||
build_flags = !bash check_custom_build_flags_mega2560-slim.sh
|
build_flags = !python get_build_flags.py mega2560slim-5100
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DHT sensor library for ESPx
|
DHT sensor library for ESPx
|
||||||
DmxDue
|
DmxDue
|
||||||
@@ -282,7 +282,7 @@ lib_deps =
|
|||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = megaatmega2560
|
board = megaatmega2560
|
||||||
framework = arduino
|
framework = arduino
|
||||||
build_flags = !bash check_custom_build_flags_mega2560-5500.sh
|
build_flags = !python get_build_flags.py mega2560-5500
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DHT sensor library for ESPx
|
DHT sensor library for ESPx
|
||||||
DmxDue
|
DmxDue
|
||||||
@@ -321,7 +321,7 @@ lib_deps =
|
|||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = nodemcuv2
|
board = nodemcuv2
|
||||||
build_flags = !bash check_custom_build_flags_esp8266.sh
|
build_flags = !python get_build_flags.py esp8266-wifi
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DmxSimple
|
DmxSimple
|
||||||
DMXSerial
|
DMXSerial
|
||||||
@@ -367,7 +367,7 @@ platform = atmelavr
|
|||||||
board = megaatmega2560
|
board = megaatmega2560
|
||||||
framework = arduino
|
framework = arduino
|
||||||
upload_port = net:192.168.88.2:23000
|
upload_port = net:192.168.88.2:23000
|
||||||
build_flags = !bash check_custom_build_flags_mega2560.sh
|
build_flags = !python get_build_flags.py mega2560-5100
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DHT sensor library for ESPx
|
DHT sensor library for ESPx
|
||||||
DmxDue
|
DmxDue
|
||||||
@@ -406,7 +406,8 @@ lib_deps =
|
|||||||
platform = atmelsam
|
platform = atmelsam
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = due
|
board = due
|
||||||
build_flags = !bash check_custom_build_flags_due-5500.sh
|
;build_flags = !bash check_custom_build_flags_due-5500.sh
|
||||||
|
build_flags = !python get_build_flags.py due-5500
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DHT sensor library for ESPx
|
DHT sensor library for ESPx
|
||||||
ESPDMX
|
ESPDMX
|
||||||
@@ -450,7 +451,7 @@ lib_deps =
|
|||||||
platform = atmelsam
|
platform = atmelsam
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = due
|
board = due
|
||||||
build_flags = !bash check_custom_build_flags_lighthub21.sh
|
build_flags = !python get_build_flags.py lighthub21
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DHT sensor library for ESPx
|
DHT sensor library for ESPx
|
||||||
ESPDMX
|
ESPDMX
|
||||||
@@ -495,7 +496,7 @@ lib_deps =
|
|||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = megaatmega2560
|
board = megaatmega2560
|
||||||
framework = arduino
|
framework = arduino
|
||||||
build_flags = !bash check_custom_build_flags_controllino.sh
|
build_flags = !python get_build_flags.py controllino
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DHT sensor library for ESPx
|
DHT sensor library for ESPx
|
||||||
DmxDue
|
DmxDue
|
||||||
@@ -537,7 +538,7 @@ framework = arduino
|
|||||||
board = nucleo_f103rb
|
board = nucleo_f103rb
|
||||||
upload_protocol = stlink
|
upload_protocol = stlink
|
||||||
debug_tool = stlink
|
debug_tool = stlink
|
||||||
build_flags = !bash check_custom_build_flags_stm32.sh
|
build_flags = !python get_build_flags.py stm32-enc2860
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
DHT sensor library for ESPx
|
DHT sensor library for ESPx
|
||||||
DmxDue
|
DmxDue
|
||||||
|
|||||||
Reference in New Issue
Block a user