I would like to changes some key mappings.The first problem I had was the the libs could not be found when compiling the Model01-Firmware. To make the compile step work I copied the avr/Library folder to Arduino/Library folder. Is that ok?
Now I get a warning that not much memory is left and that this may cause stability issues, Is this expected?
And how do I assign certain key combinations to the any and butterfly key? For example I would like to assign ctrl-tab to butterfly and F16 to any.
Yep, that should be ok.
Mmm… I don’t think so, not with the factory firmware. If you have not made any changes yet, this is unexpected.
Find the position of said keys in the keymap of the sketch (the
Model01-Firmware.ino file), and replace the butterfly key (
Key_RightAlt in the factory firmware) with
LCTRL(Key_Tab), and the
Any key (
Key_F16, and recompile, reflash, and you should be all set.
I just opened the default firmware and compiled it.
Did you select the right board? It is - I think - possible to compile the firmware for a board with even less resources, in which case the warnings would be justified.
The default, stock firmware (from following the Arduino guide) does in fact result in a build that gives warnings about not much memory left and that there might be instability, at least in Arduino 1.8.5 on Windows. I didn’t see those warnings in previous versions with previous versions of the firmware, on Mac.
Regardless, it does build properly and you can safely ignore those warnings. They’re warnings and not errors.
I think that the current stock firmware sketch has had more stuff added to it than the more basic original builds. The new sketch is super well commented and is in a much better state than it was when I got started with my first PVT board!
Agreed. You can remove the test mode plugin to get back a good chunk of space.
You can also safely remove any LED modes that you decide you don’t like, and their associated include files. Though there isn’t a super lot of memory on the boards, there’s certainly more than enough to get almost everything you want in there for most typical users (those not throwing the whole kitchen sink in with everything else).
I agree, though; if you are happy with how your board is performing, there isn’t much sense in keeping the test mode around (you can always flash it back later if desired), and that’s a super easy target for recovering more memory.