commit | dfb96021b49bf16f050fead3a9cea46f071b1bc4 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome@forissier.org> | Wed Sep 18 17:58:00 2019 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Sep 30 09:44:47 2019 +0200 |
tree | 72bc58bfb3cd7d185538559bddc3f538797bc955 | |
parent | 6363325c77066920e5867795c4c52cf1583ee62f [diff] |
scripts/bin_to_c.py: add support for text files bin_to_c.py may be useful to generate a C file from a text file, not only from a binary file. This patch adds the --text argument for that purpose. With --text, the script will: - define a "const char []" variable, - error out if a null byte is encountered, - terminate the input string with a null byte. Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers