usb_usb: Update for new core layout
This commit is contained in:
parent
7b42ccbe36
commit
3a5a865980
@ -38,12 +38,7 @@
|
|||||||
#if defined(__AVR__)
|
#if defined(__AVR__)
|
||||||
|
|
||||||
#include "avr/xprintf.h"
|
#include "avr/xprintf.h"
|
||||||
|
|
||||||
|
|
||||||
// TODO: avoid collision with arduino/Print.h
|
|
||||||
#ifndef __cplusplus
|
|
||||||
#define print(s) xputs(PSTR(s))
|
#define print(s) xputs(PSTR(s))
|
||||||
#endif
|
|
||||||
#define println(s) xputs(PSTR(s "\r\n"))
|
#define println(s) xputs(PSTR(s "\r\n"))
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -42,7 +42,7 @@ SRC += $(USB_HID_DIR)/override_Serial.cpp
|
|||||||
|
|
||||||
# replace arduino/wiring.c
|
# replace arduino/wiring.c
|
||||||
SRC += $(USB_HID_DIR)/override_wiring.c
|
SRC += $(USB_HID_DIR)/override_wiring.c
|
||||||
SRC += common/timer.c
|
SRC += common/avr/timer.c
|
||||||
|
|
||||||
SRC += $(USB_HOST_SHIELD_SRC)
|
SRC += $(USB_HOST_SHIELD_SRC)
|
||||||
SRC += $(ARDUINO_CORES_SRC)
|
SRC += $(ARDUINO_CORES_SRC)
|
||||||
|
Reference in New Issue
Block a user