mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Revision:
189:f392fc9709a3
Parent:
188:bcfe06ba3d64
--- a/platform/mbed_assert.h	Thu Nov 08 11:46:34 2018 +0000
+++ b/platform/mbed_assert.h	Wed Feb 20 22:31:08 2019 +0000
@@ -7,6 +7,7 @@
  */
 /* mbed Microcontroller Library
  * Copyright (c) 2006-2013 ARM Limited
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,6 +25,7 @@
 #define MBED_ASSERT_H
 
 #include "mbed_preprocessor.h"
+#include "mbed_toolchain.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -37,7 +39,7 @@
  *  @param file File where assertation failed.
  *  @param line Failing assertation line number.
  */
-void mbed_assert_internal(const char *expr, const char *file, int line);
+MBED_NORETURN void mbed_assert_internal(const char *expr, const char *file, int line);
 
 #ifdef __cplusplus
 }