Update to TinyUSB 0.12.0 (#622)

Update kitchent_sink compilation test to include TinyUSB to catch warnings
Fix warnings in stdio_usb and stdio_semihosting caught by above
This commit is contained in:
Graham Sanderson
2021-10-25 08:33:42 -05:00
committed by GitHub
parent 22b0d5d2ed
commit 0ccd0db163
8 changed files with 16 additions and 13 deletions

View File

@ -18,7 +18,7 @@
// );
//}
static void __attribute__((naked)) semihosting_putc(const char *c) {
static void __attribute__((naked)) semihosting_putc(__unused const char *c) {
__asm (
"mov r1, r0\n"
@ -30,7 +30,7 @@ static void __attribute__((naked)) semihosting_putc(const char *c) {
static void stdio_semihosting_out_chars(const char *buf, int length) {
for (uint i = 0; i <length; i++) {
for (int i = 0; i < length; i++) {
semihosting_putc(&buf[i]);
}
}