From a49fb58fc0857a766768a91c03b906526db441ec Mon Sep 17 00:00:00 2001 From: zykrahgaming Date: Sun, 2 Jan 2022 00:09:08 +1100 Subject: [PATCH] Attempting to fix missing definition/declaration --- .vscode/c_cpp_properties.json | 21 +++++++++++++++++++ .../NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c | 1 + .../NUTINY-SDK-NUC123-V2.0/USB_HID/main.c | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .vscode/c_cpp_properties.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..b9e9f5a0 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,21 @@ +{ + "configurations": [ + { + "name": "Win32", + "includePath": [ + "C:\\MinGW\\include" + ], + "defines": [ + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "windowsSdkVersion": "10.0.19041.0", + "compilerPath": "C:\\MinGW\\bin\\gcc.exe", + "cStandard": "c17", + "cppStandard": "c++17", + "intelliSenseMode": "windows-msvc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c index 93e86ecb..3b0e76fb 100644 --- a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c +++ b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c @@ -16,6 +16,7 @@ #include "hal.h" #include "shcfg.h" +#include "chtrace.h" const SerialConfig shell_serial_cfg = { diff --git a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c index 70791384..da975559 100644 --- a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c +++ b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c @@ -15,8 +15,8 @@ limitations under the License. */ #include "hal.h" - #include "usbcfg.h" +#include "chtrace.h" /* * Onboard LED blinker thread, times are in milliseconds.