diff --git a/README.md b/README.md index e2e11e3..d3cde83 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,27 @@ # OAM Time Machine for Eurorack +## Install and Build + +Make sure to clone this repo recursively: + +``` +git clone --recurse-submodules https://github.com/oamodular/time-machine +``` + +You will also need some arm eabi packages, which you can get on a debian-ish system with: + +``` +sudo apt install gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib +``` + +Now finally to build: + +``` +(cd DaisyExamples/libDaisy && make) \ +&& (cd DaisyExamples/DaisySP && make) \ +&& (cd TimeMachine && make) +``` + ## Expanders Time Machine has methods for addings expaders. Via I2C pins or by sending/receiving Eurorack level signals to our 8-pin expander dealie. To be clear, these are **not currently used** by the firmware. diff --git a/TimeMachine/Makefile b/TimeMachine/Makefile index d2fa8f7..324125f 100644 --- a/TimeMachine/Makefile +++ b/TimeMachine/Makefile @@ -8,6 +8,8 @@ CPP_SOURCES = TimeMachine.cpp time_machine_hardware.cpp LIBDAISY_DIR = ../DaisyExamples/libDaisy/ DAISYSP_DIR = ../DaisyExamples/DaisySP/ +USE_DAISYSP_LGPL=1 + # Core location, and generic Makefile. SYSTEM_FILES_DIR = $(LIBDAISY_DIR)/core include $(SYSTEM_FILES_DIR)/Makefile