Bläddra i källkod

FIx Sanguino/1284p board_upload.maximum_size (#18502)

ellensp 4 år sedan
förälder
incheckning
bb89e33e24
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 6 tillägg och 3 borttagningar
  1. 6
    3
      platformio.ini

+ 6
- 3
platformio.ini Visa fil

@@ -147,6 +147,7 @@ board         = sanguino_atmega644p
147 147
 platform      = atmelavr
148 148
 extends       = common_avr8
149 149
 board         = sanguino_atmega1284p
150
+board_upload.maximum_size = 126976
150 151
 
151 152
 #
152 153
 # Melzi and clones (ATmega1284p)
@@ -157,13 +158,16 @@ extends       = common_avr8
157 158
 board         = sanguino_atmega1284p
158 159
 lib_ignore    = TMCStepper
159 160
 upload_speed  = 57600
161
+board_upload.maximum_size = 126976
160 162
 
161 163
 #
162 164
 # Melzi and clones (Optiboot bootloader)
163 165
 #
164 166
 [env:melzi_optiboot]
165 167
 platform      = atmelavr
166
-extends       = env:melzi
168
+extends       = common_avr8
169
+board         = sanguino_atmega1284p
170
+lib_ignore    = TMCStepper
167 171
 upload_speed  = 115200
168 172
 
169 173
 #
@@ -171,8 +175,7 @@ upload_speed  = 115200
171 175
 #
172 176
 [env:melzi_optimized]
173 177
 platform      = atmelavr
174
-extends       = env:melzi
175
-upload_speed  = 115200
178
+extends       = env:melzi_optiboot
176 179
 build_flags   = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
177 180
 build_unflags = -g -ggdb
178 181
 

Laddar…
Avbryt
Spara