Browse Source

Rename infinity_chibios to infinity60, and add readme

pull/693/head
Fred Sundvik 7 years ago
parent
commit
8ab9c5c55a
16 changed files with 37 additions and 9 deletions
  1. +0
    -0
      keyboards/infinity60/MEMO.txt
  2. +0
    -0
      keyboards/infinity60/Makefile
  3. +0
    -0
      keyboards/infinity60/bootloader_defs.h
  4. +0
    -0
      keyboards/infinity60/chconf.h
  5. +4
    -5
      keyboards/infinity60/config.h
  6. +0
    -0
      keyboards/infinity60/halconf.h
  7. +1
    -1
      keyboards/infinity60/infinity60.c
  8. +0
    -0
      keyboards/infinity60/infinity60.h
  9. +1
    -1
      keyboards/infinity60/keymaps/default/keymap.c
  10. +1
    -1
      keyboards/infinity60/keymaps/depariel/keymap.c
  11. +1
    -1
      keyboards/infinity60/keymaps/hasu/keymap.c
  12. +0
    -0
      keyboards/infinity60/led.c
  13. +0
    -0
      keyboards/infinity60/matrix.c
  14. +0
    -0
      keyboards/infinity60/mcuconf.h
  15. +29
    -0
      keyboards/infinity60/readme.md
  16. +0
    -0
      keyboards/infinity60/rules.mk

keyboards/infinity_chibios/MEMO.txt → keyboards/infinity60/MEMO.txt View File


keyboards/infinity_chibios/Makefile → keyboards/infinity60/Makefile View File


keyboards/infinity_chibios/bootloader_defs.h → keyboards/infinity60/bootloader_defs.h View File


keyboards/infinity_chibios/chconf.h → keyboards/infinity60/chconf.h View File


keyboards/infinity_chibios/config.h → keyboards/infinity60/config.h View File

@ -26,11 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DEVICE_VER 0x0001
/* in python2: list(u"whatever".encode('utf-16-le')) */
/* at most 32 characters or the ugly hack in usb_main.c borks */
#define MANUFACTURER "TMK"
#define USBSTR_MANUFACTURER 'T', '\x00', 'M', '\x00', 'K', '\x00', ' ', '\x00', '\xc6', '\x00'
#define PRODUCT "Infinity keyboard/TMK"
#define USBSTR_PRODUCT 'I', '\x00', 'n', '\x00', 'f', '\x00', 'i', '\x00', 'n', '\x00', 'i', '\x00', 't', '\x00', 'y', '\x00', ' ', '\x00', 'k', '\x00', 'e', '\x00', 'y', '\x00', 'b', '\x00', 'o', '\x00', 'a', '\x00', 'r', '\x00', 'd', '\x00', '/', '\x00', 'T', '\x00', 'M', '\x00', 'K', '\x00'
#define MANUFACTURER "Input Club"
#define USBSTR_MANUFACTURER 'I', '\x00', 'n', '\x00', 'p', '\x00', 'u', '\x00', 't', '\x00', ' ', '\x00', 'C', '\x00', 'l', '\x00', 'u', '\x00', 'b', '\x00'
#define PRODUCT "Infinity keyboard/QMK"
#define USBSTR_PRODUCT 'I', '\x00', 'n', '\x00', 'f', '\x00', 'i', '\x00', 'n', '\x00', 'i', '\x00', 't', '\x00', 'y', '\x00', ' ', '\x00', 'k', '\x00', 'e', '\x00', 'y', '\x00', 'b', '\x00', 'o', '\x00', 'a', '\x00', 'r', '\x00', 'd', '\x00', '/', '\x00', 'Q', '\x00', 'M', '\x00', 'K', '\x00'
/* key matrix size */
#define MATRIX_ROWS 9
#define MATRIX_COLS 7

keyboards/infinity_chibios/halconf.h → keyboards/infinity60/halconf.h View File


keyboards/infinity_chibios/infinity_chibios.c → keyboards/infinity60/infinity60.c View File

@ -14,4 +14,4 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "infinity_chibios.h"
#include "infinity60.h"

keyboards/infinity_chibios/infinity_chibios.h → keyboards/infinity60/infinity60.h View File


keyboards/infinity_chibios/keymaps/default/keymap.c → keyboards/infinity60/keymaps/default/keymap.c View File

@ -1,4 +1,4 @@
#include "infinity_chibios.h"
#include "infinity60.h"
const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Layer 0: Default Layer

keyboards/infinity_chibios/keymaps/depariel/keymap.c → keyboards/infinity60/keymaps/depariel/keymap.c View File

@ -1,4 +1,4 @@
#include "infinity_chibios.h"
#include "infinity60.h"
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Layer 0: Default Layer

keyboards/infinity_chibios/keymaps/hasu/keymap.c → keyboards/infinity60/keymaps/hasu/keymap.c View File

@ -1,4 +1,4 @@
#include "infinity_chibios.h"
#include "infinity60.h"
const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Layer 0: Default Layer

keyboards/infinity_chibios/led.c → keyboards/infinity60/led.c View File


keyboards/infinity_chibios/matrix.c → keyboards/infinity60/matrix.c View File


keyboards/infinity_chibios/mcuconf.h → keyboards/infinity60/mcuconf.h View File


+ 29
- 0
keyboards/infinity60/readme.md View File

@ -0,0 +1,29 @@
Infinity 60% keyboard firmware
======================
## Quantum MK Firmware
For the full Quantum feature list, see [the parent readme](/).
## Keymaps
Several versions of keymaps are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create a folder with the name of your keymap in the keymaps folder, and see keymap documentation (you can find in top readme.md) and existant keymap files.
Keymaps follow the format **__keymap.c__** and are stored in folders in the `keymaps` folder, eg `keymaps/my_keymap/`
## Compiling
Download or clone the whole firmware and navigate to the keyboards/infinity60 folder. Once your dev env is setup, you'll be able to use the `make` command to both compile your keymap and flash it to your keyboard.
To just compile, which generates the output files in the `.build` folder at the root of the repository, run `make keymap`, where keymap is the name of the keymap that you want to compile.
## Flashing
To flash the firmware to the keyboard
1. First press the flash button on the bottom of the keyboard. If you already have a flah button mapped in a keyboard layout running on the keyboard, you can also use that.
2. Then run `make keymap-dfu-util`, where keymap is the name of the keymap you want to flash. On Linux based operating systems you might need to run the comamnd as root, for example `sudo make keymap-dfu-util` on Ubuntu.
**Tip** `make keymap-dfu-util` will also compile the keymap if needed, so you can skip the compilation step if you want to.

keyboards/infinity_chibios/rules.mk → keyboards/infinity60/rules.mk View File


Loading…
Cancel
Save