added gfx (empty test)
working on gfx module added a few draw function gfx still wip added tamplate for test
This commit is contained in:
@@ -10,12 +10,13 @@ set(INCLUDE_DIRS
|
||||
)
|
||||
|
||||
set(SRCS
|
||||
../../oled/oled.c
|
||||
../../oled/connection.c
|
||||
../../oled/ssd1306/ssd1306.c
|
||||
../../oled/sh1106/sh1106.c
|
||||
# ../../oled/oled.c
|
||||
# ../../oled/connection.c
|
||||
# ../../oled/ssd1306/ssd1306.c
|
||||
# ../../oled/sh1106/sh1106.c
|
||||
|
||||
helpers/src/mock_i2c.c
|
||||
# helpers/src/mock_i2c.c
|
||||
oled_test.c
|
||||
)
|
||||
|
||||
add_definitions(-DTEST)
|
||||
|
||||
26
test/oled/oled_test.c
Normal file
26
test/oled/oled_test.c
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "unity.h"
|
||||
|
||||
|
||||
|
||||
void setUp(void)
|
||||
{
|
||||
}
|
||||
|
||||
void tearDown(void)
|
||||
{
|
||||
}
|
||||
|
||||
void test_one(void)
|
||||
{
|
||||
TEST_FAIL();
|
||||
}
|
||||
|
||||
|
||||
|
||||
int main(void)
|
||||
{
|
||||
UNITY_BEGIN();
|
||||
RUN_TEST(test_one);
|
||||
|
||||
return UNITY_END();
|
||||
}
|
||||
Reference in New Issue
Block a user