From e3846ec7a1acbe4b69913daa325d3f2707baa9b6 Mon Sep 17 00:00:00 2001 From: Msq001 <760675063@qq.com> Date: Wed, 26 Jun 2019 14:12:41 +0800 Subject: [PATCH] SKR mini can use 128x64 LCD (#14388) --- Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h | 10 ++++++++++ platformio.ini | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h b/Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h index 2063719a0..3b61a0835 100644 --- a/Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h +++ b/Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h @@ -179,3 +179,13 @@ #define MOSI_PIN PA7 #define SS_PIN PA4 #endif + +#ifndef ST7920_DELAY_1 + #define ST7920_DELAY_1 DELAY_NS(125) +#endif +#ifndef ST7920_DELAY_2 + #define ST7920_DELAY_2 DELAY_NS(125) +#endif +#ifndef ST7920_DELAY_3 + #define ST7920_DELAY_3 DELAY_NS(125) +#endif diff --git a/platformio.ini b/platformio.ini index 65ddf8be5..a81bc8b7d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -312,7 +312,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py ${common.build_flags} -std=gnu++14 build_unflags = -std=gnu++11 lib_deps = ${common.lib_deps} -lib_ignore = U8glib-HAL +lib_ignore = c1921b4 libf3c lib066