47,6 → 47,21 |
|
include $(MK_RULES_DIR)/mkEnv-gcc.mk |
|
#BOOTHOST = $(MK_ROOT)/BootHost/exe/BootHost.exe |
BOOTHOST = "c:/MyDocuments/Robotics/MyBots/Orion/BootHost/exe/BootHost.exe" --baud=38400 --port=ttyS0 |
STK500 = "c:/Program Files/Atmel/AVR Tools/STK500/STK500.exe" |
MK_avrdude = avrdude |
MK_avrdude_PORT ?= com1 |
MK_avrdude_PROG ?= ponyser |
MK_avrdude_CMD = $(Q)$(MK_avrdude) -P $(MK_avrdude_PORT) -c $(MK_avrdude_PROG) -p $(MK_AVR_MCU_LONG) -U flash:w:$<:a |
MK_avrdude_CMD_FUSE = $(Q)$(MK_avrdude) -P $(MK_avrdude_PORT) -c $(MK_avrdude_PROG) -p $(MK_AVR_MCU_LONG) -U efuse:w:0x$(word 1,$(MK_AVR_FUSES)):m -U hfuse:w:0x$(word 2,$(MK_AVR_FUSES)):m -U lfuse:w:0x$(word 3,$(MK_AVR_FUSES)):m |
|
MK_BootHost = $(MK_ROOT)/BootHost/BootHost.exe |
MK_BootHost_BAUD ?= 38400 |
MK_BootHost_PORT ?= ttyS0 |
MK_BootHost_OPTS ?= --baud=$(MK_BootHost_BAUD) --port=$(MK_BootHost_PORT) |
MK_BootHost_CMD = $(Q)$(MK_BootHost) $(MK_BootHost_OPTS) $< |
|
MK_stk500 = "c:/Program Files/Atmel/AVR Tools/stk500/stk500.exe" |
MK_stk500_PORT ?= USB |
MK_stk500_CMD = $(Q)$(MK_stk500) -c$(MK_stk500_PORT) -d$(MK_AVR_MCU_LONG) -e -if$< -pf |
MK_stk500_CMD_FUSE = $(Q)$(MK_stk500) -c$(MK_stk500_PORT) -d$(MK_AVR_MCU_LONG) -E$(word 1,$(MK_AVR_FUSES)) -f$(word 2,$(MK_AVR_FUSES))$(word 3,$(MK_AVR_FUSES)) |
|
|