Commit Graph

2772 Commits (33f3c752134329aa1851c9a655213e07de00b2de)

Author SHA1 Message Date
Nils Hasenbanck 5a4fd8e0a6 Fix access to the DWT peripheral for STM32 HAL ()
Access to the DWT peripheral for the `CYCCNT` register needs to happen before `main()`. The code needs to be called after the setup of the system clocks, so the right place is between the `premain()` and `main()` function of the STM32 Arduino core.

This patch moves the DWT access code to a new function, which is then placed between `premain()` and `main()`.
Scott Lahteine 7f225b9421 Fix MAX_MESSAGE_LENGTH
Scott Lahteine 06674a321a Remove extra include
Marcio Teixeira c1e17037e5 Various fixes for MarlinUI and ExtUI ()
Giuliano Zaro d3605cfc26 Don't start watching heaters when target is 0 ()
Ludy 93e958f695 Fix compile error with ZONESTAR_LCD+NO_LCD_MENUS ()
Ludy 22d7fed60a Fix compile error with SD_FIRMWARE_UPDATE ()
Nils Hasenbanck 779b2709ec Change temperature pin order for RemRam V1 ()
Beta testers suggested to adopt the RAMPS order of temperature probe connectors. This commit fixes the order to the RAMPS order.
Scott Lahteine 8ebb4dc294 Followup to static CardReader
Scott Lahteine 7ee5894360 Allow float XY probe offsets
Responding to 

XY probe offsets should be integers because adding decimal points makes the code larger. But if decimals are very much wanted, this commit removes the old restriction.
Giuliano Zaro 43ecdb606f Fix a compile warning ()
Ph0non 984c4ba8c7 Enable SD Card on RepRap Display and RADDS ()
* Enable SD Card on RepRap Display and RADDS

Define the necessary pins in `pins_RADDS.h` (copied from the `RADDS_DISPLAY` section) for the use of the SD card slot on RRD.
Ludy 56a94c2a26 Use 'target_extruder' in M104 as with M109 ()
Scott Lahteine 66580f32c2
Make CardReader class static ()
* Make CardReader a static class
* Make CardReader flags into bitfields
Scott Lahteine 3e9ffaddb6
Consolidate, optimize some LCD menu code ()
Scott Lahteine d97e31db4c
Optimize Power-Loss Recovery ()
Mateusz Krawczuk ca21ac6b9b Support two MAX6675 thermocouples ()
Scott Lahteine 0e610815e4 No need for Cap:PAREN_COMMENTS
Scott Lahteine 7a075a5dc9 Tweak extruder errors
Scott Lahteine 2d92f333f5 Fix GcodeSuite::T active_extruder reference
Scott Lahteine d2bb53702a
Optimize target_extruder, ignore T with mixing ()
* Optimize target_extruder, ignore T with mixing
* Give G-code Tn parity with tool_change
Marcio Teixeira 5e586a6b39 Fix to runout sensor code. ()
- "old_state" is no longer a class static variable.
Scott Lahteine d82c350de7
Miscellaneous LCD code renaming, reordering ()
* Move special characters to language.h
* Apply some naming standards
* Clean up menu item draw functions
* Rename some Temperature methods
* UI => ExtUI
Scott Lahteine edfd106bc5
Rejigger Filament Runout class ()
Scott Lahteine f4c128ecaa
Move RRW keypad code to a common method ()
Scott Lahteine 54ec5528a0 hasstatus => has_status
Scott Lahteine ebf585b673 Fix an old sanity check
Ryan 052d102ded UltiMachine Archim 1 support ()
Scott Lahteine 664e20754d Clean up pins files
Scott Lahteine 1eb5249598 Fix Formbot Trex-2+ configs
Followup to 
thiagodesacosta 075a22ed65 Update Portuguese-Brazilian translation ()
Marcio Teixeira 3ceab8474c Add required "cardreader.h" include ()
Giuliano Zaro 98c2fc4e42 Endstops fix followup ()
Followup to 
Roxy-3D f19fd642ce
Updates to Formbot T-Rex 2+ configuration files ()
Updates to Formbot T-Rex 2+ configuration files
Roxy-3D cda5ef08fa
Debug of G2-G3 for UBL ()
Changes only affect UBL.  Everything else is left alone.
AnHardt 9ad3aed0ef Fix tool-change for MIXING_EXTRUDER with < 2 virtual tools ()
Fix 

