Prusa MINI Firmware overview
pins_STM32F4.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "Misc. STM32F4"
 
#define DEFAULT_MACHINE_NAME   "STM32F407VET6"
 
#define E2END   0xFFF
 
#define X_MIN_PIN   PE0
 
#define X_MAX_PIN   -1
 
#define Y_MIN_PIN   PE1
 
#define Y_MAX_PIN   -1
 
#define Z_MIN_PIN   PE14
 
#define Z_MAX_PIN   -1
 
#define X_STEP_PIN   PD3
 
#define X_DIR_PIN   PD2
 
#define X_ENABLE_PIN   PD0
 
#define Y_STEP_PIN   PE11
 
#define Y_DIR_PIN   PE10
 
#define Y_ENABLE_PIN   PE13
 
#define Z_STEP_PIN   PD6
 
#define Z_DIR_PIN   PD7
 
#define Z_ENABLE_PIN   PD4
 
#define E0_STEP_PIN   PB5
 
#define E0_DIR_PIN   PB6
 
#define E0_ENABLE_PIN   PB3
 
#define E1_STEP_PIN   PE4
 
#define E1_DIR_PIN   PE2
 
#define E1_ENABLE_PIN   PE3
 
#define SCK_PIN   PA5
 
#define MISO_PIN   PA6
 
#define MOSI_PIN   PA7
 
#define TEMP_0_PIN   PC0
 
#define TEMP_1_PIN   PC1
 
#define TEMP_BED_PIN   PC2
 
#define HEATER_0_PIN   PA1
 
#define HEATER_1_PIN   PA2
 
#define HEATER_BED_PIN   PA0
 
#define FAN_PIN   PC6
 
#define FAN1_PIN   PC7
 
#define FAN2_PIN   PC8
 
#define ORIG_E0_AUTO_FAN_PIN   FAN1_PIN
 
#define SDSS   PE7
 
#define SS_PIN   PE7
 
#define LED_PIN   PB7
 
#define PS_ON_PIN   PA10
 
#define KILL_PIN   PA8
 
#define PWR_LOSS   PA4
 
#define SD_DETECT_PIN   PA15
 
#define BEEPER_PIN   PC9
 
#define LCD_PINS_RS   PE9
 
#define LCD_PINS_ENABLE   PE8
 
#define LCD_PINS_D4   PB12
 
#define LCD_PINS_D5   PB13
 
#define LCD_PINS_D6   PB14
 
#define LCD_PINS_D7   PB15
 
#define BTN_EN1   PC4
 
#define BTN_EN2   PC5
 
#define BTN_ENC   PC3
 
#define FIL_RUNOUT_PIN   PA3
 
#define ST7920_DELAY_1   DELAY_NS(96)
 
#define ST7920_DELAY_2   DELAY_NS(48)
 
#define ST7920_DELAY_3   DELAY_NS(715)
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "Misc. STM32F4"

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

Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm

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/. To build with Arduino IDE use "Discovery F407VG" To build with PlatformIO use environment "STM32F4"

◆ DEFAULT_MACHINE_NAME

#define DEFAULT_MACHINE_NAME   "STM32F407VET6"

◆ E2END

#define E2END   0xFFF

◆ X_MIN_PIN

#define X_MIN_PIN   PE0

◆ X_MAX_PIN

#define X_MAX_PIN   -1

◆ Y_MIN_PIN

#define Y_MIN_PIN   PE1

◆ Y_MAX_PIN

#define Y_MAX_PIN   -1

◆ Z_MIN_PIN

#define Z_MIN_PIN   PE14

◆ Z_MAX_PIN

#define Z_MAX_PIN   -1

◆ X_STEP_PIN

#define X_STEP_PIN   PD3

◆ X_DIR_PIN

#define X_DIR_PIN   PD2

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   PD0

◆ Y_STEP_PIN

#define Y_STEP_PIN   PE11

◆ Y_DIR_PIN

#define Y_DIR_PIN   PE10

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   PE13

◆ Z_STEP_PIN

#define Z_STEP_PIN   PD6

◆ Z_DIR_PIN

#define Z_DIR_PIN   PD7

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   PD4

◆ E0_STEP_PIN

#define E0_STEP_PIN   PB5

◆ E0_DIR_PIN

#define E0_DIR_PIN   PB6

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   PB3

◆ E1_STEP_PIN

#define E1_STEP_PIN   PE4

◆ E1_DIR_PIN

#define E1_DIR_PIN   PE2

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   PE3

◆ SCK_PIN

#define SCK_PIN   PA5

◆ MISO_PIN

#define MISO_PIN   PA6

◆ MOSI_PIN

#define MOSI_PIN   PA7

◆ TEMP_0_PIN

#define TEMP_0_PIN   PC0

◆ TEMP_1_PIN

#define TEMP_1_PIN   PC1

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   PC2

◆ HEATER_0_PIN

#define HEATER_0_PIN   PA1

◆ HEATER_1_PIN

#define HEATER_1_PIN   PA2

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   PA0

◆ FAN_PIN

#define FAN_PIN   PC6

◆ FAN1_PIN

#define FAN1_PIN   PC7

◆ FAN2_PIN

#define FAN2_PIN   PC8

◆ ORIG_E0_AUTO_FAN_PIN

#define ORIG_E0_AUTO_FAN_PIN   FAN1_PIN

◆ SDSS

#define SDSS   PE7

◆ SS_PIN

#define SS_PIN   PE7

◆ LED_PIN

#define LED_PIN   PB7

◆ PS_ON_PIN

#define PS_ON_PIN   PA10

◆ KILL_PIN

#define KILL_PIN   PA8

◆ PWR_LOSS

#define PWR_LOSS   PA4

◆ SD_DETECT_PIN

#define SD_DETECT_PIN   PA15

◆ BEEPER_PIN

#define BEEPER_PIN   PC9

◆ LCD_PINS_RS

#define LCD_PINS_RS   PE9

◆ LCD_PINS_ENABLE

#define LCD_PINS_ENABLE   PE8

◆ LCD_PINS_D4

#define LCD_PINS_D4   PB12

◆ LCD_PINS_D5

#define LCD_PINS_D5   PB13

◆ LCD_PINS_D6

#define LCD_PINS_D6   PB14

◆ LCD_PINS_D7

#define LCD_PINS_D7   PB15

◆ BTN_EN1

#define BTN_EN1   PC4

◆ BTN_EN2

#define BTN_EN2   PC5

◆ BTN_ENC

#define BTN_ENC   PC3

◆ FIL_RUNOUT_PIN

#define FIL_RUNOUT_PIN   PA3

◆ ST7920_DELAY_1

#define ST7920_DELAY_1   DELAY_NS(96)

◆ ST7920_DELAY_2

#define ST7920_DELAY_2   DELAY_NS(48)

◆ ST7920_DELAY_3

#define ST7920_DELAY_3   DELAY_NS(715)