Rahul Dahiya / Mbed OS STM32F7 Ethernet
Committer:
rahul_dahiya
Date:
Wed Jan 15 15:57:15 2020 +0530
Revision:
0:fb8047b156bb
STM32F7 LWIP

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rahul_dahiya 0:fb8047b156bb 1
rahul_dahiya 0:fb8047b156bb 2 /* mbed Microcontroller Library
rahul_dahiya 0:fb8047b156bb 3 * Copyright (c) 2013-2016 ARM Limited
rahul_dahiya 0:fb8047b156bb 4 *
rahul_dahiya 0:fb8047b156bb 5 * Licensed under the Apache License, Version 2.0 (the "License");
rahul_dahiya 0:fb8047b156bb 6 * you may not use this file except in compliance with the License.
rahul_dahiya 0:fb8047b156bb 7 * You may obtain a copy of the License at
rahul_dahiya 0:fb8047b156bb 8 *
rahul_dahiya 0:fb8047b156bb 9 * http://www.apache.org/licenses/LICENSE-2.0
rahul_dahiya 0:fb8047b156bb 10 *
rahul_dahiya 0:fb8047b156bb 11 * Unless required by applicable law or agreed to in writing, software
rahul_dahiya 0:fb8047b156bb 12 * distributed under the License is distributed on an "AS IS" BASIS,
rahul_dahiya 0:fb8047b156bb 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rahul_dahiya 0:fb8047b156bb 14 * See the License for the specific language governing permissions and
rahul_dahiya 0:fb8047b156bb 15 * limitations under the License.
rahul_dahiya 0:fb8047b156bb 16 */
rahul_dahiya 0:fb8047b156bb 17
rahul_dahiya 0:fb8047b156bb 18 #include "mbed.h"
rahul_dahiya 0:fb8047b156bb 19 #include "mbed_critical.h"
rahul_dahiya 0:fb8047b156bb 20 #include "utest/utest.h"
rahul_dahiya 0:fb8047b156bb 21
rahul_dahiya 0:fb8047b156bb 22 using namespace utest::v1;
rahul_dahiya 0:fb8047b156bb 23
rahul_dahiya 0:fb8047b156bb 24 void utest_v1_enter_critical_section(void)
rahul_dahiya 0:fb8047b156bb 25 {
rahul_dahiya 0:fb8047b156bb 26 core_util_critical_section_enter();
rahul_dahiya 0:fb8047b156bb 27 }
rahul_dahiya 0:fb8047b156bb 28
rahul_dahiya 0:fb8047b156bb 29 void utest_v1_leave_critical_section(void)
rahul_dahiya 0:fb8047b156bb 30 {
rahul_dahiya 0:fb8047b156bb 31 core_util_critical_section_exit();
rahul_dahiya 0:fb8047b156bb 32 }