Librador demo builds and runs on mac - untested (no hardware ATM)

This commit is contained in:
Chris Esposito 2019-01-30 18:58:02 +11:00
parent fd406399c5
commit 2e8fa2f4b8
2 changed files with 18 additions and 1 deletions

View File

@ -60,3 +60,20 @@ unix:!android:!macx {
DEFINES += \
PLATFORM_LINUX \
}
macx {
#libusb include
LIBS += -L../../../Desktop_Interface/build_mac/libusb/lib -lusb-1.0 ##I suspect the -L here does nothing!
INCLUDEPATH += ../../../Desktop_Interface/build_mac/libusb/include/libusb-1.0
DEPENDPATH += ../../../Desktop_Interface/build_mac/libusb/include/libusb-1.0
#libdfuprog include
LIBS += -L../../../Desktop_Interface/build_mac/libdfuprog/lib -ldfuprog-0.9
INCLUDEPATH += ../../../Desktop_Interface/build_mac/libdfuprog/include
DEPENDPATH += ../../../Desktop_Interface/build_mac/libdfuprog/include
#linux defines
DEFINES += \
PLATFORM_MAC \
}

View File

@ -8,7 +8,7 @@
int LIBRADORSHARED_EXPORT librador_init();
int LIBRADORSHARED_EXPORT librador_exit();
int LIBRADORSHARED_EXPORT librador_setup_usb();
//int LIBRADORSHARED_EXPORT librador_reset_usb();
int LIBRADORSHARED_EXPORT librador_reset_usb();
//Control
//a0
int LIBRADORSHARED_EXPORT librador_avr_debug();