Lighthub hardware v2.1 added as platformio environment

This commit is contained in:
2019-04-21 11:54:04 +03:00
parent 03ea4dddd1
commit 9d59d6cf60
3 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
#! /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