Better handling of `ENABLED(MIXING_EXTRUDER) && !MIXING_VIRTUAL_TOOLS > 1` -  to not fall through to the general case. Fix compiler warnings for `#elif EXTRUDERS < 2`.
Giuliano Zaro d631267548 Refine endstops fixes ()
When endstops/probe are enabled `ENDSTOP_NOISE_THRESHOLD` calls to `update` are required to properly re-sync endstops/probe status.
Scott Lahteine 0ee1a92971
Group status methods, share reset_status with Extensible UI ()
* Group status methods, share reset_status with Extensible UI
* Move common DOGM code to headers
Scott Lahteine 690c4e8457 Clean TLM trailing whitespace
Scott Lahteine 143b2896e0
Add M412 to enable/disable filament runout detection ()
Scott Lahteine a163c89c6a Followup to 50af1d1
AnHardt be6271767f Fix BABYSTEP_ZPROBE_OFFSET ()
Fix 

Did not compile without  `WATCH_HOTENDS || WATCH_THE_BED`.
Add condition to include "../../module/temperature.h".
Scott Lahteine 50af1d1e08 Differentiate translated On/Off from Serial ON/OFF
Scott Lahteine df907a905f Update UBL comments for debug change
Scott Lahteine da17f8ad37 For now (!) don't synchronize in M204 and M205
See if this has any deleterious effect on motion planning by slicers that inser their own jerk and acceleration controls. The problem I see is that these settings can take effect on blocks already in the planner, and the only way around this would be to shadow these settings in planner blocks and use the shadowed settings in the planner.
Scott Lahteine a3923424c7 Clean up LCD width/height determination
Scott Lahteine a0c795b097
Encapsulate common display code in a singleton ()
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
  - Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
