|
@@ -28,7 +28,7 @@
|
28
|
28
|
|
29
|
29
|
#include "../../inc/MarlinConfig.h"
|
30
|
30
|
|
31
|
|
-#if defined(ARDUINO_ARCH_STM32F1) && (defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY))
|
|
31
|
+#if defined(ARDUINO_ARCH_STM32F1) && PIN_EXISTS(FSMC_CS) // FSMC on 100/144 pins SoCs
|
32
|
32
|
|
33
|
33
|
#if HAS_GRAPHICAL_LCD
|
34
|
34
|
|
|
@@ -272,4 +272,4 @@ uint32_t LCD_IO_ReadData(uint16_t RegValue, uint8_t ReadSize) {
|
272
|
272
|
|
273
|
273
|
#endif // HAS_GRAPHICAL_LCD
|
274
|
274
|
|
275
|
|
-#endif // ARDUINO_ARCH_STM32F1 && (STM32_HIGH_DENSITY || STM32_XL_DENSITY)
|
|
275
|
+#endif // ARDUINO_ARCH_STM32F1 && FSMC_CS_PIN
|