Scott Lahteine
965b0ab53e
Spacing adjustments
7 years ago
Thomas Moore
0cb00f52d9
Cleanup warnings
7 years ago
Bob-the-Kuhn
1beaef0452
fix 3S hang & enable SPLIT
7 years ago
Dave Johnson
f58ba3a64e
Improve AVR arch detection
Replace ARDUINO_ARCH_AVR with __AVR__ to better detect architecture for non-Arduino dev environments. Resolves compile failure in PIO for 8-bit Teensduino targets
More info:
https://forum.pjrc.com/threads/33234-Using-Teensyduino-Selecting-Teensy-3-2-3-1-board-has-incorrect-platform-define
http://www.atmel.com/webdoc/avrlibcreferencemanual/using_tools_1using_avr_gcc_mach_opt.html
7 years ago
Scott Lahteine
551752eac7
Consolidate "bedlevel" code
7 years ago
Scott Lahteine
722786966a
Add gcode.cpp, motion.*, queue.* - Apply to some G-codes.
7 years ago
Scott Lahteine
3d8a0ab4b2
Module updates
7 years ago
Scott Lahteine
0c9231fd04
Move 'module' files
7 years ago
Scott Lahteine
27cbb939b2
Clean up some HAL code
7 years ago
Christopher Pepper
b29b66feda
Temporary fix for odd stepper behaviour with servos
7 years ago
Scott Lahteine
a037ddbf7b
Other spacing tweaks
7 years ago
Scott Lahteine
2af62a5d8d
Apply spacing, const to some HAL code
7 years ago
kfazz
fa9ff6be6e
try to fix LIN_ADVANCE for 32bit
7 years ago
Christopher Pepper
4b16fa3272
Implement HAL and apply macros across code-base
Implement AVR Platform
8 years ago
Scott Lahteine
b0173ccdb9
Drop extra initializers for vars initialized by EEPROM code
7 years ago
Tannoo
e927941c06
Bugfix ( #7265 )
Fix compile error when UBL is enabled but there is no LCD Panel.
7 years ago
Tannoo
aaacef9441
Corrections ( #7231 )
20x4 map integration. Also some minor changes to the UBL Menu layout. Both 20x4 LCD's and Graphical LCD panels should have similar functionality now.
7 years ago
Scott Lahteine
5b11b33854
Add support for Průša MK2 Multiplexer
8 years ago
dot-bob
b3c36c98fd
Edit digipot currents via LCD, save to EEPROM
8 years ago
Scott Lahteine
3c7bfe798d
Various cleanups ahead of digipot save
8 years ago
Ross Allan
cfcd069501
Fix #5699 - LIN_ADVANCE freeze when ADV_RATE returns 0
8 years ago
Scott Lahteine
8d5a37fb3d
Support for a 5th stepper in stepper code
8 years ago
Scott Lahteine
e94f79ccea
Patch some serial macros
8 years ago
Scott Lahteine
04b07a6ecc
Unused var in Stepper
8 years ago
Scott Lahteine
e4937b0285
Cleanup of spacing and formatting
8 years ago
Scott Lahteine
df91346188
Account for dual XYZ in pulse delay cycles estimate
8 years ago
Scott Lahteine
081bf1f879
Patch #else / #endif comments
8 years ago
Scott Lahteine
ff35b11d08
Resolve compiler complaint about memset volatile *
8 years ago
Scott Lahteine
5512130d6c
Only set Compare Mode for channel A
Fixes #6445
8 years ago
Scott Lahteine
2823bf0874
Update fastio.h with special handling for Timer 2
8 years ago
Scott Lahteine
ee46ce1743
Add and apply interrupt helper macros
8 years ago
Scott Lahteine
6131c62499
General cleanup
8 years ago
Scott Lahteine
f4685c28b7
Reorder Conditionals_post.h and add comments
8 years ago
Scott Lahteine
0ac2b5c045
Additional 5 extruders support (solenoids, microstepping)
8 years ago
Scott Lahteine
ea734f910b
Use direct pin manipulation whenever possible
8 years ago
Scott Lahteine
ac96ae89f9
Apply `const` in Stepper::isr
8 years ago
Scott Lahteine
6a9b008044
Fix MINIMUM_STEPPER_PULSE maths
8 years ago
Scott Lahteine
68773f4486
Simplify stepper macros by renaming enable/disable macros
8 years ago
Scott Lahteine
c54f6cf23d
Updates to support 5 extruders
8 years ago
Scott Lahteine
d6db7a9b03
patch "step_remaining"
8 years ago
Scott Lahteine
9217e4b8ec
Various UBL cleanups and bug fixes
8 years ago
Scott Lahteine
d1e6b0e21a
Reduce STEP_PULSE_CYCLES code slightly
8 years ago
Roxy-3D
b8e4a6970b
Get UBL up and running again
All the changes to get the code into compliance with Marlin coding
standards made UBL sick. This pretty much gets UBL back up and
running.
8 years ago
Sebastianv650
bf57eb2447
Protect Babystepping against other ISRs
Especialy against stepper ISR.
This is even more important when a minimum pulse width is set,
increasing the runtime of a babystep.
8 years ago
Sebastianv650
80830919dc
Add MINIMUM_STEPPER_PULSE ability to babystepping
8 years ago
Scott Lahteine
45f949d833
TMC2130 Library: @teemuatlut replaces @makertum
8 years ago
Scott Lahteine
fea0d3f20f
Endstop and temp-isr general cleanup
8 years ago
Scott Lahteine
bfb0007573
Patch DISTINCT_E_FACTORS bug
8 years ago
Scott Lahteine
97b6fb6381
Reduce / optimize LIN_ADVANCE code
8 years ago
Bob-the-Kuhn
0369f97ec1
guaranteed BLTouch detection
To guarantee that the 5mS pulse from a BLTouch is recognized you need to
have the endstops.update() routine run twice in that 5mS period.
At 200 steps per mm, my system has problems below a feedrate of 120 mm
per minute.
Two things were done to guarantee the two updates within 5mS:
1) In interrupt mode, a check was added to the temperature ISR. If the
endstop interrupt flag/counter is active then it'll kick off the endstop
update routine every 1mS until the flag/counter is zero. This
flag/counter is decremented by the temperature ISR AND by the stepper
ISR.
2) In poling mode, code was added to the stepper ISR that will make sure
the ISR runs about every 1.5mS. The "extra" ISR runs only check the
endstops. This was done by grabbing the intended ISR delay and, if it's
over 2.0mS, splitting the intended delay into multiple smaller delays.
The first delay can be up to 2.0mS, the next ones 1.5mS (as needed) and
the last no less than 0.5mS.
=========================================
BLTouch error state recovery
If BLTouch already active when deploying the probe then try to reset it
& clear the probe.
If that doesn't fix it then declare an error.
Also added BLTouch init routine to startup section
8 years ago