Archived
1
0
Commit Graph

38 Commits

Author SHA1 Message Date
Jacob Alexander
6e4c28ef84 HUGE AVR RAM optimization (~28%).
- It's possible to get even more, but this is probably as far as I'll go
- PROGMEM is really annoying to use, and makes the code look like ass
- Now the Teensy 2++ should have enough RAM to use PartialMap easily
2014-10-02 22:09:34 -07:00
Jacob Alexander
d6d792fdf9 Changing decToInt to numToInt (adds support for Hex number interpreter)
- CLI now works with hex or decimal numbers
- Hex requires 0x (technically just x would work too)
2014-08-16 12:07:25 -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
99d4aaba84 More work on mk20dx128vlf5 port.
- Basic compilation and loading is working
- LED can be turned on/off
- USB not yet working
2014-06-28 13:55:25 -07:00
Jacob Alexander
dc22fa757a Removing aliased_bitband.h
- It's useless :P
- Only one line of code ever used it.
2014-04-12 21:09:35 -07:00
Jacob Alexander
50d1f8c7e6 Updating Cygwin build environment for AVR and ARM. 2014-04-09 20:06:19 -07:00
Jacob Alexander
97308d3749 Added CLI DefaultMap lookup command.
- Initial work on capSelect command
- Toggling for macroDebug (only basic functionality right now)
- Cleanup
2014-04-06 13:12:31 -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
ae738374ba Force curve gauge is feature complete!!
- Fixed no argument default (would skip the null in some cli commands)
- Added free running force/distance measure
- Most of the help information
- Zeroing force and distance
- Start/End marker setting
2014-03-22 14:15:14 -07:00
Jacob Alexander
35ae82fff7 Adding iGaging support for reading values as mm, um and nm.
- Conversion factor "should" be ok, will require proper verification
2014-03-22 14:14:23 -07:00
Jacob Alexander
8263589e7e Finished USB for Teensy 3.1 (Now 3.1 compatible!) 2014-03-22 14:14:23 -07:00
Jacob Alexander
cd59498972 Initial work for iGaging distance gauge. 2014-03-22 14:14:22 -07:00
Jacob Alexander
f55ec0de1a Adding basic Tab completion. 2014-03-22 14:13:45 -07:00
Jacob Alexander
4730ba9a57 Adding blue prompt. 2014-03-22 14:13:45 -07:00
Jacob Alexander
d72bf79a26 Adding dictionary titles. 2014-03-22 14:13:44 -07:00
Jacob Alexander
9de815f8a7 Initial Force Gauge CLI commands. 2014-03-22 14:13:05 -07:00
Jacob Alexander
38847b7841 Added more CLI commands.
- Hex debug for debugging VT100 control characters from the keyboard
- Renamed reset to restart (software reset)
- Added reset command (same as bash reset, which resets the VT100 variables)
- Cleaned up the version module field
2014-03-22 14:11:50 -07:00
Jacob Alexander
6ac1482862 Added more CLI commands.
- reset   -> Simulates power cycle (Not yet compatible with AVR)
- reload  -> Sets the device into firmware reload mode
- led     -> Toggles the error LED
- version -> Displays detailed version information (additions to CMake files was necessary, might have broken Windows builds...)
2014-03-22 14:11:49 -07:00
Jacob Alexander
267b99dedb Added help command and function'ized the arugmentIsolator. 2014-03-22 14:10:52 -07:00
Jacob Alexander
30c45e948f Fixing CLI command processing bug.
- Issue with the first space delimiter before the args
2014-03-22 14:10:52 -07:00
Jacob Alexander
7230e061d7 Adding basic CLI functionality.
- Supports multiple custom command dictionaries
- Basic handling of control characters
- Initial dictionary for integrated commands
2014-03-22 14:10:51 -07:00
Jacob Alexander
85dd7f5c52 More renaming for the USB to Output Module renaming 2014-03-22 14:09:50 -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
3d98028679 Removed a keyscan layer and added more debug information
- Added a print macro for colourful convenience
- Removed the usb_keymap variable as it is no longer needed
- Changed usb_dirty to keymap_change (more accurate description)
- Removed the dumpkeys function and now detect key changes much sooner as well as displaying error messages more often
- Added a warming up information message and removed its error status (as it's not an error)
2013-11-17 19:17:54 -05: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
e2197f6b78 Adding additional convenience functions to print.
- Directly printing numbers rather than having to convert them into strings first
2013-11-16 19:37:16 -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
6da1558b78 Updating AVR abstraction to be compatible with ARM, nearly ready for ARM files
- Very small updates to files, mostly modifying to remove name duplications
2013-01-26 22:30:36 -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
14158009b2 Preparing for Teensy 3 (ARM) integration, abstracting code hierarchy
- Abstracted USB Module
- Abstracted compiler specific includes for Scan, Macro, Debug, and USB modules
- Updated CMake build files to support changes
- Added abstractions necessary to main.c as well as a compiler specific include file
2013-01-26 15:05:28 -05:00
Jacob Alexander
ac5f6c015d Pre Tandy1000 overhaul 2011-11-28 22:20:04 -08:00
Jacob Alexander
46916defa5 Tandy 1000 Converter, basicly works, except for packet mismatches
- Caused by too much processing in the converter...
- Easy to fix if I remove the macro engine...
2011-10-01 00:54:18 -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
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