scripts: move gen_cfb_font_header.py to scripts/build
Move scripts needed by the build system and not designed to be run individually or standalone into the build subfolder. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
61f672607a
commit
01582f80b7
|
@ -12,7 +12,7 @@ function(generate_cfb_font
|
||||||
OUTPUT ${output_file}
|
OUTPUT ${output_file}
|
||||||
COMMAND
|
COMMAND
|
||||||
${PYTHON_EXECUTABLE}
|
${PYTHON_EXECUTABLE}
|
||||||
${ZEPHYR_BASE}/scripts/gen_cfb_font_header.py
|
${ZEPHYR_BASE}/scripts/build/gen_cfb_font_header.py
|
||||||
--zephyr-base ${ZEPHYR_BASE}
|
--zephyr-base ${ZEPHYR_BASE}
|
||||||
--input ${input_file}
|
--input ${input_file}
|
||||||
--output ${output_file}
|
--output ${output_file}
|
||||||
|
|
|
@ -15,7 +15,7 @@ clang-format>=1.12x
|
||||||
# Script used to build firmware images for NXP LPC MCUs.
|
# Script used to build firmware images for NXP LPC MCUs.
|
||||||
lpc_checksum
|
lpc_checksum
|
||||||
|
|
||||||
# used by scripts/gen_cfb_font_header.py - helper script for user
|
# used by scripts/build/gen_cfb_font_header.py - helper script for user
|
||||||
Pillow
|
Pillow
|
||||||
|
|
||||||
# can be used to sign a Zephyr application binary for consumption by a bootloader
|
# can be used to sign a Zephyr application binary for consumption by a bootloader
|
||||||
|
|
|
@ -5,15 +5,15 @@ https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/Dr
|
||||||
|
|
||||||
To reproduce the font bitmaps use these commands:
|
To reproduce the font bitmaps use these commands:
|
||||||
|
|
||||||
${ZEPHYR_BASE}/scripts/gen_cfb_font_header.py \
|
${ZEPHYR_BASE}/scripts/build/gen_cfb_font_header.py \
|
||||||
-i DroidSansMono.ttf \
|
-i DroidSansMono.ttf \
|
||||||
-x 10 -y 16 -s 14 --center-x \
|
-x 10 -y 16 -s 14 --center-x \
|
||||||
-o cfbv_1016
|
-o cfbv_1016
|
||||||
${ZEPHYR_BASE}/scripts/gen_cfb_font_header.py \
|
${ZEPHYR_BASE}/scripts/build/gen_cfb_font_header.py \
|
||||||
-i DroidSansMono.ttf \
|
-i DroidSansMono.ttf \
|
||||||
-x 15 -y 24 -s 22 --center-x --y-offset -2 \
|
-x 15 -y 24 -s 22 --center-x --y-offset -2 \
|
||||||
-o cfbv_1524
|
-o cfbv_1524
|
||||||
${ZEPHYR_BASE}/scripts/gen_cfb_font_header.py \
|
${ZEPHYR_BASE}/scripts/build/gen_cfb_font_header.py \
|
||||||
-i DroidSansMono.ttf \
|
-i DroidSansMono.ttf \
|
||||||
-x 20 -y 32 -s 30 --center-x --y-offset -3 \
|
-x 20 -y 32 -s 30 --center-x --y-offset -3 \
|
||||||
-o cfbv_2032
|
-o cfbv_2032
|
||||||
|
|
Loading…
Reference in a new issue