We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ebefcd commit 5bc33b9Copy full SHA for 5bc33b9
platform/mbed_retarget.cpp
@@ -351,7 +351,9 @@ extern "C" void PREFIX(_exit)(int return_code) {
351
}
352
353
extern "C" void _ttywrch(int ch) {
354
+#if DEVICE_SERIAL
355
serial_putc(&stdio_uart, ch);
356
+#endif
357
358
#endif
359
@@ -739,6 +741,7 @@ extern "C" int errno;
739
741
740
742
// Dynamic memory allocation related syscall.
743
#if defined(TARGET_NUVOTON)
744
+
745
// Overwrite _sbrk() to support two region model (heap and stack are two distinct regions).
746
// __wrap__sbrk() is implemented in:
747
// TARGET_NUMAKER_PFM_NUC472 targets/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/nuc472_retarget.c
0 commit comments