class EmbedUtils::Board::Micro

Public Instance Methods

avr_mcu() click to toggle source
# File lib/embed_utils/board.rb, line 72
def avr_mcu
  'm32u4'
end
avr_programmer() click to toggle source
# File lib/embed_utils/board.rb, line 76
def avr_programmer
  'avr109'
end
mcu() click to toggle source
# File lib/embed_utils/board.rb, line 56
def mcu
  :atmega32u4
end
predefines() click to toggle source
Calls superclass method EmbedUtils::Board::Base#predefines
# File lib/embed_utils/board.rb, line 64
def predefines
  super + %w[
    -DF_CPU=16000000L
    -DUSB_VID=0x2341
    -DUSB_PID=0x8037
  ]
end
upload_speed() click to toggle source
# File lib/embed_utils/board.rb, line 80
def upload_speed
  57600
end
variant() click to toggle source
# File lib/embed_utils/board.rb, line 60
def variant
  :micro
end