-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tm1637_say options for GPIO lib & verbosity
- Loading branch information
Showing
3 changed files
with
36 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [[ -z "${GPIO_LIB}" ]]; then | ||
export GPIO_LIB="GpioGPIOD" | ||
fi | ||
echo "Building using GPIO library ${GPIO_LIB} - override by setting GPIO_LIB" | ||
g++ -DGPIO_LIB="${GPIO_LIB}" -Wall -std=c++11 tm1637_say.cpp -o tm1637_say -lboost_program_options $(pkg-config --libs --cflags libTM1637Pi) | ||
g++ -Wall -std=c++11 tm1637_say.cpp -o tm1637_say -lboost_program_options $(pkg-config --libs --cflags libTM1637Pi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters