Makefile.custom 538 B

123456789101112131415161718
  1. #
  2. # Makefile for "custom" platforms. Add your board here.
  3. #
  4. # * Copyright 2013-2015 by Bill Westfield. Part of Optiboot.
  5. # * This software is licensed under version 2 of the Gnu Public Licence.
  6. # * See optiboot.c for details.
  7. HELPTEXT += "target wildfire - Wicked Devices Wildfire v1 board\n"
  8. wildfire: TARGET = $@
  9. wildfire: CHIP = atmega1284p
  10. wildfire:
  11. "$(MAKE)" $(CHIP) AVR_FREQ=16000000L LED=B5
  12. mv $(PROGRAM)_$(CHIP).hex $(PROGRAM)_$(TARGET).hex
  13. ifndef PRODUCTION
  14. mv $(PROGRAM)_$(CHIP).lst $(PROGRAM)_$(TARGET).lst
  15. endif