Changeset 3fde1f7 in avrstuff for kbd/pcw2hid/bootloader/makefile


Ignore:
Timestamp:
Jan 3, 2024, 9:42:22 PM (5 months ago)
Author:
PulkoMandy <pulkomandy@…>
Branches:
main
Children:
02817db
Parents:
029735c
git-author:
PulkoMandy <pulkomandy@…> (06/08/2023 17:14:23)
git-committer:
PulkoMandy <pulkomandy@…> (03/01/2024 21:42:22)
Message:

pcw2hid: Fixup programming instructions

Use a very slow SCK clock for loading up the fuses
Use a somewhat slow clock for loading up the bootloader

This allows to get both of them loaded reliably.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kbd/pcw2hid/bootloader/makefile

    r029735c r3fde1f7  
    2020TARGET       = BootloaderDFU
    2121SRC          = $(TARGET).c Descriptors.c BootloaderAPI.c BootloaderAPITable.S $(LUFA_SRC_USB)
    22 LUFA_PATH    = ../../LUFA
     22LUFA_PATH    =  ../code/lufa-LUFA-210130/LUFA
    2323CC_FLAGS     = -DUSE_LUFA_CONFIG_HEADER -IConfig/ -DBOOT_START_ADDR=$(BOOT_START_OFFSET)
    2424LD_FLAGS     = -Wl,--section-start=.text=$(BOOT_START_OFFSET) $(BOOT_API_LD_FLAGS)
    2525LTO          = Y
    2626
    27 AVRDUDE_PROGRAMMER=stk500
     27AVRDUDE_PROGRAMMER=stk500 -B20
    2828AVRDUDE_PORT=/dev/ports/usb0
    2929
Note: See TracChangeset for help on using the changeset viewer.