Introduce a Makefile for the OS_NONE device example

It currently supports the SAMD21 and SAMD51 only. More will be
added later.
This commit is contained in:
Scott Shawcroft
2018-11-24 10:55:51 -08:00
parent 3bb53273cd
commit bf70f89240
16 changed files with 548 additions and 19 deletions

View File

@@ -49,6 +49,9 @@
void print_greeting(void);
void led_blinking_task(void);
extern void virtual_com_task(void);
extern void usb_hid_task(void);
/*------------- MAIN -------------*/
int main(void)
{
@@ -64,12 +67,10 @@ int main(void)
led_blinking_task();
#if CFG_TUD_CDC
extern void virtual_com_task(void);
virtual_com_task();
#endif
#if CFG_TUD_HID
extern void usb_hid_task(void);
usb_hid_task();
#endif
}