Advertisement
maniacbug

Untitled

Feb 22nd, 2012
250
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # added by SJK 02-18-2012
  2. # ATMega 1284p at 8MHz
  3. atmega1284_8: TARGET = atmega1284p_8MHz
  4. atmega1284_8: MCU_TARGET = atmega1284p
  5. atmega1284_8: CFLAGS += '-DLED_START_FLASHES=3' '-DBAUD_RATE=115200' '-DBIGBOOT'
  6. atmega1284_8: AVR_FREQ = 8000000L
  7. atmega1284_8: LDSECTIONS = -Wl,--section-start=.text=0x1fc00
  8. atmega1284_8: $(PROGRAM)_atmega1284p_8MHz.hex
  9. atmega1284_8: $(PROGRAM)_atmega1284p_8MHz.lst
  10.  
  11. atmega1284_8_isp: atmega1284_8
  12. atmega1284_8_isp: TARGET = atmega1284p_8MHz
  13. atmega1284_8_isp: MCU_TARGET = atmega1284p
  14. # 1024 byte boot
  15. atmega1284_8_isp: HFUSE = DE
  16. # Low power xtal (16MHz) 16KCK/14CK+65ms
  17. atmega1284_8_isp: LFUSE = FF
  18. # 2.7V brownout
  19. atmega1284_8_isp: EFUSE = FD
  20. atmega1284_8_isp: isp
  21.  
  22. ##############################################################
  23.  
  24. mighty_opt_8.name=SJK-Mighty 1284p 8MHz using Optiboot
  25. mighty_opt_8.upload.protocol=arduino
  26. mighty_opt_8.upload.maximum_size=130048
  27. mighty_opt_8.upload.speed=115200
  28. mighty_opt_8.bootloader.low_fuses=0xff
  29. mighty_opt_8.bootloader.high_fuses=0xde
  30. mighty_opt_8.bootloader.extended_fuses=0xfd
  31. mighty_opt_8.bootloader.path=optiboot
  32. mighty_opt_8.bootloader.file=optiboot_atmega1284p_8MHz.hex
  33. mighty_opt_8.bootloader.unlock_bits=0x3F
  34. mighty_opt_8.bootloader.lock_bits=0x0F
  35. mighty_opt_8.build.mcu=atmega1284p
  36. mighty_opt_8.build.f_cpu=8000000L
  37. #mighty_opt_8.build.core=arduino:arduino
  38. mighty_opt_8.build.core=standard
  39. mighty_opt_8.build.variant=standard
  40.  
  41. ##############################################################
Advertisement
RAW Paste Data Copied
Advertisement