diff --git a/module/base/makefile b/module/base/makefile index 9f6bd7d..f16d164 100644 --- a/module/base/makefile +++ b/module/base/makefile @@ -164,7 +164,7 @@ define library_link_rule $(call show_message,Definiendo regla de enlazar $(LIB_DIR)/$1.a) PROJECT_LIB += $(LIB_DIR)/$1.a $(LIB_DIR)/$1.a: $$($2_OBJ) - $$(call show_action,Building $$(call short_path,$$<)) + $$(call show_action,Building $$(call short_path,$$@)) -@mkdir -p $$(@D) $$(QUIET) $$(AR) rcs $$@ $$^ endef diff --git a/module/base/soc/lpc43xx/makefile b/module/base/soc/lpc43xx/makefile index d1045e7..f0fff0d 100644 --- a/module/base/soc/lpc43xx/makefile +++ b/module/base/soc/lpc43xx/makefile @@ -26,7 +26,7 @@ CPU = cortex-m4f # Flash commandfor OpenOCD download target -FLASH_WRITER_COMMANDS = -c "init" -c "halt 0" -c "flash write_image erase $(TARGET_ELF)" -c "reset run" -c "shutdown" +FLASH_WRITER_COMMANDS = -c "program $(TARGET_ELF) verify reset exit" # Variable with LPC Open drivers module root foder LPC_OPEN := external/base/soc/$(SOC)/lpc_open diff --git a/module/base/soc/stm32f1xx/makefile b/module/base/soc/stm32f1xx/makefile index 7a4098e..bf3208e 100644 --- a/module/base/soc/stm32f1xx/makefile +++ b/module/base/soc/stm32f1xx/makefile @@ -26,7 +26,7 @@ CPU = cortex-m3 # Flash commandfor OpenOCD download target -FLASH_WRITER_COMMANDS = -c "init" -c "halt 0" -c "reset halt" -c "stm32f1x unlock 0" -c "reset halt" -c "flash write_image erase $(TARGET_ELF)" -c "reset halt" -c "reset run" -c "shutdown" +FLASH_WRITER_COMMANDS = -c "program $(TARGET_ELF) verify reset exit" # Variable with MCU drivers module root foder MCU_FOLDER := external/base/mcu/$(MCU)