Archived
1
0
Commit Graph

344 Commits

Author SHA1 Message Date
Jacob Alexander
98f796d4df Adding timing based debounce code
- Uses expiry timer to decide on when to allow a state change
- Initial state transitions are unaffected
- Use MinDebounceTime define in kll to configure
- ms granularity
2015-06-19 01:57:16 -07:00
Jacob Alexander
f708ce720c Pre-merge cleanup. 2015-06-14 14:33:40 -07:00
Jacob Alexander
5f262ea4b6 Code cleanup
- Changing header file ifndef define to pragma once's
- Removed duplicate output_com.h's
2015-06-14 14:33:40 -07:00
Jacob Alexander
03f60df94d mk20dx256vlh7 working!
- Interrupt vector table position fix (affected everything in the firmware)
- Added fault debug messages
- Fixed usbMuxUart
2015-06-14 14:33:40 -07:00
Jacob Alexander
e708a42d80 Adding missing debug header. 2015-06-14 14:33:40 -07:00
Jacob Alexander
a459263b5f Adding Chip configuration to CMake 2015-06-14 14:33:40 -07:00
Jacob Alexander
d211790124 Working mk20dx256vlh7 usb flash support 2015-06-14 14:33:40 -07:00
Jacob Alexander
b9fa9c8672 Fixing bugs in mk20dx128vlf5 support 2015-06-14 14:33:40 -07:00
Jacob Alexander
02b919a4cb Basic code for mk20dx256vlh7 flashing 2015-06-14 14:33:40 -07:00
Jacob Alexander
1acbc97e98 Adding initial dfu-upload code and debugging for Bootloader. 2015-06-14 14:33:39 -07:00
Jacob Alexander
26b0a7e10d Adding 72 MHz clock support for mk20dx256vlh7 2015-06-14 14:33:39 -07:00
Jacob Alexander
a6657c8aed Adding example logo to the lcdtest and bmp conversion script. 2015-06-14 14:33:39 -07:00
Jacob Alexander
8942ab63d5 Initial STLcd code.
- Basic screen initialization and clear is working
- Currently SPI is set to a low speed for easy logic analyzer debugging
2015-06-14 14:33:39 -07:00
Jacob Alexander
e41444304b Some initial bringup of the dfu bootloader on the mk20dx256vlh7 2015-06-14 14:33:39 -07:00
Jacob Alexander
46fc3e596b Merge pull request #48 from mattventura/master
Avoid putting blank entries in history, allow linefeed for enter
2015-06-12 18:33:23 -07:00
Jacob Alexander
622ea5d85f Merge pull request #27 from smasher816/wakeup-devel
Inital Remote Wakeup Support
2015-06-12 18:31:55 -07:00
Matt Ventura
63ed7516b4 Avoid putting blank entries in history, allow linefeed for enter 2015-06-04 17:42:58 -07:00
Jacob Alexander
c21439cb48 Fixing none parameter. 2015-05-13 21:58:43 -07:00
Jacob Alexander
bea1fbd88a Adding .kll file existence checks to CMake 2015-05-09 20:36:37 +00:00
Jacob Alexander
af4078ae9f Fixing kll depends bug in cmake. 2015-05-07 10:17:58 +00:00
Jacob Alexander
fd25312f4f Adding None capability.
- Required for 0.3b update of the KLL compiler.
2015-05-02 14:29:27 -07:00
Jacob Alexander
1db716ce53 Code cleanup from cli changes. 2015-04-07 22:11:04 -07:00
Jacob Alexander
5523988d04 Merge pull request #33 from smasher816/devel
Add CLI History
2015-04-02 23:55:51 -07:00
Rowan Decker
add8b3e90c Cleanup CLI history
Add all the spaces :)
2015-04-02 23:53:19 -07:00
Jacob Alexander
5d9fc0e9b2 Merge pull request #32 from smasher816/master
Add Clear CLI function
2015-04-02 19:07:21 -07:00
Rowan Decker
ad9a081e8b Add CLI History
Use the arrow keys to navigate between the last N commands, similar to
most shells.
2015-04-02 00:19:09 -07:00
Rowan Decker
a3d854fde3 Add Clear CLI function
Sometimes it would be nice to clear the screen if it has a lot of
information (ex: when in debug information). Some terminals support ^L
to clear screen, but not all (iTerm2 on my mac does not), so I think
this is worthwhile to add.

Edit: Forgot cli.h
2015-04-01 23:42:38 -07:00
Jacob Alexander
1acc89e2bd Initial LED support for ISSI IS31FL3731C
- Not ready for advanced support yet
- Basic register and page writing support complete
2015-03-21 17:12:41 -07:00
Jacob Alexander
863d853698 Fixing bugs in mk20dx256vlh7 Bootloader support. 2015-03-20 19:54:23 -07:00
Jacob Alexander
a6edcce5f9 Updating the README to be of a more reasonable length. 2015-03-15 21:37:57 -07:00
Jacob Alexander
337eaa16f2 Adding convenience compiler scripts.
TODO:
 - Add Windows Cygwin support
