Closed jjowdy closed 6 years ago
I'm a bit confused. are using Xcode to build firmeware?
Also are you sure you are using tmk_firmware? This is wrong place if you are talking about qmk_firmware.
Whoops. I was totally confused! My apologies. I thought I was looking at qmk_firmware issues. As for Xcode, I'm trying to figure out the right toolchain to use. I'm using avr-gcc for building the keyboard configs, but wasn't sure what to use for running/writing googletest.
I'm still working on getting my (Mac) environment so I can write and run tests. (I'm running into Xcode/clang issues with incompatible
-Wa,
flags (-adhlns
) and haven't deciphered the customized makefiles yet.)So, as a result, I can't yet test this with any confidence and haven't really determined whether this code is actually used.
But, in any case, I've been reading through the code to try to understand the best way to configure my Ergodox EZ, and I spotted a few things that don't look like they could possibly be right:
(Need to use bit shift rather than lt operation.)
(Probably need to register/unregister all keys in the chord instead of doing an early exit after the first key.)