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:
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user