Prusa MINI Firmware overview
pins_LONGER3D_LK.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "Longer3D"
 
#define ALFAWISE_UX0
 
#define DISABLE_JTAG
 
#define X_MIN_PIN   PC1
 
#define X_MAX_PIN   PC0
 
#define Y_MIN_PIN   PC15
 
#define Y_MAX_PIN   PC14
 
#define Z_MIN_PIN   PE6
 
#define Z_MAX_PIN   PE5
 
#define FIL_RUNOUT_PIN   PC0
 
#define X_ENABLE_PIN   PB5
 
#define X_STEP_PIN   PB4
 
#define X_DIR_PIN   PB3
 
#define Y_ENABLE_PIN   PB8
 
#define Y_STEP_PIN   PB7
 
#define Y_DIR_PIN   PB6
 
#define Z_ENABLE_PIN   PE1
 
#define Z_STEP_PIN   PE0
 
#define Z_DIR_PIN   PB9
 
#define E0_ENABLE_PIN   PE4
 
#define E0_STEP_PIN   PE3
 
#define E0_DIR_PIN   PE2
 
#define TEMP_0_PIN   PA0
 
#define TEMP_BED_PIN   PA1
 
#define HEATER_0_PIN   PD3
 
#define HEATER_BED_PIN   PA8
 
#define FAN_PIN   PA15
 
#define FAN_SOFT_PWM
 
#define FAN_MIN_PWM   35
 
#define FAN_MAX_PWM   255
 
#define LED_PIN   PC2
 
#define LCD_RESET_PIN   PC4
 
#define LCD_BACKLIGHT_PIN   PD12
 
#define FSMC_CS_PIN   PD7
 
#define FSMC_RS_PIN   PD11
 
#define LCD_USE_DMA_FSMC
 
#define FSMC_DMA_DEV   DMA2
 
#define FSMC_DMA_CHANNEL   DMA_CH5
 
#define DOGLCD_MOSI   -1
 
#define DOGLCD_SCK   -1
 
#define FLASH_EEPROM_EMULATION
 
#define E2END   (0x7FFU)
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "Longer3D"

Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. Longer3D LK1/LK2 & Alfawise U20/U30 (STM32F103VET6) board pin assignments

◆ ALFAWISE_UX0

#define ALFAWISE_UX0

◆ DISABLE_JTAG

#define DISABLE_JTAG

◆ X_MIN_PIN

#define X_MIN_PIN   PC1

◆ X_MAX_PIN

#define X_MAX_PIN   PC0

◆ Y_MIN_PIN

#define Y_MIN_PIN   PC15

◆ Y_MAX_PIN

#define Y_MAX_PIN   PC14

◆ Z_MIN_PIN

#define Z_MIN_PIN   PE6

◆ Z_MAX_PIN

#define Z_MAX_PIN   PE5

◆ FIL_RUNOUT_PIN

#define FIL_RUNOUT_PIN   PC0

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   PB5

◆ X_STEP_PIN

#define X_STEP_PIN   PB4

◆ X_DIR_PIN

#define X_DIR_PIN   PB3

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   PB8

◆ Y_STEP_PIN

#define Y_STEP_PIN   PB7

◆ Y_DIR_PIN

#define Y_DIR_PIN   PB6

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   PE1

◆ Z_STEP_PIN

#define Z_STEP_PIN   PE0

◆ Z_DIR_PIN

#define Z_DIR_PIN   PB9

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   PE4

◆ E0_STEP_PIN

#define E0_STEP_PIN   PE3

◆ E0_DIR_PIN

#define E0_DIR_PIN   PE2

◆ TEMP_0_PIN

#define TEMP_0_PIN   PA0

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   PA1

◆ HEATER_0_PIN

#define HEATER_0_PIN   PD3

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   PA8

◆ FAN_PIN

#define FAN_PIN   PA15

◆ FAN_SOFT_PWM

#define FAN_SOFT_PWM

◆ FAN_MIN_PWM

#define FAN_MIN_PWM   35

◆ FAN_MAX_PWM

#define FAN_MAX_PWM   255

◆ LED_PIN

#define LED_PIN   PC2

◆ LCD_RESET_PIN

#define LCD_RESET_PIN   PC4

Note: Alfawise screens use various TFT controllers. Supported screens are based on the ILI9341, ILI9328 and ST7798V. Define init sequences for other screens in u8g_dev_tft_320x240_upscale_from_128x64.cpp

If the screen stays white, disable 'LCD_RESET_PIN' to let the bootloader init the screen.

Setting an 'LCD_RESET_PIN' may cause a flicker when entering the LCD menu because Marlin uses the reset as a failsafe to revive a glitchy LCD.

◆ LCD_BACKLIGHT_PIN

#define LCD_BACKLIGHT_PIN   PD12

◆ FSMC_CS_PIN

#define FSMC_CS_PIN   PD7

◆ FSMC_RS_PIN

#define FSMC_RS_PIN   PD11

◆ LCD_USE_DMA_FSMC

#define LCD_USE_DMA_FSMC

◆ FSMC_DMA_DEV

#define FSMC_DMA_DEV   DMA2

◆ FSMC_DMA_CHANNEL

#define FSMC_DMA_CHANNEL   DMA_CH5

◆ DOGLCD_MOSI

#define DOGLCD_MOSI   -1

◆ DOGLCD_SCK

#define DOGLCD_SCK   -1

◆ FLASH_EEPROM_EMULATION

#define FLASH_EEPROM_EMULATION

Note: Alfawise U20/U30 boards DON'T use SPI2, as the hardware designer mixed up MOSI and MISO pins. SPI is managed in SW, and needs pins declared below.

◆ E2END

#define E2END   (0x7FFU)