Ludy
c0b75f49b6
Fix "no effect" and "unused variable" compile warnings ( #12473 )
2018-11-18 17:54:00 -06:00
Nils Hasenbanck
5a4fd8e0a6
Fix access to the DWT peripheral for STM32 HAL ( #12434 )
...
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()`.
2018-11-18 01:30:46 -06:00
Scott Lahteine
7f225b9421
Fix MAX_MESSAGE_LENGTH
2018-11-18 01:11:26 -06:00
Scott Lahteine
06674a321a
Remove extra include
2018-11-18 00:34:07 -06:00
Marcio Teixeira
c1e17037e5
Various fixes for MarlinUI and ExtUI ( #12439 )
2018-11-17 22:21:44 -06:00
Giuliano Zaro
d3605cfc26
Don't start watching heaters when target is 0 ( #12453 )
2018-11-17 21:53:52 -06:00
Ludy
93e958f695
Fix compile error with ZONESTAR_LCD+NO_LCD_MENUS ( #12466 )
2018-11-17 21:21:30 -06:00
Ludy
22d7fed60a
Fix compile error with SD_FIRMWARE_UPDATE ( #12462 )
2018-11-17 21:13:36 -06:00
Nils Hasenbanck
779b2709ec
Change temperature pin order for RemRam V1 ( #12458 )
...
Beta testers suggested to adopt the RAMPS order of temperature probe connectors. This commit fixes the order to the RAMPS order.
2018-11-17 16:51:06 -06:00
Scott Lahteine
8ebb4dc294
Followup to static CardReader
2018-11-17 07:52:35 -06:00
Scott Lahteine
7ee5894360
Allow float XY probe offsets
...
Responding to #12383
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.
2018-11-17 07:44:47 -06:00
Giuliano Zaro
43ecdb606f
Fix a compile warning ( #12452 )
2018-11-17 07:08:25 -06:00
Ph0non
984c4ba8c7
Enable SD Card on RepRap Display and RADDS ( #12446 )
...
* 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.
2018-11-17 06:59:40 -06:00
Ludy
56a94c2a26
Use 'target_extruder' in M104 as with M109 ( #12448 )
2018-11-17 06:55:25 -06:00
Scott Lahteine
66580f32c2
Make CardReader class static ( #12451 )
...
* Make CardReader a static class
* Make CardReader flags into bitfields
2018-11-16 22:39:16 -06:00
Scott Lahteine
3e9ffaddb6
Consolidate, optimize some LCD menu code ( #12450 )
2018-11-16 21:44:48 -06:00
Scott Lahteine
d97e31db4c
Optimize Power-Loss Recovery ( #12440 )
2018-11-16 20:47:07 -06:00
Mateusz Krawczuk
ca21ac6b9b
Support two MAX6675 thermocouples ( #8686 )
2018-11-16 18:20:33 -06:00
Scott Lahteine
0e610815e4
No need for Cap:PAREN_COMMENTS
2018-11-16 04:28:40 -06:00
Scott Lahteine
7a075a5dc9
Tweak extruder errors
2018-11-16 01:32:21 -06:00
Scott Lahteine
2d92f333f5
Fix GcodeSuite::T active_extruder reference
2018-11-15 14:07:24 -06:00
Scott Lahteine
d2bb53702a
Optimize target_extruder, ignore T with mixing ( #12432 )
...
* Optimize target_extruder, ignore T with mixing
* Give G-code Tn parity with tool_change
2018-11-14 17:33:04 -06:00
Marcio Teixeira
5e586a6b39
Fix to runout sensor code. ( #12431 )
...
- "old_state" is no longer a class static variable.
2018-11-14 16:54:05 -06:00
Scott Lahteine
d82c350de7
Miscellaneous LCD code renaming, reordering ( #12430 )
...
* Move special characters to language.h
* Apply some naming standards
* Clean up menu item draw functions
* Rename some Temperature methods
* UI => ExtUI
2018-11-14 13:13:51 -06:00
Scott Lahteine
edfd106bc5
Rejigger Filament Runout class ( #12428 )
2018-11-14 11:45:57 -06:00
Scott Lahteine
f4c128ecaa
Move RRW keypad code to a common method ( #12429 )
2018-11-14 06:00:21 -06:00
Scott Lahteine
54ec5528a0
hasstatus => has_status
2018-11-14 01:34:28 -06:00
Scott Lahteine
ebf585b673
Fix an old sanity check
2018-11-14 01:15:35 -06:00
Ryan
052d102ded
UltiMachine Archim 1 support ( #12404 )
2018-11-14 00:27:39 -06:00
Scott Lahteine
664e20754d
Clean up pins files
2018-11-14 00:23:33 -06:00
Scott Lahteine
1eb5249598
Fix Formbot Trex-2+ configs
...
Followup to #12422
2018-11-13 21:53:54 -06:00
thiagodesacosta
075a22ed65
Update Portuguese-Brazilian translation ( #12402 )
2018-11-13 19:42:25 -06:00
Marcio Teixeira
3ceab8474c
Add required "cardreader.h" include ( #12419 )
2018-11-13 17:12:44 -06:00
Giuliano Zaro
98c2fc4e42
Endstops fix followup ( #12423 )
...
Followup to #12413
2018-11-13 17:10:07 -06:00
Roxy-3D
f19fd642ce
Updates to Formbot T-Rex 2+ configuration files ( #12422 )
...
Updates to Formbot T-Rex 2+ configuration files
2018-11-13 13:48:35 -06:00
Roxy-3D
cda5ef08fa
Debug of G2-G3 for UBL ( #12386 )
...
Changes only affect UBL. Everything else is left alone.
2018-11-13 11:20:21 -06:00
AnHardt
9ad3aed0ef
Fix tool-change for MIXING_EXTRUDER with < 2 virtual tools ( #12417 )
...
Fix #12416
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`.
2018-11-13 04:56:10 -06:00
Giuliano Zaro
d631267548
Refine endstops fixes ( #12413 )
...
When endstops/probe are enabled `ENDSTOP_NOISE_THRESHOLD` calls to `update` are required to properly re-sync endstops/probe status.
2018-11-13 04:31:58 -06:00
Scott Lahteine
0ee1a92971
Group status methods, share reset_status with Extensible UI ( #12414 )
...
* Group status methods, share reset_status with Extensible UI
* Move common DOGM code to headers
2018-11-13 01:47:45 -06:00
Scott Lahteine
690c4e8457
Clean TLM trailing whitespace
2018-11-13 00:03:34 -06:00
Scott Lahteine
143b2896e0
Add M412 to enable/disable filament runout detection ( #12406 )
2018-11-12 21:29:46 -06:00
Scott Lahteine
a163c89c6a
Followup to 50af1d1
2018-11-12 20:31:53 -06:00
AnHardt
be6271767f
Fix BABYSTEP_ZPROBE_OFFSET ( #12408 )
...
Fix #12399
Did not compile without `WATCH_HOTENDS || WATCH_THE_BED`.
Add condition to include "../../module/temperature.h".
2018-11-12 17:44:21 -06:00
Scott Lahteine
50af1d1e08
Differentiate translated On/Off from Serial ON/OFF
2018-11-12 17:23:08 -06:00
Scott Lahteine
df907a905f
Update UBL comments for debug change
2018-11-12 03:46:48 -06:00
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.
2018-11-12 02:43:24 -06:00
Scott Lahteine
a3923424c7
Clean up LCD width/height determination
2018-11-12 02:37:40 -06:00
Scott Lahteine
a0c795b097
Encapsulate common display code in a singleton ( #12395 )
...
* 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.
2018-11-11 12:16:24 -06:00
Scott Lahteine
9da6809ac3
Adjust some comment spacing
2018-11-11 11:28:50 -06:00
Scott Lahteine
471f403a67
Reduce code size with plain inlines
2018-11-11 08:36:10 -06:00