Skip to content

Commit

Permalink
🩹 Fix MINITRONICS build (using env:mega1281)
Browse files Browse the repository at this point in the history
Minitronics board uses a 1281 (with less pins), not a 1280. The environment
for it seems to be missing. Add it.
  • Loading branch information
lkundrak committed Jun 4, 2024
1 parent cb3209b commit e244af2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/pins/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@
//

#elif MB(MINITRONICS)
#include "mega/pins_MINITRONICS.h" // ATmega1281 env:mega1280
#include "mega/pins_MINITRONICS.h" // ATmega1281 env:mega1281
#elif MB(SILVER_GATE)
#include "mega/pins_SILVER_GATE.h" // ATmega2561 env:mega2560

Expand Down
7 changes: 7 additions & 0 deletions ini/avr.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ build_flags = ${common_avr8.build_flags} -fno-tree-scev-cprop -fno-split
extends = mega_extended_optimized
board = megaatmega1280

#
# ATmega1281
#
[env:mega1281]
extends = common_avr8
board = ATmega1281

#
# MightyBoard ATmega2560
#
Expand Down

0 comments on commit e244af2

Please sign in to comment.