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