-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
87 lines (83 loc) · 1.77 KB
/
platformio.ini
File metadata and controls
87 lines (83 loc) · 1.77 KB
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
; 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
[platformio]
default_envs = nucleo_f446re
[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
platform_packages = platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.14
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 =
-D HFI
-fno-jump-tables
-fno-tree-switch-conversion
-O3