Skip to content
Snippets Groups Projects
Commit c10397dd authored by Micah Elizabeth Scott's avatar Micah Elizabeth Scott
Browse files

Rename install target to be teensy-specific

parent 3da67d3d
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Environment setup # Environment setup
# Teensy loader tools (for 'make install') # Teensy loader tools (for 'make install')
TOOLSPATH = /Applications/Arduino.app/Contents/Resources/Java/hardware/tools TEENSY_TOOLSPATH = /Applications/Arduino.app/Contents/Resources/Java/hardware/tools
# toolchain # toolchain
CC = arm-none-eabi-gcc CC = arm-none-eabi-gcc
...@@ -70,9 +70,9 @@ $(TARGET).elf: $(OBJS) $(LDSCRIPT) ...@@ -70,9 +70,9 @@ $(TARGET).elf: $(OBJS) $(LDSCRIPT)
clean: clean:
rm -f *.d *.o $(TARGET).elf $(TARGET).hex rm -f *.d *.o $(TARGET).elf $(TARGET).hex
install: $(TARGET).hex install-teensy: $(TARGET).hex
$(abspath $(TOOLSPATH))/teensy_post_compile -file=$(TARGET) -path=$(shell pwd) -tools=$(abspath $(TOOLSPATH)) $(abspath $(TEENSY_TOOLSPATH))/teensy_post_compile -file=$(TARGET) -path=$(shell pwd) -tools=$(abspath $(TOOLSPATH))
python ../tools/usb-bootloader.py python ../tools/teensy-bootloader-mode.py
objdump: $(TARGET).elf objdump: $(TARGET).elf
$(OBJDUMP) -d $< $(OBJDUMP) -d $<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment