Add ChibiOS support (USB stack + support files).

This commit is contained in:
flabbergast 2015-09-07 21:57:04 +01:00
parent be9be90483
commit 27dec2db7b
16 changed files with 2245 additions and 5 deletions

View file

@ -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"