X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=usb%2FMakefile;h=eda683657c2573c8bc220cd4d2731ead58d699d2;hb=e13e7a5c6c0e66a82fc457de282f428fcef92445;hp=1074eb971dd7f57eaaa6a5665f58843264800a05;hpb=985bd34a1d699d8870cd4be9e170bcb80dadcf3a;p=home-hw.git diff --git a/usb/Makefile b/usb/Makefile index 1074eb9..eda6836 100644 --- a/usb/Makefile +++ b/usb/Makefile @@ -174,7 +174,7 @@ LDFLAGS = $(MCU) -specs=nano.specs -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BU all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin flash: all - LD_LIBRARY_PATH=../stlink ../stlink/st-flash write $(BUILD_DIR)/$(TARGET).bin 0x8000000 + ../bin/st-flash write $(BUILD_DIR)/$(TARGET).bin 0x8000000 ####################################### # build the application