Biomimetics MBED Library w/ Added Support for CAN3

Dependents:   CAN_TEST SPIne_Plus_DYNO_SENSORS SPIne_Plus_v2 SPIne_Plus_Dyno_v2

Committer:
saloutos
Date:
Thu Nov 26 04:08:56 2020 +0000
Revision:
0:083111ae2a11
first commit of leaned mbed dev lib

Who changed what in which revision?

UserRevisionLine numberNew contents of line
saloutos 0:083111ae2a11 1 /* mbed Microcontroller Library
saloutos 0:083111ae2a11 2 * Copyright (c) 2006-2013 ARM Limited
saloutos 0:083111ae2a11 3 *
saloutos 0:083111ae2a11 4 * Licensed under the Apache License, Version 2.0 (the "License");
saloutos 0:083111ae2a11 5 * you may not use this file except in compliance with the License.
saloutos 0:083111ae2a11 6 * You may obtain a copy of the License at
saloutos 0:083111ae2a11 7 *
saloutos 0:083111ae2a11 8 * http://www.apache.org/licenses/LICENSE-2.0
saloutos 0:083111ae2a11 9 *
saloutos 0:083111ae2a11 10 * Unless required by applicable law or agreed to in writing, software
saloutos 0:083111ae2a11 11 * distributed under the License is distributed on an "AS IS" BASIS,
saloutos 0:083111ae2a11 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
saloutos 0:083111ae2a11 13 * See the License for the specific language governing permissions and
saloutos 0:083111ae2a11 14 * limitations under the License.
saloutos 0:083111ae2a11 15 */
saloutos 0:083111ae2a11 16 #include "platform/mbed_assert.h"
saloutos 0:083111ae2a11 17 #include "device.h"
saloutos 0:083111ae2a11 18
saloutos 0:083111ae2a11 19 #include "platform/mbed_interface.h"
saloutos 0:083111ae2a11 20 #include "platform/mbed_critical.h"
saloutos 0:083111ae2a11 21
saloutos 0:083111ae2a11 22 void mbed_assert_internal(const char *expr, const char *file, int line)
saloutos 0:083111ae2a11 23 {
saloutos 0:083111ae2a11 24 core_util_critical_section_enter();
saloutos 0:083111ae2a11 25 mbed_error_printf("mbed assertation failed: %s, file: %s, line %d \n", expr, file, line);
saloutos 0:083111ae2a11 26 mbed_die();
saloutos 0:083111ae2a11 27 }