summaryrefslogtreecommitdiff
path: root/source/hal/profiles/bare-metal/bsp/retarget.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/hal/profiles/bare-metal/bsp/retarget.c')
-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) */