Просмотр исходного кода

⬆️ Assert newer GCC in PIO via atmelavr@~3.4 (#23432)

Jason Smith 2 лет назад
Родитель
Сommit
554a2fc84a
Аккаунт пользователя с таким Email не найден
13 измененных файлов: 49 добавлений и 177 удалений
  1. 1
    14
      ini/avr.ini
  2. 0
    3
      ini/due.ini
  3. 0
    3
      ini/esp32.ini
  4. 0
    2
      ini/lpc176x.ini
  5. 0
    5
      ini/native.ini
  6. 0
    3
      ini/stm32f0.ini
  7. 0
    30
      ini/stm32f1-maple.ini
  8. 1
    31
      ini/stm32f1.ini
  9. 0
    47
      ini/stm32f4.ini
  10. 0
    2
      ini/stm32f7.ini
  11. 12
    12
      ini/stm32g0.ini
  12. 0
    1
      ini/stm32h7.ini
  13. 35
    24
      ini/teensy.ini

+ 1
- 14
ini/avr.ini Просмотреть файл

13
 # AVR (8-bit) Common Environment values
13
 # AVR (8-bit) Common Environment values
14
 #
14
 #
15
 [common_avr8]
15
 [common_avr8]
16
+platform          = atmelavr@~3.4
16
 build_flags       = ${common.build_flags} -Wl,--relax
17
 build_flags       = ${common.build_flags} -Wl,--relax
17
 board_build.f_cpu = 16000000L
18
 board_build.f_cpu = 16000000L
18
 src_filter        = ${common.default_src_filter} +<src/HAL/AVR>
19
 src_filter        = ${common.default_src_filter} +<src/HAL/AVR>
21
 # ATmega2560
22
 # ATmega2560
22
 #
23
 #
23
 [env:mega2560]
24
 [env:mega2560]
24
-platform = atmelavr
25
 extends  = common_avr8
25
 extends  = common_avr8
26
 board    = megaatmega2560
26
 board    = megaatmega2560
27
 
27
 
33
 # BOARD_EINSTART_S
33
 # BOARD_EINSTART_S
34
 #
34
 #
35
 [env:mega2560ext]
35
 [env:mega2560ext]
36
-platform            = atmelavr
37
 extends             = env:mega2560
36
 extends             = env:mega2560
38
 board_build.variant = MARLIN_MEGA_EXTENDED
37
 board_build.variant = MARLIN_MEGA_EXTENDED
39
 extra_scripts       = ${common.extra_scripts}
38
 extra_scripts       = ${common.extra_scripts}
43
 # ATmega1280
42
 # ATmega1280
44
 #
43
 #
45
 [env:mega1280]
44
 [env:mega1280]
46
-platform = atmelavr
47
 extends  = common_avr8
45
 extends  = common_avr8
48
 board    = megaatmega1280
46
 board    = megaatmega1280
49
 
47
 
61
 # MightyBoard ATmega1280
59
 # MightyBoard ATmega1280
62
 #
60
 #
63
 [env:MightyBoard1280]
61
 [env:MightyBoard1280]
64
-platform = atmelavr
65
 extends  = mega_extended_optimized
62
 extends  = mega_extended_optimized
66
 board    = megaatmega1280
63
 board    = megaatmega1280
67
 
64
 
69
 # MightyBoard ATmega2560
66
 # MightyBoard ATmega2560
70
 #
67
 #
71
 [env:MightyBoard2560]
68
 [env:MightyBoard2560]
72
-platform = atmelavr
73
 extends  = mega_extended_optimized
69
 extends  = mega_extended_optimized
74
 board    = megaatmega2560
70
 board    = megaatmega2560
75
 
71
 
77
 # RAMBo
73
 # RAMBo
78
 #
74
 #
79
 [env:rambo]
75
 [env:rambo]
80
-platform = atmelavr
81
 extends  = common_avr8
76
 extends  = common_avr8
82
 board    = reprap_rambo
77
 board    = reprap_rambo
83
 
78
 
85
 # FYSETC F6 V1.3 / V1.4
80
 # FYSETC F6 V1.3 / V1.4
86
 #
81
 #
87
 [env:FYSETC_F6]
82
 [env:FYSETC_F6]
88
-platform = atmelavr
89
 extends  = common_avr8
83
 extends  = common_avr8
90
 board    = fysetc_f6_13
84
 board    = fysetc_f6_13
91
 
85
 
93
 # Sanguinololu (ATmega644p)
87
 # Sanguinololu (ATmega644p)
94
 #
88
 #
95
 [env:sanguino644p]
89
 [env:sanguino644p]
96
-platform = atmelavr
97
 extends  = common_avr8
90
 extends  = common_avr8
98
 board    = sanguino_atmega644p
91
 board    = sanguino_atmega644p
99
 
92
 
101
 # Sanguinololu (ATmega1284p)
94
 # Sanguinololu (ATmega1284p)
102
 #
95
 #
103
 [env:sanguino1284p]
96
 [env:sanguino1284p]
104
-platform                  = atmelavr
105
 extends                   = common_avr8
97
 extends                   = common_avr8
106
 board                     = sanguino_atmega1284p
98
 board                     = sanguino_atmega1284p
107
 board_upload.maximum_size = 126976
99
 board_upload.maximum_size = 126976
114
 build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
106
 build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
115
 
107
 
116
 [env:sanguino1284p_optimized]
108
 [env:sanguino1284p_optimized]
117
-platform    = atmelavr
118
 extends     = env:sanguino1284p
109
 extends     = env:sanguino1284p
119
 build_flags = ${tuned_1284p.build_flags}
110
 build_flags = ${tuned_1284p.build_flags}
120
 
111
 
122
 # Melzi and clones (ATmega1284p)
113
 # Melzi and clones (ATmega1284p)
123
 #
114
 #
124
 [env:melzi]
115
 [env:melzi]
125
-platform     = atmelavr
126
 extends      = env:sanguino1284p
116
 extends      = env:sanguino1284p
127
 upload_speed = 57600
117
 upload_speed = 57600
128
 
118
 
129
 [env:melzi_optimized]
119
 [env:melzi_optimized]
130
-platform     = atmelavr
131
 extends      = env:sanguino1284p_optimized
120
 extends      = env:sanguino1284p_optimized
132
 upload_speed = 57600
121
 upload_speed = 57600
133
 
122
 
135
 # Melzi and clones (Optiboot bootloader)
124
 # Melzi and clones (Optiboot bootloader)
136
 #
125
 #
137
 [env:melzi_optiboot]
126
 [env:melzi_optiboot]
138
-platform     = atmelavr
139
 extends      = common_avr8
127
 extends      = common_avr8
140
 board        = sanguino_atmega1284p
128
 board        = sanguino_atmega1284p
141
 upload_speed = 115200
129
 upload_speed = 115200
145
 # Melzi and clones (Zonestar Melzi2 with tuned flags)
133
 # Melzi and clones (Zonestar Melzi2 with tuned flags)
146
 #
134
 #
147
 [env:melzi_optiboot_optimized]
135
 [env:melzi_optiboot_optimized]
148
-platform    = atmelavr
149
 extends     = env:melzi_optiboot
136
 extends     = env:melzi_optiboot
150
 build_flags = ${tuned_1284p.build_flags}
137
 build_flags = ${tuned_1284p.build_flags}

+ 0
- 3
ini/due.ini Просмотреть файл

21
 src_filter = ${common.default_src_filter} +<src/HAL/DUE> +<src/HAL/shared/backtrace>
21
 src_filter = ${common.default_src_filter} +<src/HAL/DUE> +<src/HAL/shared/backtrace>
22
 
22
 
23
 [env:DUE_USB]
23
 [env:DUE_USB]
24
-platform = atmelsam
25
 extends  = env:DUE
24
 extends  = env:DUE
26
 board    = dueUSB
25
 board    = dueUSB
27
 
26
 
29
 # Archim SAM
28
 # Archim SAM
30
 #
29
 #
31
 [common_DUE_archim]
30
 [common_DUE_archim]
32
-platform                 = atmelsam
33
 extends                  = env:DUE
31
 extends                  = env:DUE
34
 board                    = marlin_archim
32
 board                    = marlin_archim
35
 build_flags              = ${common.build_flags}
33
 build_flags              = ${common.build_flags}
39
   Marlin/src/HAL/DUE/upload_extra_script.py
37
   Marlin/src/HAL/DUE/upload_extra_script.py
40
 
38
 
41
 [env:DUE_archim]
39
 [env:DUE_archim]
42
-platform = ${common_DUE_archim.platform}
43
 extends  = common_DUE_archim
40
 extends  = common_DUE_archim

+ 0
- 3
ini/esp32.ini Просмотреть файл

24
 #board_build.flash_mode = qio
24
 #board_build.flash_mode = qio
25
 
25
 
26
 [env:FYSETC_E4]
26
 [env:FYSETC_E4]
27
-platform               = espressif32@2.1.0
28
 extends                = env:esp32
27
 extends                = env:esp32
29
 board_build.partitions = default_16MB.csv
28
 board_build.partitions = default_16MB.csv
30
 
29
 
31
 [env:PANDA]
30
 [env:PANDA]
32
-platform      = espressif32@2.1.0
33
 extends       = env:esp32
31
 extends       = env:esp32
34
 build_flags   = ${env:esp32.build_flags} -DUSE_ESP32_EXIO -DUSE_ESP32_TASK_WDT
32
 build_flags   = ${env:esp32.build_flags} -DUSE_ESP32_EXIO -DUSE_ESP32_TASK_WDT
35
 lib_deps      = ${common.lib_deps}
33
 lib_deps      = ${common.lib_deps}
40
 
38
 
41
 [env:mks_tinybee]
39
 [env:mks_tinybee]
42
 extends                = env:esp32
40
 extends                = env:esp32
43
-platform               = espressif32@2.1.0
44
 board_build.partitions = default_8MB.csv
41
 board_build.partitions = default_8MB.csv

+ 0
- 2
ini/lpc176x.ini Просмотреть файл

34
 # NXP LPC176x ARM Cortex-M3
34
 # NXP LPC176x ARM Cortex-M3
35
 #
35
 #
36
 [env:LPC1768]
36
 [env:LPC1768]
37
-platform = ${common_LPC.platform}
38
 extends  = common_LPC
37
 extends  = common_LPC
39
 board    = nxp_lpc1768
38
 board    = nxp_lpc1768
40
 
39
 
41
 [env:LPC1769]
40
 [env:LPC1769]
42
-platform = ${common_LPC.platform}
43
 extends  = common_LPC
41
 extends  = common_LPC
44
 board    = nxp_lpc1769
42
 board    = nxp_lpc1769

+ 0
- 5
ini/native.ini Просмотреть файл

52
 build_flags = ${simulator_common.build_flags} -ldl -lpthread -lSDL2 -lSDL2_net -lGL
52
 build_flags = ${simulator_common.build_flags} -ldl -lpthread -lSDL2 -lSDL2_net -lGL
53
 
53
 
54
 [env:simulator_linux_debug]
54
 [env:simulator_linux_debug]
55
-platform   = ${simulator_linux.platform}
56
 extends    = simulator_linux
55
 extends    = simulator_linux
57
 build_type = debug
56
 build_type = debug
58
 
57
 
59
 [env:simulator_linux_release]
58
 [env:simulator_linux_release]
60
-platform    = ${simulator_linux.platform}
61
 extends     = simulator_linux
59
 extends     = simulator_linux
62
 build_type  = release
60
 build_type  = release
63
 build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
61
 build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
92
   -lSDL2
90
   -lSDL2
93
 
91
 
94
 [env:simulator_macos_debug]
92
 [env:simulator_macos_debug]
95
-platform        = ${env:simulator_linux_release.platform}
96
 extends         = env:simulator_linux_debug
93
 extends         = env:simulator_linux_debug
97
 build_flags     = ${env:simulator_linux_debug.build_flags} ${simulator_macos.build_flags} -ggdb -Og -D_THREAD_SAFE
94
 build_flags     = ${env:simulator_linux_debug.build_flags} ${simulator_macos.build_flags} -ggdb -Og -D_THREAD_SAFE
98
 build_unflags   = ${simulator_macos.build_unflags}
95
 build_unflags   = ${simulator_macos.build_unflags}
99
 
96
 
100
 [env:simulator_macos_release]
97
 [env:simulator_macos_release]
101
-platform        = ${env:simulator_linux_release.platform}
102
 extends         = env:simulator_linux_release
98
 extends         = env:simulator_linux_release
103
 build_flags     = ${env:simulator_linux_release.build_flags} ${simulator_macos.build_flags}
99
 build_flags     = ${env:simulator_linux_release.build_flags} ${simulator_macos.build_flags}
104
 build_unflags   = ${simulator_macos.build_unflags}
100
 build_unflags   = ${simulator_macos.build_unflags}
110
 #  pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-glm mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_net mingw-w64-x86_64-dlfcn
106
 #  pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-glm mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_net mingw-w64-x86_64-dlfcn
111
 #
107
 #
112
 [env:simulator_windows]
108
 [env:simulator_windows]
113
-platform    = ${simulator_common.platform}
114
 extends     = simulator_common
109
 extends     = simulator_common
115
 src_build_flags = ${simulator_common.src_build_flags} -fpermissive
110
 src_build_flags = ${simulator_common.src_build_flags} -fpermissive
116
 build_flags = ${simulator_common.build_flags} ${simulator_common.debug_build_flags} -IC:\\msys64\\mingw64\\include\\SDL2 -fno-stack-protector -Wl,-subsystem,windows -ldl -lmingw32 -lSDL2main -lSDL2 -lSDL2_net -lopengl32 -lssp
111
 build_flags = ${simulator_common.build_flags} ${simulator_common.debug_build_flags} -IC:\\msys64\\mingw64\\include\\SDL2 -fno-stack-protector -Wl,-subsystem,windows -ldl -lmingw32 -lSDL2main -lSDL2 -lSDL2_net -lopengl32 -lssp

+ 0
- 3
ini/stm32f0.ini Просмотреть файл

23
 # Malyan M200 v2 (STM32F070RB)
23
 # Malyan M200 v2 (STM32F070RB)
24
 #
24
 #
25
 [env:STM32F070RB_malyan]
25
 [env:STM32F070RB_malyan]
26
-platform    = ${common_stm32.platform}
27
 extends     = common_stm32
26
 extends     = common_stm32
28
 board       = marlin_malyanM200v2
27
 board       = marlin_malyanM200v2
29
 build_flags = ${common_stm32.build_flags} -DHAL_PCD_MODULE_ENABLED
28
 build_flags = ${common_stm32.build_flags} -DHAL_PCD_MODULE_ENABLED
34
 # Malyan M200 v2 (STM32F070CB)
33
 # Malyan M200 v2 (STM32F070CB)
35
 #
34
 #
36
 [env:STM32F070CB_malyan]
35
 [env:STM32F070CB_malyan]
37
-platform    = ${common_stm32.platform}
38
 extends     = common_stm32
36
 extends     = common_stm32
39
 board       = malyanm200_f070cb
37
 board       = malyanm200_f070cb
40
 build_flags = ${common_stm32.build_flags}
38
 build_flags = ${common_stm32.build_flags}
45
 # Malyan M300 (STM32F070CB)
43
 # Malyan M300 (STM32F070CB)
46
 #
44
 #
47
 [env:malyan_M300]
45
 [env:malyan_M300]
48
-platform    = ${common_stm32.platform}
49
 extends     = common_stm32
46
 extends     = common_stm32
50
 board       = malyanm300_f070cb
47
 board       = malyanm300_f070cb
51
 build_flags = ${common_stm32.build_flags}
48
 build_flags = ${common_stm32.build_flags}

+ 0
- 30
ini/stm32f1-maple.ini Просмотреть файл

42
 # STM32F103RC
42
 # STM32F103RC
43
 #
43
 #
44
 [common_STM32F103RC_maple]
44
 [common_STM32F103RC_maple]
45
-platform          = ${common_stm32f1.platform}
46
 extends           = common_stm32f1
45
 extends           = common_stm32f1
47
 board             = genericSTM32F103RC
46
 board             = genericSTM32F103RC
48
 monitor_speed     = 115200
47
 monitor_speed     = 115200
51
 # MEEB_3DP (STM32F103RCT6 with 512K)
50
 # MEEB_3DP (STM32F103RCT6 with 512K)
52
 #
51
 #
53
 [env:STM32F103RC_meeb]
52
 [env:STM32F103RC_meeb]
54
-platform          = ${common_stm32f1.platform}
55
 extends           = common_STM32F103RC_maple
53
 extends           = common_STM32F103RC_maple
56
 board             = marlin_MEEB_3DP
54
 board             = marlin_MEEB_3DP
57
 build_flags       = ${common_stm32f1.build_flags}
55
 build_flags       = ${common_stm32f1.build_flags}
75
 # FYSETC STM32F103RC
73
 # FYSETC STM32F103RC
76
 #
74
 #
77
 [env:STM32F103RC_fysetc_maple]
75
 [env:STM32F103RC_fysetc_maple]
78
-platform          = ${common_stm32f1.platform}
79
 extends           = common_STM32F103RC_maple
76
 extends           = common_STM32F103RC_maple
80
 extra_scripts     = ${common_stm32f1.extra_scripts}
77
 extra_scripts     = ${common_stm32f1.extra_scripts}
81
   buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
78
   buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
91
 #   STM32F103RC_btt_USB_maple ......... RCT6 with 256K (USB mass storage)
88
 #   STM32F103RC_btt_USB_maple ......... RCT6 with 256K (USB mass storage)
92
 #
89
 #
93
 [env:STM32F103RC_btt_maple]
90
 [env:STM32F103RC_btt_maple]
94
-platform             = ${common_stm32f1.platform}
95
 extends              = common_STM32F103RC_maple
91
 extends              = common_STM32F103RC_maple
96
 board_build.address  = 0x08007000
92
 board_build.address  = 0x08007000
97
 board_build.ldscript = STM32F103RC_SKR_MINI_256K.ld
93
 board_build.ldscript = STM32F103RC_SKR_MINI_256K.ld
102
 monitor_speed        = 115200
98
 monitor_speed        = 115200
103
 
99
 
104
 [env:STM32F103RC_btt_USB_maple]
100
 [env:STM32F103RC_btt_USB_maple]
105
-platform          = ${common_stm32f1.platform}
106
 extends           = env:STM32F103RC_btt_maple
101
 extends           = env:STM32F103RC_btt_maple
107
 build_flags       = ${env:STM32F103RC_btt_maple.build_flags} -DUSE_USB_COMPOSITE
102
 build_flags       = ${env:STM32F103RC_btt_maple.build_flags} -DUSE_USB_COMPOSITE
108
 lib_deps          = ${env:STM32F103RC_btt_maple.lib_deps}
103
 lib_deps          = ${env:STM32F103RC_btt_maple.lib_deps}
112
 # Generic STM32F103RE environment
107
 # Generic STM32F103RE environment
113
 #
108
 #
114
 [env:STM32F103RE_maple]
109
 [env:STM32F103RE_maple]
115
-platform          = ${common_stm32f1.platform}
116
 extends           = common_stm32f1
110
 extends           = common_stm32f1
117
 board             = genericSTM32F103RE
111
 board             = genericSTM32F103RE
118
 monitor_speed     = 115200
112
 monitor_speed     = 115200
121
 # Creality (STM32F103RET6)
115
 # Creality (STM32F103RET6)
122
 #
116
 #
123
 [env:STM32F103RET6_creality_maple]
117
 [env:STM32F103RET6_creality_maple]
124
-platform             = ${common_stm32f1.platform}
125
 extends              = env:STM32F103RE_maple
118
 extends              = env:STM32F103RE_maple
126
 build_flags          = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4
119
 build_flags          = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4
127
 board_build.address  = 0x08007000
120
 board_build.address  = 0x08007000
139
 #   STM32F103RE_btt_USB_maple ......... RET6 (USB mass storage)
132
 #   STM32F103RE_btt_USB_maple ......... RET6 (USB mass storage)
140
 #
133
 #
141
 [env:STM32F103RE_btt_maple]
134
 [env:STM32F103RE_btt_maple]
142
-platform          = ${common_stm32f1.platform}
143
 extends           = env:STM32F103RE_maple
135
 extends           = env:STM32F103RE_maple
144
 board_build.address  = 0x08007000
136
 board_build.address  = 0x08007000
145
 board_build.ldscript = STM32F103RE_SKR_MINI_512K.ld
137
 board_build.ldscript = STM32F103RE_SKR_MINI_512K.ld
150
 upload_protocol   = stlink
142
 upload_protocol   = stlink
151
 
143
 
152
 [env:STM32F103RE_btt_USB_maple]
144
 [env:STM32F103RE_btt_USB_maple]
153
-platform          = ${common_stm32f1.platform}
154
 extends           = env:STM32F103RE_btt_maple
145
 extends           = env:STM32F103RE_btt_maple
155
 build_flags       = ${env:STM32F103RE_btt_maple.build_flags} -DUSE_USB_COMPOSITE
146
 build_flags       = ${env:STM32F103RE_btt_maple.build_flags} -DUSE_USB_COMPOSITE
156
 lib_deps          = ${common_stm32f1.lib_deps}
147
 lib_deps          = ${common_stm32f1.lib_deps}
160
 # Geeetech GTM32 (STM32F103VET6)
151
 # Geeetech GTM32 (STM32F103VET6)
161
 #
152
 #
162
 [env:STM32F103VE_GTM32]
153
 [env:STM32F103VE_GTM32]
163
-platform        = ${common_stm32f1.platform}
164
 extends         = common_stm32f1
154
 extends         = common_stm32f1
165
 board           = genericSTM32F103VE
155
 board           = genericSTM32F103VE
166
 build_flags     = ${common_stm32f1.build_flags}
156
 build_flags     = ${common_stm32f1.build_flags}
174
 # Longer 3D board in Alfawise U20 (STM32F103VET6)
164
 # Longer 3D board in Alfawise U20 (STM32F103VET6)
175
 #
165
 #
176
 [env:STM32F103VE_longer_maple]
166
 [env:STM32F103VE_longer_maple]
177
-platform      = ${common_stm32f1.platform}
178
 extends       = common_stm32f1
167
 extends       = common_stm32f1
179
 board         = genericSTM32F103VE
168
 board         = genericSTM32F103VE
180
 board_build.address  = 0x08010000
169
 board_build.address  = 0x08010000
191
 # MKS Robin Mini (STM32F103VET6)
180
 # MKS Robin Mini (STM32F103VET6)
192
 #
181
 #
193
 [env:mks_robin_mini_maple]
182
 [env:mks_robin_mini_maple]
194
-platform      = ${common_stm32f1.platform}
195
 extends       = common_stm32f1
183
 extends       = common_stm32f1
196
 board         = genericSTM32F103VE
184
 board         = genericSTM32F103VE
197
 extra_scripts = ${common_stm32f1.extra_scripts}
185
 extra_scripts = ${common_stm32f1.extra_scripts}
203
 # MKS Robin Nano (STM32F103VET6)
191
 # MKS Robin Nano (STM32F103VET6)
204
 #
192
 #
205
 [env:mks_robin_nano35_maple]
193
 [env:mks_robin_nano35_maple]
206
-platform        = ${common_stm32f1.platform}
207
 extends         = common_stm32f1
194
 extends         = common_stm32f1
208
 board           = genericSTM32F103VE
195
 board           = genericSTM32F103VE
209
 extra_scripts   = ${common_stm32f1.extra_scripts}
196
 extra_scripts   = ${common_stm32f1.extra_scripts}
217
 # MKS Robin (STM32F103ZET6)
204
 # MKS Robin (STM32F103ZET6)
218
 #
205
 #
219
 [env:mks_robin_maple]
206
 [env:mks_robin_maple]
220
-platform      = ${common_stm32f1.platform}
221
 extends       = common_stm32f1
207
 extends       = common_stm32f1
222
 board         = genericSTM32F103ZE
208
 board         = genericSTM32F103ZE
223
 extra_scripts = ${common_stm32f1.extra_scripts}
209
 extra_scripts = ${common_stm32f1.extra_scripts}
229
 # MKS Robin Pro (STM32F103ZET6)
215
 # MKS Robin Pro (STM32F103ZET6)
230
 #
216
 #
231
 [env:mks_robin_pro_maple]
217
 [env:mks_robin_pro_maple]
232
-platform      = ${common_stm32f1.platform}
233
 extends       = env:mks_robin_maple
218
 extends       = env:mks_robin_maple
234
 extra_scripts = ${common_stm32f1.extra_scripts}
219
 extra_scripts = ${common_stm32f1.extra_scripts}
235
   buildroot/share/PlatformIO/scripts/mks_robin_pro.py
220
   buildroot/share/PlatformIO/scripts/mks_robin_pro.py
238
 # TRIGORILLA PRO (STM32F103ZET6)
223
 # TRIGORILLA PRO (STM32F103ZET6)
239
 #
224
 #
240
 [env:trigorilla_pro_maple]
225
 [env:trigorilla_pro_maple]
241
-platform      = ${common_stm32f1.platform}
242
 extends       = env:mks_robin_maple
226
 extends       = env:mks_robin_maple
243
 extra_scripts = ${common_stm32f1.extra_scripts}
227
 extra_scripts = ${common_stm32f1.extra_scripts}
244
 
228
 
247
 # MKS Robin E3 with TMC2209
231
 # MKS Robin E3 with TMC2209
248
 #
232
 #
249
 [env:mks_robin_e3_maple]
233
 [env:mks_robin_e3_maple]
250
-platform      = ${common_stm32f1.platform}
251
 extends       = common_stm32f1
234
 extends       = common_stm32f1
252
 board         = genericSTM32F103RC
235
 board         = genericSTM32F103RC
253
 extra_scripts = ${common_stm32f1.extra_scripts}
236
 extra_scripts = ${common_stm32f1.extra_scripts}
260
 #  - LVGL UI
243
 #  - LVGL UI
261
 #
244
 #
262
 [env:mks_robin_e3p_maple]
245
 [env:mks_robin_e3p_maple]
263
-platform        = ${common_stm32f1.platform}
264
 extends         = common_stm32f1
246
 extends         = common_stm32f1
265
 board           = genericSTM32F103VE
247
 board           = genericSTM32F103VE
266
 extra_scripts   = ${common_stm32f1.extra_scripts}
248
 extra_scripts   = ${common_stm32f1.extra_scripts}
274
 # MKS Robin Lite/Lite2 (STM32F103RCT6)
256
 # MKS Robin Lite/Lite2 (STM32F103RCT6)
275
 #
257
 #
276
 [env:mks_robin_lite_maple]
258
 [env:mks_robin_lite_maple]
277
-platform      = ${common_stm32f1.platform}
278
 extends       = common_stm32f1
259
 extends       = common_stm32f1
279
 board         = genericSTM32F103RC
260
 board         = genericSTM32F103RC
280
 extra_scripts = ${common_stm32f1.extra_scripts}
261
 extra_scripts = ${common_stm32f1.extra_scripts}
284
 # MKS ROBIN LITE3 (STM32F103RCT6)
265
 # MKS ROBIN LITE3 (STM32F103RCT6)
285
 #
266
 #
286
 [env:mks_robin_lite3_maple]
267
 [env:mks_robin_lite3_maple]
287
-platform      = ${common_stm32f1.platform}
288
 extends       = common_stm32f1
268
 extends       = common_stm32f1
289
 board         = genericSTM32F103RC
269
 board         = genericSTM32F103RC
290
 extra_scripts = ${common_stm32f1.extra_scripts}
270
 extra_scripts = ${common_stm32f1.extra_scripts}
294
 # JGAurora A5S A1 (STM32F103ZET6)
274
 # JGAurora A5S A1 (STM32F103ZET6)
295
 #
275
 #
296
 [env:jgaurora_a5s_a1_maple]
276
 [env:jgaurora_a5s_a1_maple]
297
-platform      = ${common_stm32f1.platform}
298
 extends       = common_stm32f1
277
 extends       = common_stm32f1
299
 board         = genericSTM32F103ZE
278
 board         = genericSTM32F103ZE
300
 board_build.address  = 0x0800A000
279
 board_build.address  = 0x0800A000
309
 # Malyan M200 (STM32F103CB)
288
 # Malyan M200 (STM32F103CB)
310
 #
289
 #
311
 [env:STM32F103CB_malyan_maple]
290
 [env:STM32F103CB_malyan_maple]
312
-platform      = ${common_stm32f1.platform}
313
 extends       = common_stm32f1
291
 extends       = common_stm32f1
314
 board         = marlin_malyanM200
292
 board         = marlin_malyanM200
315
 build_flags   = ${common_stm32f1.build_flags}
293
 build_flags   = ${common_stm32f1.build_flags}
322
 # Chitu boards like Tronxy X5s (STM32F103ZET6)
300
 # Chitu boards like Tronxy X5s (STM32F103ZET6)
323
 #
301
 #
324
 [env:chitu_f103_maple]
302
 [env:chitu_f103_maple]
325
-platform      = ${common_stm32f1.platform}
326
 extends       = common_stm32f1
303
 extends       = common_stm32f1
327
 board         = marlin_CHITU_F103
304
 board         = marlin_CHITU_F103
328
 extra_scripts = ${common_stm32f1.extra_scripts}
305
 extra_scripts = ${common_stm32f1.extra_scripts}
338
 # Use this target if G28 or G29 are always failing.
315
 # Use this target if G28 or G29 are always failing.
339
 #
316
 #
340
 [env:chitu_v5_gpio_init_maple]
317
 [env:chitu_v5_gpio_init_maple]
341
-platform      = ${common_stm32f1.platform}
342
 extends       = env:chitu_f103_maple
318
 extends       = env:chitu_f103_maple
343
 build_flags   = ${env:chitu_f103_maple.build_flags} -DCHITU_V5_Z_MIN_BUGFIX
319
 build_flags   = ${env:chitu_f103_maple.build_flags} -DCHITU_V5_Z_MIN_BUGFIX
344
 
320
 
346
 # FLYmaker FLY Mini (STM32F103RCT6)
322
 # FLYmaker FLY Mini (STM32F103RCT6)
347
 #
323
 #
348
 [env:FLY_MINI_maple]
324
 [env:FLY_MINI_maple]
349
-platform          = ${common_stm32f1.platform}
350
 extends           = common_stm32f1
325
 extends           = common_stm32f1
351
 board             = genericSTM32F103RC
326
 board             = genericSTM32F103RC
352
 board_build.address  = 0x08005000
327
 board_build.address  = 0x08005000
364
 #  STM32F103VE_ZM3E4V2_USB_maple ......... VET6 with 512K
339
 #  STM32F103VE_ZM3E4V2_USB_maple ......... VET6 with 512K
365
 #
340
 #
366
 [ZONESTAR_ZM3E_maple]
341
 [ZONESTAR_ZM3E_maple]
367
-platform                  = ${common_stm32f1.platform}
368
 extends                   = common_stm32f1
342
 extends                   = common_stm32f1
369
 platform_packages         = tool-stm32duino
343
 platform_packages         = tool-stm32duino
370
 board_build.address       = 0x08005000
344
 board_build.address       = 0x08005000
380
 lib_ignore                = Adafruit NeoPixel, SPI, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster, TMCStepper
354
 lib_ignore                = Adafruit NeoPixel, SPI, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster, TMCStepper
381
 
355
 
382
 [env:STM32F103RC_ZM3E2_USB_maple]
356
 [env:STM32F103RC_ZM3E2_USB_maple]
383
-platform             = ${ZONESTAR_ZM3E_maple.platform}
384
 extends              = ZONESTAR_ZM3E_maple
357
 extends              = ZONESTAR_ZM3E_maple
385
 board                = genericSTM32F103RC
358
 board                = genericSTM32F103RC
386
 board_build.ldscript = ZONESTAR_ZM3E_256K.ld
359
 board_build.ldscript = ZONESTAR_ZM3E_256K.ld
387
 
360
 
388
 [env:STM32F103VC_ZM3E4_USB_maple]
361
 [env:STM32F103VC_ZM3E4_USB_maple]
389
-platform             = ${ZONESTAR_ZM3E_maple.platform}
390
 extends              = ZONESTAR_ZM3E_maple
362
 extends              = ZONESTAR_ZM3E_maple
391
 board                = genericSTM32F103VC
363
 board                = genericSTM32F103VC
392
 board_build.ldscript = ZONESTAR_ZM3E_256K.ld
364
 board_build.ldscript = ZONESTAR_ZM3E_256K.ld
393
 build_flags          = ${ZONESTAR_ZM3E_maple.build_flags} -DTONE_TIMER=1 -DTONE_CHANNEL=2
365
 build_flags          = ${ZONESTAR_ZM3E_maple.build_flags} -DTONE_TIMER=1 -DTONE_CHANNEL=2
394
 
366
 
395
 [env:STM32F103VE_ZM3E4V2_USB_maple]
367
 [env:STM32F103VE_ZM3E4V2_USB_maple]
396
-platform             = ${ZONESTAR_ZM3E_maple.platform}
397
 extends              = ZONESTAR_ZM3E_maple
368
 extends              = ZONESTAR_ZM3E_maple
398
 board                = genericSTM32F103VE
369
 board                = genericSTM32F103VE
399
 board_build.ldscript = ZONESTAR_ZM3E_512K.ld
370
 board_build.ldscript = ZONESTAR_ZM3E_512K.ld
404
 # ERYONE ERY32 Mini (STM32F103VET6)
375
 # ERYONE ERY32 Mini (STM32F103VET6)
405
 #
376
 #
406
 [env:ERYONE_ERY32_MINI_maple]
377
 [env:ERYONE_ERY32_MINI_maple]
407
-platform             = ${common_stm32f1.platform}
408
 extends              = common_stm32f1
378
 extends              = common_stm32f1
409
 board                = genericSTM32F103VE
379
 board                = genericSTM32F103VE
410
 build_flags          = ${common_stm32f1.build_flags}
380
 build_flags          = ${common_stm32f1.build_flags}

+ 1
- 31
ini/stm32f1.ini Просмотреть файл

30
 # STM32F103RE
30
 # STM32F103RE
31
 #
31
 #
32
 [env:STM32F103RE]
32
 [env:STM32F103RE]
33
-platform      = ${common_stm32.platform}
34
 extends       = common_stm32
33
 extends       = common_stm32
35
 board         = genericSTM32F103RE
34
 board         = genericSTM32F103RE
36
 monitor_speed = 115200
35
 monitor_speed = 115200
39
 # STM32F103VE
38
 # STM32F103VE
40
 #
39
 #
41
 [env:STM32F103VE]
40
 [env:STM32F103VE]
42
-platform      = ${common_stm32.platform}
43
 extends       = common_stm32
41
 extends       = common_stm32
44
 board         = genericSTM32F103VE
42
 board         = genericSTM32F103VE
45
 monitor_speed = 115200
43
 monitor_speed = 115200
48
 # STM32F103ZE
46
 # STM32F103ZE
49
 #
47
 #
50
 [env:STM32F103ZE]
48
 [env:STM32F103ZE]
51
-platform      = ${common_stm32.platform}
52
 extends       = common_stm32
49
 extends       = common_stm32
53
 board         = genericSTM32F103ZE
50
 board         = genericSTM32F103ZE
54
 monitor_speed = 115200
51
 monitor_speed = 115200
60
 #   STM32F103RC_btt_USB ......... RCT6 with 256K (USB mass storage)
57
 #   STM32F103RC_btt_USB ......... RCT6 with 256K (USB mass storage)
61
 #
58
 #
62
 [env:STM32F103RC_btt]
59
 [env:STM32F103RC_btt]
63
-platform                    = ${common_stm32.platform}
64
 extends                     = common_STM32F103RC_variant
60
 extends                     = common_STM32F103RC_variant
65
 build_flags                 = ${common_STM32F103RC_variant.build_flags}
61
 build_flags                 = ${common_STM32F103RC_variant.build_flags}
66
                               -DTIMER_SERVO=TIM5
62
                               -DTIMER_SERVO=TIM5
68
 board_upload.offset_address = 0x08007000
64
 board_upload.offset_address = 0x08007000
69
 
65
 
70
 [env:STM32F103RC_btt_USB]
66
 [env:STM32F103RC_btt_USB]
71
-platform          = ${common_stm32.platform}
72
 extends           = env:STM32F103RC_btt
67
 extends           = env:STM32F103RC_btt
73
 platform_packages = ${stm_flash_drive.platform_packages}
68
 platform_packages = ${stm_flash_drive.platform_packages}
74
 build_flags       = ${env:STM32F103RC_btt.build_flags}
69
 build_flags       = ${env:STM32F103RC_btt.build_flags}
83
 # Uses HAL STM32 to support Marlin UI for TFT screen with optional touch panel
78
 # Uses HAL STM32 to support Marlin UI for TFT screen with optional touch panel
84
 #
79
 #
85
 [env:mks_robin]
80
 [env:mks_robin]
86
-platform             = ${common_stm32.platform}
87
 extends              = stm32_variant
81
 extends              = stm32_variant
88
 board                = genericSTM32F103ZE
82
 board                = genericSTM32F103ZE
89
 board_build.variant  = MARLIN_F103Zx
83
 board_build.variant  = MARLIN_F103Zx
98
 # MKS Robin E3/E3D (STM32F103RCT6) with TMC2209
92
 # MKS Robin E3/E3D (STM32F103RCT6) with TMC2209
99
 #
93
 #
100
 [env:mks_robin_e3]
94
 [env:mks_robin_e3]
101
-platform                    = ${common_stm32.platform}
102
 extends                     = common_STM32F103RC_variant
95
 extends                     = common_STM32F103RC_variant
103
 board_build.encrypt         = Robin_e3.bin
96
 board_build.encrypt         = Robin_e3.bin
104
 board_build.offset          = 0x5000
97
 board_build.offset          = 0x5000
114
 # Creality (STM32F103RET6)
107
 # Creality (STM32F103RET6)
115
 #
108
 #
116
 [env:STM32F103RET6_creality]
109
 [env:STM32F103RET6_creality]
117
-platform                    = ${common_stm32.platform}
118
 extends                     = stm32_variant
110
 extends                     = stm32_variant
119
 board                       = genericSTM32F103RE
111
 board                       = genericSTM32F103RE
120
 board_build.variant         = MARLIN_F103Rx
112
 board_build.variant         = MARLIN_F103Rx
139
 #   STM32F103RE_btt_USB ......... RET6 (USB mass storage)
131
 #   STM32F103RE_btt_USB ......... RET6 (USB mass storage)
140
 #
132
 #
141
 [env:STM32F103RE_btt]
133
 [env:STM32F103RE_btt]
142
-platform                    = ${common_stm32.platform}
143
 extends                     = stm32_variant
134
 extends                     = stm32_variant
144
 board                       = genericSTM32F103RE
135
 board                       = genericSTM32F103RE
145
 board_build.variant         = MARLIN_F103Rx
136
 board_build.variant         = MARLIN_F103Rx
154
 upload_protocol             = jlink
145
 upload_protocol             = jlink
155
 
146
 
156
 [env:STM32F103RE_btt_USB]
147
 [env:STM32F103RE_btt_USB]
157
-platform          = ${common_stm32.platform}
158
 extends           = env:STM32F103RE_btt
148
 extends           = env:STM32F103RE_btt
159
 platform_packages = ${stm_flash_drive.platform_packages}
149
 platform_packages = ${stm_flash_drive.platform_packages}
160
 build_flags       = ${env:STM32F103RE_btt.build_flags}
150
 build_flags       = ${env:STM32F103RE_btt.build_flags}
167
 # board Hispeedv1
157
 # board Hispeedv1
168
 #
158
 #
169
 [env:flsun_hispeedv1]
159
 [env:flsun_hispeedv1]
170
-platform                    = ${common_stm32.platform}
171
 extends                     = stm32_variant
160
 extends                     = stm32_variant
172
 board                       = genericSTM32F103VE
161
 board                       = genericSTM32F103VE
173
 board_build.variant         = MARLIN_F103Vx
162
 board_build.variant         = MARLIN_F103Vx
184
 # MKS Robin Nano V1.2 and V2
173
 # MKS Robin Nano V1.2 and V2
185
 #
174
 #
186
 [env:mks_robin_nano35]
175
 [env:mks_robin_nano35]
187
-platform                    = ${common_stm32.platform}
188
 extends                     = stm32_variant
176
 extends                     = stm32_variant
189
 board                       = genericSTM32F103VE
177
 board                       = genericSTM32F103VE
190
 board_build.variant         = MARLIN_F103Vx
178
 board_build.variant         = MARLIN_F103Vx
203
 # Mingda MPX_ARM_MINI
191
 # Mingda MPX_ARM_MINI
204
 #
192
 #
205
 [env:mingda_mpx_arm_mini]
193
 [env:mingda_mpx_arm_mini]
206
-platform             = ${common_stm32.platform}
207
 extends              = stm32_variant
194
 extends              = stm32_variant
208
 board                = genericSTM32F103ZE
195
 board                = genericSTM32F103ZE
209
 board_build.variant  = MARLIN_F103Zx
196
 board_build.variant  = MARLIN_F103Zx
217
 # Malyan M200 (STM32F103CB)
204
 # Malyan M200 (STM32F103CB)
218
 #
205
 #
219
 [env:STM32F103CB_malyan]
206
 [env:STM32F103CB_malyan]
220
-platform    = ${common_stm32.platform}
221
 extends     = common_stm32
207
 extends     = common_stm32
222
 board       = malyanm200_f103cb
208
 board       = malyanm200_f103cb
223
 build_flags = ${common_stm32.build_flags}
209
 build_flags = ${common_stm32.build_flags}
229
 # FLYmaker FLY Mini (STM32F103RCT6)
215
 # FLYmaker FLY Mini (STM32F103RCT6)
230
 #
216
 #
231
 [env:FLY_MINI]
217
 [env:FLY_MINI]
232
-platform                    = ${common_stm32.platform}
233
 extends                     = stm32_variant
218
 extends                     = stm32_variant
234
 board                       = genericSTM32F103RC
219
 board                       = genericSTM32F103RC
235
 board_build.variant         = MARLIN_F103Rx
220
 board_build.variant         = MARLIN_F103Rx
241
 # MKS Robin Mini (STM32F103VET6)
226
 # MKS Robin Mini (STM32F103VET6)
242
 #
227
 #
243
 [env:mks_robin_mini]
228
 [env:mks_robin_mini]
244
-platform                    = ${common_stm32.platform}
245
 extends                     = stm32_variant
229
 extends                     = stm32_variant
246
 board                       = genericSTM32F103VE
230
 board                       = genericSTM32F103VE
247
 board_build.variant         = MARLIN_F103Vx
231
 board_build.variant         = MARLIN_F103Vx
255
 # MKS Robin Lite/Lite2 (STM32F103RCT6)
239
 # MKS Robin Lite/Lite2 (STM32F103RCT6)
256
 #
240
 #
257
 [env:mks_robin_lite]
241
 [env:mks_robin_lite]
258
-platform                    = ${common_stm32.platform}
259
 extends                     = stm32_variant
242
 extends                     = stm32_variant
260
 board                       = genericSTM32F103RC
243
 board                       = genericSTM32F103RC
261
 board_build.variant         = MARLIN_F103Rx
244
 board_build.variant         = MARLIN_F103Rx
267
 # MKS ROBIN LITE3 (STM32F103RCT6)
250
 # MKS ROBIN LITE3 (STM32F103RCT6)
268
 #
251
 #
269
 [env:mks_robin_lite3]
252
 [env:mks_robin_lite3]
270
-platform                    = ${common_stm32.platform}
271
 extends                     = env:mks_robin_lite
253
 extends                     = env:mks_robin_lite
272
 board_build.encrypt         = mksLite3.bin
254
 board_build.encrypt         = mksLite3.bin
273
 
255
 
275
 # MKS Robin Pro (STM32F103ZET6)
257
 # MKS Robin Pro (STM32F103ZET6)
276
 #
258
 #
277
 [env:mks_robin_pro]
259
 [env:mks_robin_pro]
278
-platform            = ${common_stm32.platform}
279
 extends             = env:mks_robin
260
 extends             = env:mks_robin
280
 board_build.encrypt = Robin_pro.bin
261
 board_build.encrypt = Robin_pro.bin
281
 
262
 
284
 #  - LVGL UI
265
 #  - LVGL UI
285
 #
266
 #
286
 [env:mks_robin_e3p]
267
 [env:mks_robin_e3p]
287
-platform                    = ${common_stm32.platform}
288
 extends                     = stm32_variant
268
 extends                     = stm32_variant
289
 board                       = genericSTM32F103VE
269
 board                       = genericSTM32F103VE
290
 board_build.variant         = MARLIN_F103Vx
270
 board_build.variant         = MARLIN_F103Vx
301
 # JGAurora A5S A1 (STM32F103ZET6)
281
 # JGAurora A5S A1 (STM32F103ZET6)
302
 #
282
 #
303
 [env:jgaurora_a5s_a1]
283
 [env:jgaurora_a5s_a1]
304
-platform                    = ${common_stm32.platform}
305
 extends                     = stm32_variant
284
 extends                     = stm32_variant
306
 board                       = genericSTM32F103ZE
285
 board                       = genericSTM32F103ZE
307
 board_build.variant         = MARLIN_F103Zx
286
 board_build.variant         = MARLIN_F103Zx
317
 # FYSETC STM32F103RC
296
 # FYSETC STM32F103RC
318
 #
297
 #
319
 [env:STM32F103RC_fysetc]
298
 [env:STM32F103RC_fysetc]
320
-platform        = ${common_stm32.platform}
321
 extends         = common_STM32F103RC_variant
299
 extends         = common_STM32F103RC_variant
322
 extra_scripts   = ${common_STM32F103RC_variant.extra_scripts}
300
 extra_scripts   = ${common_STM32F103RC_variant.extra_scripts}
323
                   buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
301
                   buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
329
 # Longer 3D board in Alfawise U20 (STM32F103VET6)
307
 # Longer 3D board in Alfawise U20 (STM32F103VET6)
330
 #
308
 #
331
 [env:STM32F103VE_longer]
309
 [env:STM32F103VE_longer]
332
-platform                    = ${common_stm32.platform}
310
+extends                     = stm32_variant
333
 lib_deps                    = ${common.lib_deps}
311
 lib_deps                    = ${common.lib_deps}
334
   https://github.com/tpruvot/STM32_Servo_OpenDrain/archive/2.0.zip
312
   https://github.com/tpruvot/STM32_Servo_OpenDrain/archive/2.0.zip
335
-extends                     = stm32_variant
336
 board                       = genericSTM32F103VE
313
 board                       = genericSTM32F103VE
337
 board_build.variant         = MARLIN_F103VE_LONGER
314
 board_build.variant         = MARLIN_F103VE_LONGER
338
 board_build.rename          = project.bin
315
 board_build.rename          = project.bin
348
 # TRIGORILLA PRO (STM32F103ZET6)
325
 # TRIGORILLA PRO (STM32F103ZET6)
349
 #
326
 #
350
 [env:trigorilla_pro]
327
 [env:trigorilla_pro]
351
-platform             = ${stm32_variant.platform}
352
 extends              = stm32_variant
328
 extends              = stm32_variant
353
 board                = genericSTM32F103ZE
329
 board                = genericSTM32F103ZE
354
 board_build.variant  = MARLIN_F103Zx
330
 board_build.variant  = MARLIN_F103Zx
361
 # Chitu boards like Tronxy X5s (STM32F103ZET6)
337
 # Chitu boards like Tronxy X5s (STM32F103ZET6)
362
 #
338
 #
363
 [env:chitu_f103]
339
 [env:chitu_f103]
364
-platform             = ${common_stm32.platform}
365
 extends              = stm32_variant
340
 extends              = stm32_variant
366
 board                = genericSTM32F103ZE
341
 board                = genericSTM32F103ZE
367
 board_build.variant  = MARLIN_F103Zx
342
 board_build.variant  = MARLIN_F103Zx
377
 # Use this target if G28 or G29 are always failing.
352
 # Use this target if G28 or G29 are always failing.
378
 #
353
 #
379
 [env:chitu_v5_gpio_init]
354
 [env:chitu_v5_gpio_init]
380
-platform      = ${common_stm32.platform}
381
 extends       = env:chitu_f103
355
 extends       = env:chitu_f103
382
 build_flags   = ${env:chitu_f103.build_flags} -DCHITU_V5_Z_MIN_BUGFIX
356
 build_flags   = ${env:chitu_f103.build_flags} -DCHITU_V5_Z_MIN_BUGFIX
383
 
357
 
389
 #  STM32F103VE_ZM3E4V2_USB ......... VET6 with 512K
363
 #  STM32F103VE_ZM3E4V2_USB ......... VET6 with 512K
390
 #
364
 #
391
 [ZONESTAR_ZM3E]
365
 [ZONESTAR_ZM3E]
392
-platform                  = ${common_stm32.platform}
393
 extends                   = stm32_variant
366
 extends                   = stm32_variant
394
 platform_packages         = ${stm_flash_drive.platform_packages}
367
 platform_packages         = ${stm_flash_drive.platform_packages}
395
 board_upload.offset_address = 0x08005000
368
 board_upload.offset_address = 0x08005000
401
 build_unflags             = ${stm32_variant.build_unflags} -DUSBD_USE_CDC
374
 build_unflags             = ${stm32_variant.build_unflags} -DUSBD_USE_CDC
402
 
375
 
403
 [env:STM32F103RC_ZM3E2_USB]
376
 [env:STM32F103RC_ZM3E2_USB]
404
-platform             = ${ZONESTAR_ZM3E.platform}
405
 extends              = ZONESTAR_ZM3E
377
 extends              = ZONESTAR_ZM3E
406
 board                = genericSTM32F103RC
378
 board                = genericSTM32F103RC
407
 board_build.variant  = MARLIN_F103Rx
379
 board_build.variant  = MARLIN_F103Rx
408
 
380
 
409
 [env:STM32F103VC_ZM3E4_USB]
381
 [env:STM32F103VC_ZM3E4_USB]
410
-platform             = ${ZONESTAR_ZM3E.platform}
411
 extends              = ZONESTAR_ZM3E
382
 extends              = ZONESTAR_ZM3E
412
 board                = genericSTM32F103VC
383
 board                = genericSTM32F103VC
413
 board_build.variant  = MARLIN_F103Vx
384
 board_build.variant  = MARLIN_F103Vx
414
 build_flags          = ${ZONESTAR_ZM3E.build_flags} -DTIMER_TONE=TIM1
385
 build_flags          = ${ZONESTAR_ZM3E.build_flags} -DTIMER_TONE=TIM1
415
 
386
 
416
 [env:STM32F103VE_ZM3E4V2_USB]
387
 [env:STM32F103VE_ZM3E4V2_USB]
417
-platform             = ${ZONESTAR_ZM3E.platform}
418
 extends              = ZONESTAR_ZM3E
388
 extends              = ZONESTAR_ZM3E
419
 board                = genericSTM32F103VE
389
 board                = genericSTM32F103VE
420
 board_build.variant  = MARLIN_F103Vx
390
 board_build.variant  = MARLIN_F103Vx

+ 0
- 47
ini/stm32f4.ini Просмотреть файл

23
 # ARMED (STM32)
23
 # ARMED (STM32)
24
 #
24
 #
25
 [env:ARMED]
25
 [env:ARMED]
26
-platform      = ${common_stm32.platform}
27
 extends       = common_stm32
26
 extends       = common_stm32
28
 board         = armed_v1
27
 board         = armed_v1
29
 build_flags   = ${common_stm32.build_flags}
28
 build_flags   = ${common_stm32.build_flags}
34
 # 'STEVAL-3DP001V1' STM32F401VE board - https://www.st.com/en/evaluation-tools/steval-3dp001v1.html
33
 # 'STEVAL-3DP001V1' STM32F401VE board - https://www.st.com/en/evaluation-tools/steval-3dp001v1.html
35
 #
34
 #
36
 [env:STM32F401VE_STEVAL]
35
 [env:STM32F401VE_STEVAL]
37
-platform          = ${common_stm32.platform}
38
 extends           = stm32_variant
36
 extends           = stm32_variant
39
 board             = marlin_STEVAL_STM32F401VE
37
 board             = marlin_STEVAL_STM32F401VE
40
 build_flags       = ${stm32_variant.build_flags}
38
 build_flags       = ${stm32_variant.build_flags}
45
 # STM32F401RC
43
 # STM32F401RC
46
 #
44
 #
47
 [env:FYSETC_CHEETAH_V20]
45
 [env:FYSETC_CHEETAH_V20]
48
-platform           = ${common_stm32.platform}
49
 extends            = stm32_variant
46
 extends            = stm32_variant
50
 board              = marlin_FYSETC_CHEETAH_V20
47
 board              = marlin_FYSETC_CHEETAH_V20
51
 board_build.offset = 0x8000
48
 board_build.offset = 0x8000
55
 # FLYF407ZG
52
 # FLYF407ZG
56
 #
53
 #
57
 [env:FLYF407ZG]
54
 [env:FLYF407ZG]
58
-platform            = ${common_stm32.platform}
59
 extends             = stm32_variant
55
 extends             = stm32_variant
60
 board               = marlin_STM32F407ZGT6
56
 board               = marlin_STM32F407ZGT6
61
 board_build.variant = MARLIN_FLY_F407ZG
57
 board_build.variant = MARLIN_FLY_F407ZG
66
 # FYSETC S6 (STM32F446RET6 ARM Cortex-M4)
62
 # FYSETC S6 (STM32F446RET6 ARM Cortex-M4)
67
 #
63
 #
68
 [env:FYSETC_S6]
64
 [env:FYSETC_S6]
69
-platform                    = ${common_stm32.platform}
70
 extends                     = stm32_variant
65
 extends                     = stm32_variant
71
 board                       = marlin_fysetc_s6
66
 board                       = marlin_fysetc_s6
72
 board_build.offset          = 0x10000
67
 board_build.offset          = 0x10000
80
 # FYSETC S6 new bootloader
75
 # FYSETC S6 new bootloader
81
 #
76
 #
82
 [env:FYSETC_S6_8000]
77
 [env:FYSETC_S6_8000]
83
-platform                    = ${common_stm32.platform}
84
 extends                     = env:FYSETC_S6
78
 extends                     = env:FYSETC_S6
85
 board                       = marlin_fysetc_s6
79
 board                       = marlin_fysetc_s6
86
 board_build.offset          = 0x8000
80
 board_build.offset          = 0x8000
93
 # Shield - https://github.com/jmz52/Hardware
87
 # Shield - https://github.com/jmz52/Hardware
94
 #
88
 #
95
 [env:STM32F407VE_black]
89
 [env:STM32F407VE_black]
96
-platform          = ${common_stm32.platform}
97
 extends           = stm32_variant
90
 extends           = stm32_variant
98
 board             = marlin_blackSTM32F407VET6
91
 board             = marlin_blackSTM32F407VET6
99
 build_flags       = ${stm32_variant.build_flags}
92
 build_flags       = ${stm32_variant.build_flags}
103
 # STM32F407VET6 Index Mobo Rev 03
96
 # STM32F407VET6 Index Mobo Rev 03
104
 #
97
 #
105
 [env:Index_Mobo_Rev03]
98
 [env:Index_Mobo_Rev03]
106
-platform          = ${common_stm32.platform}
107
 extends           = stm32_variant
99
 extends           = stm32_variant
108
 board             = marlin_index_mobo_rev03
100
 board             = marlin_index_mobo_rev03
109
 build_flags       = ${stm32_variant.build_flags}
101
 build_flags       = ${stm32_variant.build_flags}
117
 # Comment out board_build.offset = 0x10000 if you don't plan to use OpenBLT/flashing directly to 0x08000000.
109
 # Comment out board_build.offset = 0x10000 if you don't plan to use OpenBLT/flashing directly to 0x08000000.
118
 #
110
 #
119
 [env:Anet_ET4_OpenBLT]
111
 [env:Anet_ET4_OpenBLT]
120
-platform                    = ${common_stm32.platform}
121
 extends                     = stm32_variant
112
 extends                     = stm32_variant
122
 board                       = marlin_STM32F407VGT6_CCM
113
 board                       = marlin_STM32F407VGT6_CCM
123
 board_build.variant         = MARLIN_F4x7Vx
114
 board_build.variant         = MARLIN_F4x7Vx
137
 # BigTreeTech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
128
 # BigTreeTech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
138
 #
129
 #
139
 [env:BIGTREE_SKR_PRO]
130
 [env:BIGTREE_SKR_PRO]
140
-platform           = ${common_stm32.platform}
141
 extends            = stm32_variant
131
 extends            = stm32_variant
142
 board              = marlin_BigTree_SKR_Pro
132
 board              = marlin_BigTree_SKR_Pro
143
 board_build.offset = 0x8000
133
 board_build.offset = 0x8000
149
 # BigTreeTech SKR Pro (STM32F407ZGT6 ARM Cortex-M4) with USB Flash Drive Support
139
 # BigTreeTech SKR Pro (STM32F407ZGT6 ARM Cortex-M4) with USB Flash Drive Support
150
 #
140
 #
151
 [env:BIGTREE_SKR_PRO_usb_flash_drive]
141
 [env:BIGTREE_SKR_PRO_usb_flash_drive]
152
-platform          = ${common_stm32.platform}
153
 extends           = env:BIGTREE_SKR_PRO
142
 extends           = env:BIGTREE_SKR_PRO
154
 platform_packages = ${stm_flash_drive.platform_packages}
143
 platform_packages = ${stm_flash_drive.platform_packages}
155
 build_flags       = ${stm_flash_drive.build_flags} -DSTM32F407_5ZX
144
 build_flags       = ${stm_flash_drive.build_flags} -DSTM32F407_5ZX
159
 # BigTreeTech E3 RRF (STM32F407VGT6 ARM Cortex-M4)
148
 # BigTreeTech E3 RRF (STM32F407VGT6 ARM Cortex-M4)
160
 #
149
 #
161
 [env:BIGTREE_E3_RRF]
150
 [env:BIGTREE_E3_RRF]
162
-platform            = ${common_stm32.platform}
163
 extends             = stm32_variant
151
 extends             = stm32_variant
164
 board               = marlin_STM32F407VGT6_CCM
152
 board               = marlin_STM32F407VGT6_CCM
165
 board_build.variant = MARLIN_BIGTREE_E3_RRF
153
 board_build.variant = MARLIN_BIGTREE_E3_RRF
173
 # Bigtreetech GTR V1.0 (STM32F407IGT6 ARM Cortex-M4)
161
 # Bigtreetech GTR V1.0 (STM32F407IGT6 ARM Cortex-M4)
174
 #
162
 #
175
 [env:BIGTREE_GTR_V1_0]
163
 [env:BIGTREE_GTR_V1_0]
176
-platform           = ${common_stm32.platform}
177
 extends            = stm32_variant
164
 extends            = stm32_variant
178
 board              = marlin_BigTree_GTR_v1
165
 board              = marlin_BigTree_GTR_v1
179
 board_build.offset = 0x8000
166
 board_build.offset = 0x8000
183
 # Bigtreetech GTR V1.0 (STM32F407IGT6 ARM Cortex-M4) with USB Flash Drive Support
170
 # Bigtreetech GTR V1.0 (STM32F407IGT6 ARM Cortex-M4) with USB Flash Drive Support
184
 #
171
 #
185
 [env:BIGTREE_GTR_V1_0_usb_flash_drive]
172
 [env:BIGTREE_GTR_V1_0_usb_flash_drive]
186
-platform          = ${common_stm32.platform}
187
 extends           = env:BIGTREE_GTR_V1_0
173
 extends           = env:BIGTREE_GTR_V1_0
188
 platform_packages = ${stm_flash_drive.platform_packages}
174
 platform_packages = ${stm_flash_drive.platform_packages}
189
 build_flags       = ${stm_flash_drive.build_flags} -DSTM32F407IX
175
 build_flags       = ${stm_flash_drive.build_flags} -DSTM32F407IX
193
 # BigTreeTech BTT002 V1.0 (STM32F407VGT6 ARM Cortex-M4)
179
 # BigTreeTech BTT002 V1.0 (STM32F407VGT6 ARM Cortex-M4)
194
 #
180
 #
195
 [env:BIGTREE_BTT002]
181
 [env:BIGTREE_BTT002]
196
-platform           = ${common_stm32.platform}
197
 extends            = stm32_variant
182
 extends            = stm32_variant
198
 board              = marlin_BigTree_BTT002
183
 board              = marlin_BigTree_BTT002
199
 board_build.offset = 0x8000
184
 board_build.offset = 0x8000
208
 # BigTreeTech BTT002 V1.x with 512k of flash (STM32F407VET6 ARM Cortex-M4)
193
 # BigTreeTech BTT002 V1.x with 512k of flash (STM32F407VET6 ARM Cortex-M4)
209
 #
194
 #
210
 [env:BIGTREE_BTT002_VET6]
195
 [env:BIGTREE_BTT002_VET6]
211
-platform          = ${env:BIGTREE_BTT002.platform}
212
 extends           = env:BIGTREE_BTT002
196
 extends           = env:BIGTREE_BTT002
213
 board             = marlin_BigTree_BTT002_VET6
197
 board             = marlin_BigTree_BTT002_VET6
214
 
198
 
216
 # BigTreeTech SKR V2.0 (STM32F407VGT6 ARM Cortex-M4) with USB Flash Drive Support
200
 # BigTreeTech SKR V2.0 (STM32F407VGT6 ARM Cortex-M4) with USB Flash Drive Support
217
 #
201
 #
218
 [env:BIGTREE_SKR_2]
202
 [env:BIGTREE_SKR_2]
219
-platform                    = ${common_stm32.platform}
220
 extends                     = stm32_variant
203
 extends                     = stm32_variant
221
 platform_packages           = ${stm_flash_drive.platform_packages}
204
 platform_packages           = ${stm_flash_drive.platform_packages}
222
 board                       = marlin_STM32F407VGT6_CCM
205
 board                       = marlin_STM32F407VGT6_CCM
234
 # BigTreeTech SKR V2.0 (STM32F407VGT6 ARM Cortex-M4) with USB Media Share Support
217
 # BigTreeTech SKR V2.0 (STM32F407VGT6 ARM Cortex-M4) with USB Media Share Support
235
 #
218
 #
236
 [env:BIGTREE_SKR_2_USB]
219
 [env:BIGTREE_SKR_2_USB]
237
-platform          = ${common_stm32.platform}
238
 extends           = env:BIGTREE_SKR_2
220
 extends           = env:BIGTREE_SKR_2
239
 build_flags       = ${env:BIGTREE_SKR_2.build_flags} -DUSBD_USE_CDC_MSC
221
 build_flags       = ${env:BIGTREE_SKR_2.build_flags} -DUSBD_USE_CDC_MSC
240
 build_unflags     = ${env:BIGTREE_SKR_2.build_unflags} -DUSBD_USE_CDC
222
 build_unflags     = ${env:BIGTREE_SKR_2.build_unflags} -DUSBD_USE_CDC
241
 
223
 
242
 [env:BIGTREE_SKR_2_USB_debug]
224
 [env:BIGTREE_SKR_2_USB_debug]
243
-platform          = ${common_stm32.platform}
244
 extends           = env:BIGTREE_SKR_2_USB
225
 extends           = env:BIGTREE_SKR_2_USB
245
 build_flags       = ${env:BIGTREE_SKR_2_USB.build_flags} -O0
226
 build_flags       = ${env:BIGTREE_SKR_2_USB.build_flags} -O0
246
 build_unflags     = ${env:BIGTREE_SKR_2_USB.build_unflags} -Os -NDEBUG
227
 build_unflags     = ${env:BIGTREE_SKR_2_USB.build_unflags} -Os -NDEBUG
249
 # Bigtreetech SKR V2.0 F429 (STM32F429VGT6 ARM Cortex-M4) with USB Flash Drive Support
230
 # Bigtreetech SKR V2.0 F429 (STM32F429VGT6 ARM Cortex-M4) with USB Flash Drive Support
250
 #
231
 #
251
 [env:BIGTREE_SKR_2_F429]
232
 [env:BIGTREE_SKR_2_F429]
252
-platform                    = ${common_stm32.platform}
253
 extends                     = stm32_variant
233
 extends                     = stm32_variant
254
 platform_packages           = ${stm_flash_drive.platform_packages}
234
 platform_packages           = ${stm_flash_drive.platform_packages}
255
 board                       = marlin_STM32F429VGT6
235
 board                       = marlin_STM32F429VGT6
267
 # BigTreeTech SKR V2.0 F429 (STM32F429VGT6 ARM Cortex-M4) with USB Media Share Support
247
 # BigTreeTech SKR V2.0 F429 (STM32F429VGT6 ARM Cortex-M4) with USB Media Share Support
268
 #
248
 #
269
 [env:BIGTREE_SKR_2_F429_USB]
249
 [env:BIGTREE_SKR_2_F429_USB]
270
-platform          = ${common_stm32.platform}
271
 extends           = env:BIGTREE_SKR_2_F429
250
 extends           = env:BIGTREE_SKR_2_F429
272
 build_flags       = ${env:BIGTREE_SKR_2_F429.build_flags} -DUSBD_USE_CDC_MSC
251
 build_flags       = ${env:BIGTREE_SKR_2_F429.build_flags} -DUSBD_USE_CDC_MSC
273
 build_unflags     = ${env:BIGTREE_SKR_2_F429.build_unflags} -DUSBD_USE_CDC
252
 build_unflags     = ${env:BIGTREE_SKR_2_F429.build_unflags} -DUSBD_USE_CDC
274
 
253
 
275
 [env:BIGTREE_SKR_2_F429_USB_debug]
254
 [env:BIGTREE_SKR_2_F429_USB_debug]
276
-platform          = ${common_stm32.platform}
277
 extends           = env:BIGTREE_SKR_2_F429_USB
255
 extends           = env:BIGTREE_SKR_2_F429_USB
278
 build_flags       = ${env:BIGTREE_SKR_2_F429_USB.build_flags} -O0
256
 build_flags       = ${env:BIGTREE_SKR_2_F429_USB.build_flags} -O0
279
 build_unflags     = ${env:BIGTREE_SKR_2_F429_USB.build_unflags} -Os -NDEBUG
257
 build_unflags     = ${env:BIGTREE_SKR_2_F429_USB.build_unflags} -Os -NDEBUG
282
 # BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4)
260
 # BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4)
283
 #
261
 #
284
 [env:BIGTREE_OCTOPUS_V1]
262
 [env:BIGTREE_OCTOPUS_V1]
285
-platform           = ${common_stm32.platform}
286
 extends            = stm32_variant
263
 extends            = stm32_variant
287
 board              = marlin_BigTree_Octopus_v1
264
 board              = marlin_BigTree_Octopus_v1
288
 board_build.offset = 0x8000
265
 board_build.offset = 0x8000
293
 # BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4) with USB Flash Drive Support
270
 # BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4) with USB Flash Drive Support
294
 #
271
 #
295
 [env:BIGTREE_OCTOPUS_V1_USB]
272
 [env:BIGTREE_OCTOPUS_V1_USB]
296
-platform          = ${common_stm32.platform}
297
 extends           = env:BIGTREE_OCTOPUS_V1
273
 extends           = env:BIGTREE_OCTOPUS_V1
298
 platform_packages = ${stm_flash_drive.platform_packages}
274
 platform_packages = ${stm_flash_drive.platform_packages}
299
 build_unflags     = -DUSBD_USE_CDC
275
 build_unflags     = -DUSBD_USE_CDC
307
 # BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4)
283
 # BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4)
308
 #
284
 #
309
 [env:BIGTREE_OCTOPUS_PRO_V1_F429]
285
 [env:BIGTREE_OCTOPUS_PRO_V1_F429]
310
-platform           = ${common_stm32.platform}
311
 extends            = stm32_variant
286
 extends            = stm32_variant
312
 board              = marlin_BigTree_Octopus_Pro_v1_F429
287
 board              = marlin_BigTree_Octopus_Pro_v1_F429
313
 board_build.offset = 0x8000
288
 board_build.offset = 0x8000
318
 # BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4) with USB Flash Drive Support
293
 # BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4) with USB Flash Drive Support
319
 #
294
 #
320
 [env:BIGTREE_OCTOPUS_PRO_V1_F429_USB]
295
 [env:BIGTREE_OCTOPUS_PRO_V1_F429_USB]
321
-platform          = ${common_stm32.platform}
322
 extends           = env:BIGTREE_OCTOPUS_PRO_V1_F429
296
 extends           = env:BIGTREE_OCTOPUS_PRO_V1_F429
323
 platform_packages = ${stm_flash_drive.platform_packages}
297
 platform_packages = ${stm_flash_drive.platform_packages}
324
 build_unflags     = -DUSBD_USE_CDC
298
 build_unflags     = -DUSBD_USE_CDC
332
 # Lerdge base
306
 # Lerdge base
333
 #
307
 #
334
 [lerdge_common]
308
 [lerdge_common]
335
-platform            = ${common_stm32.platform}
336
 extends             = stm32_variant
309
 extends             = stm32_variant
337
 board               = marlin_STM32F407ZGT6
310
 board               = marlin_STM32F407ZGT6
338
 board_build.variant = MARLIN_LERDGE
311
 board_build.variant = MARLIN_LERDGE
349
 # Lerdge X (STM32F407VE)
322
 # Lerdge X (STM32F407VE)
350
 #
323
 #
351
 [env:LERDGEX]
324
 [env:LERDGEX]
352
-platform            = ${lerdge_common.platform}
353
 extends             = lerdge_common
325
 extends             = lerdge_common
354
 board_build.encrypt = Lerdge_X_firmware_force.bin
326
 board_build.encrypt = Lerdge_X_firmware_force.bin
355
 
327
 
357
 # Lerdge X with USB Flash Drive Support
329
 # Lerdge X with USB Flash Drive Support
358
 #
330
 #
359
 [env:LERDGEX_usb_flash_drive]
331
 [env:LERDGEX_usb_flash_drive]
360
-platform          = ${env:LERDGEX.platform}
361
 extends           = env:LERDGEX
332
 extends           = env:LERDGEX
362
 platform_packages = ${stm_flash_drive.platform_packages}
333
 platform_packages = ${stm_flash_drive.platform_packages}
363
 build_flags       = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
334
 build_flags       = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
366
 # Lerdge S (STM32F407ZG)
337
 # Lerdge S (STM32F407ZG)
367
 #
338
 #
368
 [env:LERDGES]
339
 [env:LERDGES]
369
-platform            = ${lerdge_common.platform}
370
 extends             = lerdge_common
340
 extends             = lerdge_common
371
 board_build.encrypt = Lerdge_firmware_force.bin
341
 board_build.encrypt = Lerdge_firmware_force.bin
372
 
342
 
374
 # Lerdge S with USB Flash Drive Support
344
 # Lerdge S with USB Flash Drive Support
375
 #
345
 #
376
 [env:LERDGES_usb_flash_drive]
346
 [env:LERDGES_usb_flash_drive]
377
-platform          = ${env:LERDGES.platform}
378
 extends           = env:LERDGES
347
 extends           = env:LERDGES
379
 platform_packages = ${stm_flash_drive.platform_packages}
348
 platform_packages = ${stm_flash_drive.platform_packages}
380
 build_flags       = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
349
 build_flags       = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
383
 # Lerdge K (STM32F407ZG)
352
 # Lerdge K (STM32F407ZG)
384
 #
353
 #
385
 [env:LERDGEK]
354
 [env:LERDGEK]
386
-platform            = ${lerdge_common.platform}
387
 extends             = lerdge_common
355
 extends             = lerdge_common
388
 board_build.encrypt = Lerdge_K_firmware_force.bin
356
 board_build.encrypt = Lerdge_K_firmware_force.bin
389
 build_flags         = ${lerdge_common.build_flags} -DLERDGEK
357
 build_flags         = ${lerdge_common.build_flags} -DLERDGEK
392
 # Lerdge K with USB Flash Drive Support
360
 # Lerdge K with USB Flash Drive Support
393
 #
361
 #
394
 [env:LERDGEK_usb_flash_drive]
362
 [env:LERDGEK_usb_flash_drive]
395
-platform          = ${env:LERDGEK.platform}
396
 extends           = env:LERDGEK
363
 extends           = env:LERDGEK
397
 platform_packages = ${stm_flash_drive.platform_packages}
364
 platform_packages = ${stm_flash_drive.platform_packages}
398
 build_flags       = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
365
 build_flags       = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
401
 # RUMBA32
368
 # RUMBA32
402
 #
369
 #
403
 [env:rumba32]
370
 [env:rumba32]
404
-platform             = ${common_stm32.platform}
405
 extends              = stm32_variant
371
 extends              = stm32_variant
406
 board                = rumba32_f446ve
372
 board                = rumba32_f446ve
407
 board_build.variant  = MARLIN_F446VE
373
 board_build.variant  = MARLIN_F446VE
418
 # MKS Robin Pro V2
384
 # MKS Robin Pro V2
419
 #
385
 #
420
 [env:mks_robin_pro2]
386
 [env:mks_robin_pro2]
421
-platform                    = ${common_stm32.platform}
422
 extends                     = stm32_variant
387
 extends                     = stm32_variant
423
 platform_packages           = ${stm_flash_drive.platform_packages}
388
 platform_packages           = ${stm_flash_drive.platform_packages}
424
 board                       = genericSTM32F407VET6
389
 board                       = genericSTM32F407VET6
440
 # MKS Robin Nano V3
405
 # MKS Robin Nano V3
441
 #
406
 #
442
 [env:mks_robin_nano_v3]
407
 [env:mks_robin_nano_v3]
443
-platform                    = ${common_stm32.platform}
444
 extends                     = stm32_variant
408
 extends                     = stm32_variant
445
 board                       = marlin_STM32F407VGT6_CCM
409
 board                       = marlin_STM32F407VGT6_CCM
446
 board_build.variant         = MARLIN_F4x7Vx
410
 board_build.variant         = MARLIN_F4x7Vx
457
 # Currently, using a STM32duino fork, until USB Host get merged
421
 # Currently, using a STM32duino fork, until USB Host get merged
458
 #
422
 #
459
 [env:mks_robin_nano_v3_usb_flash_drive]
423
 [env:mks_robin_nano_v3_usb_flash_drive]
460
-platform          = ${common_stm32.platform}
461
 extends           = env:mks_robin_nano_v3
424
 extends           = env:mks_robin_nano_v3
462
 platform_packages = ${stm_flash_drive.platform_packages}
425
 platform_packages = ${stm_flash_drive.platform_packages}
463
 build_flags       = ${stm_flash_drive.build_flags} ${stm32f4_I2C1.build_flags}
426
 build_flags       = ${stm_flash_drive.build_flags} ${stm32f4_I2C1.build_flags}
471
 # Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
434
 # Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
472
 #
435
 #
473
 [env:mks_robin_nano_v3_usb_flash_drive_msc]
436
 [env:mks_robin_nano_v3_usb_flash_drive_msc]
474
-platform          = ${common_stm32.platform}
475
 extends           = env:mks_robin_nano_v3_usb_flash_drive
437
 extends           = env:mks_robin_nano_v3_usb_flash_drive
476
 build_flags       = ${env:mks_robin_nano_v3_usb_flash_drive.build_flags}
438
 build_flags       = ${env:mks_robin_nano_v3_usb_flash_drive.build_flags}
477
                     -DUSBD_USE_CDC_MSC
439
                     -DUSBD_USE_CDC_MSC
482
 # 5 TMC2209 uart mode on board
444
 # 5 TMC2209 uart mode on board
483
 #
445
 #
484
 [env:mks_eagle]
446
 [env:mks_eagle]
485
-platform                    = ${common_stm32.platform}
486
 extends                     = stm32_variant
447
 extends                     = stm32_variant
487
 board                       = marlin_STM32F407VGT6_CCM
448
 board                       = marlin_STM32F407VGT6_CCM
488
 board_build.variant         = MARLIN_F4x7Vx
449
 board_build.variant         = MARLIN_F4x7Vx
500
 # Currently, using a STM32duino fork, until USB Host get merged
461
 # Currently, using a STM32duino fork, until USB Host get merged
501
 #
462
 #
502
 [env:mks_eagle_usb_flash_drive]
463
 [env:mks_eagle_usb_flash_drive]
503
-platform          = ${common_stm32.platform}
504
 extends           = env:mks_eagle
464
 extends           = env:mks_eagle
505
 platform_packages = ${stm_flash_drive.platform_packages}
465
 platform_packages = ${stm_flash_drive.platform_packages}
506
 build_flags       = ${stm_flash_drive.build_flags} ${stm32f4_I2C1.build_flags}
466
 build_flags       = ${stm_flash_drive.build_flags} ${stm32f4_I2C1.build_flags}
514
 # Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
474
 # Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
515
 #
475
 #
516
 [env:mks_eagle_usb_flash_drive_msc]
476
 [env:mks_eagle_usb_flash_drive_msc]
517
-platform          = ${common_stm32.platform}
518
 extends           = env:mks_eagle_usb_flash_drive
477
 extends           = env:mks_eagle_usb_flash_drive
519
 build_flags       = ${env:mks_eagle_usb_flash_drive.build_flags}
478
 build_flags       = ${env:mks_eagle_usb_flash_drive.build_flags}
520
                     -DUSBD_USE_CDC_MSC
479
                     -DUSBD_USE_CDC_MSC
530
 # MKS Monster8
489
 # MKS Monster8
531
 #
490
 #
532
 [env:mks_monster8]
491
 [env:mks_monster8]
533
-platform                    = ${common_stm32.platform}
534
 extends                     = stm32_variant
492
 extends                     = stm32_variant
535
 board                       = marlin_STM32F407VGT6_CCM
493
 board                       = marlin_STM32F407VGT6_CCM
536
 board_build.variant         = MARLIN_F4x7Vx
494
 board_build.variant         = MARLIN_F4x7Vx
548
 # Currently, using a STM32duino fork, until USB Host get merged
506
 # Currently, using a STM32duino fork, until USB Host get merged
549
 #
507
 #
550
 [env:mks_monster8_usb_flash_drive]
508
 [env:mks_monster8_usb_flash_drive]
551
-platform          = ${common_stm32.platform}
552
 extends           = env:mks_monster8
509
 extends           = env:mks_monster8
553
 platform_packages = ${stm_flash_drive.platform_packages}
510
 platform_packages = ${stm_flash_drive.platform_packages}
554
 build_flags       = ${stm_flash_drive.build_flags} ${stm32f4_I2C1_CAN.build_flags}
511
 build_flags       = ${stm_flash_drive.build_flags} ${stm32f4_I2C1_CAN.build_flags}
562
 # Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
519
 # Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
563
 #
520
 #
564
 [env:mks_monster8_usb_flash_drive_msc]
521
 [env:mks_monster8_usb_flash_drive_msc]
565
-platform          = ${common_stm32.platform}
566
 extends           = env:mks_monster8_usb_flash_drive
522
 extends           = env:mks_monster8_usb_flash_drive
567
 build_flags       = ${env:mks_monster8_usb_flash_drive.build_flags}
523
 build_flags       = ${env:mks_monster8_usb_flash_drive.build_flags}
568
                     -DUSBD_USE_CDC_MSC
524
                     -DUSBD_USE_CDC_MSC
572
 # TH3D EZBoard v2.0 (STM32F405RGT6 ARM Cortex-M4)
528
 # TH3D EZBoard v2.0 (STM32F405RGT6 ARM Cortex-M4)
573
 #
529
 #
574
 [env:TH3D_EZBoard_V2]
530
 [env:TH3D_EZBoard_V2]
575
-platform            = ${common_stm32.platform}
576
 extends             = stm32_variant
531
 extends             = stm32_variant
577
 board               = genericSTM32F405RG
532
 board               = genericSTM32F405RG
578
 board_build.variant = MARLIN_TH3D_EZBOARD_V2
533
 board_build.variant = MARLIN_TH3D_EZBOARD_V2
588
 #  - MKS Robin Nano-S V1.3 (STM32F407VET6) 4 TMC2225 + 1 Pololu Plug
543
 #  - MKS Robin Nano-S V1.3 (STM32F407VET6) 4 TMC2225 + 1 Pololu Plug
589
 #
544
 #
590
 [env:mks_robin_nano_v1_3_f4]
545
 [env:mks_robin_nano_v1_3_f4]
591
-platform                    = ${common_stm32.platform}
592
 extends                     = stm32_variant
546
 extends                     = stm32_variant
593
 board                       = marlin_STM32F407VGT6_CCM
547
 board                       = marlin_STM32F407VGT6_CCM
594
 board_build.variant         = MARLIN_F4x7Vx
548
 board_build.variant         = MARLIN_F4x7Vx
610
 # Artillery Ruby
564
 # Artillery Ruby
611
 #
565
 #
612
 [env:Artillery_Ruby]
566
 [env:Artillery_Ruby]
613
-platform          = ${common_stm32.platform}
614
 extends           = common_stm32
567
 extends           = common_stm32
615
 board             = marlin_Artillery_Ruby
568
 board             = marlin_Artillery_Ruby
616
 build_flags       = ${common_stm32.build_flags}
569
 build_flags       = ${common_stm32.build_flags}

+ 0
- 2
ini/stm32f7.ini Просмотреть файл

25
 # being readily available based on STM32F7 MCUs
25
 # being readily available based on STM32F7 MCUs
26
 #
26
 #
27
 [env:NUCLEO_F767ZI]
27
 [env:NUCLEO_F767ZI]
28
-platform      = ${common_stm32.platform}
29
 extends       = common_stm32
28
 extends       = common_stm32
30
 board         = nucleo_f767zi
29
 board         = nucleo_f767zi
31
 build_flags   = ${common_stm32.build_flags} -DTIMER_SERIAL=TIM9
30
 build_flags   = ${common_stm32.build_flags} -DTIMER_SERIAL=TIM9
34
 # REMRAM_V1
33
 # REMRAM_V1
35
 #
34
 #
36
 [env:REMRAM_V1]
35
 [env:REMRAM_V1]
37
-platform      = ${common_stm32.platform}
38
 extends       = common_stm32
36
 extends       = common_stm32
39
 board         = remram_v1
37
 board         = remram_v1

+ 12
- 12
ini/stm32g0.ini Просмотреть файл

23
 # BigTree SKR mini E3 V3.0 (STM32G0B1RET6 ARM Cortex-M0+)
23
 # BigTree SKR mini E3 V3.0 (STM32G0B1RET6 ARM Cortex-M0+)
24
 #
24
 #
25
 [env:STM32G0B1RE_btt]
25
 [env:STM32G0B1RE_btt]
26
-platform          = ststm32@~14.1.0
27
-platform_packages = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
28
-extends            = stm32_variant
29
-board              = marlin_STM32G0B1RE
26
+extends                     = stm32_variant
27
+platform                    = ststm32@~14.1.0
28
+platform_packages           = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
29
+board                       = marlin_STM32G0B1RE
30
 board_build.offset          = 0x2000
30
 board_build.offset          = 0x2000
31
 board_upload.offset_address = 0x08002000
31
 board_upload.offset_address = 0x08002000
32
-build_flags        = ${stm32_variant.build_flags}
33
-                   -DADC_RESOLUTION=12
34
-                   -DPIN_SERIAL4_RX=PC_11 -DPIN_SERIAL4_TX=PC_10
35
-                   -DSERIAL_RX_BUFFER_SIZE=1024 -DSERIAL_TX_BUFFER_SIZE=1024
36
-                   -DTIMER_SERVO=TIM3 -DTIMER_TONE=TIM4
37
-                   -DSTEP_TIMER_IRQ_PRIO=0
38
-upload_protocol   = stlink
39
-debug_tool        = stlink
32
+build_flags                 = ${stm32_variant.build_flags}
33
+                            -DADC_RESOLUTION=12
34
+                            -DPIN_SERIAL4_RX=PC_11 -DPIN_SERIAL4_TX=PC_10
35
+                            -DSERIAL_RX_BUFFER_SIZE=1024 -DSERIAL_TX_BUFFER_SIZE=1024
36
+                            -DTIMER_SERVO=TIM3 -DTIMER_TONE=TIM4
37
+                            -DSTEP_TIMER_IRQ_PRIO=0
38
+upload_protocol             = stlink
39
+debug_tool                  = stlink

+ 0
- 1
ini/stm32h7.ini Просмотреть файл

23
 # BigTreeTech SKR SE BX (STM32H743IIT6 ARM Cortex-M7)
23
 # BigTreeTech SKR SE BX (STM32H743IIT6 ARM Cortex-M7)
24
 #
24
 #
25
 [env:BTT_SKR_SE_BX]
25
 [env:BTT_SKR_SE_BX]
26
-platform           = ${common_stm32.platform}
27
 extends            = stm32_variant
26
 extends            = stm32_variant
28
 platform_packages  = framework-arduinoststm32@https://github.com/thisiskeithb/Arduino_Core_STM32/archive/biqu-bx-workaround.zip
27
 platform_packages  = framework-arduinoststm32@https://github.com/thisiskeithb/Arduino_Core_STM32/archive/biqu-bx-workaround.zip
29
 board              = marlin_BTT_SKR_SE_BX
28
 board              = marlin_BTT_SKR_SE_BX

+ 35
- 24
ini/teensy.ini Просмотреть файл

10
 #################################
10
 #################################
11
 
11
 
12
 #
12
 #
13
+# Teensy AVR
14
+#
15
+[teensy_avr]
16
+platform          = teensy
17
+platform_packages = toolchain-atmelavr@~1.70300.0
18
+extends           = common_avr8
19
+lib_ignore        = ${env:common_avr8.lib_ignore}, NativeEthernet
20
+
21
+#
13
 # AT90USB1286 boards using CDC bootloader
22
 # AT90USB1286 boards using CDC bootloader
14
 # e.g., BRAINWAVE, BRAINWAVE_PRO, SAV_MKI, TEENSYLU
23
 # e.g., BRAINWAVE, BRAINWAVE_PRO, SAV_MKI, TEENSYLU
15
 #
24
 #
16
 [env:at90usb1286_cdc]
25
 [env:at90usb1286_cdc]
17
-platform   = teensy
18
-extends    = common_avr8
26
+extends    = teensy_avr
19
 board      = marlin_at90usb1286
27
 board      = marlin_at90usb1286
20
-lib_ignore = ${env:common_avr8.lib_ignore}, Teensy_ADC, NativeEthernet
28
+lib_ignore = ${teensy_avr.lib_ignore}, Teensy_ADC
21
 
29
 
22
 #
30
 #
23
 # AT90USB1286 boards using DFU bootloader
31
 # AT90USB1286 boards using DFU bootloader
24
 # e.g., Printrboard, Printrboard Rev.F, 5DPRINT
32
 # e.g., Printrboard, Printrboard Rev.F, 5DPRINT
25
 #
33
 #
26
 [env:at90usb1286_dfu]
34
 [env:at90usb1286_dfu]
27
-platform = teensy
28
-extends  = env:at90usb1286_cdc
35
+extends = env:at90usb1286_cdc
29
 
36
 
30
 #
37
 #
31
 # Teensy++ 2.0
38
 # Teensy++ 2.0
32
 #
39
 #
33
 [env:teensy20]
40
 [env:teensy20]
34
-platform   = teensy
35
-extends    = common_avr8
36
-board      = teensy2pp
37
-lib_ignore = ${env:common_avr8.lib_ignore}, NativeEthernet
41
+extends = teensy_avr
42
+board   = teensy2pp
43
+
44
+#
45
+# Teensy 3.x - 4.x
46
+#
47
+[teensy_arm]
48
+platform   = teensy@~4.12.0
49
+src_filter = ${common.default_src_filter}
50
+lib_ignore = NativeEthernet
38
 
51
 
39
 #
52
 #
40
 # Teensy 3.1 / 3.2 (ARM Cortex-M4)
53
 # Teensy 3.1 / 3.2 (ARM Cortex-M4)
41
 #
54
 #
42
 [env:teensy31]
55
 [env:teensy31]
43
-platform      = teensy@~4.12.0
44
-board         = teensy31
45
-src_filter    = ${common.default_src_filter} +<src/HAL/TEENSY31_32>
46
-lib_ignore    = NativeEthernet
56
+extends    = teensy_arm
57
+board      = teensy31
58
+src_filter = ${teensy_arm.src_filter} +<src/HAL/TEENSY31_32>
47
 
59
 
48
 #
60
 #
49
 # Teensy 3.5 / 3.6 (ARM Cortex-M4)
61
 # Teensy 3.5 / 3.6 (ARM Cortex-M4)
50
 #
62
 #
51
 [env:teensy35]
63
 [env:teensy35]
52
-platform      = teensy@~4.12.0
53
-board         = teensy35
54
-src_filter    = ${common.default_src_filter} +<src/HAL/TEENSY35_36>
55
-lib_ignore    = NativeEthernet
64
+extends    = teensy_arm
65
+board      = teensy35
66
+src_filter = ${teensy_arm.src_filter} +<src/HAL/TEENSY35_36>
56
 
67
 
57
 [env:teensy36]
68
 [env:teensy36]
58
-platform      = teensy@~4.12.0
59
-board         = teensy36
60
-src_filter    = ${common.default_src_filter} +<src/HAL/TEENSY35_36>
61
-lib_ignore    = NativeEthernet
69
+extends    = teensy_arm
70
+board      = teensy36
71
+src_filter = ${teensy_arm.src_filter} +<src/HAL/TEENSY35_36>
62
 
72
 
63
 #
73
 #
64
 # Teensy 4.0 / 4.1 (ARM Cortex-M7)
74
 # Teensy 4.0 / 4.1 (ARM Cortex-M7)
65
 #
75
 #
66
 [env:teensy41]
76
 [env:teensy41]
67
-platform      = teensy@~4.12.0
68
-board         = teensy41
69
-src_filter    = ${common.default_src_filter} +<src/HAL/TEENSY40_41>
77
+extends    = teensy_arm
78
+board      = teensy41
79
+src_filter = ${teensy_arm.src_filter} +<src/HAL/TEENSY40_41>
80
+lib_ignore =

Загрузка…
Отмена
Сохранить