diff options
Diffstat (limited to 'keyboard/planck')
86 files changed, 42422 insertions, 498 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile index c0c6201cba..0940d8f277 100644 --- a/keyboard/planck/Makefile +++ b/keyboard/planck/Makefile @@ -38,55 +38,6 @@ # To rebuild project do "make clean" then "make all". #---------------------------------------------------------------------------- -# Target file name (without extension). -TARGET = planck - -# Directory common source filess exist -TOP_DIR = ../.. -TMK_DIR = ../../tmk_core - -# Directory keyboard dependent files exist -TARGET_DIR = . - -# # project specific files -SRC = planck.c - -ifdef keymap - KEYMAP = $(keymap) -endif - -ifdef KEYMAP -ifneq ("$(wildcard keymaps/$(KEYMAP).c)","") - KEYMAP_FILE = keymaps/$(KEYMAP).c -else -ifneq ("$(wildcard keymaps/$(KEYMAP)/keymap.c)","") - KEYMAP_FILE = keymaps/$(KEYMAP)/keymap.c -ifneq ("$(wildcard keymaps/$(KEYMAP)/makefile.mk)","") - include keymaps/$(KEYMAP)/makefile.mk -endif -else -$(error Keymap file does not exist) -endif -endif - -else - -ifneq ("$(wildcard keymaps/default.c)","") - KEYMAP_FILE = keymaps/default.c -else - KEYMAP_FILE = keymaps/default/keymap.c -endif - -ifneq ("$(wildcard keymaps/default/makefile.mk)","") - include keymaps/default/makefile.mk -endif - -endif - -SRC := $(KEYMAP_FILE) $(SRC) - -CONFIG_H = config.h - # MCU name #MCU = at90usb1287 MCU = atmega32u4 @@ -139,44 +90,22 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 # change to "no" to disable the options, or define them in the makefile.mk in # the appropriate keymap folder that will get included automatically # -BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) -MOUSEKEY_ENABLE = yes # Mouse keys(+4700) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = no # Audio output on port C6 -UNICODE_ENABLE = no # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. +BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700) +EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450) +CONSOLE_ENABLE ?= no # Console for debug(+400) +COMMAND_ENABLE ?= yes # Commands for debug and configuration +NKRO_ENABLE ?= no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality +MIDI_ENABLE ?= no # MIDI controls +AUDIO_ENABLE ?= no # Audio output on port C6 +UNICODE_ENABLE ?= no # Unicode +BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID +RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend - -ifdef KEYMAP - -ifeq ("$(wildcard keymaps/$(KEYMAP).c)","") -ifneq ("$(wildcard keymaps/$(KEYMAP)/makefile.mk)","") - include keymaps/$(KEYMAP)/makefile.mk -endif -endif - -else - -ifneq ("$(wildcard keymaps/default/makefile.mk)","") - include keymaps/default/makefile.mk -endif - -endif - -# Optimize size but this may cause error "relocation truncated to fit" -#EXTRALDFLAGS = -Wl,--relax - -# Search Path -VPATH += $(TARGET_DIR) -VPATH += $(TOP_DIR) -VPATH += $(TMK_DIR) +SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend -include $(TOP_DIR)/quantum/quantum.mk
\ No newline at end of file +ifndef QUANTUM_DIR + include ../../Makefile +endif
\ No newline at end of file diff --git a/keyboard/planck/keymaps/alexey/Makefile b/keyboard/planck/keymaps/alexey/Makefile new file mode 100644 index 0000000000..4fbe3b6619 --- /dev/null +++ b/keyboard/planck/keymaps/alexey/Makefile @@ -0,0 +1,63 @@ +#---------------------------------------------------------------------------- +# On command line: +# +# make all = Make software. +# +# make clean = Clean out built project files. +# +# make coff = Convert ELF to AVR COFF. +# +# make extcoff = Convert ELF to AVR Extended COFF. +# +# make program = Download the hex file to the device. +# Please customize your programmer settings(PROGRAM_CMD) +# +# make teensy = Download the hex file to the device, using teensy_loader_cli. +# (must have teensy_loader_cli installed). +# +# make dfu = Download the hex file to the device, using dfu-programmer (must +# have dfu-programmer installed). +# +# make flip = Download the hex file to the device, using Atmel FLIP (must +# have Atmel FLIP installed). +# +# make dfu-ee = Download the eeprom file to the device, using dfu-programmer +# (must have dfu-programmer installed). +# +# make flip-ee = Download the eeprom file to the device, using Atmel FLIP +# (must have Atmel FLIP installed). +# +# make debug = Start either simulavr or avarice as specified for debugging, +# with avr-gdb or avr-insight as the front end for debugging. +# +# make filename.s = Just compile filename.c into the assembler code only. +# +# make filename.i = Create a preprocessed source file for use in submitting +# bug reports to the GCC project. +# +# To rebuild project do "make clean" then "make all". +#---------------------------------------------------------------------------- + +# Build Options +# change to "no" to disable the options, or define them in the makefile.mk in +# the appropriate keymap folder that will get included automatically +# +BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE = yes # Mouse keys(+4700) +EXTRAKEY_ENABLE = yes # Audio control and System control(+450) +CONSOLE_ENABLE = no # Console for debug(+400) +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +MIDI_ENABLE = no # MIDI controls +AUDIO_ENABLE = yes # Audio output on port C6 +UNICODE_ENABLE = no # Unicode +BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID +RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. + +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif
\ No newline at end of file diff --git a/keyboard/planck/keymaps/alexey/compiled.hex b/keyboard/planck/keymaps/alexey/compiled.hex new file mode 100644 index 0000000000..deddcea06a --- /dev/null +++ b/keyboard/planck/keymaps/alexey/compiled.hex @@ -0,0 +1,1444 @@ +:100000000C9461020C94A5020C94A5020C94A50218
+:100010000C94A5020C94A5020C94A5020C94A502C4
+:100020000C94A5020C94A5020C9452140C94241563
+:100030000C9486220C94A5020C94A5020C94A502A3
+:100040000C94A5020C9407030C94A5020C94A50231
+:100050000C94A5020C94EE220C94A5020C94A5021B
+:100060000C94A5020C94A5020C94A5020C94A50274
+:100070000C94A5020C94A5020C94A5020C94A50264
+:100080000C94C70A0C94A5020C94A5020C94A5022A
+:100090000C94A5020C94A5020C94A5020C94A50244
+:1000A0000C94A5020C94A5020C94A5029115B3150D
+:1000B000A116B315A116F8151B16A11670168316F6
+:1000C0006D196D199C199C19DB19FB19511B511BDA
+:1000D000061A511BB61AB61A1D1B261B511B4B1BA9
+:1000E000C31AC31AC31AC31AC31AC31AC31AC31A28
+:1000F000C31AC31AC31AC31AC31AC31AC31AC31A18
+:10010000D31AE11AE81AEF1AF91A07634236B79BB5
+:10011000D8A71A39685618AEBAAB558C1D3CB7CC67
+:100120005763BD6DEDFD753EF6177231BF000000DF
+:10013000803F08000000BE922449123EABAAAA2AC2
+:10014000BECDCCCC4C3E00000080BEABAAAAAA3EDD
+:1001500000000000BF000000803F00000000000819
+:100160004178D3BB4387D1133D190E3CC3BD4282B6
+:10017000AD2B3E68EC8276BED98FE1A93E4C80EF74
+:10018000FFBE01C4FF7F3F00000000000000000030
+:1001900000000000000000010204060A0F17202CD6
+:1001A0003A4A5D71879DB3C7DAE9F5FCFFFCF5E9D2
+:1001B000DAC7B39D87715D4A3A2C20170F0A0604EF
+:1001C0000201000000000000000000002B001400ED
+:1001D0001A000800150017001C0018000C0012007F
+:1001E00013002A00290004001600070009000A0075
+:1001F0000B000D000E000F003300015201001D0026
+:100200001B00060019000500110010003600370021
+:10021000380001000030E300E200E000E1002C00C3
+:100220002C0002522D00340028000100010049007A
+:100230004A0052004D004B000100400041004200C6
+:100240004300010001004C00500051004F004E00DF
+:1002500001003D003E003F0044000100010001009C
+:10026000010001000100010001003A003B003C00D8
+:100270004500010001000100010001000100010032
+:100280000100AA00A900AB00AE00010001001E029F
+:100290001F022F02300231024B00240025002600ED
+:1002A000250201000100200221022602270235005A
+:1002B0004E002100220023002E0201000100220234
+:1002C00023022F003000350224021E001F002000F0
+:1002D000310001000100010049000100010001009E
+:1002E00001000100010027002E0001002803540036
+:1002F00068006500200050006C0061006E00630023
+:100300006B0020004B006500790062006F00610007
+:100310007200640000002C034F007200740068003B
+:100320006F006C0069006E006500610072002000C3
+:100330004B006500790062006F006100720064008C
+:10034000730000000403090409026D00040100A009
+:10035000FA09040000010301010009211101000153
< |