Changeset d604513 in avrstuff for grip2hid/makefile


Ignore:
Timestamp:
Oct 27, 2021, 5:31:45 PM (3 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
a0da9c8
Parents:
62f4d54
git-author:
Adrien Destugues <pulkomandy@…> (27/10/2021 17:29:44)
git-committer:
Adrien Destugues <pulkomandy@…> (27/10/2021 17:31:45)
Message:

Adjust software to the production PCB

  • Use the right MCU, port, etc.
  • Change USB IDs to V-USB shared one for USB Joysticks
  • Set vendor and product descriptions
  • Add makefile rule to program the AVR fuses
File:
1 edited

Legend:

Unmodified
Added
Removed
  • grip2hid/makefile

    r62f4d54 rd604513  
    1212# Run "make help" for target help.
    1313
    14 MCU          = at90usb1287
     14MCU          = at90usb162
    1515ARCH         = AVR8
    16 BOARD        = USBKEY
     16BOARD        =
    1717F_CPU        = 8000000
    1818F_USB        = $(F_CPU)
     
    4343include $(DMBS_PATH)/atprogram.mk
    4444
    45 PROG=avr109 -P /dev/ports/usb0
     45PROG=usbasp
    4646flash: $(TARGET).hex
    4747        avrdude -u -c $(PROG) -p $(MCU) -Uflash:w:$^
    4848
     49fuse:
     50        avrdude -u -c $(PROG) -p $(MCU) -U efuse:w:0xf4:m -U hfuse:w:0xd9:m -U lfuse:w:0x5e:m
Note: See TracChangeset for help on using the changeset viewer.