1+ {
2+ "version" : 3 ,
3+ "configurePresets" : [
4+ {
5+ "name" : " stm32f302-preset" ,
6+ "displayName" : " STM32F302x8 Build" ,
7+ "description" : " Configures the build for an STM32F302x8 target using the ARM GCC toolchain and Ninja." ,
8+ "generator" : " Ninja" ,
9+ "binaryDir" : " ${sourceDir}/build/${presetName}" ,
10+ "cacheVariables" : {
11+ "CMAKE_BUILD_TYPE" : " Debug" ,
12+ "EVT_CORE_LOG_ENABLE" : " 1" ,
13+ "TARGET_DEV" : " STM32F302x8" ,
14+ "FORCE_COLORED_OUTPUT" : " 1"
15+ }
16+ },
17+ {
18+ "name" : " stm32f334-preset" ,
19+ "displayName" : " STM32F334x8 Build" ,
20+ "description" : " Configures the build for an STM32F334x8 target using the ARM GCC toolchain and Ninja." ,
21+ "generator" : " Ninja" ,
22+ "binaryDir" : " ${sourceDir}/build/${presetName}" ,
23+ "cacheVariables" : {
24+ "CMAKE_BUILD_TYPE" : " Debug" ,
25+ "EVT_CORE_LOG_ENABLE" : " 1" ,
26+ "TARGET_DEV" : " STM32F334x8" ,
27+ "FORCE_COLORED_OUTPUT" : " 1"
28+ }
29+ },
30+ {
31+ "name" : " stm32f446-preset" ,
32+ "displayName" : " STM32F446xx Build" ,
33+ "description" : " Configures the build for an STM32F446xx target using the ARM GCC toolchain and Ninja." ,
34+ "generator" : " Ninja" ,
35+ "binaryDir" : " ${sourceDir}/build/${presetName}" ,
36+ "cacheVariables" : {
37+ "CMAKE_BUILD_TYPE" : " Debug" ,
38+ "EVT_CORE_LOG_ENABLE" : " 1" ,
39+ "TARGET_DEV" : " STM32F446xx" ,
40+ "FORCE_COLORED_OUTPUT" : " 1"
41+ }
42+ },
43+ {
44+ "name" : " stm32f446-rtos-preset" ,
45+ "displayName" : " STM32F446xx Build (RTOS)" ,
46+ "description" : " Configures the build for an STM32F446xx target with RTOS support using the ARM GCC toolchain and Ninja." ,
47+ "generator" : " Ninja" ,
48+ "binaryDir" : " ${sourceDir}/build/${presetName}" ,
49+ "cacheVariables" : {
50+ "CMAKE_BUILD_TYPE" : " Debug" ,
51+ "EVT_CORE_LOG_ENABLE" : true ,
52+ "TARGET_DEV" : " STM32F446xx" ,
53+ "FORCE_COLORED_OUTPUT" : true ,
54+ "USE_RTOS" : true
55+ }
56+ }
57+ ],
58+ "buildPresets" : [
59+ {
60+ "name" : " stm32f302-build" ,
61+ "configurePreset" : " stm32f302-preset" ,
62+ "displayName" : " Build for STM32F302"
63+ },
64+ {
65+ "name" : " stm32f334-build" ,
66+ "configurePreset" : " stm32f334-preset" ,
67+ "displayName" : " Build for STM32F334"
68+ },
69+ {
70+ "name" : " stm32f446-build" ,
71+ "configurePreset" : " stm32f446-preset" ,
72+ "displayName" : " Build for STM32F446"
73+ },
74+ {
75+ "name" : " stm32f446-rtos-build" ,
76+ "configurePreset" : " stm32f446-rtos-preset" ,
77+ "displayName" : " Build for STM32F446 (RTOS)"
78+ }
79+ ]
80+ }
0 commit comments