distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
CMSIS-proxy.h
Go to the documentation of this file.
1 
12 #ifndef SOURCE_CHIP_STM32_STM32F4_INCLUDE_DISTORTOS_CHIP_CMSIS_PROXY_H_
13 #define SOURCE_CHIP_STM32_STM32F4_INCLUDE_DISTORTOS_CHIP_CMSIS_PROXY_H_
14 
16 
17 #if defined(CONFIG_CHIP_STM32F401CB) || defined(CONFIG_CHIP_STM32F401CC) || defined(CONFIG_CHIP_STM32F401RB) || \
18  defined(CONFIG_CHIP_STM32F401RC) || defined(CONFIG_CHIP_STM32F401VB) || defined(CONFIG_CHIP_STM32F401VC)
19  #define STM32F401xC
20 #elif defined(CONFIG_CHIP_STM32F401CD) || defined(CONFIG_CHIP_STM32F401CE) || defined(CONFIG_CHIP_STM32F401RD) || \
21  defined(CONFIG_CHIP_STM32F401RE) || defined(CONFIG_CHIP_STM32F401VD) || defined(CONFIG_CHIP_STM32F401VE)
22  #define STM32F401xE
23 #elif defined(CONFIG_CHIP_STM32F405)
24  #define STM32F405xx
25 #elif defined(CONFIG_CHIP_STM32F407)
26  #define STM32F407xx
27 #elif defined(CONFIG_CHIP_STM32F410C8) || defined(CONFIG_CHIP_STM32F410CB)
28  #define STM32F410Cx
29 #elif defined(CONFIG_CHIP_STM32F410R8) || defined(CONFIG_CHIP_STM32F410RB)
30  #define STM32F410Rx
31 #elif defined(CONFIG_CHIP_STM32F410T8) || defined(CONFIG_CHIP_STM32F410TB)
32  #define STM32F410Tx
33 #elif defined(CONFIG_CHIP_STM32F411)
34  #define STM32F411xE
35 #elif defined(CONFIG_CHIP_STM32F412C)
36  #define STM32F412Cx
37 #elif defined(CONFIG_CHIP_STM32F412R)
38  #define STM32F412Rx
39 #elif defined(CONFIG_CHIP_STM32F412V)
40  #define STM32F412Vx
41 #elif defined(CONFIG_CHIP_STM32F412Z)
42  #define STM32F412Zx
43 #elif defined(CONFIG_CHIP_STM32F413)
44  #define STM32F413xx
45 #elif defined(CONFIG_CHIP_STM32F415)
46  #define STM32F415xx
47 #elif defined(CONFIG_CHIP_STM32F417)
48  #define STM32F417xx
49 #elif defined(CONFIG_CHIP_STM32F423)
50  #define STM32F423xx
51 #elif defined(CONFIG_CHIP_STM32F427)
52  #define STM32F427xx
53 #elif defined(CONFIG_CHIP_STM32F429)
54  #define STM32F429xx
55 #elif defined(CONFIG_CHIP_STM32F437)
56  #define STM32F437xx
57 #elif defined(CONFIG_CHIP_STM32F439)
58  #define STM32F439xx
59 #elif defined(CONFIG_CHIP_STM32F446)
60  #define STM32F446xx
61 #elif defined(CONFIG_CHIP_STM32F469)
62  #define STM32F469xx
63 #elif defined(CONFIG_CHIP_STM32F479)
64  #define STM32F479xx
65 #else
66  #error "Unsupported STM32F4 chip!"
67 #endif
68 
69 #include "stm32f4xx.h"
70 
71 #endif /* SOURCE_CHIP_STM32_STM32F4_INCLUDE_DISTORTOS_CHIP_CMSIS_PROXY_H_ */
distortos configuration