Browse Source

Update FYSETC S6 pins/variants (#17056)

vanilla_fb_2.0.x
George Fu 5 years ago
committed by GitHub
parent
commit
a698bfdc2a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Marlin/src/pins/stm32/pins_FYSETC_S6.h
  2. 2
      buildroot/share/PlatformIO/variants/FYSETC_S6/variant.h

4
Marlin/src/pins/stm32/pins_FYSETC_S6.h

@ -41,6 +41,9 @@
// EEPROM Emulation
//
#define FLASH_EEPROM_EMULATION
#if ENABLED(FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_LEVELING
#endif
//#define SRAM_EEPROM_EMULATION
//#define I2C_EEPROM
#ifdef I2C_EEPROM
@ -65,6 +68,7 @@
//
// Filament Sensor
// share with X_MAX_PIN
//
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN PA1

2
buildroot/share/PlatformIO/variants/FYSETC_S6/variant.h

@ -115,7 +115,7 @@ extern "C" {
#define NUM_ANALOG_FIRST 80
// PWM resolution
#define PWM_RESOLUTION 8
#define PWM_RESOLUTION 12
#define PWM_FREQUENCY 20000 // >= 20 Khz => inaudible noise for fans
#define PWM_MAX_DUTY_CYCLE 255

Loading…
Cancel
Save