mbed-os for GR-LYCHEE

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Committer:
dkato
Date:
Fri Feb 02 05:42:23 2018 +0000
Revision:
0:f782d9c66c49
mbed-os for GR-LYCHEE

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dkato 0:f782d9c66c49 1
dkato 0:f782d9c66c49 2 /** \addtogroup platform */
dkato 0:f782d9c66c49 3 /** @{*/
dkato 0:f782d9c66c49 4 /* mbed Microcontroller Library
dkato 0:f782d9c66c49 5 * Copyright (c) 2017-2017 ARM Limited
dkato 0:f782d9c66c49 6 *
dkato 0:f782d9c66c49 7 * Licensed under the Apache License, Version 2.0 (the "License");
dkato 0:f782d9c66c49 8 * you may not use this file except in compliance with the License.
dkato 0:f782d9c66c49 9 * You may obtain a copy of the License at
dkato 0:f782d9c66c49 10 *
dkato 0:f782d9c66c49 11 * http://www.apache.org/licenses/LICENSE-2.0
dkato 0:f782d9c66c49 12 *
dkato 0:f782d9c66c49 13 * Unless required by applicable law or agreed to in writing, software
dkato 0:f782d9c66c49 14 * distributed under the License is distributed on an "AS IS" BASIS,
dkato 0:f782d9c66c49 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
dkato 0:f782d9c66c49 16 * See the License for the specific language governing permissions and
dkato 0:f782d9c66c49 17 * limitations under the License.
dkato 0:f782d9c66c49 18 */
dkato 0:f782d9c66c49 19 #ifndef MBED_APPLICATION_H
dkato 0:f782d9c66c49 20 #define MBED_APPLICATION_H
dkato 0:f782d9c66c49 21
dkato 0:f782d9c66c49 22 #include<stdint.h>
dkato 0:f782d9c66c49 23
dkato 0:f782d9c66c49 24 #define MBED_APPLICATION_SUPPORT (defined(__CORTEX_M3) || defined(__CORTEX_M4) || defined(__CORTEX_M7))
dkato 0:f782d9c66c49 25 #if MBED_APPLICATION_SUPPORT
dkato 0:f782d9c66c49 26 #ifdef __cplusplus
dkato 0:f782d9c66c49 27 extern "C" {
dkato 0:f782d9c66c49 28 #endif
dkato 0:f782d9c66c49 29
dkato 0:f782d9c66c49 30 /**
dkato 0:f782d9c66c49 31 * Start the application at the given address. This function does
dkato 0:f782d9c66c49 32 * not return. It is the applications responsibility for flushing to
dkato 0:f782d9c66c49 33 * or powering down external components such as filesystems or
dkato 0:f782d9c66c49 34 * socket connections before calling this function. For Cortex-M
dkato 0:f782d9c66c49 35 * devices this function powers down generic system components such as
dkato 0:f782d9c66c49 36 * the NVIC and set the vector table to that of the new image followed
dkato 0:f782d9c66c49 37 * by jumping to the reset handler of the new image.
dkato 0:f782d9c66c49 38 *
dkato 0:f782d9c66c49 39 * @param address Starting address of next application to run
dkato 0:f782d9c66c49 40 */
dkato 0:f782d9c66c49 41 void mbed_start_application(uintptr_t address);
dkato 0:f782d9c66c49 42
dkato 0:f782d9c66c49 43 #ifdef __cplusplus
dkato 0:f782d9c66c49 44 }
dkato 0:f782d9c66c49 45 #endif
dkato 0:f782d9c66c49 46 #endif
dkato 0:f782d9c66c49 47
dkato 0:f782d9c66c49 48 #endif
dkato 0:f782d9c66c49 49
dkato 0:f782d9c66c49 50 /** @}*/