Click to view our Accessibility Statement or contact us with accessibility-related questions
Khalki
37
Oct 24, 2014
What is the memory limit for macros in this keyboard?
HaaTa
558
Input Club
Oct 24, 2014
KhalkiRight now, I haven't calculated it. It's really hard because it depends on the macro...
The current limit seems to be the RAM (required for state), but I'm planning an optimization that will remove the state requirement from all macros except sequences (which need state).
The simple HHKB layer currently takes up 1344 kB of flash and 540 kB of RAM (I should be able to make this 0 kB of RAM in the future). With no layers 29% 4876/16384 bytes of RAM are being used (you can't fill this to 100% because it's really hard to calculate stack usage, I've done up to around 95% I think). As well, 17% 21980/126976 bytes of flash used.
I'm using the mk20dx128vlh5 from Freescale which has 16 kB of RAM and 128 kB of flash (4 kB is reserved for the bootloader). In the future I'm planning on using even larger chips such as the mk20dx256vlh7 which has 64 kB of RAM and 256 kB of flash. Might even consider using even larger chips at some point.
At some point, I might be able to make some sort of estimation tool, but I really need to see common usage scenarios for that.
Khalki
37
Oct 24, 2014
HaaTaThank you for your information! I am not sure if too wait for the keyboard with the larger chip, but I guess having another keyboard can't hurt. I believe the design for this keyboard is just perfect. Good job(to you and the community that developed this) and thanks for your time.
PRODUCTS YOU MAY LIKE
Trending Posts in Mechanical Keyboards