Compare commits
25 Commits
1.0
..
ebf1929ac3
| Author | SHA1 | Date | |
|---|---|---|---|
| ebf1929ac3 | |||
| d86f12f3fe | |||
| 6b0f6f3093 | |||
| 7f5d18d554 | |||
| 98c04194fe | |||
| 29d76c9d2f | |||
| bcc4cb8291 | |||
| 695bf90c03 | |||
| 2a528c0976 | |||
| 501991058c | |||
| b6ca09b58e | |||
| fe1d96853c | |||
| 9b8936af89 | |||
| af70fc34a9 | |||
| 72c14a53fe | |||
| 23ad1f3445 | |||
| 9590757913 | |||
| e5d3ef4624 | |||
| beddee2f57 | |||
| 45201ec19c | |||
| 6f483252a0 | |||
| c12d49bca0 | |||
| 39592bc80e | |||
| 1d317af410 | |||
| 82becab1cc |
Vendored
-17
@@ -54,23 +54,6 @@
|
|||||||
"isDefault": true
|
"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",
|
"label": "build_unit_test",
|
||||||
"type":"shell",
|
"type":"shell",
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ UNIT_TEST_TARGET = $(BIN_DIR)/$(UNIT_TEST_SRC_DIR)/$(TARGET_FILE)
|
|||||||
|
|
||||||
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
||||||
|
|
||||||
.PHONY: all install uninstall clean distclean
|
.PHONY: all install uninstall clean
|
||||||
all: $(STATIC_LIB) $(DYNAMIC_LIB)
|
all: $(STATIC_LIB) $(DYNAMIC_LIB)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@@ -80,9 +80,6 @@ clean:
|
|||||||
rm -f $(OBJ_DIR)/*.gcda $(OBJ_DIR)/*.gcno
|
rm -f $(OBJ_DIR)/*.gcda $(OBJ_DIR)/*.gcno
|
||||||
rm -fr $(COVERAGE_DIR)
|
rm -fr $(COVERAGE_DIR)
|
||||||
|
|
||||||
distclean:
|
|
||||||
rm -fr $(BIN_DIR) $(OBJ_DIR) $(LIB_DIR) $(COVERAGE_DIR)
|
|
||||||
|
|
||||||
.PHONY: coverage
|
.PHONY: coverage
|
||||||
coverage: _cov_genhtml
|
coverage: _cov_genhtml
|
||||||
$(eval COVERAGE:=$(shell grep 'lines' .coverage.tmp | egrep -o '[0-9]+.[0-9]+%'))
|
$(eval COVERAGE:=$(shell grep 'lines' .coverage.tmp | egrep -o '[0-9]+.[0-9]+%'))
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <i2c.h>
|
#include <i2c_bb.h>
|
||||||
|
|
||||||
|
|
||||||
static void write_bit(const struct i2c_bb *i2c, uint8_t bit);
|
static void write_bit(const struct i2c_bb *i2c, uint8_t bit);
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include <utest.h>
|
#include <utest.h>
|
||||||
#include <mock_gpio.h>
|
#include <mock_gpio.h>
|
||||||
|
|
||||||
#include <i2c.h>
|
#include <i2c_bb.h>
|
||||||
|
|
||||||
UTEST(i2c_close, success)
|
UTEST(i2c_close, success)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user