From 37ce235594a0b19e20d9efa86142065d7f31b06f Mon Sep 17 00:00:00 2001 From: lucianom Date: Wed, 12 Jan 2022 14:30:30 +0000 Subject: [PATCH 1/2] Add dummy module_locks --- module_locks/README.rst | 7 +++++++ module_locks/module_build_info | 1 + 2 files changed, 8 insertions(+) create mode 100644 module_locks/README.rst create mode 100644 module_locks/module_build_info diff --git a/module_locks/README.rst b/module_locks/README.rst new file mode 100644 index 00000000..ecde319a --- /dev/null +++ b/module_locks/README.rst @@ -0,0 +1,7 @@ +module_locks Readme +=================== + +:scope: Dummy module +:description: Allows compiling legacy_tests in lib_xua with lib_locks. sc_i2c is used in the tests and it requires module_locks from sc_util, but the definitions in sc_utils conflict with the ones in lib_locks. +:keywords: dummy +:boards: XMOS Dev Kit diff --git a/module_locks/module_build_info b/module_locks/module_build_info new file mode 100644 index 00000000..d90ffd43 --- /dev/null +++ b/module_locks/module_build_info @@ -0,0 +1 @@ +# Dummy module used in legacy_tests. See README.rst for more details. From 418622c593c0c64abe10c8ddf10c3e49f0ef12c9 Mon Sep 17 00:00:00 2001 From: Angel Cascarino Date: Wed, 12 Jan 2022 14:49:00 +0000 Subject: [PATCH 2/2] Disable debug printing in hid.xc --- lib_xua/src/hid/hid.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_xua/src/hid/hid.xc b/lib_xua/src/hid/hid.xc index 015d94ec..e05d78f6 100644 --- a/lib_xua/src/hid/hid.xc +++ b/lib_xua/src/hid/hid.xc @@ -10,7 +10,7 @@ #include "xua_hid_report.h" #define DEBUG_UNIT HID_XC -#define DEBUG_PRINT_ENABLE_HID_XC 1 +#define DEBUG_PRINT_ENABLE_HID_XC 0 #include "debug_print.h" #if( 0 < HID_CONTROLS )