mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
commit and branch into version number
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
.piolibdeps
|
||||
.clang_complete
|
||||
.gcc-flags.json
|
||||
CMakeListsPrivate.txt
|
||||
|
||||
@@ -133,7 +133,7 @@ EthernetClient ethClient;
|
||||
#define QUOTE(x) Q(x)
|
||||
|
||||
#ifndef PIO_SRC_REV
|
||||
#define PIO_SRC_REV_BRANCH v0.97
|
||||
#define PIO_SRC_REV v0.97
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -18,8 +18,7 @@ platform = atmelsam
|
||||
framework = arduino
|
||||
board = due
|
||||
lib_ldf_mode = chain+
|
||||
build_flags = !echo -n "-DPIO_SRC_REV="$(git branch)
|
||||
;echo "-DPIO_SRC_REV_COMMIT="$( git rev-parse --short HEAD)
|
||||
build_flags = !echo -n "-DPIO_SRC_REV="$(git log --oneline -1)
|
||||
lib_deps =
|
||||
https://github.com/sebnil/DueFlashStorage
|
||||
https://github.com/livello/Arduino-Temperature-Control-Library.git#1306c49
|
||||
|
||||
Reference in New Issue
Block a user