aboutsummaryrefslogtreecommitdiff
path: root/targets/corstone-300/retarget.c
AgeCommit message (Collapse)Author
2022-12-14Add minimal implementation of syscalls in retarget file.Ledion Daja
The nonsys specification of the newlib library, supplied with the Arm GNU toolchain provides stubbed version of several system calls, in order to allow linking with libc. Amongst such subroutines are _fstat, _getpid, _isatty ,_kill, _lseek, for which the GNU toolchain also generates a linker warning. Patch retargets these subroutines by adding a minimal implementation. Change-Id: I74db7ab77f49ce8c909eb24691b96d5e7b36692a
2022-10-25Add support for ARMCompiler 6.19Jonny Svärd
See Release Notes for ARMCompiler 6.19 for more information about the _sys_tmpnam change. Change-Id: Icf05d4c59d7fc6aed437744edd017447450da9cd
2021-12-14Add mpu driver and remove interface libraryYulia Garbovich
from drivers Add mpu driver for upstreaming After removing of interface library,targets and applications will list explicitly which libraries to link Change-Id: Icfa449a2981093161f283e45b4d52ca6199371b8
2021-08-18Fix: return value for GCC _write and _read is written/read chars21.08-rc321.08-rc221.08Davide Grohmann
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
2021-03-31Update license headersAnton Moberg
Update all license headers to the correct years. Change-Id: I18881cbceabe26066d69d8535bb3cb969cbaeba1
2021-02-15core_platform - TensorArena move21.02-rc2Anton Moberg
Moved the initialisation of the TensorArena from inference_process.cpp in core_software to application level. Change-Id: Id2f8361b19241b4251e2ce90b4f330d32734e801
2021-02-02Build system refactoringKristofer Jonsson
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
2020-11-26Add Corstone-300 target20.11Kristofer Jonsson
Change-Id: I34e9845abdccb3363953bd70fad7c6420865291e