Final version.
Dependencies: F746_GUI F746_SAI_IO UIT_FFT_Real
Fork of F746_Spectrogram by
mbed_src_STM32F7/api/toolchain.h@9:444e58089d09, 2017-08-30 (annotated)
- Committer:
- mladjo1993
- Date:
- Wed Aug 30 07:47:58 2017 +0000
- Revision:
- 9:444e58089d09
- Parent:
- 4:c1beacfc42c7
Final version.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MikamiUitOpen | 4:c1beacfc42c7 | 1 | /* mbed Microcontroller Library |
MikamiUitOpen | 4:c1beacfc42c7 | 2 | * Copyright (c) 2006-2013 ARM Limited |
MikamiUitOpen | 4:c1beacfc42c7 | 3 | * |
MikamiUitOpen | 4:c1beacfc42c7 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
MikamiUitOpen | 4:c1beacfc42c7 | 5 | * you may not use this file except in compliance with the License. |
MikamiUitOpen | 4:c1beacfc42c7 | 6 | * You may obtain a copy of the License at |
MikamiUitOpen | 4:c1beacfc42c7 | 7 | * |
MikamiUitOpen | 4:c1beacfc42c7 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
MikamiUitOpen | 4:c1beacfc42c7 | 9 | * |
MikamiUitOpen | 4:c1beacfc42c7 | 10 | * Unless required by applicable law or agreed to in writing, software |
MikamiUitOpen | 4:c1beacfc42c7 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
MikamiUitOpen | 4:c1beacfc42c7 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
MikamiUitOpen | 4:c1beacfc42c7 | 13 | * See the License for the specific language governing permissions and |
MikamiUitOpen | 4:c1beacfc42c7 | 14 | * limitations under the License. |
MikamiUitOpen | 4:c1beacfc42c7 | 15 | */ |
MikamiUitOpen | 4:c1beacfc42c7 | 16 | #ifndef MBED_TOOLCHAIN_H |
MikamiUitOpen | 4:c1beacfc42c7 | 17 | #define MBED_TOOLCHAIN_H |
MikamiUitOpen | 4:c1beacfc42c7 | 18 | |
MikamiUitOpen | 4:c1beacfc42c7 | 19 | #if defined(TOOLCHAIN_ARM) |
MikamiUitOpen | 4:c1beacfc42c7 | 20 | #include <rt_sys.h> |
MikamiUitOpen | 4:c1beacfc42c7 | 21 | #endif |
MikamiUitOpen | 4:c1beacfc42c7 | 22 | |
MikamiUitOpen | 4:c1beacfc42c7 | 23 | #ifndef FILEHANDLE |
MikamiUitOpen | 4:c1beacfc42c7 | 24 | typedef int FILEHANDLE; |
MikamiUitOpen | 4:c1beacfc42c7 | 25 | #endif |
MikamiUitOpen | 4:c1beacfc42c7 | 26 | |
MikamiUitOpen | 4:c1beacfc42c7 | 27 | #if defined (__ICCARM__) |
MikamiUitOpen | 4:c1beacfc42c7 | 28 | # define WEAK __weak |
MikamiUitOpen | 4:c1beacfc42c7 | 29 | # define PACKED __packed |
MikamiUitOpen | 4:c1beacfc42c7 | 30 | #else |
MikamiUitOpen | 4:c1beacfc42c7 | 31 | # define WEAK __attribute__((weak)) |
MikamiUitOpen | 4:c1beacfc42c7 | 32 | # define PACKED __attribute__((packed)) |
MikamiUitOpen | 4:c1beacfc42c7 | 33 | #endif |
MikamiUitOpen | 4:c1beacfc42c7 | 34 | |
MikamiUitOpen | 4:c1beacfc42c7 | 35 | #endif |