diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e8dc37..15ca6c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,4 +9,6 @@ add_subdirectory(submodules/wch-ch56x-lib) add_subdirectory(hydradancer) - +if (DEFINED BUILD_LEGACY) +add_subdirectory(legacy) +endif() diff --git a/README.md b/README.md index 3220707..249bbe6 100644 --- a/README.md +++ b/README.md @@ -102,8 +102,8 @@ Previous results for Hydradancer used priming, which made it faster. The new ver There are two configurations for Hydradancer: -* the dual-HydraUSB3 : you will need the firmware compiled from `hydradancer/firmware_control_board` and `hydradancer/firmware_emulation_board`. * the Hydradancer dongle : only the firmware from `hydradancer/firmware_hydradancer` is needed. +* (unmaintained) the dual-HydraUSB3 : you will need the firmware compiled from `hydradancer/firmware_control_board` and `hydradancer/firmware_emulation_board`. To build and flash the firmware, see [the build tutorial](BUILD.md). If you don't want to build the firmwares yourself, you can skip the building part by using the [latest release](https://github.com/HydraDancer/hydradancer_fw/releases/latest). @@ -111,6 +111,8 @@ To build and flash the firmware, see [the build tutorial](BUILD.md). If you don' First, clone Facedancer. While we hope to merge the Hydradancer backend for Facedancer into the [main repository](https://github.com/greatscottgadgets/Facedancer) along with some bug fixes we may have found, the Hydradancer backend is currently in our fork. +For the unmaintained dual-HydraUSB3 firmware, you will need v1.0.0 of our Facedancer fork. + ```shell git clone https://github.com/HydraDancer/Facedancer ``` diff --git a/hydradancer/CMakeLists.txt b/hydradancer/CMakeLists.txt index aa87e97..c4a95d8 100644 --- a/hydradancer/CMakeLists.txt +++ b/hydradancer/CMakeLists.txt @@ -1,6 +1,3 @@ - -add_subdirectory(firmware_control_board) -add_subdirectory(firmware_emulation_board) add_subdirectory(firmware_hydradancer) if (DEFINED BUILD_TESTS) diff --git a/legacy/CMakeLists.txt b/legacy/CMakeLists.txt new file mode 100644 index 0000000..734bbf4 --- /dev/null +++ b/legacy/CMakeLists.txt @@ -0,0 +1,2 @@ +add_subdirectory(firmware_control_board) +add_subdirectory(firmware_emulation_board) diff --git a/hydradancer/firmware_control_board/.gitignore b/legacy/firmware_control_board/.gitignore similarity index 100% rename from hydradancer/firmware_control_board/.gitignore rename to legacy/firmware_control_board/.gitignore diff --git a/hydradancer/firmware_control_board/.ld b/legacy/firmware_control_board/.ld similarity index 100% rename from hydradancer/firmware_control_board/.ld rename to legacy/firmware_control_board/.ld diff --git a/hydradancer/firmware_control_board/CMakeLists.txt b/legacy/firmware_control_board/CMakeLists.txt similarity index 100% rename from hydradancer/firmware_control_board/CMakeLists.txt rename to legacy/firmware_control_board/CMakeLists.txt diff --git a/hydradancer/firmware_control_board/User/definitions.h b/legacy/firmware_control_board/User/definitions.h similarity index 100% rename from hydradancer/firmware_control_board/User/definitions.h rename to legacy/firmware_control_board/User/definitions.h diff --git a/hydradancer/firmware_control_board/User/main.c b/legacy/firmware_control_board/User/main.c similarity index 100% rename from hydradancer/firmware_control_board/User/main.c rename to legacy/firmware_control_board/User/main.c diff --git a/hydradancer/firmware_control_board/User/usb2_device_descriptors.h b/legacy/firmware_control_board/User/usb2_device_descriptors.h similarity index 100% rename from hydradancer/firmware_control_board/User/usb2_device_descriptors.h rename to legacy/firmware_control_board/User/usb2_device_descriptors.h diff --git a/hydradancer/firmware_control_board/User/usb3_device_descriptors.h b/legacy/firmware_control_board/User/usb3_device_descriptors.h similarity index 100% rename from hydradancer/firmware_control_board/User/usb3_device_descriptors.h rename to legacy/firmware_control_board/User/usb3_device_descriptors.h diff --git a/hydradancer/firmware_control_board/User/usb_device.h b/legacy/firmware_control_board/User/usb_device.h similarity index 100% rename from hydradancer/firmware_control_board/User/usb_device.h rename to legacy/firmware_control_board/User/usb_device.h diff --git a/hydradancer/firmware_control_board/User/usb_handlers.h b/legacy/firmware_control_board/User/usb_handlers.h similarity index 100% rename from hydradancer/firmware_control_board/User/usb_handlers.h rename to legacy/firmware_control_board/User/usb_handlers.h diff --git a/hydradancer/firmware_control_board/format.sh b/legacy/firmware_control_board/format.sh similarity index 100% rename from hydradancer/firmware_control_board/format.sh rename to legacy/firmware_control_board/format.sh diff --git a/hydradancer/firmware_emulation_board/.gitignore b/legacy/firmware_emulation_board/.gitignore similarity index 100% rename from hydradancer/firmware_emulation_board/.gitignore rename to legacy/firmware_emulation_board/.gitignore diff --git a/hydradancer/firmware_emulation_board/.ld b/legacy/firmware_emulation_board/.ld similarity index 100% rename from hydradancer/firmware_emulation_board/.ld rename to legacy/firmware_emulation_board/.ld diff --git a/hydradancer/firmware_emulation_board/CMakeLists.txt b/legacy/firmware_emulation_board/CMakeLists.txt similarity index 100% rename from hydradancer/firmware_emulation_board/CMakeLists.txt rename to legacy/firmware_emulation_board/CMakeLists.txt diff --git a/hydradancer/firmware_emulation_board/User/definitions.h b/legacy/firmware_emulation_board/User/definitions.h similarity index 100% rename from hydradancer/firmware_emulation_board/User/definitions.h rename to legacy/firmware_emulation_board/User/definitions.h diff --git a/hydradancer/firmware_emulation_board/User/main.c b/legacy/firmware_emulation_board/User/main.c similarity index 100% rename from hydradancer/firmware_emulation_board/User/main.c rename to legacy/firmware_emulation_board/User/main.c diff --git a/hydradancer/firmware_emulation_board/User/usb_device.h b/legacy/firmware_emulation_board/User/usb_device.h similarity index 100% rename from hydradancer/firmware_emulation_board/User/usb_device.h rename to legacy/firmware_emulation_board/User/usb_device.h diff --git a/hydradancer/firmware_emulation_board/User/usb_handlers.h b/legacy/firmware_emulation_board/User/usb_handlers.h similarity index 100% rename from hydradancer/firmware_emulation_board/User/usb_handlers.h rename to legacy/firmware_emulation_board/User/usb_handlers.h diff --git a/hydradancer/firmware_emulation_board/format.sh b/legacy/firmware_emulation_board/format.sh similarity index 100% rename from hydradancer/firmware_emulation_board/format.sh rename to legacy/firmware_emulation_board/format.sh