mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 09:28:13 +00:00
core/modtrezorio: use ff_unifdef.sh preprocessor
to reduce the number of lines in ff.c and ffunicode.c
This commit is contained in:
parent
49a98a5015
commit
743f57afdb
File diff suppressed because it is too large
Load Diff
31
core/embed/extmod/modtrezorio/ff_unifdef.sh
Executable file
31
core/embed/extmod/modtrezorio/ff_unifdef.sh
Executable file
@ -0,0 +1,31 @@
|
|||||||
|
unifdef \
|
||||||
|
-DFF_FS_READONLY=0 \
|
||||||
|
-DFF_FS_MINIMIZE=0 \
|
||||||
|
-DFF_USE_STRFUNC=0 \
|
||||||
|
-DFF_USE_FIND=0 \
|
||||||
|
-DFF_USE_FASTSEEK=0 \
|
||||||
|
-DFF_USE_EXPAND=0 \
|
||||||
|
-DFF_USE_CHMOD=0 \
|
||||||
|
-DFF_USE_LABEL=0 \
|
||||||
|
-DFF_USE_FORWARD=0 \
|
||||||
|
-DFF_USE_REPAIR=0 \
|
||||||
|
-DFF_CODE_PAGE=437 \
|
||||||
|
-DFF_USE_LFN=1 \
|
||||||
|
-DFF_LFN_UNICODE=2 \
|
||||||
|
-DFF_STRF_ENCODE=3 \
|
||||||
|
-DFF_FS_RPATH=0 \
|
||||||
|
-DFF_VOLUMES=1 \
|
||||||
|
-DFF_STR_VOLUME_ID=0 \
|
||||||
|
-DFF_MULTI_PARTITION=0 \
|
||||||
|
-DFF_USE_TRIM=0 \
|
||||||
|
-DFF_FS_NOFSINFO=0 \
|
||||||
|
-DFF_FS_TINY=0 \
|
||||||
|
-DFF_FS_EXFAT=0 \
|
||||||
|
-DFF_FS_NORTC=1 \
|
||||||
|
-DFF_FS_LOCK=0 \
|
||||||
|
-DFF_FS_REENTRANT=0 \
|
||||||
|
ff.c -o ff.c
|
||||||
|
|
||||||
|
unifdef \
|
||||||
|
-DFF_CODE_PAGE=437 \
|
||||||
|
ffunicode.c -o ffunicode.c
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user