Revision 2c89d7e2 modules/PowerManagement_1-1/Makefile
modules/PowerManagement_1-1/Makefile | ||
---|---|---|
294 | 294 |
# End of user defines # |
295 | 295 |
################################################################################ |
296 | 296 |
|
297 |
################################################################################ |
|
298 |
# Start of targets section # |
|
299 |
# # |
|
297 | 300 |
|
301 |
# all and its dependencies |
|
302 |
BUILDDIR = ./build |
|
298 | 303 |
RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC |
299 | 304 |
include $(RULESPATH)/rules.mk |
300 | 305 |
|
301 |
include ../flash.mk |
|
306 |
# flash |
|
307 |
include $(AMIROOS)/bootloader/bootloader.mk |
|
308 |
FLASH_MODULES = $(PROJECT) |
|
309 |
FLASH_FILES = $(BUILDDIR)/$(PROJECT).$(FLASHTOOL_EXT) |
|
310 |
|
|
311 |
flash: $(FLASH_FILES) |
|
312 |
$(info ) |
|
313 |
ifeq ($(FLASHTOOL),SerialBoot) |
|
314 |
$(info Flashing ($(FLASHTOOL)):) |
|
315 |
$(FLASHTOOL_CMD) $(FLASHTOOL_ARGS) |
|
316 |
else |
|
317 |
$(info ERROR: unable to flash the module (SerialBoot unavailable)) |
|
318 |
endif |
|
319 |
|
|
320 |
# # |
|
321 |
# End of targets section # |
|
322 |
################################################################################ |
|
323 |
|
Also available in: Unified diff