X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fonekey%2FMakefile.vusb;h=0684066687a0481a5489de588ff4dabbfd7b477f;hb=e7d6d24c17ba103282bf8126011816fc3a0adac3;hp=1af3ebbdfb44932e9ecad72d0a4783d1a8c62175;hpb=4dc2fb5b312e37f26670011708653296df100d8c;p=max%2Ftmk_keyboard.git diff --git a/keyboard/onekey/Makefile.vusb b/keyboard/onekey/Makefile.vusb index 1af3ebbd..06840666 100644 --- a/keyboard/onekey/Makefile.vusb +++ b/keyboard/onekey/Makefile.vusb @@ -10,6 +10,7 @@ TARGET_DIR = . # keyboard dependent files SRC = keymap.c \ onekey.c \ + vusb_osccal.c \ led.c CONFIG_H = config.h @@ -27,7 +28,9 @@ MCU = attiny85 # so your program will run at the correct speed. You should also set this # variable to same clock speed. The _delay_ms() macro uses this, and many # examples use this variable to calculate timings. Do not add a "UL" here. -F_CPU = 12000000 +#F_CPU = 12000000 +# Xtal-less internal RC oscillator +F_CPU = 16500000 # Build Options @@ -47,7 +50,8 @@ OPT_DEFS += -DNO_ACTION_MACRO #---------------- Programming Options -------------------------- AVRDUDE = avrdude # Type: avrdude -c ? to get a full listing. -AVRDUDE_PROGRAMMER = usbasp +#AVRDUDE_PROGRAMMER = usbasp +AVRDUDE_PROGRAMMER = avrispmkii AVRDUDE_PORT = AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex #AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep