Skip to content

Commit

Permalink
Merge branch 'master' of github.com:qmk/qmk_firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed May 8, 2018
2 parents 63d5c94 + 466ee76 commit c6ea96a
Show file tree
Hide file tree
Showing 18 changed files with 29 additions and 251 deletions.
11 changes: 10 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="qmk.css">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" title="light">
<link rel="stylesheet" href="qmk.css" title="dark" disabled>
</head>
<body>
<div id="app"></div>
Expand All @@ -18,16 +19,24 @@
loadSidebar: true,
auto2top: true,
formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}',
search: {
paths: 'auto',
placeholder: 'Search Documentation...',
noData: 'We could not find any documents matching your search.',
depth: 6
}
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-c.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-cpp.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-json.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-makefile.min.js"></script>
<script>
// Register the offline cache worker
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions keyboards/atom47/config.h → keyboards/atom47/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef CONFIG_H
#define CONFIG_H
#ifndef REV1_CONFIG_H
#define REV1_CONFIG_H

#include "config_common.h"

Expand All @@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DEVICE_VER 0x0003
#define MANUFACTURER Vortex
#define PRODUCT Core
#define DESCRIPTION Atom47 PCB for the Vortex Core
#define DESCRIPTION Atom47 PCB for the Vortex Core Rev.1

/* key matrix size */
#define MATRIX_ROWS 4
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion keyboards/atom47/atom47.c → keyboards/atom47/rev1/rev1.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "atom47.h"
#include "rev1.h"
#include "led.h"

void matrix_init_kb(void) {
Expand Down
8 changes: 3 additions & 5 deletions keyboards/atom47/atom47.h → keyboards/atom47/rev1/rev1.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#ifndef ATOM47_H
#define ATOM47_H
#ifndef ATOM47_REV1_H
#define ATOM47_REV1_H

#include "quantum.h"

// readability
#define XXX KC_NO

#define KEYMAP_ANSI( \
#define LAYOUT_ansi( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1c, \
k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \
Expand All @@ -19,7 +19,5 @@
{k30, k31, k32, k33, XXX, k35, XXX, k37, XXX, k39, k3a, k3b, k3c} \
}

void matrix_init_user(void);
void matrix_scan_user(void);

#endif
2 changes: 2 additions & 0 deletions keyboards/atom47/rev1/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NKRO_ENABLE = no # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality (+4870)
31 changes: 0 additions & 31 deletions keyboards/atom47/rev2/atom47.c

This file was deleted.

25 changes: 0 additions & 25 deletions keyboards/atom47/rev2/atom47.h

This file was deleted.

6 changes: 3 additions & 3 deletions keyboards/atom47/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef CONFIG_H
#define CONFIG_H
#ifndef REV2_CONFIG_H
#define REV2_CONFIG_H

#include "config_common.h"

Expand All @@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DEVICE_VER 0x0003
#define MANUFACTURER Vortex
#define PRODUCT Core
#define DESCRIPTION Atom47 PCB for the Vortex Core
#define DESCRIPTION Atom47 PCB for the Vortex Core Rev.2

/* key matrix size */
#define MATRIX_ROWS 4
Expand Down
74 changes: 0 additions & 74 deletions keyboards/atom47/rev2/keymaps/LEdiodes/config.h

This file was deleted.

39 changes: 0 additions & 39 deletions keyboards/atom47/rev2/keymaps/default/keymap.c

This file was deleted.

1 change: 0 additions & 1 deletion keyboards/atom47/rev2/keymaps/default/readme.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "atom47.h"
#include "rev2.h"
#include "led.h"

void matrix_init_kb(void) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// readability
#define XXX KC_NO

#define KEYMAP_ANSI( \
#define LAYOUT_ansi( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1c, \
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2c, \
Expand Down
62 changes: 0 additions & 62 deletions keyboards/atom47/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,65 +1,3 @@
# MCU name
#MCU = at90usb1287
MCU = atmega32u4

# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
# processor frequency in Hz. You can then use this symbol in your source code to
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# This will be an integer division of F_USB below, as it is sourced by
# F_USB after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
F_CPU = 16000000


#
# LUFA specific
#
# Target architecture (see library "Board Types" documentation).
ARCH = AVR8

# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
# at the end, this will be done automatically to create a 32-bit value in your
# source code.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
F_USB = $(F_CPU)

# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT


# Boot Section Size in *bytes*
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
OPT_DEFS += -DBOOTLOADER_SIZE=4096


# Build Options
# comment out to disable the options.
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality (+4870)
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality (+1150)
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
9 changes: 5 additions & 4 deletions keyboards/atom47/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
OPT_DEFS += -DBOOTLOADER_SIZE=4096

# OPT_DEFS += -DBOOTLOADER_SIZE=4096
BOOTLOADER= qmk-dfu

# Build Options
# comment out to disable the options.
Expand All @@ -56,10 +56,11 @@ MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality (+4870)
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality (+1150)
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID

DEFAULT_FOLDER = atom47/rev2

0 comments on commit c6ea96a

Please sign in to comment.