increase usable memory (macro) #625
Replies: 3 comments 5 replies
-
To set up a larger emulated EEPROM size, add this to your config.h:
You can modify Note that in addition to the space used on the flash, it will also utilize additional Generally an external SPI/I2C eeprom is not recommended for use with Vial because the QMK driver will perform a read transaction on every key press (and often multiple). |
Beta Was this translation helpful? Give feedback.
-
I seems to have a similar problem. I tried to disable some features and the add macro mentioned above in what should I do to increase the memory used by macros? Best regards. |
Beta Was this translation helpful? Give feedback.
-
The documentation says (my emphasis):
So even with excess flash memory (that is also a stretch), it will not help much for the AVR microcontrollers. They do not have enough RAM for this purpose. The ATmega32U4 has a total of 2.5 kB RAM. I am not sure how much of that QMK (typically) uses. Presumably, the same applies for serial flash memory on external chips. |
Beta Was this translation helpful? Give feedback.
-
hi
iam currently trying around with qmk/vial.
some of the features i want to use seems to working fine in testing. others not so much.
but what i realy cant get to work is a larger memory size for macro usable by vial.
iam using a ST32F103 a bluepill. and this one should have 128kb of flash memory.
the persitant memory is realized with an "fake" eeprom driver into the flash intself. so far so good.
and vial show´s me a aviable macro count of around 3000. but no matter what i try is working.
add an i2c eeprom end´s in boot error. no matter what chip i chose or what settings i use. it end´s in a compile error or the chip wont boot at all.
next i had a look on was spi. but as i try this it wont even compile with spi driver enabled. no matter how.
the only thing leaves is the 128kb flash memory. if the firmware leaves space in the flash then i can use this to expand the emulated eeprom size ? so qmk/vial can use more space of the flash for the eeprom emulating.
but also this dont work for me. no matter what i try changes anything.
so my question. what settings are needed to change the emu eeprom size so that vial can use more of the free flash space ?
thx for help.
Beta Was this translation helpful? Give feedback.
All reactions