This appears to have been a cut-paste typo in the asdf_arch_out2_set() function
in asdf_arch_atmega328p.c. The port was set to OUT2, but the bit was OUT1.
C Flags set in src and test directories were not getting set because
they were assigned to C_FLAGS, which is ignored. Changed to CFLAGS,
which is used by cmake to set default c compilation options.
Apparently some file pollution resulted in a successful compile that couldn't be
reprodued from a fresh git clone. Fixed file copying and include paths so
compile works. All tests pass.
- CMake build process handles dependencies much more effectively
- Cleaner separation of test and binary builds
- permit co-existing test and multiple architecture builds
- add support for AVR from cmake-avr:
https://github.com/mkleemann/cmake-avr
- new build process avoids creating files in the src directory
- Rename asdf_hook_do() to asdf_hook_execute()
- asdf.c: Call asdf_hook_execute() for ASDF_HOOK_EACH_SCAN hook call in the scan
routine, instead of getting then calling the function via hook_get()
- asdf.c: move the fetch of scan function hook outside the scan loop.
- arch-* files: replace private arch_strobe_init() function with public
arch_set_neg_strobe() and arch_set_pos_strobe() functions
- asdf.c,h: add ACTION hooks to set strobe polarity and enable/disable
autorepeat
- break out DIP switch definitions into a separate header file, included by each
keymap. This ensures consistent DIP switch behavior across keymaps.
- Add Keymaps/asdf_keymap_defs_sol.h, and add the hooks in the master keymap
- asdf.h: Change start of ACTION codes to 0xA0, since SOL-20 uses codes from 0x80-0x9a
- asdf_ascii.h: Add named ASCII control codes to
- Replace V_PULSE with V_PULSE_LONG and V_PULSE_SHORT functions.
- replace the asdf_arch_pulse_delay() with asdf_arch_pulse_delay_short() and
asdf_arch_pulse_delay_long() functions.
- modify keymaps to use long and short pulses.
- long pulse is 50 ms. Short pulse is 10 us.
- Added localizing prefix to keymap definitions to avoid conflicts.