Age | Commit message (Collapse) | Author |
|
When using ARMClang compiler the functions _sys_write and _sys_read
should return the number of unprocessed characters, whilst when using
GCC the functions _write and _read should return the number of
processed (i.e., written or read) chars.
The code was returning the unprocessed characters value in both cases
(i.e., 0) making the calling code to exit early with error and stop
further processing when using GCC. Hence no subsequent calls to write
would be executed causing missing output on the console. For example,
string truncation has been seen when printing on stderr.
Note that the bug was not really visible when printing to stdout, but
it was immediately exposed when using stderr. This was likely due to
the fact that libc buffers the stdout output and flushes it only when
encountering a new line char (\n), whilst no buffering is done on
stderr. Indeed by printing whole buffers the problem was worked
around and went unseen.
Change-Id: I5a48d6a29441175b2a950716997332a8b9c34e10
|
|
Update all license headers to the correct years.
Change-Id: I18881cbceabe26066d69d8535bb3cb969cbaeba1
|
|
Moved the initialisation of the TensorArena from inference_process.cpp in core_software to application level.
Change-Id: Id2f8361b19241b4251e2ce90b4f330d32734e801
|
|
The source tree is configured for a specific target as defined in the
targets directory.
The common target components are defined in targets/common. Targets
for real platform should include this directory to get the default
target libraries setup.
Change-Id: I7fced4bfacec97432cbbd4125bd5b4cdd21122e3
|
|
Change-Id: I34e9845abdccb3363953bd70fad7c6420865291e
|