36c8b433c8
I was using a source file provided by TDK for a sensor driver and the file was (originally) not encoded as UTF-8. When the read() function was called, the build would fail but I had no idea why. This change wrapps the 'read()' call and prints the error with the file name as context. Signed-off-by: Yuval Peress <peress@google.com> |
||
---|---|---|
.. | ||
dir_is_writeable.py | ||
elf_parser.py | ||
file2hex.py | ||
gen_app_partitions.py | ||
gen_cfb_font_header.py | ||
gen_handles.py | ||
gen_image_info.py | ||
gen_isr_tables.py | ||
gen_kobject_list.py | ||
gen_kobject_placeholders.py | ||
gen_offset_header.py | ||
gen_relocate_app.py | ||
gen_strerror_table.py | ||
gen_syscalls.py | ||
mergehex.py | ||
parse_syscalls.py | ||
process_gperf.py | ||
subfolder_list.py | ||
uf2conv.py | ||
user_wordsize.py |