-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Womier k66 rgb support #1
base: chibios-upgrade
Are you sure you want to change the base?
Conversation
testing
I get a couple of minor warnings and a linking error when I try to build this branch:
NOTE: Running on OS X 10.15.5. |
I got more linking errors when I tried compiling this on Ubuntu 20.04:
|
any solution? i got the same error .build/womier_k66_default.elf section '.text' will not fit in region 'flash0' |
I was able to get it to compile by increasing the flash size in 'lib/chibios-contrib/os/common/startup/ARMCMx/compilers/GCC/ld/SN32F260.ld'. I changed: It compiled, and seemed to work, but I'm pretty positive it's not the correct long term solution. |
@pgillan145 didn't it brick your keyboard? after flashing? edit: changed the settings to match yours and i got the same error |
I had an issue with the linker where I couldn't get a user defined Vector84 to link properly so I modified lib\chibios\os\common\startup\ARMCMx\compilers\GCC\vectors.S to replace 'Vector84' with 'RgbIsr'. I was building using mingw and didn't have issues, people have reported issues building with WSL but the parent branch does build with WSL as far as i know. I also have an uncommitted lib\chibios\os\common\startup\ARMCMx\compilers\GCC\ld\SN32F260.ld ( There is a discord here with a dev room that might be able to help better. Sorry I never got around to cleaning this up, Hope this helps though. |
It didn't brick my keyboard (which is weird, that's what I expected to happen too). You might need to fiddle with the value '2216' -- that was what I used based on the error value I got during linking. When I enabled MOUSEKEYS and EXTRAKEYS (neither of which seemed to work), the error message I got was: rules_memory.ld:314 cannot move location counter backwards (from 00000000200008c8 to 0000000020000800) c8 is 200 in decimal, so I added 200 to 2k (2048), and had to use the value '2248' to make it work. And, again, these are pretty bad hacks, and I'm not sure why going over the physical ram limits doesn't brick the keyboard, but <shrug>. |
@pgillan145 @GalvareyPoco please read my comment above. You really need that vector change otherwise it will instantly hardfault after setting up the RGB. |
Description
Types of Changes
Issues Fixed or Closed by This PR
Checklist