Align to gpio api
This commit is contained in:
parent
39f45f78fa
commit
9a3a671938
17
.vscode/tasks.json
vendored
17
.vscode/tasks.json
vendored
@ -54,6 +54,23 @@
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "distclean",
|
||||
"type":"shell",
|
||||
"command": "make distclean -j8",
|
||||
"problemMatcher": {
|
||||
"base": "$gcc",
|
||||
"owner": "gcc",
|
||||
"fileLocation": [
|
||||
"relative",
|
||||
"${workspaceFolder}"
|
||||
]
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "build_unit_test",
|
||||
"type":"shell",
|
||||
|
5
Makefile
5
Makefile
@ -55,7 +55,7 @@ UNIT_TEST_TARGET = $(BIN_DIR)/$(UNIT_TEST_SRC_DIR)/$(TARGET_FILE)
|
||||
|
||||
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
||||
|
||||
.PHONY: all install uninstall clean
|
||||
.PHONY: all install uninstall clean distclean
|
||||
all: $(STATIC_LIB) $(DYNAMIC_LIB)
|
||||
|
||||
install: all
|
||||
@ -80,6 +80,9 @@ clean:
|
||||
rm -f $(OBJ_DIR)/*.gcda $(OBJ_DIR)/*.gcno
|
||||
rm -fr $(COVERAGE_DIR)
|
||||
|
||||
distclean:
|
||||
rm -fr $(BIN_DIR) $(OBJ_DIR) $(LIB_DIR) $(COVERAGE_DIR)
|
||||
|
||||
.PHONY: coverage
|
||||
coverage: _cov_genhtml
|
||||
$(eval COVERAGE:=$(shell grep 'lines' .coverage.tmp | egrep -o '[0-9]+.[0-9]+%'))
|
||||
|
Loading…
Reference in New Issue
Block a user