fix minor compile problems

This commit is contained in:
2022-12-03 20:21:08 +01:00
parent b1f7e448ab
commit 841e30913e
6 changed files with 10 additions and 9 deletions

View File

@@ -5,10 +5,11 @@
"includePath": [
"${workspaceFolder}/utility/unity/core",
"${workspaceFolder}/utility/unity/fixture",
"${workspaceFolder}/utility/fff",
"${workspaceFolder}/test/cmd_parser/helpers/inc",
"${workspaceFolder}/cmd_parser",
"${workspaceFolder}/test/oled/helpers/inc",
"${workspaceFolder}/test/oled/",
"${workspaceFolder}/cmd_parser/",
"${workspaceFolder}/**"
"${workspaceFolder}/oled"
],
"defines": [
"_DEBUG",

View File

@@ -10,5 +10,8 @@
"unityExplorer.prettyTestCaseRegex": "test_(\\w+)",
"unityExplorer.prettyTestFileRegex": "(\\w+)_test\\.c",
"unityExplorer.debugConfiguration": "Unity Test Explorer Debug",
"files.associations": {
"main.h": "c"
},
}

View File

@@ -15,5 +15,5 @@ add_definitions(${GLOBAL_DEFINITION})
add_subdirectory(utility/unity unity)
link_libraries(unity)
# add_subdirectory(test/oled oled)
add_subdirectory(test/oled oled)
add_subdirectory(test/cmd_parser cmd_parser)

View File

@@ -9,7 +9,7 @@ set(INCLUDE_DIRS
)
set(SRCS
../../cmd_parser/cmd_parser2.c
../../cmd_parser/cmd_parser.c
# helpers/src/led_cmd.c
cmd_parser_test.c

View File

@@ -1,3 +0,0 @@
#pragma once
#include <stdint.h>

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
set(TEST_NAME oled)
set(TEST_NAME oled_test)
set(INCLUDE_DIRS
../../oled