Fix: sed-patch orthography.h to disable cache (LockCache/UnlockCache undef)
This commit is contained in:
parent
d40dc7f537
commit
4e7b4e062f
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ if(CONFIG_ZMK_JAVELIN_STENO)
|
|||
COMMAND sed -i "s/constexpr StenoUserDictionaryData(const uint8_t/StenoUserDictionaryData(const uint8_t/"
|
||||
"${JAVELIN_SRC_DIR}/dictionary/user_dictionary.h"
|
||||
)
|
||||
# Disable orthography cache (saves ~32KB RAM, avoids missing LockCache/UnlockCache)
|
||||
execute_process(
|
||||
COMMAND sed -i "s/#define USE_ORTHOGRAPHY_CACHE 1/#define USE_ORTHOGRAPHY_CACHE 0/"
|
||||
"${JAVELIN_SRC_DIR}/orthography.h"
|
||||
)
|
||||
# Strip all test bodies from Javelin .cc files.
|
||||
# TEST_BEGIN...TEST_END blocks contain code referencing
|
||||
# RUN_TESTS-only APIs. Remove them entirely.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue