summaryrefslogtreecommitdiff
path: root/source/hal/profiles
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2022-03-01 10:23:11 +0000
committerKshitij Sisodia <kshitij.sisodia@arm.com>2022-03-01 10:23:11 +0000
commitacc6b85c0086ff4a37d2108ec9edfb8faf6f43e6 (patch)
tree1984577ca6ff33fd6f26e9f6370668c66e73fda8 /source/hal/profiles
parentee4920b338f7d1e690377093bcfaaf0ba203bff0 (diff)
downloadml-embedded-evaluation-kit-acc6b85c0086ff4a37d2108ec9edfb8faf6f43e6.tar.gz
MLECO-2983: Preliminary support to allow semihosting
Adding basic support to allow applications to build with semihosting support. Default state is always disabled. Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com> Change-Id: I1d34c3a246560aaffcb34eee801e1a87d887d559
Diffstat (limited to 'source/hal/profiles')
-rw-r--r--source/hal/profiles/bare-metal/bsp/retarget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/hal/profiles/bare-metal/bsp/retarget.c b/source/hal/profiles/bare-metal/bsp/retarget.c
index dfef62c..9ed3004 100644
--- a/source/hal/profiles/bare-metal/bsp/retarget.c
+++ b/source/hal/profiles/bare-metal/bsp/retarget.c
@@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+#if !defined(USE_SEMIHOSTING)
#include "uart_stdout.h"
@@ -266,3 +267,5 @@ int ferror(FILE *f)
}
#endif /* #ifndef ferror */
+
+#endif /* !defined(USE_SEMIHOSTING) */