From 975d27e73f5a174f339444b77a80d2c049e72b8f Mon Sep 17 00:00:00 2001 From: beemac Date: Sun, 23 May 2021 18:34:31 +0100 Subject: [PATCH 1/2] Update Makefile Update full name of objcopy. Update to work on Windows. Preprocessor wasn't running on assembler files despite extension being 'S'. Added switch to force preprocessor to run --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 057b5dd..7e80030 100644 --- a/Makefile +++ b/Makefile @@ -78,13 +78,13 @@ main.elf: \ $(CC) $(LDFLAGS) $(LIBSDIR) $^ $(LIBS) -o $@ arm-none-eabi-objcopy -O binary $@ TSDZ2_motor_controller_v2_firmware.bin - objcopy -O ihex $@ TSDZ2_motor_controller_v2_firmware.hex + arm-none-eabi-objcopy -O ihex $@ TSDZ2_motor_controller_v2_firmware.hex .c.o: $(CC) -c $(CCFLAGS) $< -o $@ .S.o: - $(CC) -c $(CCFLAGS) $< -o $@ + $(CC) -x assembler-with-cpp -c $(CCFLAGS) $< -o $@ clean: rm -f \ From f8bff3d0ab912402f17b7e46f2c6b156519b49d7 Mon Sep 17 00:00:00 2001 From: casainho Date: Sun, 6 Jun 2021 23:45:59 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 031b4b5..80e06bb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ This repository has technical documentation about TSDZ2 motor controller V2 as also our OpenSource firmware for it. +You can buy the [TSDZ2 motor controller V2 on Enerprof](https://enerprof.de/). + Forum messages: * [Discussion at Endless Sphere](https://endless-sphere.com/forums/viewtopic.php?f=30&t=111287) * [Discussion at Pedelecforum](https://www.pedelecforum.de/forum/index.php?threads/neue-tsdz2-controller-open-source.86546)