Skip to content

Commit

Permalink
Use LPC Ethernet Buffer for Input Shaping
Browse files Browse the repository at this point in the history
Co-authored-by: ellensp <[email protected]>
Co-authored-by: p3p <[email protected]>
  • Loading branch information
3 people committed Jun 28, 2023
1 parent be18edd commit 803ce05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Marlin/src/module/stepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,11 @@ uint32_t Stepper::advance_divisor = 0,

#if HAS_ZV_SHAPING
shaping_time_t ShapingQueue::now = 0;
shaping_time_t ShapingQueue::times[shaping_echoes];
#if NOT_TARGET(MCU_LPC1768, MCU_LPC1769)
shaping_time_t ShapingQueue::times[shaping_echoes];
#else
shaping_time_t ShapingQueue::times[shaping_echoes] __attribute__((section("AHBSRAM1"),aligned)); // Unused LPC ethernet buffer: https://github.com/MarlinFirmware/Marlin/issues/25432#issuecomment-1450420638
#endif
shaping_echo_axis_t ShapingQueue::echo_axes[shaping_echoes];
uint16_t ShapingQueue::tail = 0;

Expand Down

0 comments on commit 803ce05

Please sign in to comment.