Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts: use python's hex() in ta_bin_to_c.py
- Python has a built in function to turn a byte into its respective hex value that can be used instead of string formatting the values directly. - Using the built in function instead of the previous string formatting method fixed an issue where bytes were failing to be written when we used an archaic yocto bsp from broadcom. - The built in function also has the benefit of being easier to read and understand. Signed-off-by: Dhananjay Phadke <dphadke@linux.microsoft.com> Signed-off-by: Andrew Mustea <andrew.mustea@microsoft.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
- Loading branch information