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