Some USB test code fixes#775
Open
peterharperuk wants to merge 4 commits into
Open
Conversation
The latest version of freertos adds the following definition to every
tinyusb example
CFG_TUSB_OS=${TINYUSB_OPT_OS}
But due to cmake scoping rules and the inclusion of tinyusb in pico-sdk
TINYUSB_OPT_OS is unset when the definition is added.
Make sure it's defined to avoid lots of redefinition warnings.
For freertos examples, add the tinyusb freertos config folder to the
list of include directories.
Different freertos examples might have different requirements.
Override the tinyusb cmake function family_add_subdirectory to ignore any examples that won't build
2e15637 to
e2f5e2a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some fixes to make tinyusb build cleanly on master (tag: 0.21.0)
Note: We probably need some fixes to the repo - see https://github.com/peterharperuk/tinyusb/tree/rp2040_fixes