forked from hathach/tinyusb
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge pull request hathach#1975 from hathach/update-doc #2
Merged
Conversation
This file contains 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
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
link was chosen according to the name for the usb core on datasheets, LINK core Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
create local register access struct and move mcu specific code in preparation of support for other mcu families that use the LINK usb core Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
this allows ports to specify a freertos port outside the FreeRTOS-Kernel lib directory, which would otherwise not be possible Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
Co-authored-by: Koji KITAYAMA <45088311+kkitayam@users.noreply.github.com>
druing the renaming int and iso endpoint configurations were swapped Co-authored-by: Koji KITAYAMA <45088311+kkitayam@users.noreply.github.com>
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
strings.h is not an ISO header file, so IAR generates fatal error Pe1696 'cannot open source file "strings.h"'. Even though strncasecmp isn't an ISO C library function, IAR's runtime library defines it, though it declares it in string.h instead.
IAR generates error Pe118 'a void function may not return a value'.
Some compilers don't support the GNU extension `typeof` so their definitions of `hw_set_alias` can't inherit their type from their argument, and the best we can do is have `hw_set_alias` act the same as `hw_set_alias_untyped`. This requires an explicit cast when the macro is used instead, otherwise IAR generates error Pe132 'expression must have pointer-to-struct-or-union type but it has type "void *"'. The same goes for `hw_clear_alias`.
This is a GCC extension, illegal in ISO C. IAR generates errors Pa152 'these operand types cannot be used here' and Pe852 'expression must be a pointer to a complete object type'. Replace with uint8_t*.
IAR generates warning Pe111 'statement is unreachable'. In a couple of cases, replace return statements with TU_ATTR_FALLTHROUGH; because some compilers apparently can't figure out that the return statements are unreachable but do whinge about an imagined fall-through without them!
IAR generates warning Pe188 'enumerated type mixed with another type'.
IAR generates warning Pa089 'enumerated type mixed with another enumerated type'.
This affects struct rspMsg in usbtmc_app.c (unconditionally) and uint8_t termChar in usbtmc_device.c (when NDEBUG is defined). IAR generates warning Pe550 'variable was set but never used'.
IAR generates warning Pe546 'transfer of control bypasses initialization of variable "invInvTag"'.
IAR generates warning Pa167 'the "fallthrough" attribute is not supported'. It doesn't generate warnings when one switch case falls through to another, so simply make TU_ATTR_FALLTHROUGH expand to an empty string. Also replace one instance of __attribute__ with the macro.
IAR generates warning Pe161 'unrecognized #pragma'.
Update bsp
more compatible with IAR
add tuh_set_interface
UAC2: fix feedback EP buffer alignment.
…rted. - previously CFG_TUH_HID is max number of interfaces per device which is rather limited and consume more resources than needed. - change hid host instance in API to index
…ew tuh_itf_info_t
Refactor hid host
rename and change default pio usb pin to adafruit feather usb host
update doc and generate deps list
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.
Describe the PR
A clear and concise description of what this PR solve.
Additional context
If applicable, add any other context about the PR and/or screenshots here.