From 742939ac18248bec43c274c1e3e02b59d2dde476 Mon Sep 17 00:00:00 2001 From: Jerzy Kasenberg Date: Thu, 21 Dec 2023 13:14:16 +0100 Subject: [PATCH] tinyusb: Disable unused variable warning TinyUSB is not a part of mynewt-core and may occasionally has code that produces unsued-varialble warning that is escalated in mynewt to error. This disable warning that may cause builds to fail. --- hw/usb/tinyusb/tinyusb_sdk/pkg.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/usb/tinyusb/tinyusb_sdk/pkg.yml b/hw/usb/tinyusb/tinyusb_sdk/pkg.yml index 9c0e0d1fc9..44e0202fe7 100644 --- a/hw/usb/tinyusb/tinyusb_sdk/pkg.yml +++ b/hw/usb/tinyusb/tinyusb_sdk/pkg.yml @@ -29,6 +29,9 @@ pkg.type: sdk pkg.deps: - "@apache-mynewt-core/kernel/os" +pkg.cflags: + - -Wno-unused-variable + pkg.include_dirs: - "@tinyusb/src"