Skip to content

Commit

Permalink
🔨 Upload to Optiboot at 115200 (#23403)
Browse files Browse the repository at this point in the history
  • Loading branch information
aligator authored and thinkyhead committed Jan 9, 2022
1 parent 5ec384f commit 24f9c3a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 35 deletions.
45 changes: 10 additions & 35 deletions ini/avr.ini
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,6 @@ extends = common_avr8
board = sanguino_atmega1284p
board_upload.maximum_size = 126976

#
# Melzi and clones (ATmega1284p)
#
[env:melzi]
platform = atmelavr
extends = env:sanguino1284p
upload_speed = 57600

#
# Sanguinololu (ATmega1284p stock bootloader with tuned flags)
#
Expand All @@ -123,15 +115,21 @@ build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -

[env:sanguino1284p_optimized]
platform = atmelavr
extends = env:melzi
extends = env:sanguino1284p
build_flags = ${tuned_1284p.build_flags}

#
# Melzi and clones (alias for sanguino1284p_optimized)
# Melzi and clones (ATmega1284p)
#
[env:melzi]
platform = atmelavr
extends = env:sanguino1284p
upload_speed = 57600

[env:melzi_optimized]
platform = atmelavr
extends = env:sanguino1284p_optimized
platform = atmelavr
extends = env:sanguino1284p_optimized
upload_speed = 57600

#
# Melzi and clones (Optiboot bootloader)
Expand All @@ -150,26 +148,3 @@ board_upload.maximum_size = 130048
platform = atmelavr
extends = env:melzi_optiboot
build_flags = ${tuned_1284p.build_flags}

#
# AT90USB1286 boards using CDC bootloader
# - BRAINWAVE
# - BRAINWAVE_PRO
# - SAV_MKI
# - TEENSYLU
#
[env:at90usb1286_cdc]
platform = teensy
extends = common_avr8
board = marlin_at90usb1286
lib_ignore = ${env:common_avr8.lib_ignore}, Teensy_ADC, NativeEthernet

#
# AT90USB1286 boards using DFU bootloader
# - Printrboard
# - Printrboard Rev.F
# - ? 5DPRINT ?
#
[env:at90usb1286_dfu]
platform = teensy
extends = env:at90usb1286_cdc
18 changes: 18 additions & 0 deletions ini/teensy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@
# #
#################################

#
# AT90USB1286 boards using CDC bootloader
# e.g., BRAINWAVE, BRAINWAVE_PRO, SAV_MKI, TEENSYLU
#
[env:at90usb1286_cdc]
platform = teensy
extends = common_avr8
board = marlin_at90usb1286
lib_ignore = ${env:common_avr8.lib_ignore}, Teensy_ADC, NativeEthernet

#
# AT90USB1286 boards using DFU bootloader
# e.g., Printrboard, Printrboard Rev.F, 5DPRINT
#
[env:at90usb1286_dfu]
platform = teensy
extends = env:at90usb1286_cdc

#
# Teensy++ 2.0
#
Expand Down

0 comments on commit 24f9c3a

Please sign in to comment.