Fred Sundvik
9d8279960d
Make it easier to use drivers
2017-07-10 09:01:59 -04:00
Fred Sundvik
4da3b19603
Shared default animations
2017-07-10 09:01:59 -04:00
Fred Sundvik
2251560256
Clarify naming between LCD_BACKLIGHT and LED_BACKLIGHT
2017-07-10 09:01:59 -04:00
Fred Sundvik
f3c113fb5a
Shared gfxconf
2017-07-10 09:01:59 -04:00
Fred Sundvik
8a962f7b27
Define visualizer thread priority by default
2017-07-10 09:01:59 -04:00
Fred Sundvik
011ee29441
Fixup mixed tabs/spaces
2017-07-10 09:01:59 -04:00
Fred Sundvik
630f065376
Remove ergodox from gdisp driver names
2017-07-10 09:01:59 -04:00
Fred Sundvik
aca0f4dcae
Move GDISP drivers to /drivers/ugfx
2017-07-10 09:01:59 -04:00
Fred Sundvik
1ff5fb000f
Fix Makefile error_occured output for unit tests
2017-07-10 09:00:58 -04:00
Fred Sundvik
ba405cfbb4
Don't search for TEENSY_LOADER_CLI if it's already defined
2017-07-10 09:00:18 -04:00
Fred Sundvik
7ea8753b72
Don't run dfu-programmer unless specified as a target
...
This introduces a grep dependency, which I believe we didn't have
before, but it should be available and installed by default on all the
supported systems.
2017-07-10 09:00:18 -04:00
Fred Sundvik
9158673166
Reference issue #1478 from the unit tests
2017-07-08 21:59:51 -04:00
Fred Sundvik
b3af79eaff
Reference issue #1477 from the unit tests
2017-07-08 21:59:51 -04:00
Fred Sundvik
41efcd6d73
Reference issue #524 from the unit tests
2017-07-08 21:59:51 -04:00
Fred Sundvik
60b1880a62
Reference issue #1476 from the unit tests
2017-07-08 21:59:51 -04:00
Fred Sundvik
67f722c9c8
Configure vscode file associations, use hpp instead of h
2017-07-08 21:59:51 -04:00
Fred Sundvik
631c09e976
Fix keymap formatting
2017-07-08 21:59:51 -04:00
Fred Sundvik
e5780a6dc6
Add tests for macros
2017-07-08 21:59:51 -04:00
Fred Sundvik
4087d6da0d
Add wait support for tests
2017-07-08 21:59:51 -04:00
Fred Sundvik
fc4bfbe580
Rename tests to start with test_
2017-07-08 21:59:51 -04:00
Fred Sundvik
4e69a8bda6
Add basic timing support, and SFT_T tests
...
Also expose some bugs...
2017-07-08 21:59:51 -04:00
Fred Sundvik
a62f449659
Add test for a combo key
2017-07-08 21:59:51 -04:00
Fred Sundvik
cae7a9c3ec
Add simple modifier test
2017-07-08 21:59:51 -04:00
Fred Sundvik
1985f43bad
Improve the tests a bit
2017-07-08 21:59:51 -04:00
Fred Sundvik
72c8df1f19
A bigger test matrix, and test for unmapped keys
2017-07-08 21:59:51 -04:00
Fred Sundvik
1e4cc36e14
Rename test.cpp to keypress.cpp
2017-07-08 21:59:51 -04:00
Fred Sundvik
0256cd8cca
Build all cpp files in test directories
2017-07-08 21:59:51 -04:00
Fred Sundvik
7d79962785
Move test keymap to keymap.c
2017-07-08 21:59:51 -04:00
Fred Sundvik
448b91689f
Exclude .build and .hex from Visual Studio code
2017-07-08 21:59:51 -04:00
Fred Sundvik
1e6a3f9e17
Change M_2_PI to 2 * PI as it should be
2017-06-25 12:55:18 +03:00
Fred Sundvik
dcf9fa1aaa
Update the ugfx submodule
2017-06-24 00:37:27 +03:00
Fred Sundvik
f912c74fe7
Change inline to static inline
2017-06-24 00:34:16 +03:00
Fred Sundvik
574ca7f59c
Delete emulator drivers
2017-06-24 00:34:16 +03:00
Fred Sundvik
da19852964
Add function for getting the LCD backlight brightness
2017-06-24 00:34:16 +03:00
Fred Sundvik
ff49259a1a
Include config.h from visualizer.h
2017-06-24 00:34:16 +03:00
Fred Sundvik
b0094e631e
Change remote url of uGFX to relative path
2017-06-24 00:34:16 +03:00
Fred Sundvik
6c9b4743f7
Include config.h before visualizer.h
2017-06-24 00:33:23 +03:00
Fred Sundvik
1aa0be4cf1
Fix serial_link vpath problem
2017-06-19 00:46:53 +03:00
Fred Sundvik
0f163c0028
Add todo to timer.c
2017-06-19 00:24:32 +03:00
Fred Sundvik
fb9b8dadb9
Add a couple of todos to keyboard_report_util.cpp
...
Also print the modifier state
2017-06-19 00:22:12 +03:00
Fred Sundvik
43d8fa5bf1
More natural interface for setting keyboard leds
2017-06-19 00:19:09 +03:00
Fred Sundvik
36f820be7e
Add a test fixture
...
It only initializes QMK once, and clears the matrix after each test.
2017-06-18 23:49:38 +03:00
Fred Sundvik
e85b185796
Test two keys pressed at once
2017-06-18 21:22:22 +03:00
Fred Sundvik
6a76192fa4
Fix problems with undefined inlines in debug mode
2017-06-18 21:22:22 +03:00
Fred Sundvik
bd1729d5be
Actually test for correct key presses
2017-06-18 21:22:22 +03:00
Fred Sundvik
fb95d86b39
Move functions for adding keys from to reports to report.h
2017-06-18 21:22:22 +03:00
Fred Sundvik
017458a07b
Move functionality from action_util to report
...
The functions also takes report_kebyoard_t parameters, so that they can
be used elsewhere.
2017-06-18 21:22:22 +03:00
Fred Sundvik
c38589d861
Fix the order of init and driver creation
2017-06-18 21:22:22 +03:00
Fred Sundvik
3bb0586acc
Add a couple of basic tests and implement driver mock
2017-06-18 21:22:22 +03:00
Fred Sundvik
617578399c
Add keymap
2017-06-18 21:22:22 +03:00
Fred Sundvik
c588fca06c
Empty bootloader_jump
2017-06-18 21:22:22 +03:00
Fred Sundvik
a72e8f0865
Dummy test matrix implementation
2017-06-18 21:22:22 +03:00
Fred Sundvik
1c0fe956ac
Split common.mk into common.mk and common_features.mk
...
To support including keyboard/keymap specific rules before it
2017-06-18 21:22:22 +03:00
Fred Sundvik
d29906cb64
Emulate eeprom
2017-06-18 21:10:42 +03:00
Fred Sundvik
f646f00b93
Rename native to test
2017-06-18 21:10:42 +03:00
Fred Sundvik
83509adc3a
Add empty timer functions
2017-06-18 21:10:42 +03:00
Fred Sundvik
26eb97a4a8
Empty implementation of bootloader, suspend and timer
2017-06-18 21:10:42 +03:00
Fred Sundvik
fdfd48e8c8
Fix program mem functionality
2017-06-18 21:10:42 +03:00
Fred Sundvik
efaf0e830b
Empty implementation of wait
2017-06-18 21:10:42 +03:00
Fred Sundvik
585d646128
Define MATRIX_COLS and MATRIX_ROWS
2017-06-18 21:10:42 +03:00
Fred Sundvik
8674f9c466
Make sure config.h is included
2017-06-18 21:10:42 +03:00
Fred Sundvik
7424261dae
Try to build tmk_common
2017-06-18 21:10:42 +03:00
Fred Sundvik
30f22d450d
Add basic infrastrucure for building full tests
2017-06-18 21:08:23 +03:00
Fred Sundvik
45d437ca04
Make only modified keymaps
2017-06-18 18:30:59 +03:00
Fred Sundvik
2fd670bec0
Add missing include to Ergodox Belak keymap
2017-06-18 17:07:20 +03:00
Fred Sundvik
6ba22b5f5e
Don't define RGBLED_NUM in let-split khord keymap
...
It's already defined correctly by the parent keyboard project, and was
causing problems for rev1, where the pin is different.
2017-06-18 17:03:07 +03:00
Fred Sundvik
a15510b57b
Always build everything on master
2017-06-18 17:03:05 +03:00
Fred Sundvik
5acc0e54aa
Make all subprojects when a keymap is modified
2017-06-18 16:44:51 +03:00
Fred Sundvik
086aad0d7e
Make sure backlight is in the range 0-100
2017-06-16 02:06:30 +03:00
Fred Sundvik
ec88a0b3cc
Make sure that the backlight level is within the right range
2017-06-16 02:05:38 +03:00
Fred Sundvik
7d5606085f
Correctly calculate backlight level
2017-06-16 02:05:15 +03:00
Fred Sundvik
19f0285a76
Fix typo in BACKLIGHT_ENABLE
2017-06-15 23:21:01 +03:00
fredizzimo
3aa620c1ac
Update uGFX and Chibios submodules + fixes ( #1363 )
...
* Make submodules point to qmk
* Update uGFX to 2.7
* Use ugfx with custom fixes
* Fix the ChibiOs submodule commit hash
To match the hashes in the mabl/ChibiOS and therefore QMK repository.
2017-06-13 21:13:39 -07:00
Fred Sundvik
b51a0db6ed
Add backlight support to the default Ergodox Infinity animations
2017-06-03 22:04:10 +03:00
Fred Sundvik
2a7f9a7e46
Add backlight control to the IS31FL3731 driver
2017-06-03 21:30:52 +03:00
Fred Sundvik
effffa33a5
Backlight level handling for the visualizer
2017-06-03 21:14:26 +03:00
Fred Sundvik
0f9bfafb9e
Turn off LED matrix by default
2017-06-03 15:31:02 +03:00
Fred Sundvik
a916f4e8b8
Let BACKLIGHT_ENABLE control the Infinity LEDs
2017-06-03 14:34:50 +03:00
Fred Sundvik
78aebe0631
Update windows 10 instructions
2017-05-28 22:35:45 +03:00
Fred Sundvik
999b35c7f8
Create a symlink to qmk if requested
2017-05-28 21:38:14 +03:00
Fred Sundvik
ec720ac1ea
Add activate_wsl to .bashrc
2017-05-28 21:30:55 +03:00
Fred Sundvik
fa4a492677
Fix symlink creation
2017-05-28 21:30:55 +03:00
Fred Sundvik
3e4f2f5590
Use unzip instead of 7zip
2017-05-28 21:30:55 +03:00
Fred Sundvik
3d3999d863
Actually install flip instead of just extracting
2017-05-28 21:30:55 +03:00
Fred Sundvik
b8899b48b4
Make symlink to utils and export programmer variables
2017-05-28 21:30:55 +03:00
Fred Sundvik
9c582fc797
Add install dependencies
2017-05-28 21:30:55 +03:00
Fred Sundvik
477bd4b948
Add prompt for re-downloading the utils
2017-05-28 21:30:55 +03:00
Fred Sundvik
c2096bb515
Add driver installation
2017-05-28 21:30:55 +03:00
Fred Sundvik
aa26464480
Add checks for cloning to the right dir
2017-05-28 21:30:55 +03:00
Fred Sundvik
28a4e90565
Download windows flashing utils and driver_installer
2017-05-28 21:30:55 +03:00
Fred Sundvik
623b1cd866
Fix line endings in FAQ.md
2017-05-28 12:28:02 +03:00
Fred Sundvik
18b4d24cc3
Add possibility to override the command to execute when flashing
2017-04-29 23:45:27 +03:00
Fred Sundvik
430a8e1750
Fix LCD SS pin configuration
...
There was a typo, so the attempted configuration proably didn't do
what it should have done. I think it left the pin floating, and
could cause the LCD problems issue-1230.
2017-04-19 07:59:39 +03:00
Fred Sundvik
94b14bdd6a
Add missing serial_link.h include
...
Which fixes a warning when building Ergodox Infinity as a righthand
master.
2017-04-13 23:00:27 +03:00
Fred Sundvik
5c251b5575
Fix buffer overrun in lcd_keyframes
...
This would often cause the keyboard to crash when restarting the
computer.
2017-04-13 21:40:06 +03:00
Fred Sundvik
d68294615f
Add make option for allowing warnings
2017-04-13 16:12:55 +03:00
Fred Sundvik
d8e2ff2964
Fix process_unicode_common.c being included twice
2017-04-13 16:03:01 +03:00
Fred Sundvik
07fc34e962
Fix warnings when ACTION_ONESHOT is disabled
2017-04-13 16:00:29 +03:00
Fred Sundvik
abda6ff7bb
Include host.h from suspend.c
2017-04-13 16:00:29 +03:00
Fred Sundvik
08b9eb26c5
Fix warnings in CMD-Preonic
...
The startup_sound is defined using MUSICAL_NOTEs, since non-constant
initializer expressions are not allowed in C.
2017-04-13 16:00:29 +03:00