George Fu
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
Marlin/src/pins/stm32/pins_FYSETC_S6.h
-
buildroot/share/PlatformIO/variants/FYSETC_S6/variant.h
|
@ -41,6 +41,9 @@ |
|
|
// EEPROM Emulation
|
|
|
// EEPROM Emulation
|
|
|
//
|
|
|
//
|
|
|
#define FLASH_EEPROM_EMULATION |
|
|
#define FLASH_EEPROM_EMULATION |
|
|
|
|
|
#if ENABLED(FLASH_EEPROM_EMULATION) |
|
|
|
|
|
#define FLASH_EEPROM_LEVELING |
|
|
|
|
|
#endif |
|
|
//#define SRAM_EEPROM_EMULATION
|
|
|
//#define SRAM_EEPROM_EMULATION
|
|
|
//#define I2C_EEPROM
|
|
|
//#define I2C_EEPROM
|
|
|
#ifdef I2C_EEPROM |
|
|
#ifdef I2C_EEPROM |
|
@ -65,6 +68,7 @@ |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Filament Sensor
|
|
|
// Filament Sensor
|
|
|
|
|
|
// share with X_MAX_PIN
|
|
|
//
|
|
|
//
|
|
|
#ifndef FIL_RUNOUT_PIN |
|
|
#ifndef FIL_RUNOUT_PIN |
|
|
#define FIL_RUNOUT_PIN PA1 |
|
|
#define FIL_RUNOUT_PIN PA1 |
|
|
|
@ -115,7 +115,7 @@ extern "C" { |
|
|
#define NUM_ANALOG_FIRST 80 |
|
|
#define NUM_ANALOG_FIRST 80 |
|
|
|
|
|
|
|
|
// PWM resolution
|
|
|
// PWM resolution
|
|
|
#define PWM_RESOLUTION 8 |
|
|
#define PWM_RESOLUTION 12 |
|
|
#define PWM_FREQUENCY 20000 // >= 20 Khz => inaudible noise for fans
|
|
|
#define PWM_FREQUENCY 20000 // >= 20 Khz => inaudible noise for fans
|
|
|
#define PWM_MAX_DUTY_CYCLE 255 |
|
|
#define PWM_MAX_DUTY_CYCLE 255 |
|
|
|
|
|
|
|
|