Archived
1
0
Commit Graph

46 Commits

Author SHA1 Message Date
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
Jacob Alexander
108b0d3e8e Cleaning up the BudKeypad module for the Buffered Macro Module
- Fixed key repeat rate issues
- Added the recent function additions to the scan module API
2011-12-18 19:02:56 -08:00
Jacob Alexander
8f8de985c5 Initial commit of the Epson QX-10 Keyboard module
- LEDs are working
- Reset command is working
- Basic typing is working (USB side drops some characters)
- Changing repeat rate is working
- Querying modifiers and LEDs is working
- Initial layouts are complete
- Modifiers are not fully working yet
2011-12-10 22:48:53 -08:00
Jacob Alexander
6bf2607872 Small macro update for debugging the Sony NEWS 2011-12-06 23:49:56 -08:00
Jacob Alexander
ac5f6c015d Pre Tandy1000 overhaul 2011-11-28 22:20:04 -08:00
Jacob Alexander
0c562995c7 Adding support for the Micro Switch 8304 Hall Effect Keyboard
- Full support (NKRO, provided the USB module can handle it)
- Full LED support (available to the macro modules per input signals)
- Reset/Hold line support
- Handles repeat rate issues (keyboard does not send key updates as most
  keyboards do...)
2011-11-13 02:04:44 -08:00
Jacob Alexander
266b59b851 Initial commit of the Kaypro1 scan module
- Does not output to usb yet
- USART is functionally getting characters from the keyboard and sending
  beep codes and ACK request code (Baud rate properly calculated)
- Uses hard-coded keys for the PC to Keyboard commands (not desireable)
- Keyboard sends ASCII data, which makes doing things like holding
  multiple keys almost impossible to detect (the board isn't NKRO
  anyways, though I've found 8+ key combos that work)
2011-11-01 00:02:10 -07:00
Jacob Alexander
6557022f20 Basic matrix module for the hall effect keypad now working.
- Includes new "table pinning" setup (much easier to understand)
- Matrix layouts will be split into their own dependent modules later
- Changed the HID Raw view id (too many teensy devices on this
  computer...)
- Moved the macro processing outside of the usb timer signal
  (this will be slower overall, but will result in more consistant
  behaviour)
2011-10-15 20:01:46 -07:00
Jacob Alexander
c01efa2d53 Formalizing code module structure and inheritance (Large Commit)
- Commenting cleaned up
- usb_keyboard_debug is not finished yet in terms of cleanup (needs DEBUB_PRINT #ifdef's)
- Added LoadFile script generation
- Formalized KeyIndex and USBKeys data containers
- Split parts of scan_loop into Macro, USB, and main.c
- Added interface to USB modules
- Added interface to Macro modules
- Added proper Debug module enable/disable
2011-09-29 22:22:19 -07:00
Jacob Alexander
a0439f627b Updating the build script to remove includes hack
- Providing HEAD_DIR variable that can be prepended to refer to the top of the source directory
2011-09-29 15:33:13 -07:00
Jacob Alexander
b4e1868d19 Reorganization for use with the CMake "Modules"
- Include option is currently "hacked" and needs to be fixed
- Builds on Linux, but Mac and Windows needs to be tested
- Loader script generation isn't complete
2011-09-28 23:25:51 -07:00
Jacob Alexander
0415ba2481 Finished major changes on the CMakeLists.txt. 2011-09-28 20:37:19 -07:00
Jacob Alexander
528e8cc452 Finally! A CMake build script
- Mostly implements the features found in the old Makefile
- More pretty colours
- TODO list can be found at the top of the file
- Doesn't have any compiler detection yet, that may be a good idea to add
2011-09-28 01:47:50 -07:00