summaryrefslogtreecommitdiffstats
path: root/stepper_driver/estop/firmware/Makefile
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2020-01-04 19:56:40 +0100
committerMichael Buesch <m@bues.ch>2020-01-04 19:56:40 +0100
commit8b914f1fc763af4cf4d4f0a57e3a1d2182a8ac57 (patch)
tree9183c68734fcb9ae8a03f331d879e9acc34df1a4 /stepper_driver/estop/firmware/Makefile
parent0f87114b99d7d0940ce1a58fc7bc80072f537264 (diff)
downloadcnc-8b914f1fc763af4cf4d4f0a57e3a1d2182a8ac57.tar.xz
cnc-8b914f1fc763af4cf4d4f0a57e3a1d2182a8ac57.zip
estop: Change startup delay from 0ms to 64ms
Signed-off-by: Michael Buesch <m@bues.ch>
Diffstat (limited to 'stepper_driver/estop/firmware/Makefile')
-rw-r--r--stepper_driver/estop/firmware/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/stepper_driver/estop/firmware/Makefile b/stepper_driver/estop/firmware/Makefile
index 333c179..c81e703 100644
--- a/stepper_driver/estop/firmware/Makefile
+++ b/stepper_driver/estop/firmware/Makefile
@@ -5,7 +5,8 @@ AVRDUDE_SPEED ?= 1
PROGRAMMER ?= avrisp2
PROGPORT ?= usb
-LFUSE = 0x04
+# Fuses: Int. RC Osc 8 MHz; 64ms SUT; BOD 4V; WDT always-on
+LFUSE = 0x24
HFUSE = 0x99
@@ -14,8 +15,8 @@ HEX = $(NAME).S.hex
all: $(HEX)
-$(HEX): estop.S m8def.inc
- $(ASM) estop.S
+$(HEX): $(NAME).S m8def.inc
+ $(ASM) $(NAME).S
-srec_cat $(HEX) -Intel -Output $(NAME).S.bin -Binary
@echo
@echo "Successfully built the firmware"
bues.ch cgit interface