summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2020-08-17 08:57:07 -0400
committerGitHub <noreply@github.com>2020-08-17 08:57:07 -0400
commit6ebcf5b929f2fcf0243edf2873327b938c71371a (patch)
tree72a17094bfba6de64256390343848609c04c9c60
parent7604114b471917828ea6839b66623c564bb95c50 (diff)
parentb1d210cca728066a7ab0188ab76428e96b4e0ced (diff)
Merge pull request #3290 from jepler/quiet-build-messages
Quiet build messages
-rw-r--r--mpy-cross/Makefile.static-raspbian3
-rw-r--r--py/makeqstrdata.py2
-rw-r--r--tools/gen_display_resources.py1
3 files changed, 1 insertions, 5 deletions
diff --git a/mpy-cross/Makefile.static-raspbian b/mpy-cross/Makefile.static-raspbian
index f895f998b..8fe78b0af 100644
--- a/mpy-cross/Makefile.static-raspbian
+++ b/mpy-cross/Makefile.static-raspbian
@@ -6,7 +6,6 @@ PROG=mpy-cross.static-raspbian
BUILD=build-static-raspbian
STATIC_BUILD=1
+$(shell if ! [ -d pitools ]; then echo 1>&2 "Fetching pi build tools. This may take awhile."; git clone -q https://github.com/raspberrypi/tools.git --depth=1 pitools; fi)
CROSS_COMPILE = pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-
include mpy-cross.mk
-
-$(shell [ -d pitools ] || git clone --progress --verbose https://github.com/raspberrypi/tools.git --depth=1 pitools)
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py
index df2c687e5..6132298a5 100644
--- a/py/makeqstrdata.py
+++ b/py/makeqstrdata.py
@@ -259,8 +259,6 @@ def compress(encoding_table, decompressed, encoded_length_bits, len_translation_
current_bit -= 1
if current_bit != 7:
current_byte += 1
- if current_byte > len(decompressed):
- print("Note: compression increased length", repr(decompressed), len(decompressed), current_byte, file=sys.stderr)
return enc[:current_byte]
def qstr_escape(qst):
diff --git a/tools/gen_display_resources.py b/tools/gen_display_resources.py
index 478a2f22f..e4197aabf 100644
--- a/tools/gen_display_resources.py
+++ b/tools/gen_display_resources.py
@@ -61,7 +61,6 @@ f.load_glyphs(set(ord(c) for c in all_characters))
# Get each glyph.
for c in set(all_characters):
if ord(c) not in f._glyphs:
- print("Font missing character:", c, ord(c))
filtered_characters = filtered_characters.replace(c, "")
continue
g = f.get_glyph(ord(c))