Archived
1
0
Commit Graph

62 Commits

Author SHA1 Message Date
Jacob Alexander
0102d05c86 Fixing clang compilation and supporting clang-tidy
- clang.c includes necessary functions to make clang compiler work (tested on teensy 3.1)
- Added support code to generate a compile_commands.json for clang-tidy
  * Updates the symlink whenever cmake or make is called (Unix OSs only)
2016-03-04 00:38:06 -08:00
Jacob Alexander
e6437d603f Adding comment for the Teensy 3.2 2016-01-13 15:03:29 -08:00
Jacob Alexander
1c0f94c4ea Adding preliminary MDErgo keymap
- Required updates to CMake in order to handle the multi-layer BaseMaps
2015-08-06 00:36:37 -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
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
b2539041ee More preparation for mk20dx256vlh7 2015-01-10 19:55:28 -08:00
Jacob Alexander
621d8736e7 Adding experimental clang compiler support for arm-none-eabi
- Currently builds larger binaries than gcc (RAM)
2014-12-31 19:42:16 -08:00
Jacob Alexander
f75e9423b5 Fixing layer latch capability.
Latch now activates on key release, and deactivates on next key release.
2014-11-13 00:49:02 -08:00
Jacob Alexander
22abefcf1e Making all the configurable CMake variables externally settable
- Use CMake -D arguments to set variables (so you don't have to edit the CMakeLists.txt file)
2014-10-02 19:30:15 -07:00
Jacob Alexander
5782af5541 Fixing NKRO for Windows. 2014-10-01 00:16:14 -07:00
Jacob Alexander
ed9abf88a3 Preparing ARM for USB NKRO
- API changes from the AVR NKRO support
2014-09-21 16:29:53 -07:00
Jacob Alexander
9f6be5794b Adding NKRO support to AVR/DPH.
- NKRO for USB Codes 4 to 164, 176 to 221 and modifiers
- Added System Control support codes 129 to 183
- Added Consumer Control support codes 32 to 668
2014-09-21 11:55:37 -07:00
Jacob Alexander
9b1e19017f Adding more RAM optimizations
- Split up TriggerMacro and ResultMacro to help the compiler optimize better
- Static RAM usage did not decrease, total flash usage did
2014-09-16 23:29:21 -07:00
Jacob Alexander
37b36fe011 DPH controller now working with the kishsaver and macros
- Earlier RAM optimizations uncovered a bunch of layer/macro bugs
2014-09-16 22:14:01 -07:00
Jacob Alexander
12295e8362 More fixes to the DPH scan module.
- Typing now works on the kishsaver (including modifiers)
- Still some issues with RAM usage when using more than the default layer
2014-09-16 15:37:16 -07:00
Jacob Alexander
733a9f26b6 DPH controller now working with macros/layers
- Still working on USB NKRO
2014-09-16 11:42:50 -07:00
Jacob Alexander
e0a2a4806b Adding CMake build support for the KLL compiler
- Automatically downloads the kll compiler if not found
- Added capability files to each of the module that currently have them
- Split modules.cmake so kll.cmake could influence build targets (also needs info from modules.cmake)
- Updated .gitignore for kll compiler directory
- Added documentation on how to manipulate layouts using CMakeLists.txt
- Cleanup of old layout files
2014-09-14 15:51:36 -07:00
Jacob Alexander
eabb1c546a Fixing RAM calculator and reduced actual SRAM usage
- Changed static variables to const that should have been const
- Updated CMake files to prepare for MCHCK custom bootloader
- Changed the USB ID numbers and ID number for bootloader
- Only generate DFU or Teensy binary image, not both
- Fixed RAM and FLASH calculator
- Added missing license in delay.c/h (much of it was taken from Teensy source though I've changed a bunch of it)
- Prepared mk20dx.c for upcoming bootloader addition
- mk20dx.h cleanup
- Reduced the MCHCK based flash size for the application image (bootloader changes requires more flash space)
- Fixed bugs in macro.c
- Added keyHold cli command
- Added show pending events debug message for PartialMap macro module
2014-08-15 10:49:44 -07:00
Jacob Alexander
d6345c307f Initial MatrixARM implementation
- Cleaned up Macro and USB callback naming
- Added security jumper for automated reload (MCHCK based only)
- Added additional LED position
2014-08-01 01:26:25 -07:00
Jacob Alexander
54c11ebd07 McHCK USB WORKS!!
- McHCK uses FLL instead of the PLL for USB (startup, not usb init)
- Added optional debug for the pjrc USB module
- Cleaned up compiler flags
2014-07-15 00:28:12 -07:00
Jacob Alexander
f9e1600b28 McHCK now working with UART.
- Lots of code cleanup for the intialization of all arm chips
- Added more gcc flags to help with debugging linker and memory map
- Fixed UART initialization for the smaller MCHCK mk20dx128 (different pin mux)
2014-06-30 23:52:24 -07:00
Jacob Alexander
0365d517fe Fixed bug with standalone UART CLI
- Sending characters to the UART before it's ready would overflow the buffer causing it to hang
- Added a check to make sure the interface is ready before starting to send characters
- Removed the incorrect check for the usbMuxUart to make sure usb is ready before sending over the uart
2014-06-28 14:12:56 -07:00
Jacob Alexander
dd8b04dce2 Adding UART and UART + USB muxed CLI output.
- The UART out may be useful for Bluetooth keyboards at some point
2014-06-28 13:55:25 -07:00
Jacob Alexander
6f563bdc9f Initial code for ARM UART output module (mainly for CLI) 2014-06-28 13:55:25 -07:00
Jacob Alexander
acf8cb979c Initial work for McHCK mk20dx128vlf5 port. 2014-06-28 13:55:25 -07:00
Jacob Alexander
8a66563622 Preparing from initial AVR USB NKRO support.
- Refactored pjrc USB (definitions to the .h file)
2014-06-09 23:01:32 -07:00
Jacob Alexander
38266ca2cc Reorganizing CMake build system.
- Only one file to edit now
- Compiler architecture automatically detected based off of chip target
2014-04-18 22:57:14 -07:00
Jacob Alexander
cfea1de2e8 Let CMake do more autoconfiguration. 2014-04-18 21:58:14 -07:00
Jacob Alexander
c4c1d0a2b8 Windows is now working with libusb1.0 for the teensy-loader-cli.
- Not tested yet, but should be working.
2014-04-18 13:16:47 -07:00
Jacob Alexander
cc3f062875 Porting teensy-loader-cli to use libusb-1.0 (from 0.1).
- Currently only Linux tested.
2014-04-18 00:18:02 -07:00
Jacob Alexander
1f1fa7efc8 More fixes for Windows compilation. 2014-04-17 18:49:40 -07:00
Jacob Alexander
bb9c009586 DPH Scan Module now compiles with recent architecture cleanups. 2014-04-16 00:15:09 -07:00
Jacob Alexander
81ea61de84 Adding teensy-loader-cli so it's not required.
- This is a patched version to work with Teensy 3.1 (current version on the website doesn't work)
- "Should" work with OS's other than Linux, but hasn't been tested
2014-04-12 20:52:32 -07:00
Jacob Alexander
50d1f8c7e6 Updating Cygwin build environment for AVR and ARM. 2014-04-09 20:06:19 -07:00
Jacob Alexander
9d423a64a8 Major code cleanup and preparation for PartialMap Macro Module
- Code should be working, but much is untested
- All of the old modules will need to update and use the new DefaultMap keymap
- There might still be some naming conflicts with some Scan Modules
2014-04-06 11:49:27 -07:00
Jacob Alexander
15ec4ff71c Adding CLI and CDC Serial support for Teensy 2.0 and Teensy 2.0++
- Includes serial putchar and getchar cleanup (overall)
- Moved avr-capsense to DPH (renaming)
- Basic cleanup for including CLI on the avr architecture
2014-03-31 01:07:48 -07:00
Jacob Alexander
b2e237f368 Preparing Teensy 3.1 and CLI merge for DPH controller code. 2014-03-22 14:32:06 -07:00
Jacob Alexander
59f13f8f4f Moving USB to Output in preparation for additional Output types.
* Initial cli code
2014-03-22 14:09:01 -07:00
Jacob Alexander
e9aa3880a6 Fixing loading script for ARM targets and the teensy loader cli 2014-01-19 21:50:01 -08:00
Jacob Alexander
4ce6d34cd8 Adapting the avr-capsense code to the Kiibohd Controller API
- Adding "template" keymap
- Removed "stray" functions, variables
- Cleaned up warnings
- Now builds
- Added buffered macro integration (rather than dealing with USB directly)
- Updated the print messages to use the Kiibohd print header

TODO
- Add generic matrix integration (this will require some changes to the matrix code)
- Add more comments...lots more
- Clean up dead code
2013-11-16 19:37:16 -05:00
Jacob Alexander
ca190c4fd9 Removed Joystick endpoint from ARM usb module
- Also a bit of general house-keeping
2013-02-01 23:35:12 -05:00
Jacob Alexander
9dcb0f7b66 Fixing regression build 2013-02-01 21:19:31 -05:00
Jacob Alexander
99b3deba67 Completing CMake variable generation for USB parameters (AVR Support)
- Had to add the iSerialNumber parameter to the AVR USB descriptor
- Removed a faulty pack command for avr-gcc that is not required
2013-02-01 20:30:14 -05:00
Jacob Alexander
b7afaa100f CMake generated strings that configure the USB info section
- Defined Manufacturer name
- Product name now references each of the selected modules
- Serial number refers to the last commit date, branch, and whether modified since the last commit
2013-02-01 20:02:55 -05:00
Jacob Alexander
fc7998d605 Adding module compatibility check to CMake build scripts.
- All modules have a default avr compatibilty right now (since that is what they were developed on)
- As modules get tested and added, arm support has to be turned on in the respective setup.cmake file
2013-01-30 18:13:49 -05:00
Jacob Alexander
c8b4baf652 Adding initial Teensy 3 support, compiles, but not fully functional yet.
- CDC Output seems to be working
- USB Keyboard output has not been tested, but is "ready"
- UART and Timers have not been tested, or fully utilized
- Issues using Timer 0
- Initial template for MBC-55X Scan module (only module currently compatible with the arm build)
- Updated the interface to the AVR usb module for symmetry with the ARM usb module
- Much gutting was done to the Teensy 3 usb keyboard module, though not in an ideal state yet
2013-01-27 01:47:52 -05:00
Jacob Alexander
a31f0e064a Updating Debug Modules to new abstracted hierarchy
- Also added some extra CMake build messages for indicating the Compiler family and chip being built for
2013-01-26 15:43:59 -05:00
Jacob Alexander
b368b13240 Updating CMake build system to prepare for Teensy 3 integration.
- Tested with the AVR builds
- Partially tested with basic ARM test builds
2013-01-26 04:34:33 -05:00
Jacob Alexander
6429f6efa8 Updating CMakeLists.txt file for CMake + WinAVR on Windows
- Use Makefiles from Cygwin
2012-11-24 11:41:41 -08:00
Jacob Alexander
b1686ce7ad Adding inital outline for Univac-Sperry F3W9 keyboard.
- Not tested yet
- Packet size is large so it's not possible to use Teensy hardware
2012-03-03 21:16:41 -05:00