diff options
| author | Astrid Smith | 2011-10-28 21:44:42 -0700 |
|---|---|---|
| committer | Astrid Smith | 2011-10-28 21:44:48 -0700 |
| commit | daf966eaa629d59487b57f907b62f642995d829e (patch) | |
| tree | 34003f39525c01f44b3d556eafcba0a0c7ef91cd /Makefile | |
| parent | ad9adb3614e5cc0765bf75c43343e0d4a422c520 (diff) | |
Calibrator, version that works (kind of) with milliseconds
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -41,7 +41,7 @@ # Target file name (without extension). -TARGET = example +TARGET = calibrator # List C source files here. (C dependencies are automatically generated.) @@ -63,7 +63,7 @@ MCU = atmega32u4 # Teensy 2.0 # so your program will run at the correct speed. You should also set this # variable to same clock speed. The _delay_ms() macro uses this, and many # examples use this variable to calculate timings. Do not add a "UL" here. -F_CPU = 16000000 +F_CPU = 1000000 # Output format. (can be srec, ihex, binary) @@ -443,7 +443,8 @@ gccversion : # Program the device. program: $(TARGET).hex $(TARGET).eep - $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) +# $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) + teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex # Generate avr-gdb config/init file which does the following: |
