You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1KB

  1. # Copyright 2012 Olivier Gillet.
  2. #
  3. # This program is free software: you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation, either version 3 of the License, or
  6. # (at your option) any later version.
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. # GNU General Public License for more details.
  11. # You should have received a copy of the GNU General Public License
  12. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. VERSION = 0.1
  14. F_CPU = 32000000
  15. MCU_NAME = 32a4
  16. TARGET = edges_bootloader
  17. PACKAGES = avrlibx \
  18. avrlibx/io \
  19. avrlibx/system \
  20. avrlibx/utils \
  21. avrlibx/third_party/sp_driver \
  22. edges/bootloader
  23. EXTRA_LD_FLAGS = ,--section-start=.text=0x8000,--relax
  24. FUSE0 = 00
  25. FUSE1 = 00
  26. # bf enables the bootloader
  27. FUSE2 = bf
  28. FUSE4 = fe
  29. FUSE5 = f7
  30. LOCK = 3f
  31. include avrlibx/makefile.mk
  32. include $(DEP_FILE)