Prusa MINI Firmware overview
pins_GTM32_PRO_VB.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "GTM32 Pro VB"
 
#define DEFAULT_MACHINE_NAME   "STM32F103VET6"
 
#define DISABLE_JTAG
 
#define FLASH_EEPROM_EMULATION
 
#define E2END   0xFFF
 
#define X_MIN_PIN   PE5
 
#define X_MAX_PIN   PE4
 
#define Y_MIN_PIN   PE3
 
#define Y_MAX_PIN   PE2
 
#define Z_MIN_PIN   PE1
 
#define Z_MAX_PIN   PE0
 
#define X_STEP_PIN   PC6
 
#define X_DIR_PIN   PD13
 
#define X_ENABLE_PIN   PA8
 
#define Y_STEP_PIN   PA12
 
#define Y_DIR_PIN   PA11
 
#define Y_ENABLE_PIN   PA15
 
#define Z_STEP_PIN   PD6
 
#define Z_DIR_PIN   PD3
 
#define Z_ENABLE_PIN   PB3
 
#define E0_STEP_PIN   PC14
 
#define E0_DIR_PIN   PC13
 
#define E0_ENABLE_PIN   PC15
 
#define E1_STEP_PIN   PA0
 
#define E1_DIR_PIN   PB6
 
#define E1_ENABLE_PIN   PA1
 
#define E2_STEP_PIN   PB2
 
#define E2_DIR_PIN   PB11
 
#define E2_ENABLE_PIN   PC4
 
#define HEATER_0_PIN   PB0
 
#define HEATER_1_PIN   PB5
 
#define HEATER_2_PIN   PB4
 
#define HEATER_BED_PIN   PB1
 
#define ORIG_E0_AUTO_FAN_PIN   PB9
 
#define FAN1_PIN   PB8
 
#define FAN2_PIN   PB7
 
#define TEMP_0_PIN   PC2
 
#define TEMP_1_PIN   PC1
 
#define TEMP_2_PIN   PC0
 
#define TEMP_BED_PIN   PC3
 
#define LED_PWM   PD12
 
#define BEEPER_PIN   PB10
 
#define SS_PIN   PA4
 
#define SCK_PIN   PA5
 
#define MOSI_PIN   PA7
 
#define MISO_PIN   PA6
 
#define SD_DETECT_PIN   -1
 
#define SDSS   SS_PIN
 
#define ESP_WIFI_MODULE_COM   2
 
#define ESP_WIFI_MODULE_BAUDRATE   115200
 
#define ESP_WIFI_MODULE_RESET_PIN   -1
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "GTM32 Pro VB"

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/. 24 May 2018 - @chepo for STM32F103VET6 Schematic: https://github.com/chepo92/Smartto/blob/master/circuit_diagram/Rostock301/Hardware_GTM32_PRO_VB.pdf

◆ DEFAULT_MACHINE_NAME

#define DEFAULT_MACHINE_NAME   "STM32F103VET6"

◆ DISABLE_JTAG

#define DISABLE_JTAG

◆ FLASH_EEPROM_EMULATION

#define FLASH_EEPROM_EMULATION

◆ E2END

#define E2END   0xFFF

◆ X_MIN_PIN

#define X_MIN_PIN   PE5

◆ X_MAX_PIN

#define X_MAX_PIN   PE4

◆ Y_MIN_PIN

#define Y_MIN_PIN   PE3

◆ Y_MAX_PIN

#define Y_MAX_PIN   PE2

◆ Z_MIN_PIN

#define Z_MIN_PIN   PE1

◆ Z_MAX_PIN

#define Z_MAX_PIN   PE0

◆ X_STEP_PIN

#define X_STEP_PIN   PC6

◆ X_DIR_PIN

#define X_DIR_PIN   PD13

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   PA8

◆ Y_STEP_PIN

#define Y_STEP_PIN   PA12

◆ Y_DIR_PIN

#define Y_DIR_PIN   PA11

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   PA15

◆ Z_STEP_PIN

#define Z_STEP_PIN   PD6

◆ Z_DIR_PIN

#define Z_DIR_PIN   PD3

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   PB3

◆ E0_STEP_PIN

#define E0_STEP_PIN   PC14

◆ E0_DIR_PIN

#define E0_DIR_PIN   PC13

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   PC15

◆ E1_STEP_PIN

#define E1_STEP_PIN   PA0

◆ E1_DIR_PIN

#define E1_DIR_PIN   PB6

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   PA1

◆ E2_STEP_PIN

#define E2_STEP_PIN   PB2

◆ E2_DIR_PIN

#define E2_DIR_PIN   PB11

◆ E2_ENABLE_PIN

#define E2_ENABLE_PIN   PC4

◆ HEATER_0_PIN

#define HEATER_0_PIN   PB0

◆ HEATER_1_PIN

#define HEATER_1_PIN   PB5

◆ HEATER_2_PIN

#define HEATER_2_PIN   PB4

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   PB1

◆ ORIG_E0_AUTO_FAN_PIN

#define ORIG_E0_AUTO_FAN_PIN   PB9

◆ FAN1_PIN

#define FAN1_PIN   PB8

◆ FAN2_PIN

#define FAN2_PIN   PB7

◆ TEMP_0_PIN

#define TEMP_0_PIN   PC2

◆ TEMP_1_PIN

#define TEMP_1_PIN   PC1

◆ TEMP_2_PIN

#define TEMP_2_PIN   PC0

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   PC3

◆ LED_PWM

#define LED_PWM   PD12

◆ BEEPER_PIN

#define BEEPER_PIN   PB10

◆ SS_PIN

#define SS_PIN   PA4

The on-board TF_CARD_SOCKET microSD card socket has no SD Detect pin wired.

The FFC10 (SD_CARD) connector has the same pins as those routed to the FFC40 (J2) connector, which usually go to the SD Card slot on the Geeetech version of the RepRapDiscount Smart Controller. Both connectors have the card detect signal.

The on-board SD card and the external card (on either SD_CARD or J2) are two separate devices and can work simultaneously. Unfortunately, Marlin only supports a single SPI Flash device (as of 2019-07-05) so only one is enabled here.

◆ SCK_PIN

#define SCK_PIN   PA5

◆ MOSI_PIN

#define MOSI_PIN   PA7

◆ MISO_PIN

#define MISO_PIN   PA6

◆ SD_DETECT_PIN

#define SD_DETECT_PIN   -1

◆ SDSS

#define SDSS   SS_PIN

◆ ESP_WIFI_MODULE_COM

#define ESP_WIFI_MODULE_COM   2

◆ ESP_WIFI_MODULE_BAUDRATE

#define ESP_WIFI_MODULE_BAUDRATE   115200

◆ ESP_WIFI_MODULE_RESET_PIN

#define ESP_WIFI_MODULE_RESET_PIN   -1