@@ -31,13 +31,15 @@ build_flags = -DPIN_WIRE_SCL=PB3 -DPIN_WIRE_SDA=PB4
31
31
#
32
32
[env:BTT_EBB42_V1_1_filament_extruder]
33
33
extends = stm32_variant
34
- platform = ststm32@~14 .1.0
34
+ platform = ststm32@17 .1.0
35
35
platform_packages = framework-arduinoststm32@~4.20600.231001
36
- toolchain-gccarmnoneeabi@1.100301.220327
36
+ toolchain-gccarmnoneeabi@1.120301.0
37
37
board = marlin_BTT_EBB42_V1_1
38
38
board_build.offset = 0x0000
39
39
board_upload.offset_address = 0x08000000
40
- build_flags = ${stm32_variant.build_flags} ${stm32g0_I2C2.build_flags} -flto
40
+ build_flags = ${stm32_variant.build_flags} ${stm32g0_I2C2.build_flags}
41
+ -flto
42
+ -Wl,--no-warn-rwx-segment
41
43
debug_tool = stlink
42
44
upload_protocol = dfu
43
45
upload_command = dfu-util -a 0 -s 0x08000000:leave -D " $SOURCE"
@@ -47,9 +49,9 @@ upload_command = dfu-util -a 0 -s 0x08000000:leave -D "$SOURCE"
47
49
#
48
50
[env:STM32G0B1RE_btt]
49
51
extends = stm32_variant
50
- platform = ststm32@~14 .1.0
52
+ platform = ststm32@17 .1.0
51
53
platform_packages = framework-arduinoststm32@~4.20600.231001
52
- toolchain-gccarmnoneeabi@1.100301.220327
54
+ toolchain-gccarmnoneeabi@1.120301.0
53
55
board = marlin_STM32G0B1RE
54
56
board_build.offset = 0x2000
55
57
board_upload.offset_address = 0x08002000
@@ -58,6 +60,7 @@ build_flags = ${stm32_variant.build_flags}
58
60
-DSERIAL_RX_BUFFER_SIZE =1024 -DSERIAL_TX_BUFFER_SIZE =1024
59
61
-DTIMER_SERVO =TIM3 -DTIMER_TONE =TIM4
60
62
-DSTEP_TIMER_IRQ_PRIO =0
63
+ -Wl,--no-warn-rwx-segment
61
64
upload_protocol = stlink
62
65
debug_tool = stlink
63
66
@@ -104,9 +107,9 @@ upload_protocol = custom
104
107
#
105
108
[env:STM32G0B1VE_btt]
106
109
extends = stm32_variant
107
- platform = ststm32@~14 .1.0
110
+ platform = ststm32@17 .1.0
108
111
platform_packages = framework-arduinoststm32@~4.20600.231001
109
- toolchain-gccarmnoneeabi@1.100301.220327
112
+ toolchain-gccarmnoneeabi@1.120301.0
110
113
board = marlin_STM32G0B1VE
111
114
board_build.offset = 0x2000
112
115
board_upload.offset_address = 0x08002000
@@ -116,6 +119,7 @@ build_flags = ${stm32_variant.build_flags}
116
119
-DSERIAL_RX_BUFFER_SIZE =1024 -DSERIAL_TX_BUFFER_SIZE =1024
117
120
-DTIMER_SERVO =TIM3 -DTIMER_TONE =TIM4
118
121
-DSTEP_TIMER_IRQ_PRIO =0
122
+ -Wl,--no-warn-rwx-segment
119
123
upload_protocol = stlink
120
124
debug_tool = stlink
121
125
0 commit comments