assert rename to mbed_assert header file

pull/316/head
0xc0170 2014-05-28 16:38:00 +02:00
parent be43ebc182
commit 324407b59a
201 changed files with 201 additions and 201 deletions

View File

@ -26,7 +26,7 @@ void mbed_assert_internal(const char *expr, const char *file, int line);
#else
#define MBED_ASSERT(expr) \
do { \
if (!expr) { \
if (!(expr)) { \
mbed_assert_internal(#expr, __FILE__, __LINE__); \
} \
} while (0)

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
void pin_function(PinName pin, int function) {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "serial_api.h"
// math.h required for floating point operations for baud rate calculation

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "spi_api.h"
#include <math.h>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "spi_api.h"
#include <math.h>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogout_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
void pin_function(PinName pin, int function) {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "serial_api.h"
// math.h required for floating point operations for baud rate calculation

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"
#include "fsl_port_hal.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#include "fsl_gpio_hal.h"
#ifdef __cplusplus

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"
#include "fsl_clock_manager.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"

View File

@ -17,7 +17,7 @@
// math.h required for floating point operations for baud rate calculation
#include <math.h>
#include "assert.h"
#include "mbed_assert.h"
#include <string.h>

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <math.h>
#include "assert.h"
#include "mbed_assert.h"
#include "spi_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
// math.h required for floating point operations for baud rate calculation
//#include <math.h>
#include <string.h>
#include "assert.h"
#include "mbed_assert.h"
#include "serial_api.h"
#include "cmsis.h"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
//#include <math.h>
#include "assert.h"
#include "mbed_assert.h"
#include "spi_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
// math.h required for floating point operations for baud rate calculation
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include "spi_api.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include "spi_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"
#include "reserved_pins.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
// math.h required for floating point operations for baud rate calculation
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include "spi_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
// math.h required for floating point operations for baud rate calculation
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include "spi_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
// math.h required for floating point operations for baud rate calculation
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include <string.h>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include "spi_api.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogout_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "can_api.h"
#include "cmsis.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
// math.h required for floating point operations for baud rate calculation
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include "spi_api.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "can_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
// math.h required for floating point operations for baud rate calculation
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include <math.h>
#include "spi_api.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "gpio_api.h"
#include "pinmap.h"

View File

@ -16,7 +16,7 @@
#ifndef MBED_GPIO_OBJECT_H
#define MBED_GPIO_OBJECT_H
#include "assert.h"
#include "mbed_assert.h"
#ifdef __cplusplus
extern "C" {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "i2c_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pinmap.h"
#include "error.h"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "assert.h"
#include "mbed_assert.h"
#include "pwmout_api.h"
#include "cmsis.h"
#include "pinmap.h"

View File

@ -15,7 +15,7 @@
*
* Ported to NXP LPC43XX by Micromint USA <support@micromint.com>
*/
#include "assert.h"
#include "mbed_assert.h"
#include "analogin_api.h"
#include "cmsis.h"
#include "pinmap.h"

Some files were not shown because too many files have changed in this diff Show More