Files
lighthub/check_custom_build_flags_mega2560-slim.sh
Andrey Klimov 4efe3af7bb fixed network for MEGA+Wiz5500,
Mega DMX OUT on TX1 pin now (same with DUE),
E81 port Modbus dimmer settings for MEGA. AVR Binaries
2019-07-08 02:25:41 +03:00

11 lines
397 B
Bash

#! /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