Skip to content

Commit

Permalink
Adds FreeFlash feature to allow more F4 variants
Browse files Browse the repository at this point in the history
  • Loading branch information
mriscoc committed Jan 11, 2025
1 parent 814c6de commit 5b8e0a3
Show file tree
Hide file tree
Showing 4 changed files with 278 additions and 9 deletions.
9 changes: 0 additions & 9 deletions _boards/301F4.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,6 @@
"searchfor": "SD_SPI_SPEED",
"value": "SPI_HALF_SPEED"
},
{
"op": "Disable",
"searchfor": "BINARY_FILE_TRANSFER"
},
{
"op": "CustomVal",
"searchfor": "SDSORT_LIMIT",
"value": "40"
},
{
"op": "CustomVal",
"searchfor": "CHOPPER_TIMING",
Expand Down
160 changes: 160 additions & 0 deletions _boards/SKRME3V2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
{
"Configuration.h" : [
{
"op": "CustomVal",
"searchfor": "MOTHERBOARD",
"value": "BOARD_BTT_SKR_MINI_E3_V2_0",
"comment": "BTT SKR MINI E3 V2"
},
{
"op": "CustomVal",
"searchfor": "SERIAL_PORT",
"value": "-1"
},
{
"op": "CustomVal",
"searchfor": "BAUDRATE",
"value": "115200",
"comment": "115K for SKR MINI"
},
{
"op": "CustomVal",
"searchfor": "X_DRIVER_TYPE",
"value": "TMC2209"
},
{
"op": "CustomVal",
"searchfor": "Y_DRIVER_TYPE",
"value": "TMC2209"
},
{
"op": "CustomVal",
"searchfor": "Z_DRIVER_TYPE",
"value": "TMC2209"
},
{
"op": "CustomVal",
"searchfor": "E0_DRIVER_TYPE",
"value": "TMC2209"
},
{
"op": "CustomVal",
"searchfor": "INVERT_X_DIR",
"value":"true"
},
{
"op": "CustomVal",
"searchfor": "INVERT_Y_DIR",
"value":"true"
},
{
"op": "CustomVal",
"searchfor": "INVERT_Z_DIR",
"value":"false"
},
{
"op": "CustomVal",
"searchfor": "INVERT_E0_DIR",
"value": "true"
},
{
"op": "CustomVal",
"searchfor": "FIL_RUNOUT_STATE",
"value":"LOW"
},
{
"op": "Enable",
"searchfor": "FIL_RUNOUT_PULLUP"
},
{
"op": "Disable",
"searchfor": "FIL_RUNOUT_PULLDOWN"
},
{
"op": "CustomVal",
"searchfor": "NEOPIXEL_PIN",
"value": "PA8"
}
],
"Configuration_adv.h" : [
{
"op": "CustomVal",
"searchfor": "E0_AUTO_FAN_PIN",
"value": "-1"
},
{
"op": "CustomVal",
"searchfor": "X_CURRENT",
"value": "580"
},
{
"op": "CustomVal",
"searchfor": "Y_CURRENT",
"value": "580"
},
{
"op": "CustomVal",
"searchfor": "Z_CURRENT",
"value": "580"
},
{
"op": "CustomVal",
"searchfor": "E0_CURRENT",
"value": "700"
},
{
"op": "CustomVal",
"searchfor": "X_STALL_SENSITIVITY",
"value": "72"
},
{
"op": "CustomVal",
"searchfor": "Y_STALL_SENSITIVITY",
"value": "70"
},
{
"op": "CustomVal",
"searchfor": "Z_STALL_SENSITIVITY",
"value": "10"
},
{
"op": "Enable",
"searchfor": "IMPROVE_HOMING_RELIABILITY",
"comment": "SKR MINIE3V2"
},
{
"op": "Enable",
"searchfor": "USE_CONTROLLER_FAN",
"comment": "SKR MINIE3V2"
},
{
"op": "Disabled",
"searchfor": "CONTROLLER_FAN_PIN"
},
{
"op": "CustomVal",
"searchfor": "POWER_LOSS_PIN",
"value": "-1"
},
{
"op": "CustomVal",
"searchfor": "CHOPPER_TIMING",
"value": "CHOPPER_DEFAULT_24V",
"comment": "MRiscoC Correct value for UART mode drivers"
},
{
"op": "Disable",
"searchfor": "ADAPTIVE_STEP_SMOOTHING",
"comment": "Workaround to fix interrrupt handling in SKR MINIE3V2"
}
],
"Version.h" : [
],
"platformio.ini" : [
{
"op": "Replace",
"searchfor": "default_envs = mega2560",
"value": "default_envs = STM32G0B1RE_btt"
}
]
}
101 changes: 101 additions & 0 deletions _features/FreeFlash.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"Configuration.h" : [
{
"op": "Disable",
"searchfor": "PLR_TUNE_ITEM"
},
{
"-op": "Disable",
"searchfor": "BAUD_RATE_GCODE"
},
{
"op": "Disable",
"searchfor": "EEPROM_INIT_NOW"
},
{
"op": "Disable",
"searchfor": "PRINTCOUNTER"
},
{
"op": "Disable",
"searchfor": "INDIVIDUAL_AXIS_HOMING_SUBMENU"
},
{
"op": "Disable",
"searchfor": "HAS_CUSTOM_COLORS_MENU"
},
{
"-op": "Disable",
"searchfor": "HAS_PLOT"
},
{
"op": "Disable",
"searchfor": "HAS_LOCKSCREEN"
},
{
"-op": "Disable",
"searchfor": "HAS_ESDIAG"
},
{
"op": "Disable",
"searchfor": "UBL_HILBERT_CURVE"
}
],
"Configuration_adv.h" : [
{
"op": "Disable",
"searchfor": "SD_PROCEDURE_DEPTH"
},
{
"op": "Enable",
"searchfor": "SDCARD_READONLY"
},
{
"-op": "Disable",
"searchfor": "LCD_BACKLIGHT_TIMEOUT_MINS"
},
{
"-op": "Disable",
"searchfor": "SOUND_MENU_ITEM"
},
{
"op": "Disable",
"searchfor": "LONG_FILENAME_HOST_SUPPORT"
},
{
"op": "Disable",
"searchfor": "LONG_FILENAME_WRITE_SUPPORT"
},
{
"-op": "Disable",
"searchfor": "SCROLL_LONG_FILENAMES"
},
{
"-op": "Disable",
"searchfor": "STATUS_MESSAGE_SCROLLING"
},
{
"-op": "Disable",
"searchfor": "STATUS_MESSAGE_TIMEOUT_SEC"
},
{
"op": "Disable",
"searchfor": "BINARY_FILE_TRANSFER"
},
{
"op": "CustomVal",
"searchfor": "SDSORT_LIMIT",
"value": "40"
},
{
"op": "Disable",
"searchfor": "POWER_LOSS_RECOVERY"
},
{
"op": "Disable",
"searchfor": "CANCEL_OBJECTS"
}
],
"Version.h" : [
]
}
17 changes: 17 additions & 0 deletions _features/LockSteppers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"Configuration.h" : [
],
"Configuration_adv.h" : [
{
"op": "CustomVal",
"searchfor": "DEFAULT_STEPPER_TIMEOUT_SEC",
"value": "300"
},
{
"op": "Disable",
"searchfor": "SD_FINISHED_STEPPERRELEASE"
}
],
"Version.h" : [
]
}

0 comments on commit 5b8e0a3

Please sign in to comment.