Christopher Pepper
42fb7c14b0
Update the sdcard usb sharing config and apply to Re-ARM
2018-10-14 18:43:48 +01:00
Christopher Pepper
254b68fe2c
servo update
2018-10-14 18:43:48 +01:00
Andy Shaw
870bfd08f5
usb and sdcard sharing improvements
...
* Add traceback after watchdog timeout
Add the cpability to perform a traceback following a watchdog timeout.
* Enhanced hardware SPI
Allow use of either SSP0 or SSP1.
Ensure that no data is left in I/O buffers after calls to enable sharing of SSP hardware.
* Make flash emulation of eeprom the default
Make use of flash for eeprom storage the default. This means that usage of eeprom will not cause USB drive mount/unmount operations.
* Allow sharing of SD card
SD card I/O operations from the USB stack take place in idle loop, rather than at interrupt time. Allowing sharing of the SPI bus.
New configuration options to allow usage of the SD card to be specified.
* Fix problem with hardware SPI pins
2018-10-14 18:43:48 +01:00
Christopher Pepper
5ddf52d58e
[HAL][LPC176x] Pull out framework into separate repository
...
Framework and build platform now located at https://github.com/p3p/pio-framework-arduino-lpc176x and https://github.com/p3p/pio-nxplpc-arduino-lpc176x respectively
fix mkssbase leds
move hardware serial
remove hardware/software serial
Hardware Serial extraction
HardwareSerial ISRs
fix disabled serial2 causing Serial object to link
move usb devices out to framework
separate out adc/pwm peripheral function from hal.cpp
fix includes
remove unused pwm init
move adc
HAL header update
templated filtered adc
LPC1769 platform
2018-10-14 18:43:48 +01:00
Roman Moravčík
213e94bce2
[2.0.x] Updated slovak translation ( #12059 )
2018-10-14 02:15:15 -05:00
Karl Andersson
a40458405a
Fix datasize error when FWRETRACT is disabled ( #12086 )
2018-10-14 02:14:34 -05:00
Scott Lahteine
951b25163e
Extend M217 with configurable park/raise ( #12076 )
2018-10-13 23:08:20 -05:00
Kevin Velickovic
ea13a77dcb
Fixed Z-Probes NO/NC for Anycubic Kossel ( #12083 )
2018-10-13 20:34:56 -05:00
N95JPL
ab9d5eb38d
Add Bootscreen Animation ( #12077 )
2018-10-12 22:11:20 -05:00
Scott Lahteine
26208a5c2f
Clean up some boot screens
2018-10-12 18:56:39 -05:00
Scott Lahteine
9b6be0ae0f
Fix lite status screen SD %
2018-10-12 17:02:59 -05:00
Scott Lahteine
af3bf6c956
Tweak config spacing
2018-10-12 16:09:27 -05:00
Scott Lahteine
a44ef27897
Outdent singlenozzle toolchange code
2018-10-12 15:19:03 -05:00
Scott Lahteine
d338e4d875
Fix singlenozzle toolchange cold extrusion test
2018-10-12 15:15:25 -05:00
Roxy-3D
25b980dddb
Remove erroneous Pin 12 definition
...
There is no switchable Power Supply. Don't put it on Pin 12.
(Pin 12 is actually FAN1)
2018-10-12 13:45:04 -05:00
Scott Lahteine
ddaef1a60c
Clean trailing whitespace
2018-10-11 21:40:55 -05:00
Scott Lahteine
1407afad73
Move SENSITIVE_PINS to its own file
2018-10-11 01:10:11 -05:00
Scott Lahteine
45e738876a
Add stepper MS3 support
...
Co-Authored-By: TheLongAndOnly <thelongandonly@users.noreply.github.com>
2018-10-11 01:10:11 -05:00
Giuliano Zaro
d43d4e4219
Refactor PRINTER_EVENT_LEDS, apply to M303 ( #12038 )
...
Co-Authored-By: Giuliano Zaro <gmagician@users.noreply.github.com>
2018-10-10 21:25:43 -05:00
Giuliano Zaro
d8d76cd2ba
[2.0.x] Italian language update ( #12060 )
2018-10-10 20:13:10 -05:00
Scott Lahteine
e8d2cf4fb5
EEPROM followup (tmc_stepper_current_t)
2018-10-10 17:25:45 -05:00
Scott Lahteine
50cbca4c55
Hide some menu items when busy
2018-10-10 17:18:33 -05:00
InsanityAutomation
3cb5517ddb
Make singlenozzle tool-change honor no_move ( #12056 )
...
...Set no move earlier so it applies
2018-10-10 16:49:59 -05:00
InsanityAutomation
d332fcb8fa
Fix firmware-retract compile errors ( #12061 )
2018-10-10 16:46:08 -05:00
Scott Lahteine
43940d59ed
Fix trailing spaces
2018-10-10 16:24:35 -05:00
InsanityAutomation
b2c1cd7eda
Allow cold change of active extruder ( #12055 )
...
Followup to #11994
2018-10-10 09:57:48 -05:00
Scott Lahteine
d556dc1865
Fix and improve EEPROM storage ( #12054 )
...
* Clean up Temperature PID
* Improve EEPROM read/write/validate
* Group `SINGLENOZZLE` saved settings
* Group planner saved settings
* Group filament change saved settings
* Group skew saved settings
* Group `FWRETRACT` saved settings
2018-10-10 09:45:20 -05:00
Scott Lahteine
9b5c1a5e77
Fix EEPROM checksum bug
...
Addressing #12048
2018-10-10 06:14:58 -05:00
Scott Lahteine
272d4a5167
Apply #pragma once
2018-10-10 02:57:01 -05:00
Scott Lahteine
07d33849b0
Fix unused var warning, apply ENABLED
2018-10-09 21:31:28 -05:00
Hannes Brandstätter-Müller
a3e8cb1e44
[2.0.x] Ender-4 small improvements in Configuration ( #11843 )
2018-10-09 20:58:22 -05:00
Scott Lahteine
cf5284cdf2
Add SD Firmware Update capability ( #12043 )
...
Co-Authored-By: timoxd7 <timoxd7@users.noreply.github.com>
2018-10-09 20:00:47 -05:00
Scott Lahteine
0bd54392b7
Use uint8_t in EEPROM code
2018-10-09 19:00:01 -05:00
Scott Lahteine
ce82015d5f
Fix include in G80
2018-10-09 17:24:56 -05:00
Marcio Teixeira
cef1de89d0
Fixed incorrect axis index. ( #12051 )
2018-10-09 16:59:34 -05:00
Marcio Teixeira
d6d48e63fb
Allow #defined TYPE arg to ultralcd menu macros ( #12041 )
...
Previously, it was not possible for the TYPE argument to ultralcd menu macros to itself be a #defined value. This made it difficult to create variables to set many related menu items to a common precision that could be easily changed.
2018-10-08 20:01:00 -05:00
Emilio Moretti
2ef7175b42
Update Ender-2 BED_MAXTEMP ( #12042 )
...
Also added details to the README to make sure the Ender-2 status is properly documented.
2018-10-08 19:57:44 -05:00
Scott Lahteine
5f6aabccbe
Tweak M48 spacing
2018-10-08 19:11:25 -05:00
Marcio Teixeira
ec9aa4f468
[2.0.x] Miscellaneous fixes ( #12039 )
...
* Allow override of soft SPI pins in `pins_*.h`
* Add default case to avoid compiler warning.
* Additional pin definitions for Archim 2.
* Einsy Retro has same timings as Einsy Rambo.
2018-10-08 18:14:52 -05:00
Marcio Teixeira
906a24fa81
Extensible user interface API ( #11193 )
2018-10-08 15:44:05 -05:00
InsanityAutomation
ee253991d4
Various fixups for single-nozzle filament swap ( #12036 )
2018-10-08 15:39:55 -05:00
Marcio Teixeira
8dbb305e8e
Fix "Missing separator" errors. ( #12035 )
...
- Makefiles require tabs (not spaces) before shell commands.
- Other indentation can either be space or tabs.
2018-10-08 14:28:52 -05:00
Scott Lahteine
55e810d512
Fix G80 compilation
2018-10-08 13:11:36 -05:00
Scott Lahteine
d5017e2788
Add status screen with 4 nozzles
2018-10-08 01:27:21 -05:00
Scott Lahteine
7db0113b53
Improve E_AXIS_N macro
2018-10-07 18:22:05 -05:00
Nils Hasenbanck
191df5e17d
Correct PWM_PIN behavior for STM32 HALs ( #12027 )
2018-10-07 17:08:01 -05:00
Sam Lane
f2ecf8d510
Add option to control Solenoids under PARKING_EXTRUDER ( #12028 )
2018-10-07 17:07:12 -05:00
InsanityAutomation
74cd6cb4fc
Single nozzle filament change ( #11994 )
2018-10-07 17:06:14 -05:00
Scott Lahteine
bfcf570d68
Try ISR_ALIASOF for Endstop Interrupts
2018-10-07 17:05:32 -05:00
Giuliano Zaro
c0d9058e25
Shorten an Italian menu title ( #12034 )
...
…and change a multi-use "back" menu item.
2018-10-07 16:43:48 -05:00
teemuatlut
dffb4c63dc
[2.0.x] TMC2660 followup ( #12029 )
...
* Don't react to s2g on TMC2660. False positives
* Init with sensorless probing as well
2018-10-07 15:37:44 -05:00
Scott Lahteine
d6b0fbd771
Use uint8_t for all fan speeds ( #12032 )
2018-10-07 15:34:41 -05:00
Scott Lahteine
cb7844c8d4
Save PROGMEM on serial prefixes ( #12033 )
...
With default config and `EEPROM_SETTINGS`, saves over 200 bytes of PROGMEM.
2018-10-07 15:32:15 -05:00
Scott Lahteine
07db08e39d
Fix EXTRUDER_AUTO_FAN_SPEED comment
2018-10-06 19:51:17 -05:00
Scott Lahteine
ca0e308105
Fix up some units comments
2018-10-06 19:45:50 -05:00
Scott Lahteine
65b8f3821b
Suppress temperature.h compile warning
2018-10-06 19:29:41 -05:00
teemuatlut
c447d75916
Add support for TMC2660 ( #11998 )
2018-10-06 17:18:10 -05:00
Scott Lahteine
cf0b9eb37c
no need to use destination in do_pause_e_move
2018-10-06 16:43:21 -05:00
Scott Lahteine
e8d677620c
Use NUM_SERVOS in EEPROM code
...
Fix #12015
2018-10-06 15:11:32 -05:00
Scott Lahteine
0fcdfdeed6
Followup to #12017
2018-10-06 13:23:58 -05:00
Phr3d13
acac2adfc8
Add support for MeCreator2 ( #12017 )
2018-10-06 12:26:49 -05:00
Thomas Moore
49823a4939
Fix broken jerk handling ( #12019 )
...
Fix #12004
2018-10-06 12:02:50 -05:00
Scott Lahteine
52a37913c1
Extend and apply some corrections
2018-10-06 00:27:21 -05:00
Scott Lahteine
77b9a41f1f
Add G-code extensions to example configs
2018-10-06 00:15:35 -05:00
thesfreader
e09c144674
Add CNC-like G-code options
2018-10-06 00:15:27 -05:00
Scott Lahteine
33056046a3
STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM ( #12016 )
2018-10-06 00:14:12 -05:00
Scott Lahteine
d5141c4e03
Fix up leading/trailing whitespace
2018-10-05 18:19:59 -05:00
Marcio Teixeira
03fc4d31d0
Makefile support for 32-bit Archim board and new TMC library ( #11997 )
...
* Support new TMC library and 32-bit Archim board
- Added IS_MCU flag
- When IS_MCU flag is 1, AVR compiler will be used
- When IS_MCU flag is 0, ARM compiler will be used
- Added support for new TMC library
- Added support for a 32-bit Archim board, which could probably be used as a basis for other 32-bit boards.
2018-10-05 16:06:11 -05:00
Scott Lahteine
65b36642f8
Fix Anycubic Kossel config
2018-10-04 20:27:05 -05:00
Scott Lahteine
fc326b3dde
Add USB_FLASH_DRIVE_SUPPORT to examples
...
Co-Authored-By: marcio-ao <marcio@alephobjects.com>
2018-10-04 19:54:12 -05:00
Marcio Teixeira
2067619a26
Add USB_FLASH_DRIVE_SUPPORT
2018-10-04 19:54:12 -05:00
Giuliano Zaro
07fe8d28be
[2.0.x] Partial Italian revert ( #12008 )
...
- Use a comma for decimals just in one message has not been a good idea.
- Full comments translation
2018-10-04 14:38:54 -05:00
Scott Lahteine
517b4f4cd4
Fix lightweight UI hotends display
2018-10-04 14:37:24 -05:00
Giuliano Zaro
72a750e0eb
[2.0.x] Update Italian language ( #11996 )
2018-10-04 03:03:47 -05:00
Scott Lahteine
bb561baf9e
Tweak some config comments
2018-10-04 02:42:12 -05:00
Nils Hasenbanck
fcf6d127fd
STM32 timer simplification ( #11995 )
...
Prescalers aren't calculated for the given target frequency.
Stepper timer should run at 2 Mhz and temperature timer at 72 Khz.
2018-10-03 22:33:24 -05:00
Scott Lahteine
8daadd2c8c
Fix TMC_DEBUG undefined report_tmc_status ( #11993 )
2018-10-03 11:56:49 -05:00
Scott Lahteine
c40ea1f0fd
Update EEPROM_VERSION
...
And set EEPROM_OFFSET to 0, since the historical 100 skipped bytes are never used.
2018-10-03 11:34:34 -05:00
Scott Lahteine
1358bd9319
Make MAX_EXTRUDERS always 6
2018-10-03 11:32:19 -05:00
AnoNymous
001f26b642
Template struct simplification for serial ( #11990 )
2018-10-03 11:01:21 -05:00
Scott Lahteine
348004c34f
STM32F7 HAL using the official STM32 Arduino Core ( #11750 )
2018-10-03 03:26:07 -05:00
Scott Lahteine
3e58b3a5d4
Followup to #11943
2018-10-03 02:55:10 -05:00
teemuatlut
c3229e1b34
Migrate to a new TMC library ( #11943 )
2018-10-03 02:48:49 -05:00
brian park
2abf3d258d
Korean language translation support ( #11987 )
2018-10-03 01:53:34 -05:00
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes ( #11988 )
2018-10-03 00:47:27 -05:00
Eduardo José Tagle
f6f2246f59
Templatized serial classes ( #11982 )
2018-10-02 22:15:30 -05:00
Scott Lahteine
ee53f7d813
Revert header reorg.
2018-10-02 22:09:41 -05:00
Scott Lahteine
d619ba2685
Tweak STM32F4 config
2018-10-02 22:03:00 -05:00
LineF
d777cef837
fixed minimum macro ( #11986 )
2018-10-02 21:35:34 -05:00
Scott Lahteine
e3f7b69105
Add PROBING_STEPPERS_OFF ( #11984 )
...
Co-Authored-By: houseofbugs <houseofbugs@gmail.com>
2018-10-02 05:13:58 -05:00
Scott Lahteine
0e5bcdf695
Make DISABLE_INACTIVE_EXTRUDER a simple switch
2018-10-02 04:57:03 -05:00
Scott Lahteine
0dedb3e139
Reorganize some core headers ( #11983 )
2018-10-02 04:25:46 -05:00
Thomas Moore
ab4549d2bc
[2.0.x] Add simultaneous retraction for mixing extruder ( #11941 )
2018-10-01 23:32:02 -05:00
Scott Lahteine
c75f5a376b
Tweak some comments
2018-10-01 18:34:14 -05:00
Scott Lahteine
f4c625d3a1
Ensure MIN/MAX overrides
2018-10-01 05:32:55 -05:00
Scott Lahteine
3019713402
Reorganize some enums
2018-10-01 05:32:55 -05:00
Scott Lahteine
606a4362b3
Reduce STM32F4 compile warnings
2018-10-01 04:41:17 -05:00
Scott Lahteine
b3154b2120
Apply MOVE_Z_WHEN_IDLE to example configurations
...
Co-Authored-By: dot-bob <gibben@gmail.com>
2018-10-01 01:41:11 -05:00
dot-bob
b0fd8f2d74
Add option to move Z on double-click when idle
2018-10-01 01:41:11 -05:00
Scott Lahteine
389376c40e
Clean up softspi.h
2018-10-01 01:29:48 -05:00
Scott Lahteine
e78bdd654d
Clean up BABYSTEP options
2018-10-01 01:29:21 -05:00
InsanityAutomation
8ae113ff36
Show zprobe_zoffset when BABYSTEP_HOTEND_Z_OFFSET is disabled ( #11973 )
2018-10-01 00:30:10 -05:00
InsanityAutomation
2e98437392
Clean up main menu ( #11972 )
2018-10-01 00:15:06 -05:00
InsanityAutomation
6d862b2916
Home before level corners, if needed ( #11976 )
...
…and add a consistent homing screen for all LCD pre-homing.
2018-10-01 00:14:28 -05:00
Scott Lahteine
11ac75edcb
Use PGM_P for PSTR pointers ( #11977 )
2018-09-30 23:44:33 -05:00
InsanityAutomation
4d5566a6b7
Add filament runout sensor menu item ( #11971 )
2018-09-30 21:33:46 -05:00
Scott Lahteine
8489673cea
Adjust some HAL formatting
2018-09-30 21:24:37 -05:00
Scott Lahteine
fb8a07660a
Followup to minmax patch
...
Co-Authored-By: Palatis <palatis@gmail.com>
2018-09-30 21:17:31 -05:00
Scott Lahteine
3c40933713
Remove trailing spaces, old comment
2018-09-30 20:47:06 -05:00
Hannes Brandstätter-Müller
a3ec805c97
Anycubic Kossel Linear+: corrected DELTA_DIAGONAL_ROD ( #11964 )
2018-09-30 05:41:26 -05:00
AnoNymous
b30ca652ae
Replace MIN# / MAX# with variadic MIN / MAX ( #11960 )
2018-09-30 04:59:14 -05:00
Scott Lahteine
e10f730478
Tweak vector_3::apply_rotation
2018-09-30 01:51:33 -05:00
Scott Lahteine
e2ab78d876
Fix SERIAL_PORT_2 sanity check
2018-09-30 00:24:10 -05:00
AnoNymous
a644d8cb93
Avoid copies in vector and matrix ( #11959 )
2018-09-29 23:04:40 -05:00
Scott Lahteine
693865a649
Fix some whitespace
2018-09-29 22:36:36 -05:00
Scott Lahteine
9903305dda
Merge pull request #9582 from tcm0116/2.0.x-sensorless_probing
...
[2.0.x] Add TMC2130 sensorless probing
2018-09-29 21:02:22 -05:00
Scott Lahteine
14df753086
Correction for block->mix_steps
...
Fix #11484
2018-09-29 19:13:17 -05:00
Alexander Amelkin
2ecfda80ac
Improve support for JTAG/SWD pins reuse ( #11963 )
...
STM32 can reuse JTAG and SWD pins separately. Add `DISABLE_DEBUG` option to disable both interfaces and retain `DISABLE_JTAG` to disable JTAG only.
2018-09-29 19:00:49 -05:00
Scott Lahteine
bb47009656
Apply sensorless changes to example configs
2018-09-29 18:54:14 -05:00
Thomas Moore
3286325044
Add TMC2130 sensorless probing
2018-09-29 18:54:14 -05:00
Scott Lahteine
7d5c336c56
Corrections for dylsexic TMC
2018-09-29 18:51:11 -05:00
Scott Lahteine
d89d8fe852
Fix Busy State in temperature.cpp
...
Fix #11954
2018-09-29 17:03:35 -05:00
Giuliano Zaro
70e7a465d8
[2.0.x] Fix compile error ( #11951 )
...
Fix compile error intruduced with M109 modification
2018-09-29 13:48:23 -05:00
Hannes Brandstätter-Müller
935b120949
Anycubic Kossel: probe closer to the edge ( #11950 )
2018-09-29 02:26:16 -05:00
Scott Lahteine
1410e79e7f
Ensure M109 handles autotemp
2018-09-29 02:12:06 -05:00
Scott Lahteine
e4389f7d23
Standard methods to wait for heating ( #11949 )
2018-09-29 01:44:47 -05:00
Scott Lahteine
bdc9889d3a
Fix a sanity check
2018-09-29 00:24:25 -05:00
Scott Lahteine
321f9140d1
Followup to #11904
2018-09-28 20:04:40 -05:00
InsanityAutomation
23114aeb81
Fix garbled M119 output. Honor NUM_RUNOUT_SENSORS ( #11948 )
2018-09-28 19:00:11 -05:00
Scott Lahteine
1667ed9d1c
Pause should use ECHOLNPGM
2018-09-28 18:15:38 -05:00
Victor Tseng
93839e2f73
Add option to enable/disable autoretract altogether ( #11904 )
2018-09-28 16:52:56 -05:00
Scott Lahteine
ad21a4f07b
Tweaks to HAL format and order
2018-09-28 15:59:50 -05:00
Scott Lahteine
b682a1961a
Tweak STM32F7 TMC2660 class
2018-09-27 21:13:15 -05:00
Scott Lahteine
a0a3b23e35
Reduce Raptor bootscreen by 144 bytes
2018-09-27 18:24:40 -05:00
InsanityAutomation
95d793456b
Add Formbot Raptor config, fix other Formbot configs ( #11926 )
2018-09-27 19:20:43 -04:00
Mitch Roote
d016b572e3
[2.0.x] Add pin configuration for Fysetc F6 ( #11932 )
2018-09-27 19:20:19 -04:00
Alexander Amelkin
84926b1d5a
HAL general support for DISABLE_JTAG option ( #11211 )
...
Some STM32-based boards may use multiplexed JTAG pins as IO. Up to now the `DISABLE_JTAG` option (defined in pins files) was only supported for AT90-based boards. This commit generalizes the code and adds support for boards based on STM32F1 and STM32F4.
2018-09-27 19:02:50 -04:00
Scott Lahteine
c575c5d5f6
Bring example configs up to date ( #11939 )
2018-09-27 18:47:26 -04:00
Scott Lahteine
6b1a4f30a8
Fix case of T-Rex 3 _Statusscreen.h
2018-09-27 17:00:55 -05:00
Scott Lahteine
ab7bfa86e2
Fix case of T-Rex-3 _Statusscreen.h
2018-09-27 17:00:55 -05:00
Scott Lahteine
241168926d
Update some configs
2018-09-27 16:42:59 -05:00
Scott Lahteine
cb6454118c
Workaround for Pronterface M29
2018-09-27 16:27:02 -05:00
Victor Tseng
eeab4141db
[2.0.x] Anycubic Trigorilla 14 pins tweak ( #11869 )
2018-09-27 16:06:21 -04:00
InsanityAutomation
cb9dc56630
Add GT2560 v3 support ( #11914 )
2018-09-27 15:13:15 -04:00
InsanityAutomation
f2e630a05e
Stow probe on probing failed ( #11936 )
...
Prevents probe from being left down should probing fail and print job continue
2018-09-27 13:26:14 -04:00
Hannes Brandstätter-Müller
0b602ae101
[2.0.x] Fix Anycubic Kossel with Probe V1, stuck LCD message after stow ( #11929 )
2018-09-27 13:23:53 -04:00
Giuliano Zaro
dc11131656
[2.0.x] fix possible race condition ( #11923 )
...
Fix some commits done in #11900
2018-09-25 13:56:57 -04:00
Scott Lahteine
d6b9327c11
Followup for Endstop Noise Threshold
...
Followup to #11912
2018-09-25 13:50:49 -04:00
Scott Lahteine
aa6e8e9325
Tweak some config comments
2018-09-25 13:42:28 -04:00
Scott Lahteine
5490a664f5
Expose: Homing Validation and Endstop Noise Threshold ( #11912 )
2018-09-24 21:59:12 -04:00