-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
117 lines (111 loc) · 2.21 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:nucleo_f446re]
platform = ststm32
board = nucleo_f446re
framework = arduino
lib_archive = no
monitor_speed = 2000000
monitor_eol = LF
build_type = release
debug_build_flags =
-Og
-g
-ggdb
-D SIMPLEFOC_STM32_ADC_INTERRUPT
-D HFI
-D SIMPLEFOC_STM32_DEBUG
build_unflags = -Os
build_flags =
-g
-ggdb
-D SIMPLEFOC_STM32_ADC_INTERRUPT
-D HFI
-D HFI_2XPWM
-O3
-D SIMPLEFOC_STM32_DEBUG
[env:bg431esc]
platform = ststm32
board = disco_b_g431b_esc1
framework = arduino
lib_archive = no
monitor_speed = 2000000
monitor_eol = LF
build_type = release
build_unflags = -Os
debug_build_flags =
-Og
-g
-ggdb
-D SIMPLEFOC_STM32_ADC_INTERRUPT
-D HFI
-D SIMPLEFOC_STM32_DEBUG
-DSERIAL_UART_INSTANCE=2
-D HAL_OPAMP_MODULE_ENABLED
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
build_flags =
-DPREFETCH=1U
-D SIMPLEFOC_STM32_ADC_INTERRUPT
-D HFI
-O3
-D SIMPLEFOC_STM32_DEBUG
-DSERIAL_UART_INSTANCE=2
-D HAL_OPAMP_MODULE_ENABLED
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
[env:esp32]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
lib_archive = no
monitor_speed = 115200
monitor_eol = LF
build_type = release
debug_build_flags =
-Og
-g
-ggdb
-D HFI
build_unflags = -Os
build_flags =
; -g
; -ggdb
-D HFI
-D HFI_2XPWM
; -D CONFIG_MCPWM_ISR_IRAM_SAFE
; -D CONFIG_MCPWM_CTRL_FUNC_IN_IRAM
-fno-jump-tables
-fno-tree-switch-conversion
-O3
[env:Nucleo-F746]
board = nucleo_f746zg
lib_archive = false
platform = ststm32
framework = arduino
monitor_speed = 2000000
monitor_eol = LF
build_type = release
debug_build_flags =
-Og
-g
-ggdb
-D SIMPLEFOC_STM32_ADC_INTERRUPT
-D HFI
-D SIMPLEFOC_STM32_DEBUG
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
build_unflags = -Os
build_flags =
-g
-ggdb
-D SIMPLEFOC_STM32_ADC_INTERRUPT
-D HFI
-D HFI_2XPWM
-O3
-D SIMPLEFOC_STM32_DEBUG
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF