Add ChibiOS support (USB stack + support files).
This commit is contained in:
parent
be9be90483
commit
27dec2db7b
16 changed files with 2245 additions and 5 deletions
|
|
@ -47,7 +47,15 @@ extern "C"
|
|||
/* function pointer of sendchar to be used by print utility */
|
||||
void print_set_sendchar(int8_t (*print_sendchar_func)(uint8_t));
|
||||
|
||||
#elif defined(__arm__)
|
||||
#elif defined(PROTOCOL_CHIBIOS) /* __AVR__ */
|
||||
|
||||
#include "chibios/printf.h"
|
||||
|
||||
#define print(s) printf(s)
|
||||
#define println(s) printf(s "\r\n")
|
||||
#define xprintf printf
|
||||
|
||||
#elif defined(__arm__) /* __AVR__ */
|
||||
|
||||
#include "mbed/xprintf.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue