8855 Commits (c36efd3106f840faaba6454e2433a7766b29009a)

Author SHA1 Message Date
Axel bbd09a99f1 32 bit boards classification cleanup (#10818)
- Ordering and match classification between `boards.h` and `pins.h`
- Check `pins.h` environments
7 years ago
Scott Lahteine ee333f6be2 Followup to endstops tweaks 7 years ago
Axel d98bc71af7 Boards classification arrangement (#10814)
STM32 ARM Cortex-M3 boards were listed as M4
7 years ago
Scott Lahteine 4b610b333e Tweak G38 formatting 7 years ago
Scott Lahteine d2647c1f19 Fix G1 behaviour after tool unpark
Fix #10777 for 2.0.x

Co-Authored-By: Ante Vukorepa <o.orcinus@gmail.com>
7 years ago
Scott Lahteine 3bb950c69a Fix DEBUG_LEVELING_FEATURE for MBL
As noted in #10777
7 years ago
Scott Lahteine 1af98519cd Group and adjust LCD buttons code 7 years ago
Scott Lahteine 0c3773d724 Cleanup in stepper_indirection.h 7 years ago
Scott Lahteine 4118199ddd Tweaks to core headers 7 years ago
Scott Lahteine 4b2f6e3b2b
[2.0.x] Add endstop noise filter (#10796) 7 years ago
Scott Lahteine 65a004564c Stepper::set_position needed for some applications 7 years ago
Scott Lahteine 435ecb6b67 Followup to stepper/planner refactor 7 years ago
Bob Kuhn 6dfbb39f83 [LPC1768] Add error-handling to upload script, update autobuild.py (#10802) 7 years ago
Scott Lahteine 68d7fcec83 Simplify and fix Z fade height edit
Fix #10761
7 years ago
Bob Kuhn d557c84a71 [2.0.x] Error for FAST_PWM_FAN with 32 bit CPU (#10798) 7 years ago
etagle 569df3fc0c Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 years ago
etagle a4af975873 Fix planner block optimization
- Fixed the planner incorrectly avoiding optimization of the block following the active one.
- Added extra conditions to terminate planner early and avoid redundant computations.
7 years ago
etagle e0ca627033 Planner block HOLD flag
Allows the Stepper ISR to wait until a given block is free for use. Allows Planner to plan the first move, which is split into two.
7 years ago
etagle a11eb50a3e Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago
etagle 0566badcef Add memory barrier, optimal interrupt on-off
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/)
7 years ago
Scott Lahteine c2fb2f54a1 Use assembly for AVR ISR vectors
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 206014a957 Fix LPC176x timer functions
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 59f7861bcb
Move backtrace to the HAL folder (#10790) 7 years ago
Scott Lahteine 228139eae6 Tweak some LCD comments 7 years ago
Scott Lahteine 7dc03ce721 Simplified fix for babystep pulse width
Alternative to the apparently superfluous double delay
7 years ago
Scott Lahteine 65270d6a96 Fix LIN_ADVANCE + SWITCHING_EXTRUDER
Followup to #10656
7 years ago
Bob Kuhn 62e2987488 add AT90USB support & add items to popup menu (#10779) 7 years ago
Bob Kuhn 9ad42d6617 add delay between pulse edges (#10778) 7 years ago
Scott Lahteine 83d42f33e1 Add HAS_HOTEND_OFFSET_Z conditional 7 years ago
GMagician 3c76bda2d8 Fix switching extruder
`DONT_SWITCH` got lost along the way. Replace it with `DO_SWITCH_EXTRUDER` and adjust the code.
7 years ago
Scott Lahteine c173a31060 Fix some compile warnings 7 years ago
Giuliano e1d9046efc [2.0.x] Temperature reading fix (#10774) 7 years ago
Chris Pepper 9b64fdbc3a [LPC176x] HAL: Add missing program space definition (#10776) 7 years ago
Scott Lahteine 50270b53a0 Clear up some more compile warnings 7 years ago
etagle 06fd4d7b28 Improve NOMORE, NOLESS, and LIMIT macros 7 years ago
etagle 40d7e12827 Removing warnings from compilation 7 years ago
Scott Lahteine 0755fe8ba2 Add FAN_MAX_PWM to example configs 7 years ago
Jiri Jaburek 43ddb29f9e Add FAN_MAX_PWM for M106-controlled fans 7 years ago
Scott Lahteine 0ea60d506a Clear up LCD-related compile issues 7 years ago
Scott Lahteine eb2eb72720
Modify UBL mesh_is_valid and use in leveling_is_valid (#10746) 7 years ago
Scott Lahteine b7dfc79988
Disable SERIAL_PORT_2 by default and sanity-check it (#10748) 7 years ago
Scott Lahteine 3f6073e23a Followup tweak to lcdprint_u8g.cpp 7 years ago
Scott Lahteine fb608938f8 Prevent compilation of unused u8g-oriented code 7 years ago
Scott Lahteine 35258dd50b Consistent heating status and status reset
Fix #10699
7 years ago
Scott Lahteine 37b15fe4cf Reorder HAL timer header items 7 years ago
Scott Lahteine 836b0bbeee Fix MBL line_to_destination
Fix #10708
7 years ago
Scott Lahteine ba4c32eec5 Followup to _AXIS patch 7 years ago
Scott Lahteine d9154ebdf6 Followup to math patch 7 years ago
Scott Lahteine f07260c33f Don't babystep on long click unless printing
As pointed out in #10731
7 years ago
Scott Lahteine 883b0c9880
Convert custom maths to inlines (#10728) 7 years ago
Scott Lahteine 08e36e264e Apply _AXIS macro 7 years ago
Scott Lahteine 99ecdf59af Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 083ec9963e Tweaks to heater / lcd conditions 7 years ago
etagle 9d98a62699 Followup to HAL optimizations and delays
- Cleanups, fixes for Due HAL code.
- TC_IER is write-only. Use TC_IMR to test ISR state.
7 years ago
Scott Lahteine 8f8c6a9bc4
Move get_axis_position_mm to Planner (#10718) 7 years ago
Scott Lahteine a1062eec5b
Better handling of DELAY_NS and DELAY_US (#10716)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine f5aaa2d6c0 Fix some compiler warnings 7 years ago
Scott Lahteine 3614e6ce0f Fix Switching Extruder with Linear Advance 7 years ago
Scott Lahteine 625035a9ce
Fix M301 access to lpq_len (#10714)
Co-Authored-By: Zwaubel
7 years ago
etagle 1b225a2809 DUE: Emergency parser for the USB CDC 7 years ago
Scott Lahteine 306f0f2135
Move Stepper::synchronize to Planner (#10713)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine f2e3c9896e Fix compile warnings in backtrace
Part of #10688

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine acacee80a2 Add JUNCTION_ACCELERATION_FACTOR to configs
Part of #10688

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Giuliano d99f1b2245 [2.0.x] EEPROM code cleanup (#10710) 7 years ago
ManuelMcLure 8679f671ed Remove dependency on PI. (#10701) 7 years ago
Scott Lahteine 6671c064cd
Use arc moves for G26 if enabled (#10696)
Co-Authored-By: ManuelMcLure <manuelmclure@users.noreply.github.com>
7 years ago
Scott Lahteine 325bbbc8c2
[2.0.x] Enable AD595 and AD8495 in concert (#10693)
* Allow both AD595 and AD8495 in concert
* General temperature code tweaks
7 years ago
Scott Lahteine c43235dd39 Remove non-special comments 7 years ago
ManuelMcLure 613a3be167 Remove hidden dependencies on destination. Fixes #10686. (#10691) 7 years ago
Scott Lahteine 23a876b08d Update a comment in motion.cpp 7 years ago
Scott Lahteine 439e0cdd0f
Patch up reverse_pass_kernel (and other planner code) (#10674) 7 years ago
Scott Lahteine fe5c308872
Correction to Printrboard SDSS pin (#10677)
Co-Authored-By: Simon Swenson <simon-swenson-8351@users.noreply.github.com>
7 years ago
Scott Lahteine 265161ba30
Blink the value for unhomed/unknown axes (#10670) 7 years ago
Scott Lahteine 57c2f8d2f6 Trailing whitespace cleanup 7 years ago
Scott Lahteine b76344c080 More Trinamic cleanup 7 years ago
Scott Lahteine 473c6d3a91 Drop extra RIGIDBOT_PANEL from D6 config 7 years ago
Giuliano 44f3a6dc3b [2.0.x] Add missing axes to M911, M912 (#10668) 7 years ago
Scott Lahteine 722aba77f3
Fix LIN_ADVANCE + SWITCHING_EXTRUDER stepper directions (#10656) 7 years ago
Scott Lahteine a225d2e99e Fix compilation with UBL and Arc/Bézier
Fix #10660
7 years ago
Scott Lahteine 6d9ec1852a Fix compilation of say_units
Fixes #10663
7 years ago
Scott Lahteine 19f189b4e5
Add UBL support for G2/G3 and G5 (#10648) 7 years ago
Scott Lahteine 4c663b0216 Add JUNCTION_DEVIATION to example configs 7 years ago
Scott Lahteine 4d4bf7897d Junction Deviation jerk limiting option 7 years ago
Scott Lahteine 0436e16fb2 Apply shorthand Assembler macros 7 years ago
Scott Lahteine d1b619be52 Standardize some hexadecimals 7 years ago
Scott Lahteine ec05408453
Add 3-frame fan animation to bitmaps (#10654) 7 years ago
Scott Lahteine 55f1f8446b Show correct current units in M503 7 years ago
Giuliano 4e16e699c1 Fix sanity checks for dual axes (#10633) 7 years ago
Scott Lahteine a1fab8336e Fix abort of SD printing 7 years ago
Scott Lahteine e978e6e782
[2.0.x] Arrange LCD options by type (#10630) 7 years ago
Scott Lahteine 8c5bc77fb9 Fix the sanity-check for config versions 7 years ago
Scott Lahteine 1f11b0f612 Fully init planner sync block 7 years ago
Scott Lahteine f30241bda5
Merge pull request #10614 from thinkyhead/bf2_synced_planner_set_position
[2.0.x] Improve sync of planner / stepper position, asynchronous G92
7 years ago
Scott Lahteine 840ff60952 Bring some configs up to date 7 years ago
Phr3d13 71cd681473 Add Geeetech i3 Pro C / W examples (#10626)
Added base example configs for Geeetech's Pro C and Pro W machines.
7 years ago
Scott Lahteine 62e7a9c671 Fix up fwretract handling 7 years ago
Scott Lahteine bfe223e120 Adjust usage of stepper.synchronize 7 years ago
Scott Lahteine af1950a63e Improve sync of stepper positions 7 years ago
Scott Lahteine 0c23792344 Apply int32_t to stepper 7 years ago
Roxy-3D c2c02bdc67
Change Max7219 coordinates to traditional (X,Y) 7 years ago
Scott Lahteine b337698f96 Additional patch for no heated bed 7 years ago
Scott Lahteine 76da6cc544 Fix Ender 2 build volume 7 years ago
Scott Lahteine 81b632c255 Additional temp-oriented improvements 7 years ago
nightdemonx e911635fb1 Add thermocouple with AD8495 support 7 years ago
Scott Lahteine 00e86f1c2d Add Velleman RGB-LED strip support to K8400 7 years ago
Bob-the-Kuhn 410b023b50 [2.0.x] Add Viki support to RAMPS_FD_V1 (DUE) (#10598) 7 years ago
Scott Lahteine b7e938a9fb LCD_BED_LEVELING enables a sub-menu for ABL 7 years ago
Scott Lahteine a90d99c27c Rename float32 => float52, etc. 7 years ago
Scott Lahteine d7b699ec34 Fewer includes of vector_3.h 7 years ago
thisiskeithb 9312636ee4 Ender-3 config files (#10585) 7 years ago
Scott Lahteine 05fca752d6 Clean up autostart handling 7 years ago
Scott Lahteine c87b0e21be Add units to probe speed comments 7 years ago
Scott Lahteine 2c1205d8b1 Improve debug of homing move feedrate 7 years ago
Scott Lahteine c8e4b7c8a6 Fix XY homing move away rate 7 years ago
Scott Lahteine 05c33833e7
[2.0.x] Add NO_LCD_MENUS option (#10582) 7 years ago
Scott Lahteine 524cc392f4 Fix sd_status comparison
Co-Authored-By: perkmeister <perkmeister@users.noreply.github.com>
7 years ago
MagoKimbra 1f92b9a4ed Fix do_probe_move with fr_mm_s (#10576) 7 years ago
Scott Lahteine a73cece360 Fix utility.cpp for DEBUG_LEVELING_FEATURE
As mentioned in https://github.com/MarlinFirmware/Marlin/issues/9429#issuecomment-385305597

Co-Authored-By: Jack Bradach <jack@bradach.net>
7 years ago
Scott Lahteine 4dfc011d86 Fix homing with probe feedrates 7 years ago
Scott Lahteine 59fda986ea Allow Z_AFTER_PROBING to be 0 7 years ago
Scott Lahteine 63e4afc910 Do rounding in integer (instead of FIXFLOAT)
Co-Authored-By: Bob-the-Kuhn <bob-the-kuhn@users.noreply.github.com>
7 years ago
Scott Lahteine 616651ff23 Add sanity check for LED_CONTROL_MENU
Addressing #10569
7 years ago
Scott Lahteine 9e0d99c0c6
Round all floats in string conversion functions (#10566) 7 years ago
Scott Lahteine 3f68203324 Modify FastIO error message 7 years ago
Scott Lahteine 1dab44213a Fix the TMC26X initializer CS pin argument
From #10531

Co-Authored-By: chriscg9 <chriscg9@users.noreply.github.com>
7 years ago
Scott Lahteine cd08f01bb4 Fix M421 comment in gcode.h 7 years ago
Scott Lahteine 7546f87949 Allow a home bump of 0 when homing Z with probe 7 years ago
Scott Lahteine d470a1234f Fix ENABLED/DISABLED for DUE
…and any other platforms where `false`/`true` are defined as `0x0`/`0x1`.

This fixes issue #10550.
7 years ago
Scott Lahteine 683dc24e0f When homing with Z probe bump at Z_PROBE_SPEED_SLOW 7 years ago
Scott Lahteine 8db7fb226a Fix M420 C for UBL 7 years ago
Scott Lahteine ed8d2bc225 Clean up some endstop inverting examples 7 years ago
Scott Lahteine c7305be4d2 Fix some endstop inverting settings 7 years ago
Bob-the-Kuhn f973ff49ae [2.0.x] MKS SBASE - Separate SD_DETECT for LCD and on-board SD cards (#10557) 7 years ago
Scott Lahteine 5ac226aa93 Further cleanup of inline delays 7 years ago
Marcio Teixeira 724e9f56c8 Removed "const" to match parser. (#10548) 7 years ago
Giuliano 2e1939e85c [2.0.x] report error on unsupported commands (#10553)
Raise an error when an unknown/unsupported G/M command is requires.

This will address #10546
7 years ago
Scott Lahteine a474a7e675 Correct AVR_ATmega328_FAMILY macro
…as with #10540

Co-Authored-By: per1234 <per1234@users.noreply.github.com>
7 years ago
Scott Lahteine f790b4bc0a Reorganize some conditionals 7 years ago
Scott Lahteine a51ba6e3f6 Fix ABL grid bounds test for Delta/SCARA
Addressing #10538
7 years ago
Scott Lahteine df6bc812b5 Fix disable of Z_HOMING_SENSITIVITY for HOMING_Z_WITH_PROBE
As pointed out in #10532
7 years ago
Scott Lahteine 63e0b36f8b Fix G29_RECOVER_COMMANDS typo 7 years ago
Scott Lahteine f83361a814 Apply const to tmc_sensorless_homing 7 years ago
Scott Lahteine 212e52e485 Basic delay for Max7219 on ARM 7 years ago
Scott Lahteine 7b6e742436 Wrap delay macros in do{}while(0) 7 years ago
Karl Andersson 58ca3be1ec delayMicroseconds() cannot be called in critical section (#10535)
on the STM32 platform
7 years ago
Bob-the-Kuhn 00dfaae8df [2.0.x] Platformio - automate build & environment selection (#10503) 7 years ago
Scott Lahteine 299c4fed42 Undefine PIDTEMPBED without a bed heater 7 years ago
Scott Lahteine 456cf971af HAL FastIO cleanup and fixes 7 years ago
J.C. Nelson 5b5e322356 Set Interrupt Priorities and Grouping for STM32F103. (#10517) 7 years ago
Scott Lahteine 0e450df6a2 MKS OLED support for RUMBA
Based on #10519

Co-Authored-By: Alex <alex18881@users.noreply.github.com>
7 years ago
Scott Lahteine 2578996631
[2.0.x] Emergency parser for multiple serial ports (#10524) 7 years ago
Scott Lahteine 8cc31d1b2e Cleanup to emergency parser
Followup to #10516
7 years ago
Chris Pepper 2242b98248 [LPC176x] Emergency Parser Feature (#10516) 7 years ago
Scott Lahteine eef0248a1c
Add M420 C to adjust the whole mesh (#10522) 7 years ago
Eduardo José Tagle c1e5ebbc1e [2.0.x] AVR: Atomic bit set and clear of upper pin ports without critical section (#10502)
* AVR: Atomic bit set and clear

The critical section can be dropped, saving 3 cycles per access. Also simplified pin toggling for all ports.
7 years ago
Marcio Teixeira 02a711c4d6 [2.0.x] Fix crash upon repeated calls to process_subcommands_now_P (#10509) 7 years ago
Scott Lahteine a3ce8a3fcd Add sanity checks for EMERGENCY_PARSER 7 years ago
Scott Lahteine f06c3c38b9 Fix M0_M1 with no LCD 7 years ago
Scott Lahteine c82dd5129f Revert potentially-not-redundant UBL test
Response to #10435
7 years ago
Scott Lahteine 9789c1c719 Fix current_temperature_chamber compile error
Fix #10505
7 years ago
Eduardo José Tagle 0c428a66d9 Proper AVR preemptive interrupt handling (#10496)
Also simplify logic on all ARM-based interrupts. Now, it is REQUIRED to properly configure interrupt priority. USART should have highest priority, followed by Stepper, and then all others.
7 years ago
Scott Lahteine f423e54f77 Strip trailing spaces 7 years ago
Scott Lahteine 8177c4334e
Merge pull request #10498 from xC0000005/MalyanLCDFix
Fix overridden Malyan LCD functions
7 years ago
Scott Lahteine cb46cb8480
Add HAS_HEATED_BED conditional (#10495) 7 years ago
Marcio Teixeira 10a25f733e Add SENSORLESS_HOMING to Archim 2.0 (#10500) 7 years ago
xC0000005 24d23ce49b Fix function definitions for Malyan LCD 7 years ago
Alexey Shvetsov ad58b626a3 Fix pin mappings for Viki2 on Azteeg X5 GT (#10487) 7 years ago
Scott Lahteine 9e07df5c1b
Extra options for LEVEL_BED_CORNERS (#10483) 7 years ago
Scott Lahteine 1c3d49afe0 Fix G28 with Z_AFTER_PROBING
Fix #10476
7 years ago
Scott Lahteine b6747c742a Cleanup AZTEEG_X5_GT pins for VIKI
What should the SD detect and SDSS pins be? Followup soon on #8138
7 years ago
Scott Lahteine 023385ca59
Merge pull request #10479 from thinkyhead/bf2_creality_power_loss_resume
[2.0.x] Creality3D Power-Loss Recovery
7 years ago
Scott Lahteine 3396671011
[2.0.x] Reset LCD status to fallbacks (#10470)
* Remove obsolete strings
* Tweak some static consts
* Reset LCD status to fallbacks
7 years ago
Scott Lahteine d58450c82a Russian language update
Co-Authored-By: anton-piliugin <34044202+anton-piliugin@users.noreply.github.com>
7 years ago
Scott Lahteine 11ab017dd0 Creality3D Power-Loss Recovery 7 years ago
Scott Lahteine 594d6f9efd Add POWER_LOSS_RECOVERY to example configs 7 years ago
Scott Lahteine 7dcd0a1cff Add R parameter to G28 to specify pre-raise 7 years ago
Scott Lahteine 2f4b4d6076 Add Stopwatch::resume method 7 years ago
Scott Lahteine a90cbc6339
[2.0.x] Wait for bed heaters between probing (#10472) 7 years ago
Scott Lahteine a0dac95d25
Merge pull request #10460 from thinkyhead/bf2_trigorilla_14
[2.0.x] Split TRIGORILLA into 1.3 and 1.4
7 years ago
Scott Lahteine f0cbf3d432 Correction to sanity check 7 years ago
Scott Lahteine d8a8eec6ea Add THERMAL_PROTECTION capability
Based on #10465

In response to `M115` the firmware reports if Thermal Protection is enabled (1) or not (0). This information can be used by software such as OctoPrint (more precisely the Printer Safety Check plugin) to warn users when Thermal Protection is not enabled in the firmware.

Co-Authored-By: andrivet <sebastien@advtools.com>
7 years ago
Scott Lahteine 186d71b361 Complete CREALITY_ENDER revert 7 years ago
Scott Lahteine 11ef432476 Match Makefile to boards.h 7 years ago
Scott Lahteine 2be5fe5ddf Split TRIGORILLA into 1.3 and 1.4 7 years ago
Scott Lahteine 80e29492c6 TRIGORILLA => TRIGORILLA_13 7 years ago
Scott Lahteine dea686cf55
Define short pin names in fastio for STM32 (#10461) 7 years ago
Scott Lahteine 65a6a86d19 Don't report point 0 in MBL G29 7 years ago
Scott Lahteine 6faa93d787 Add G29_RETRY_AND_RECOVER to example configs 7 years ago
Marcio Teixeira 5cc7916e69 Add G29_RETRY_AND_RECOVER feature
- Add an option to retry G29, optionally executing a G-code procedure after each failed probe.
7 years ago
Scott Lahteine 78ea4871f9 Fix up enqueue now functions
…and apply to MALYAN_LCD.
7 years ago
Roxy-3D 23635c2b64
Update ubl_motion.cpp
Restore necessary and needed loop termination logic.
7 years ago
Scott Lahteine 8ca3c43d73 Updated language_data spacing, headers 7 years ago
Scott Lahteine 184c077c58 Correct includes (u8g.h) and spelling 7 years ago
Yunhui Fu 627348b46c move the TALL_FONT_CORRECTION to language files 7 years ago
Yunhui Fu 77bc653524 Use X windows 6x12 bitmap font to support western languages. 7 years ago
Yunhui Fu d81649b365 Update language data for sk. 7 years ago
Yunhui Fu 41839746a2 Removed unused macros 7 years ago
Scott Lahteine 4f184ba5da
[2.0.x] Add BOARD_MKS_BASE_15 with digital micro-stepping (#10454)
* Add BOARD_MKS_BASE_15 with digital micro-stepping
* Rename MKS_13 to MKS_GEN_13
7 years ago
Scott Lahteine ad6baa5c9d Fix for UBL set_bed_leveling_enabled 7 years ago
Scott Lahteine df2f24617b Use 0 as the bed position (not Z_MIN_POS) 7 years ago