Browse Source

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

ellensp 4 years ago
parent
commit
bb89e33e24
No account linked to committer's email address
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      platformio.ini

+ 6
- 3
platformio.ini View File

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

Loading…
Cancel
Save