Commit Graph

423 Commits

Author SHA1 Message Date
Dave
da0e89ed5e Define default row scanner in arch headers
- in header files, change ASDF_ARCH_DEFAULT_SCANNER to
ASDF_ARCH_DEFAULT_ROW_SCANNER

- remove unused ASDF_NUM_KEYMAPS definition in asdf_keymap_setup.h.in
2023-04-18 02:46:43 -05:00
Dave
3f2e8aa249 Add hook for keyscan routine
A new hook was added, ASDF_HOOK_KEY_SCANNER.  This allows the entire keyscan routine
to be specified for each keymap.
2023-04-17 11:51:08 -05:00
dfnr2
b9927a3aad
Update README.md 2023-03-22 12:00:09 -05:00
dfnr2
f3c2bf8c39
Update README.md 2023-03-18 19:33:51 -05:00
Christopher Ryu
30ac997552
Add support for Franklin ACE 1000 replacement keyboard (#42)
* Initial commit.

* Add support for Franklin ACE 1000.

* Add ace1000_keyboard_test() for completeness.

* Add link to replacement keyboard.

* Add Franklin ACE 1000 replacement keyboard link.

* Add Franklin ACE 1000 keyboard.

* Activate caps-lock at powerup, and swap keymaps accordingly.

---------

Co-authored-by: Christopher RYU <software+github@disavowed.jp>
2023-03-18 19:30:04 -05:00
Dave
783ff8c644 Update key footprints for better pad definitions 2023-02-26 23:27:00 -06:00
Dave
1e3b5d1c50 Remove unused function 2023-01-02 04:17:27 -06:00
Dave
ae4c228fff Merge branch 'asdf-build-test' 2023-01-02 04:10:52 -06:00
Dave
6a3c0073e5 remove phantom include 2023-01-02 04:07:28 -06:00
Dave
f156ad9d80 removed extraneous function and source file61C0C5F1 2023-01-02 04:05:28 -06:00
Dave
327d8ec913 Fixes for make-targets.sh
- fix top dir to "."
- "clean" removes hex files and toc files from doc source directory
2023-01-02 03:30:03 -06:00
Dave
f4ace5a9cb change install dir 2023-01-02 03:21:18 -06:00
Dave
62b27e0a3d fix videx keymappings fix applesoft keytest prog
- fixed the videx-like keymappings for the upper/lower keyboard
- moved @ to SHIFT-0 from CTRL-0, and put ID on CTRL-0
- bind the applesoft key test program to CTRL-3
- cram the keyboard test program into one line, to avoid adding a delay
 for BASIC parsing after the CR.
 - in main(), output only printable codes less than INVALID_CODE,
- instead of checking for code != INVALID_CODE.
2023-01-02 03:06:10 -06:00
Dave
8c8e021061 Add character test to apple keymap 2023-01-01 14:36:03 -06:00
Dave
573d6f842b Add user-bindable function to print ascii chars 2022-12-30 17:36:15 -06:00
Dave
14f7f1ed3e Added videx-style bindings to apple map
At the suggestion of @softwarejanitor, added the following ctrl codes to
upper/lower apple map:

CTRL-0: @
CTRL-1: | (vertical bar)
CTRL-2: ~ (tilde)
CTRL-6: ^ (caret)
CTRL-7: ` (grave)
CTRL-8: { (open curly brace)
CTRL-9: } (close curly brace)
CTRL--: _ (ctrl-dash -> underscore)
CTRL-,: [ (ctrl-comma -> open bracket)
CTRL-.: ] (ctrl-period -> close bracket)
CTRL-/: \ (ctrl-fwd_slash -> backslash)
2022-12-30 16:33:57 -06:00
Dave
fe06e606d9 Merge branch 'videx' 2022-12-30 13:22:43 -06:00
Dave
23cbbeea54 Fixed root cmake root directory
- The previous commit changed the invocation of Cmake, which changed the
root directory.  This broke the web page build.
2022-12-30 13:06:44 -06:00
Dave
ca8cff670a Streamline build and add more processor variants
- CMakeLists.txt, src/CMakeLists.txt: user ARCH for the actual
processor, and ARCH_FAMILY to specify the arch_*.[ch] files.

- generic-gcc-avr.cmake: fix optimizations to O1 or O0

- make-targets.sh: simplify cmake invocation, eliminate mkdir+cd,
instead use cmake flags to specify directory names and source dir.
2022-12-30 02:31:02 -06:00
David Fenyes
27f2616d22 Remove extraneous include 2022-12-27 15:30:57 -06:00
Dave
cec0081bd4 Update readme 2022-12-04 10:48:01 -06:00
Dave
d944b71f7f Updates to ASDF readme 2022-12-04 10:08:55 -06:00
Dave
afdf74bd51 Fixed top CMakeLists.txt
replaced "asdf-" in target name with ${PROJECT_NAME}-, so now setting
project name (and version) in the project section will result in a
properly named result.
2022-12-03 20:44:42 -06:00
Dave
bab5d3c8ab Merge branch 'asdf-build-test'
Fix yaml file
2022-12-03 04:34:49 -06:00
Dave
ff0188ab2b Update eeprom-spec document 2022-12-03 04:24:29 -06:00
Dave
f2a9b655a9 More Interface-ASCII PCB cleanups 2022-12-03 04:09:15 -06:00
Dave
33e68c6800 production cleanup for interface-ascii
- Add production package scripts
- Configure BOM generation for KiBOM
- Add 3D models to path (add kicad 5 path variable to list)
- bump version to 3 for compatibility with versioning scheme
2022-11-15 15:46:46 -06:00
Dave
0d0487df42 More README fixes 2022-09-07 22:22:51 -05:00
Dave
f22c85e327 Update README for firmware 2022-09-07 22:16:16 -05:00
Dave
118fb24f7d Fixes to README 2022-09-07 22:13:14 -05:00
Dave
69d5d16544 Update firmware workflow and README 2022-09-07 21:56:24 -05:00
Dave
232b99a962 Update yml file to latest workflow 2022-09-07 21:31:46 -05:00
Dave
4e583a4a5a Remove unsed "uses" 2022-09-07 21:29:43 -05:00
Dave
98914eb1d5 Add dash before trigger branch names 2022-09-07 21:28:19 -05:00
Dave
51022040f1 Update to automate firmware builds
- build on checkin to asdf-release or asdf-built-test
- deploy to https://dfnr2.github.io/unified-retro-keyboard
2022-09-07 15:38:28 -05:00
Dave
21a30d2ca0 Add sphinx doc tree and Improve build automation
- Add a documentation directory to start documenting the firmware in
sphinx.
c
- Fix cmake scripts to generate files needed to make hex files available
  for download

- expand build script to automate the cmake file generation and builds
  for each architecture, install the python virtual environment needed for
  sphinx, and and to populate the sphinx source tree with links to built
  hex files.
2022-09-06 11:08:26 -05:00
Dave
9aa3bf4681 Fix compiler warning for GCC >= 11.3
- GCC version 12 generates a warnings for certain pointer
references.  Apparently this is to decect invalid offsets.  To properly
compiler, the recommended remedy is to add the compiler option
"--param=min-pagesize=0" to the flags.  This option was introduced in
version 11.3, so we need to check the compiler version and only add for
>11.3.

- Moved setting of compiler flags to a new function c_toolchain_flags in
the toolchain file "generic-gcc-avr.cmake".  This function is now called
from the CMakeLists.txt file in the src directory.  This allows the test
for the compiler version to be specified in the toolchain file, but not
executed until called by the src subdir CMakeLists.txt.  Delaying
evaluation of the function ensures that the CMAKE_C_VERSION variable is
properly set when the function is called.

- Moving the compiler flags out of the source dir CMakeLists.txt file
also improves portability by moving architecture-specific compiler
details from the source tree to the toolchain file.
2022-09-02 00:00:55 -05:00
Dave
18e451d8a6 Fix typo in src/CMakeLists.txt
for function create_keymap_valid, return statement had wrong function name.
2022-09-01 13:26:22 -05:00
Dave
1c855f9a4e Modified addon for 10-pin inline connector 2022-07-05 09:21:21 -05:00
Dave
c77838e1b3 Update classic keyboard main PCB to kicad 6
- fix various ERC and DRC errors resulting from upgrade

- list included nets in busses on schematic

- Modify Footprints with multiple options (therefore multiple sets of
pads) to used shaped pads and proper pad numbering to eliminate DRC
issues, and ensure proper behavior
2022-04-09 14:56:23 -05:00
Dave
cc77090f2c Merge branch 'main' of github.com:osiweb/unified_retro_keyboard 2022-04-07 19:46:39 -05:00
Dave
b0ea2fad81 bump reset+SL addon to 1.4 2022-04-07 02:54:32 -05:00
Dave
802827402d Cleanup RESET+SHIFTLOCK addon
- replaced DIP header with 13-pin 0.1" vertical header.  Added labels to
the pins.

- removed left over unused diode

- reversed default on / default off labels on shiftlock mode jumper
block.
2022-04-07 01:57:16 -05:00
David Fenyes
721cb6585d Add missing keymap header files 2022-02-28 20:08:38 -06:00
Dave
6de71c63cd Add missing asdf_keymap_apple2_caps.h file 2022-02-28 20:03:44 -06:00
Dave
48977e3eb2 Clean up DRC errors 2022-02-22 16:00:30 -06:00
Dave
d807d8720c OSI reset/shiftlock addon- add mounting holes 2022-02-22 15:49:20 -06:00
Lars Brinkhoff
deb095aa10
Keycaps for Knight and SAIL keyboards (#39)
* Keycaps for Knight keyboard

* Keycaps for SAIL keyboard
2021-12-22 02:44:07 -06:00
David Fenyes
e13c9d6888 BugFix: asdf_buffer_get: check for valid handle
Was only testing for handle less than next_handle, but not checking for
negative handle values. Fixed to use buffer_handle_valid() to test for a
valid handle.
2021-12-14 11:31:39 -06:00
Dave
118065236b Add asdf_keymap_setup.[ch] to test directory 2021-12-14 11:26:47 -06:00