ProfilerCompatibility.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef __MBED__
4 
5 #ifndef USE_RTX
6 #define USE_RTX
7 #endif
8 
9 #ifndef FAST_SEMIHOSTING_STDIO_DRIVER
10 #define FAST_SEMIHOSTING_STDIO_DRIVER 0
11 #endif
12 
13 #ifdef TARGET_STM32F0
14 #define PROFILER_STM32F0
15 #endif
16 
17 #ifdef TARGET_STM32F1
18 #define PROFILER_STM32F1
19 #endif
20 
21 #ifdef TARGET_STM32F2
22 #define PROFILER_STM32F2
23 #endif
24 
25 #ifdef TARGET_STM32F3
26 #define PROFILER_STM32F3
27 #endif
28 
29 #ifdef TARGET_STM32F4
30 #define PROFILER_STM32F4
31 #endif
32 
33 #ifdef TARGET_STM32F7
34 #define PROFILER_STM32F7
35 #endif
36 
37 #ifdef TARGET_STM32L0
38 #define PROFILER_STM32L0
39 #endif
40 
41 #ifdef TARGET_STM32L1
42 #define PROFILER_STM32L1
43 #endif
44 
45 #ifdef TARGET_STM32L4
46 #define PROFILER_STM32L4
47 #endif
48 
49 #ifdef TARGET_STM32W1
50 #define PROFILER_STM32W1
51 #endif
52 
53 #ifdef TARGET_STM32H7
54 #define PROFILER_STM32H7
55 #endif
56 
57 #endif