Skip to content

Commit

Permalink
tinyusb: Disable unused variable warning
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kasjer committed Jan 4, 2024
1 parent ac9aff0 commit bdda7fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hw/usb/tinyusb/tinyusb_sdk/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ pkg.type: sdk
pkg.deps:
- "@apache-mynewt-core/kernel/os"

pkg.cflags:
- -Wno-unused-variable

pkg.include_dirs:
- "@tinyusb/src"

Expand Down

0 comments on commit bdda7fa

Please sign in to comment.