Platform tweaks

This commit is contained in:
InsanityAutomation
2022-02-11 22:11:56 -05:00
parent 3d804bd314
commit 0ac94f6a2f
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -1694,7 +1694,7 @@ void MarlinUI::init() {
}
}
#if PIN_EXISTS(SD_DETECT) && DISABLED(NO_LCD_REINIT)
#if PIN_EXISTS(SD_DETECT) && DISABLED(NO_LCD_REINIT) && DISABLED(EXTENSIBLE_UI)
init_lcd(); // Revive a noisy shared SPI LCD
#endif
@@ -105,6 +105,13 @@
#define SD_DETECT_PIN PC7
#define NO_SD_HOST_DRIVE // SD is only seen by the printer
//
// SD Card
//
#define SDCARD_CONNECTION ONBOARD
#define ONBOARD_SPI_DEVICE 1
#define SDIO_SUPPORT
#define SDIO_SUPPORT // Extra added by Creality
#define SDIO_CLOCK 6000000 // In original source code overridden by Creality in sdio.h
+4 -4
View File
@@ -3411,7 +3411,7 @@ extra_scripts = ${common_stm32f1.extra_scripts}
buildroot/share/PlatformIO/scripts/custom_board.py
debug_tool = jlink
upload_protocol = jlink
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4 -DMachineCR6 -DCR6_452 -DBondtechLGX
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4 -DMachineCR6 -DCR6_452 -DBondtechLGX -DDirectDrive -DlerdgeFilSensor
[env:CR6_LGX_453]
platform = ${common_stm32f1.platform}
@@ -3423,7 +3423,7 @@ extra_scripts = ${common_stm32f1.extra_scripts}
buildroot/share/PlatformIO/scripts/custom_board.py
debug_tool = jlink
upload_protocol = jlink
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4 -DMachineCR6 -DBondtechLGX
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4 -DMachineCR6 -DBondtechLGX -DDirectDrive -DlerdgeFilSensor
[env:CR6Max_452]
platform = ${common_stm32f1.platform}
@@ -3459,7 +3459,7 @@ extra_scripts = ${common_stm32f1.extra_scripts}
buildroot/share/PlatformIO/scripts/custom_board.py
debug_tool = jlink
upload_protocol = jlink
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4 -DMachineCR6Max -DCR6_452 -DBondtechLGX
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4 -DMachineCR6Max -DCR6_452 -DBondtechLGX -DDirectDrive -DlerdgeFilSensor
[env:CR6Max_LGX_453]
platform = ${common_stm32f1.platform}
@@ -3471,7 +3471,7 @@ extra_scripts = ${common_stm32f1.extra_scripts}
buildroot/share/PlatformIO/scripts/custom_board.py
debug_tool = jlink
upload_protocol = jlink
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4 -DMachineCR6Max -DBondtechLGX
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4 -DMachineCR6Max -DBondtechLGX -DDirectDrive -DlerdgeFilSensor
[env:CR30]
platform = ${common_stm32f1.platform}