2015-03-15 21:02:49 -07:00
Jacob Alexander
96e785b571 Merge branch 'master' of https://github.com/smasher816/controller into smasher816-master 2015-03-15 18:27:35 -07:00
Jacob Alexander
ed71f7fad5 Initial commit for UARTConnect module
* Keyboard interconnect using two uarts
* Supports daisy chain addressing using a master/slave direction communication scheme

- Still needs more testing
- Functions have been tested alone to be generally working
2015-03-15 16:58:01 -07:00
Rowan Decker
dc562cdcb3 Inital Remote Wakeup Support
Not working yet...
2015-03-08 22:35:55 -07:00
Rowan Decker
68f357dceb Fix whitespace pt2
Forgot to pull some files. Fixed those up too.
2015-03-08 21:07:59 -07:00
Rowan Decker
2922fce0f7 Merge remote-tracking branch 'upstream/master' 2015-03-08 20:17:39 -07:00
Rowan Decker
1392571bd7 Fix whitespace
Use a consistent standard - Tabs in front for indenting, spaces after for anything else. This way everything stays nice and lined up while also letting users change there prefered indent level. Most of the new files from Haata where already in this format.
2015-03-08 18:40:01 -07:00
Jacob Alexander
aeaaaaa468 Merge pull request #25 from smasher816/master
Set DFU bootloader name
2015-03-08 17:33:29 -07:00
Rowan Decker
a6fdeb47ea Merge branch 'master' of https://github.com/smasher816/controller 2015-03-08 17:29:25 -07:00
Rowan Decker
ef8a8c5daa Set DFU bootloader name
Fixes #22

Each (dfu) interface may have more than one a ltsetting each with their own index and name. According to the DFU_1.1 pdf section 4.2.3, "* Alternate settings can be used by an application to access additional memory segments. In this case,
it is suggested that each alternate setting employ a string descriptor to indicate the target memory
segment; e.g., 'EEPROM'." Whether or not we end up using multiple memory segments it is still good to have a descriptive name incase there are other dfu devices connected.

Edit: Fixed previous indentation
2015-03-08 17:23:48 -07:00
Rowan Decker
dbf2b1ca26 Set DFU bootloader name
Fixes #22

Each (dfu) interface may have more than one a ltsetting each with their own index and name. According to the DFU_1.1 pdf section 4.2.3, "* Alternate settings can be used by an application to access additional memory segments. In this case,
it is suggested that each alternate setting employ a string descriptor to indicate the target memory
segment; e.g., 'EEPROM'." Whether or not we end up using multiple memory segments it is still good to have a descriptive name incase there are other dfu devices connected.
2015-03-08 16:59:34 -07:00
Jacob Alexander
55346314b8 Adding additional case statements for SET_FEATURE and CLEAR_FEATURE
- Ignoring (which is done by default)
- Device, Interface and Endpoint variants
2015-03-07 00:50:42 -08:00
Jacob Alexander
b2dfd63d4b Fixing Mac OSX freeze on wake-up bug
- CLEAR_FEATURE unset is currently causing the keyboarod to freeze
- Though not ideal, it seems harmless to ignore this USB Control Packet
- Tested working on a Mac Mini (Yosemite)
2015-03-07 00:34:14 -08:00
Jacob Alexander
733201d39b Fixing compiler errors for usbMuxUart Output module
- Removing (currently) redundant usbMuxUart capabilities.kll file
- Issues were due to the recent AddModule cmake function addition
2015-03-06 23:37:09 -08:00
Jacob Alexander
ae6daa0e5c Adding DebounceThrottleDiv define to slow down the debounce rate.
By default:
DebounceThrottleDiv = 0;
This is the default infinity behaviour right now (may be changed in the future).

Increasing DebounceThrottleDiv will increase the scan rate divider.
DebounceThrottleDiv = 1; # Scans half as much
DebounceThrottleDiv = 2; # Scans a quarter as much
DebounceThrottleDiv = 3; # Scans an eigth as much
etc.

For ARM based uCs (like the Infinity) the maximum divider is 32.
2015-03-06 22:18:15 -08:00
Jacob Alexander
a959011faa Adding dfu-suffix signing support to build system
- If dfu-suffix is not found, a warning is given and the binary is not signed
- Unsigned binaries are still ok with the latest version of dfu-util
2015-03-02 01:58:53 -08:00
Jacob Alexander
f07e9342dd Fixing releasing Function key and holding layered key
- Pressed key will remain on the same layer until released
  regardless of the layer changes that happen in the meantime
2015-03-01 21:05:40 -08:00
Jacob Alexander
a737e36b3b Merge pull request #20 from Garoth/master
README package name correction
2015-03-01 00:28:48 -08:00
Andrei Thorp
3c1b5790e3 README package name correction
Signed-off-by: Andrei Thorp <athorp@evernote.com>
2015-03-01 00:21:01 -08:00
Jacob Alexander
bf3b06aa22 Adding list of modified files to the cli version command. 2015-02-28 23:50:13 -08:00