Scott Lahteine 9da6809ac3 Adjust some comment spacing
Scott Lahteine 471f403a67 Reduce code size with plain inlines
Scott Lahteine 30a49f5ee2 Apply extra condition to LCD_PROGRESS_BAR
Scott Lahteine 4e0c935959 Update HAL and libs formatting
Scott Lahteine 47483e8c17 Update Raptor config
Scott Lahteine 6093df11dc
Allow G26 to use the active extruder ()
* Make lcd_quick_feedback argument optional
* Add click_to_cancel option to wait_for_hotend/bed
* Have G26 use the active nozzle and wait_for_hotend/bed
* Use wait_for_release in UBL G29
* Add 'T' parameter to G26 for an initial tool-change
articide 4260282df7 Tevo Little Monster example configuration ()
Scott Lahteine bed15fcd81 Tweak 'echo_not_entered' used by MBL's G29
Scott Lahteine c239131ff5 Use 'serial_spaces' in 'print_2d_array'
Scott Lahteine 56150ec030 Add reference comments to MeshLevelingState
Ludy 24c5e57bb6 Update German language ()
Giuliano Zaro fd7fd55662 Solve endstops issues ()
- Partially reverts  and tries to solve 
Scott Lahteine 78ccedd6a8 Fix M91x sanity-check to permit TMC2660
Fix 
revilor b60abc7c37 [2.0.x] Macro G-codes ()
Giuliano Zaro ccdbf20f60 Update Italian language ()
Roman Moravčík d08847b1a6 Update Slovak translation ()
InsanityAutomation 7665dff58b No error on T0 with single-extruder and fix MIXING_EXTRUDER virtual tools ()
Scott Lahteine 4ed6397e5d
More comprehensive NO_LCD_MENUS ()
Scott Lahteine 9c8f083d6c Extend pins errors to include the processor
Scott Lahteine 525ea554a1 Remove obsolete comments
Scott Lahteine ef724edd80 Apply HAS_LCD_MENU in EEPROM code
Scott Lahteine b169320a03 Clean trailing whitespace
Scott Lahteine 81b1e9d272 Fix up xdiff, ydiff, zdiff in tool change
Followup to 
InsanityAutomation 6471a75a22 Combine more tool-change variables ()
Scott Lahteine 147e270208 Restore GTM32_PRO_VB temp and heater pins
Undo 
Scott Lahteine 8def25e475 Set CUSTOM_MACHINE_NAME for some configs
Scott Lahteine 812f6a7dd7 Fix Resume from SD Pause
In reference to https://github.com/MarlinFirmware/Marlin/pull/12098#issuecomment-436231690
Scott Lahteine 4f72e041f2 Use card.stopSDPrint() for completeness
Scott Lahteine 488a17b3f5 Use IS_SD_PRINTING() more
Marcio Teixeira 4dbaa6369f Fix const pointer assignment compile error ()
Giuliano Zaro 959ed32636 Update Italian language ()
Roman Moravčík 812bfec65e Update Slovak translation ()
Ludy 1624722566 Update German translation ()
Scott Lahteine e574f01568
More advanced pause tweaks ()
* Followup to LCD_TIMEOUT_TO_STATUS=0
* Make continuous purge screen fit 20x4
* Unify purge message modes
* Preserve last-set pause header mode
Scott Lahteine 5a470d4a49 Apply some tool-change cleanup
Roman Moravčík 34ea458667 Fixed advanced pause messages ()
Scott Lahteine 4c5ca89d8c
Show the appropriate pause message ()
Marcio Teixeira 8517d5f915 LCD menu code refactoring and cleanup ()
Scott Lahteine b3b4e6dc45
Change Marlin debug flag names to fix conflicts ()
In reference to 
Giuliano Zaro f7e682eeee Update Italian language ()
Phr3d13 a813900fce Add Geeetech Rostock 301 config, update GTM32 Pro VB pins ()
Scott Lahteine 04f173790f Remove trailing whitespace
Scott Lahteine c536ee1122 Clean up bq Zum Mega 3D pins
Scott Lahteine c31e1735dd Restore LPC1768_PIN_INTERRUPT_M, apply to Z3
- In reference to 
Scott Lahteine 93d5b945dd Hide mesh editing until a valid mesh exists
Ludy f34f09c821 Update German language ()
Roman Moravčík eefd7676a3 Updated slovak translation ()
Scott Lahteine 486f2a66a9 Fix MBL XY parameter error messages
Fix 
Scott Lahteine 2613ddf61c Fix "circle"
Scott Lahteine b779b42ffd Prevent current step-down going negative
Addressing 
Scott Lahteine 427bc64ba1 G28 O respects HOME_AFTER_DEACTIVATE
Addressing 
Scott Lahteine 3866aeac52 Clean up ENCODER_RATE_MULTIPLIER config
Scott Lahteine 498dfa291e Update and fix CHDK
Scott Lahteine fed84f2961 Use multiplier edit item for mesh point editing
Scott Lahteine d5ab4cd22a Provide a default for Z_PROBE_LOW_POINT
Scott Lahteine 3cbc3ecdd7 Fix 'M43 T' to use 'L' as last pin
- The documentation is correct. The code was wrong.
Scott Lahteine 1769249876 Recommend keeping endstops off
Scott Lahteine 5182eaf661 Fix endstops enable behavior during probing
Fix a bug introduced in 
Scott Lahteine 07a0822ebe M420 support in MARLIN_DEV_MODE
Scott Lahteine 63be48ada6 Add MESH_EDIT_MENU to example configs
KangDroid 82ff7c6542 Add a mesh edit menu for MBL / ABL-Bilinear
Scott Lahteine 44fa7fb18c Cleanups for leveling-related code
Scott Lahteine cc2bc67440 ENABLED(NEWPANEL) => HAS_LCD_MENU
Scott Lahteine fc84878cba MSG_UBL_EDIT_MESH_MENU => MSG_EDIT_MESH
Scott Lahteine cd066bfeba Extend error messages for E factors sanity-checks
Ludy c10edb0998 Update, correct sanity-checks for up to 6 extruders ()
Scott Lahteine 0c85869c26 Clean up file endings
Scott Lahteine b99f0776d6 Clean up some U8G files
Scott Lahteine 8014e1cc9d Allow disable of LCD_TIMEOUT_TO_STATUS (when 0)
Giuliano Zaro bd05816fd8 Update Italian language ()
Scott Lahteine 3c21483c88 Provide DOGLCD SPI pins for MKS SBASE + VIKI
Scott Lahteine e0956bb572 Drop 'register' storage specifier
Scott Lahteine c04cf127f7 Fix EEPROM servo angles init, section grouping
Scott Lahteine 9c0e05552e Suppress some compile warnings
Karl Andersson 176654791e Use board-specific or platform SPI pins in HAL_STM32 ()
Scott Lahteine 60dbd8161c Fix VMAX editing
Fix 
Scott Lahteine b7ca93ba37 Remove dead comment
Scott Lahteine 608be966d7 Add servos to pins_FYSTEC_F6_13.h
Hannes Brandstätter-Müller 67b22760d9 Return to status to show manual deploy/stow messages ()
tharts f5e8e8b53d Fix broken LPC176x build ()
* Fix broken LPC176x build
* Add UBL+HD44780 test for LPC1768
Scott Lahteine f5eab912ed
Apply #pragma once, misc cleanup ()
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
Scott Lahteine 8696f882a9
Merge pull request from thinkyhead/bf2_scara_home_offset
Revive SCARA home offset (not fully implemented)
Scott Lahteine 56d2dcb184 Use first_page flag in place of page.page == 0
Scott Lahteine d1ff22b983 Revive SCARA's home offset (unimplemented)
Scott Lahteine 2c9586be0c Clear up HAS_WORKSPACE_OFFSET meaning
Scott Lahteine 6e3caf23b6 IS_DELTA => ENABLED(DELTA)
Scott Lahteine 19f49db96f Tweak / reduce menu items
Scott Lahteine e4cf175163
Synchronize on M204, M205 ()
* Add parser.seen for multiple parameters
* Fix M666, use !seen for report
* Synchronize on M204, M205
Ludy 5ba6607181 Fix keypad-related compile error ()
Scott Lahteine 2fb2e286ee Followup to
Scott Lahteine 3eb9838dca Simplify TMC sanity-checks
Scott Lahteine f5b31e218d Followup to
Scott Lahteine 31c28d0dd2
Drop pgm_read_*_near and let headers choose ()
- Drop `pgm_read_*_near` and let headers choose.
- Define `USE_EXECUTE_COMMANDS_IMMEDIATE` as a conditional.
- Add `process_subcommands_now` for SRAM-based commands.
Scott Lahteine fce150f094 inline static => static inline
Giuliano Zaro 323c088356 Restore LED light color after pid tuning ()
Ludy 9f77df2590 Followup to menu refactor. TMC warnings, sanity. ()
- Followup fixes for menu refactor
- Fix TMC sanity checks, unused var warnings
Nils Hasenbanck cafabf2055 Implement DELAY_NS with CYCCNT on Cortex-M7 ()
Scott Lahteine f5498168ae Ensure PENDING/ELAPSED use a 32-bit integer
MasterPIC 6e041b9c61 Use blink to show more info on LCD ()
Scott Lahteine eb5600acd2 Add parentheses to LCD_CLICKED
Scott Lahteine 42f8b6c530
Make M125 work with SDSUPPORT ()
Scott Lahteine f319087372 Followup to
AnHardt 74bbb13008 Fix Mixer calculations for 32-bit processors ()