Marlin/buildroot/share/PlatformIO/variants
Scott Lahteine 4f39b9c09d 🎨 Misc patches from ProUI
Co-Authored-By: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
2025-11-17 17:28:13 -06:00
..
MARLIN_ARCHIM 🎨 Delete libsam_sam3x8e_gcc_rel.a.txt 2025-04-16 14:43:50 -05:00
MARLIN_ARTILLERY_RUBY 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_BTT_BTT002 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_BTT_E3_RRF 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_BTT_EBB42_V1_1 🎨 Apply some #ifndef 2024-10-06 20:06:35 -05:00
MARLIN_BTT_GTR_V1 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_BTT_OCTOPUS_PRO_V1_F429 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_BTT_OCTOPUS_V1 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_BTT_SKR_PRO_11 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_BTT_SKR_SE_BX 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_F4x7Vx 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_F103Rx 🎨 Misc patches from ProUI 2025-11-17 17:28:13 -06:00
MARLIN_F103VE_LONGER 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_F103Vx 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_F103Zx 🐛 Fix JG Aurora A1 implementation (#27622) 2025-01-08 16:48:32 -06:00
MARLIN_F401RC 🎨 Apply some #ifndef 2024-10-06 20:06:35 -05:00
MARLIN_F401RC_CREALITY 🎨 Misc patches from ProUI 2025-11-17 17:28:13 -06:00
MARLIN_F401RE_CREALITY 🔨 Simplify generic variants, update DFU tool (#27502) 2024-11-02 18:42:20 -05:00
MARLIN_F401RE_FREERUNS 🔨 Simplify generic variants, update DFU tool (#27502) 2024-11-02 18:42:20 -05:00
MARLIN_F407VE 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_F407ZE 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_F446VE 🎨 Detab some build files 2023-04-07 01:54:07 -05:00
MARLIN_F446VE_FYSETC 🔨 Rename FYSETC S6/Spider envs (#27122) 2025-03-14 13:11:45 -05:00
MARLIN_F446Zx_TRONXY 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_FLY_CDY_V3 FLY_D5, FLY_DP5, FLY_D7, FLY_D8, FLY_D8_PRO, FLY_SUPER8_PRO, FLY_CDY_V3 (#27580) 2025-03-04 21:08:04 -06:00
MARLIN_FLY_D5 🎨 Whitespace cleanups (#27784) 2025-04-09 19:08:10 -05:00
MARLIN_FLY_D7 🎨 Whitespace cleanups (#27784) 2025-04-09 19:08:10 -05:00
MARLIN_FLY_D8 FLY_D5, FLY_DP5, FLY_D7, FLY_D8, FLY_D8_PRO, FLY_SUPER8_PRO, FLY_CDY_V3 (#27580) 2025-03-04 21:08:04 -06:00
MARLIN_FLY_D8_PRO 🎨 cosmetics 2025-03-17 15:19:21 -05:00
MARLIN_FLY_F407ZG FLY_D5, FLY_DP5, FLY_D7, FLY_D8, FLY_D8_PRO, FLY_SUPER8_PRO, FLY_CDY_V3 (#27580) 2025-03-04 21:08:04 -06:00
MARLIN_FLY_SUPER8 FLY_D5, FLY_DP5, FLY_D7, FLY_D8, FLY_D8_PRO, FLY_SUPER8_PRO, FLY_CDY_V3 (#27580) 2025-03-04 21:08:04 -06:00
MARLIN_FLY_SUPER8_PRO FLY_D5, FLY_DP5, FLY_D7, FLY_D8, FLY_D8_PRO, FLY_SUPER8_PRO, FLY_CDY_V3 (#27580) 2025-03-04 21:08:04 -06:00
MARLIN_FYSETC_CHEETAH_V20 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_FYSETC_SPIDER_KING407 🎨 Detab some build files 2023-04-07 01:54:07 -05:00
MARLIN_G0B1RE 🔨 Fix env STM32G0B1RE_btt, add …_manta_btt (#25431) 2023-02-26 21:03:28 -06:00
MARLIN_G0B1VE 🎨 Apply some #ifndef 2024-10-06 20:06:35 -05:00
MARLIN_H723VG 🎨 Apply some #ifndef 2024-10-06 20:06:35 -05:00
MARLIN_H723ZE 🎨 Apply some #ifndef 2024-10-06 20:06:35 -05:00
MARLIN_H723ZG 🎨 Apply some #ifndef 2024-10-06 20:06:35 -05:00
MARLIN_H743VI 🔨 Fix PINS_DEBUGGING for some STM32H7 (#26416) 2023-11-14 02:29:07 -06:00
MARLIN_I3DBEEZ9 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_LERDGE 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
marlin_maple_CHITU_F103 🎨 Some chmod ug-x 2025-10-26 01:36:21 -05:00
marlin_maple_MEEB_3DP 🎨 Whitespace cleanups (#27784) 2025-04-09 19:08:10 -05:00
MARLIN_MEGA1281 🩹 Fix MINITRONICS v1 pins (#27150) 2024-08-22 11:01:42 -05:00
MARLIN_MEGA_EXTENDED 🎨 Whitespace cleanups (#27784) 2025-04-09 19:08:10 -05:00
MARLIN_MKS_ROBIN2 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_MKS_SKIPR_V1 🔨 Suppress variant build warnings 2024-09-27 20:08:18 -05:00
MARLIN_TH3D_EZBOARD_V2 🎨 Some chmod ug-x 2025-10-26 01:36:21 -05:00
README.md ✏️ Fix variant docs typo (#27850) 2025-05-14 15:18:53 -05:00

Marlin Custom Variants

This buildroot/share/PlatformIO/variants folder contains Marlin custom variants for both generic and custom boards.

Marlin specifies board variants in PlatformIO INI files in one of two ways:

  • The board_build.variant = VARIANT_NAME field specifies the variant subfolder name directly.
  • The board = board_name field names a custom board JSON file that contains a build.variant field.

Variant File Naming

With the latest STM32 platform (17.x) the variant.h and variant.cpp files are required to have more unique names. If the variant is based on a generic board definition the name variant_generic.h/.cpp should be used. Otherwise, the capitalized name of the board should be used.

Examples

board board file variant Variant Files
marlin_STM32F407VGT6_CCM marlin_STM32F407VGT6_CCM.json MARLIN_BTT_E3_RRF variants/MARLIN_BTT_E3_RRF/variant.*
genericSTM32F103VE n/a MARLIN_F103Vx variants/MARLIN_F103Vx/variant_generic.*
marlin_STM32F407ZE marlin_STM32F407ZE.json MARLIN_F407ZE variants/MARLIN_F407ZE/variant_MARLIN_F407ZE.*

Marlin Custom Boards

The buildroot/share/PlatformIO/boards folder contains Marlin's custom board definition JSON files. These files provide hardware IDs, board statistics, additional build flags, custom variant name, linker definition filename, remote debug options, upload devices, etc.