diff --git a/cmake/cfb.cmake b/cmake/cfb.cmake index 7b5ee61161f..cfd86acee05 100644 --- a/cmake/cfb.cmake +++ b/cmake/cfb.cmake @@ -12,7 +12,7 @@ function(generate_cfb_font OUTPUT ${output_file} COMMAND ${PYTHON_EXECUTABLE} - ${ZEPHYR_BASE}/scripts/gen_cfb_font_header.py + ${ZEPHYR_BASE}/scripts/build/gen_cfb_font_header.py --zephyr-base ${ZEPHYR_BASE} --input ${input_file} --output ${output_file} diff --git a/scripts/gen_cfb_font_header.py b/scripts/build/gen_cfb_font_header.py similarity index 100% rename from scripts/gen_cfb_font_header.py rename to scripts/build/gen_cfb_font_header.py diff --git a/scripts/requirements-extras.txt b/scripts/requirements-extras.txt index 62bb2b98c55..e2beebc6be1 100644 --- a/scripts/requirements-extras.txt +++ b/scripts/requirements-extras.txt @@ -15,7 +15,7 @@ clang-format>=1.12x # Script used to build firmware images for NXP LPC MCUs. 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 # can be used to sign a Zephyr application binary for consumption by a bootloader diff --git a/subsys/fb/README_fonts.txt b/subsys/fb/README_fonts.txt index 9d33b6eab1c..f12026f1dad 100644 --- a/subsys/fb/README_fonts.txt +++ b/subsys/fb/README_fonts.txt @@ -5,15 +5,15 @@ https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/Dr 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 \ -x 10 -y 16 -s 14 --center-x \ -o cfbv_1016 -${ZEPHYR_BASE}/scripts/gen_cfb_font_header.py \ +${ZEPHYR_BASE}/scripts/build/gen_cfb_font_header.py \ -i DroidSansMono.ttf \ -x 15 -y 24 -s 22 --center-x --y-offset -2 \ -o cfbv_1524 -${ZEPHYR_BASE}/scripts/gen_cfb_font_header.py \ +${ZEPHYR_BASE}/scripts/build/gen_cfb_font_header.py \ -i DroidSansMono.ttf \ -x 20 -y 32 -s 30 --center-x --y-offset -3 \ -o cfbv_2032