Skip to content

Commit

Permalink
Enable USART2, disable FAN1, disable USB serial (it seems Marlin 1.x …
Browse files Browse the repository at this point in the history
…does not allow more than 2 serial ports)
  • Loading branch information
ausshir committed Oct 3, 2022
1 parent dbdb71b commit 6d345d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion marlin_changes/HAL_stm32.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ void loop(void);
// code (~500 bytes), there is no harm in always selecting this option on
// the off chance that the extra fan output is available.
//
#define CONFIGURE_FAN1_AND_EXTRA_IO 1
#define CONFIGURE_FAN1_AND_EXTRA_IO 0


// must match pin description file, pins_MALYAN_M300.h
Expand Down
1 change: 1 addition & 0 deletions marlin_changes/MarlinSerial_stm32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
// custom serial
#define CS_PACING_TX 0 // (ms) tx (blocking) wait if buffer is full
#define QTIMER_DELAY 0 // (ms) idle time before flushing tx buffer
#define USE_USART2 1 // Enable USART2 on PA2/PA3 instead of USB for communication

#if MB(MALYAN_M300)
extern CustomSerial Serial1;
Expand Down

0 comments on commit 6d345d1

Please sign in to comment.