Commit graph

9376 commits

Author SHA1 Message Date
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