Commit Graph

12 Commits (4e1bc2d298defff58316cac9de00f0495b02c742)

Author SHA1 Message Date
Gergely Nagy 4815b97add Makefile: Add QMK_VERSION & co to OPT_DEFS (#408)
This adds the keyboard and keymap built, along with the QMK firmware's
git hash (or a timestamp), to OPT_DEFS. That, in turn, allows keymaps to
make use of these information, and do whatever they want with it. For
example, one could print them on `LEADER v` like this:

```c
SEQ_ONE_KEY (KC_V) {
  SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
}
```

This addresses #366.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
9 years ago
Jack Humbert 92759be322 change to relative paths instead of absolute 9 years ago
Jack Humbert d9e4dad0a8 Makefile redo & other features (#395)
* .build containment implemented

* no destructive variable setting - builds in either folder

* make from 3 places

* cleans before each build
* make from root with keyboard=keyboard, keymap=keymap
* make from keyboard/keyboard with keymap=keymap
* make from keymaps/keymap
* only implemented on planck

* adds color diag to avr-gcc

* makefiles for all plancks, clean-up

* quick build-all makefile for plancks

* reformatting of make output (colors)

* color toggle, tmk path corrections

* correct if statement for color

* move config.h to main makefile, updates preonic, atomic

* format update, all keyboards targets

* makefile optional for build all target, alps and arrow_pad updated

* alps updated

* make planck default, trying out travis recipe for all-keyboards

* all-keymaps target, different travis recipe

* updates alps64

* updates keyboards to new format

* updates clue* projects

* all projects updated, specialise EZ .hex, let .hex through

* updates travis

* automatically find root, keyboard, keymap

* silent echo, cleaned-up mass make output

* updates all keyboards' .hex files except EZ

* Rename Bantam44.c to bantam44.c

* Rename Bantam44.h to bantam44.h

* nananana

* adds six key keyboard

* does same to ez as rest

* updates send_string example

* brings ergodox_ez up to date

* updates template/new project script

* adds sixkeyboard

* adds readme for sixkeyboard

* adds sixkeyboard to travis

* filenames, gitignore mess

* define clock prescaler stuff manually

* make quick, size test example

* documentation and dfu-no-build
9 years ago
tmk 958875247c HHKB support. 14 years ago
tmk 479af4bdcd version 1.0. 14 years ago
tmk d3b1af9572 add mouse function. 14 years ago
tmk 1de02c1f15 add jump_bootloader. 14 years ago
tmk 7fd9003f59 divide usb_keyboard_debug.[c|h] into usb_device, usb_keyboard, usb_debug. 14 years ago
tmk 3b31337cd8 perform nomal keyboard behavior. It works now!!! 15 years ago
tmk 8cfb3712d5 matrix scan & default keymap 15 years ago
tmk 20711b59e7 change file name. 15 years ago
tmk ac3134ffeb add initial files from teensy's usb_keyboard_debug. 15 years ago