diff --git a/firmware/framework/usb/inc/usb.h b/common_src/framework/usb/inc/usb.h similarity index 100% rename from firmware/framework/usb/inc/usb.h rename to common_src/framework/usb/inc/usb.h diff --git a/firmware/framework/usb/inc/usb_ch9.h b/common_src/framework/usb/inc/usb_ch9.h similarity index 100% rename from firmware/framework/usb/inc/usb_ch9.h rename to common_src/framework/usb/inc/usb_ch9.h diff --git a/firmware/framework/usb/inc/usb_common.h b/common_src/framework/usb/inc/usb_common.h similarity index 100% rename from firmware/framework/usb/inc/usb_common.h rename to common_src/framework/usb/inc/usb_common.h diff --git a/firmware/framework/usb/inc/usb_device.h b/common_src/framework/usb/inc/usb_device.h similarity index 100% rename from firmware/framework/usb/inc/usb_device.h rename to common_src/framework/usb/inc/usb_device.h diff --git a/firmware/framework/usb/inc/usb_device_hid.h b/common_src/framework/usb/inc/usb_device_hid.h similarity index 100% rename from firmware/framework/usb/inc/usb_device_hid.h rename to common_src/framework/usb/inc/usb_device_hid.h diff --git a/firmware/framework/usb/inc/usb_hal.h b/common_src/framework/usb/inc/usb_hal.h similarity index 100% rename from firmware/framework/usb/inc/usb_hal.h rename to common_src/framework/usb/inc/usb_hal.h diff --git a/firmware/framework/usb/inc/usb_hal_pic18.h b/common_src/framework/usb/inc/usb_hal_pic18.h similarity index 100% rename from firmware/framework/usb/inc/usb_hal_pic18.h rename to common_src/framework/usb/inc/usb_hal_pic18.h diff --git a/firmware/framework/usb/src/usb_device.c b/common_src/framework/usb/src/usb_device.c similarity index 100% rename from firmware/framework/usb/src/usb_device.c rename to common_src/framework/usb/src/usb_device.c diff --git a/firmware/framework/usb/src/usb_device_hid.c b/common_src/framework/usb/src/usb_device_hid.c similarity index 100% rename from firmware/framework/usb/src/usb_device_hid.c rename to common_src/framework/usb/src/usb_device_hid.c diff --git a/firmware/framework/usb/src/usb_device_local.h b/common_src/framework/usb/src/usb_device_local.h similarity index 100% rename from firmware/framework/usb/src/usb_device_local.h rename to common_src/framework/usb/src/usb_device_local.h diff --git a/firmware/clubdance_v2.X/nbproject/configurations.xml b/firmware/clubdance_v2.X/nbproject/configurations.xml index 3398c76..cfca5da 100644 --- a/firmware/clubdance_v2.X/nbproject/configurations.xml +++ b/firmware/clubdance_v2.X/nbproject/configurations.xml @@ -2,24 +2,24 @@ - ../../common_src/system.c - - - - - ../framework/usb/inc/usb.h - ../framework/usb/inc/usb_ch9.h - ../framework/usb/inc/usb_common.h - ../framework/usb/inc/usb_device.h - ../framework/usb/inc/usb_device_hid.h - ../framework/usb/inc/usb_hal.h - ../framework/usb/inc/usb_hal_pic18.h - - - ../framework/usb/src/usb_device.c - ../framework/usb/src/usb_device_hid.c + + + + ../../common_src/framework/usb/inc/usb.h + ../../common_src/framework/usb/inc/usb_ch9.h + ../../common_src/framework/usb/inc/usb_common.h + ../../common_src/framework/usb/inc/usb_device.h + ../../common_src/framework/usb/inc/usb_device_hid.h + ../../common_src/framework/usb/inc/usb_hal.h + ../../common_src/framework/usb/inc/usb_hal_pic18.h + + + ../../common_src/framework/usb/src/usb_device.c + ../../common_src/framework/usb/src/usb_device_hid.c + + ../../common_src/system.c - + @@ -124,7 +125,7 @@ - + @@ -273,7 +274,8 @@ - + @@ -296,8 +298,8 @@ - - + + diff --git a/firmware/src/main.c b/firmware/src/main.c index 7fb17d4..d9e8566 100644 --- a/firmware/src/main.c +++ b/firmware/src/main.c @@ -22,6 +22,8 @@ * @date 6 Aug 2019 * @brief USB interface to 6-sensor DDR pads. */ +#pragma warning disable 1510 + #include "usb.h" #include "padhal.h" #include "dancepad.h"