Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
mbed_application.h
00001 00002 /** \addtogroup platform */ 00003 /** @{*/ 00004 /* mbed Microcontroller Library 00005 * Copyright (c) 2017-2017 ARM Limited 00006 * 00007 * Licensed under the Apache License, Version 2.0 (the "License"); 00008 * you may not use this file except in compliance with the License. 00009 * You may obtain a copy of the License at 00010 * 00011 * http://www.apache.org/licenses/LICENSE-2.0 00012 * 00013 * Unless required by applicable law or agreed to in writing, software 00014 * distributed under the License is distributed on an "AS IS" BASIS, 00015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00016 * See the License for the specific language governing permissions and 00017 * limitations under the License. 00018 */ 00019 #ifndef MBED_APPLICATION_H 00020 #define MBED_APPLICATION_H 00021 00022 #include<stdint.h> 00023 00024 #if defined(__CORTEX_M3) || defined(__CORTEX_M4) || defined(__CORTEX_M7) 00025 #define MBED_APPLICATION_SUPPORT 1 00026 #else 00027 #define MBED_APPLICATION_SUPPORT 0 00028 #endif 00029 00030 #if MBED_APPLICATION_SUPPORT 00031 #ifdef __cplusplus 00032 extern "C" { 00033 #endif 00034 00035 /** 00036 * Start the application at the given address. This function does 00037 * not return. It is the applications responsibility for flushing to 00038 * or powering down external components such as filesystems or 00039 * socket connections before calling this function. For Cortex-M 00040 * devices this function powers down generic system components such as 00041 * the NVIC and set the vector table to that of the new image followed 00042 * by jumping to the reset handler of the new image. 00043 * 00044 * @param address Starting address of next application to run 00045 */ 00046 void mbed_start_application(uintptr_t address); 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif 00051 #endif 00052 00053 #endif 00054 00055 /** @}*/
Generated on Tue Jul 12 2022 14:01:30 by
1.7.2
