1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

Malyan M200 core fixes (#13927)

This commit is contained in:
J.C. Nelson 2019-05-06 16:07:13 -07:00 committed by Scott Lahteine
parent a36782ac1d
commit 172abc305b
2 changed files with 10 additions and 3 deletions

View File

@ -52,8 +52,8 @@
#define END_FLASH_ADDR 0x00020000
#endif
#ifdef __STM32F1__
// For STM32F103ZET6/STM32F103VET6
#if defined(__STM32F1__) || defined(STM32F1xx) || defined(STM32F0xx)
// For STM32F103ZET6/STM32F103VET6/STM32F0xx
// SRAM (0x20000000 - 0x20010000) (64kb)
// FLASH (0x00000000 - 0x00080000) (512kb)
//

View File

@ -24,7 +24,7 @@
* MALYAN M200 pin assignments
*/
#ifndef __STM32F1__
#if !defined(__STM32F1__) && !defined(STM32F1xx) && !defined(STM32F0xx)
#error "Oops! You must be compiling for STM32."
#endif
@ -37,6 +37,13 @@
#define SDSS SS_PIN
// Based on PWM timer usage, we have to use these timers and soft PWM for the fans
// On STM32F103:
// PB3, PB6, PB7, and PB8 can be used with pwm, which rules out TIM2 and TIM4.
// On STM32F070, 16 and 17 are in use, but 1 and 3 are available.
#define STEP_TIMER 1
#define TEMP_TIMER 3
//
// Limit Switches
//