mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-14 04:07:08 +01:00
Allow to specify number of switches in RFBridge as a build parameter
This commit is contained in:
@@ -415,9 +415,11 @@
|
||||
#define DEVICE "SONOFF_RFBRIDGE"
|
||||
#define SERIAL_BAUDRATE 19200
|
||||
#define RELAY_PROVIDER RELAY_PROVIDER_RFBRIDGE
|
||||
#define DUMMY_RELAY_COUNT 6
|
||||
#define TRACK_RELAY_STATUS 0
|
||||
#define TERMINAL_SUPPORT 0
|
||||
#define TERMINAL_SUPPORT 0
|
||||
#ifndef DUMMY_RELAY_COUNT
|
||||
#define DUMMY_RELAY_COUNT 6
|
||||
#endif
|
||||
|
||||
// Buttons
|
||||
#define BUTTON1_PIN 0
|
||||
|
||||
@@ -4,7 +4,7 @@ src_dir = espurna
|
||||
data_dir = espurna/data
|
||||
|
||||
[common]
|
||||
build_flags = -g -DMQTT_MAX_PACKET_SIZE=400
|
||||
build_flags = -g -DMQTT_MAX_PACKET_SIZE=400 ${env.FLAGS}
|
||||
build_flags_512k = ${common.build_flags} -Wl,-Tesp8266.flash.512k0.ld
|
||||
build_flags_1m = ${common.build_flags} -Wl,-Tesp8266.flash.1m0.ld
|
||||
lib_deps =
|
||||
|
||||
Reference in New Issue
Block a user