7136 Commits (17dddda02455da693eae0552f8da8d7d5db4e0c3)

Author SHA1 Message Date
Scott Lahteine 5b3e49babd Move M108, M112, M410 to cpp 7 years ago
Scott Lahteine df0432c7c8 Move M155 to cpp, auto-report to Temperature 7 years ago
Scott Lahteine df031ab100 Move M106_M107 to cpp 7 years ago
Scott Lahteine 99c4b9050a Move M105 to cpp 7 years ago
Scott Lahteine a41130f854 Temp stat LEDs 7 years ago
Scott Lahteine 2c1eda9e00 Move M75-M78 to cpp 7 years ago
Scott Lahteine fc52fc72ac Move M48 to cpp 7 years ago
Scott Lahteine be8d913484 Move M43 to cpp 7 years ago
Scott Lahteine 10fab24e50 Move M42 to cpp 7 years ago
Scott Lahteine 69b664b6fe Move M31 to cpp 7 years ago
Scott Lahteine a442c34a1a Move SD commands to cpp 7 years ago
Scott Lahteine be0e4a4ad0 Consolidate pause, apply to M125, M600, M24 7 years ago
Scott Lahteine adca4a9b79 Move M17 to cpp 7 years ago
Scott Lahteine 33e00b6cd6 Move M3-M5 to cpp 7 years ago
Scott Lahteine 04583d46af Move M0_M1 to cpp 7 years ago
Scott Lahteine 04376975ce Move G92 to cpp 7 years ago
Scott Lahteine 931aa79d85 Move G42 to cpp 7 years ago
Scott Lahteine 84ddae56a8 Move G38 to cpp 7 years ago
Scott Lahteine b8adae0785 Move G31_G32 to cpp 7 years ago
Scott Lahteine 9db5d21837 Move G30 to cpp 7 years ago
Scott Lahteine 13136376ee Move G27 to cpp 7 years ago
Scott Lahteine a1ee1628e5 Move G20_G21 to cpp 7 years ago
Scott Lahteine 9b4aa5ea8b Move G17-G19 to cpp 7 years ago
Scott Lahteine 94d9def81c Move G12 to cpp 7 years ago
Scott Lahteine 56f4a43535 Move G5 to cpp 7 years ago
Scott Lahteine 760f29a88e Move G4 to cpp 7 years ago
Scott Lahteine 4007cbfe9e Move G2_G3 to cpp 7 years ago
Scott Lahteine 27f7e3fe6f Hide problem pins in pin debug list 7 years ago
Scott Lahteine 9c21191f74 Rename SPI class to avoid conflict (good?) 7 years ago
Scott Lahteine 51f195e698 Move dwell to gcode 7 years ago
Scott Lahteine 4f1eadf41f FILAMENT_WIDTH_SENSOR feature 7 years ago
Scott Lahteine d5fe0fb02b Consolidate PrintCounter 7 years ago
Scott Lahteine 551752eac7 Consolidate "bedlevel" code 7 years ago
Scott Lahteine 71aefc2e22 Move heater output to Temperature class 7 years ago
Scott Lahteine 63228fc453 Move volumetric flag to GCodeParser 7 years ago
Scott Lahteine bf7af95db3 Move flow_percentage to Planner 7 years ago
Scott Lahteine 8dc2838d98 Move host keepalive to GcodeSuite 7 years ago
Scott Lahteine 8fbb833de9 Encapsulate RGB(W) LEDs 7 years ago
Scott Lahteine a98e9874db FWRETRACT as a feature 7 years ago
Scott Lahteine 722786966a Add gcode.cpp, motion.*, queue.* - Apply to some G-codes. 7 years ago
Scott Lahteine 4231faf779 Initial split-up of G-code handlers by category 7 years ago
Scott Lahteine e0a189a481 Consolidate Buzzer 7 years ago
Scott Lahteine bca67a5b79 Main controller updates 7 years ago
Scott Lahteine 142d8aae56 Move debugging to serial.* 7 years ago
Scott Lahteine a1e2b5da70 Fix LCD_PINS_Dn tests in pinsDebug_list.h 7 years ago
Scott Lahteine 038f82cc38 Fix L6470 init and options 7 years ago
Scott Lahteine 42e2dd9251 Build file updates 7 years ago
Scott Lahteine 614a86a380 SD file updates 7 years ago
Scott Lahteine 82fff87e16 Pins updates 7 years ago
Scott Lahteine 3d8a0ab4b2 Module updates 7 years ago
Scott Lahteine 0fcec02db5 LCD updates 7 years ago
Scott Lahteine 7dd0a46732 Language updates 7 years ago
Scott Lahteine 4a82e95c3e Feature file updates 7 years ago
Scott Lahteine d7ee81202f Libs updates 7 years ago
Scott Lahteine 34101224c4 Inc updates 7 years ago
Scott Lahteine f52a31a275 Core updates 7 years ago
Scott Lahteine 479652073b Config updates 7 years ago
Scott Lahteine 54326fb06a HAL updates 7 years ago
Scott Lahteine 7e42c7563c Move build files into place 7 years ago
Scott Lahteine b66d65f865 Move 'sd' files 7 years ago
Scott Lahteine 0b9a88d6ce Move 'pins' files 7 years ago
Scott Lahteine 2b3b7d5d7f Move 'thermistor' files 7 years ago
Scott Lahteine 0c9231fd04 Move 'module' files 7 years ago
Scott Lahteine efa578d6b0 Move 'libs' files 7 years ago
Scott Lahteine cc92e544a5 Move 'lcd' files 7 years ago
Scott Lahteine 5be07b5db2 Move 'inc' files 7 years ago
Scott Lahteine 9ea2ff950a Move 'gcode' files 7 years ago
Scott Lahteine 4e4d16c92e Move 'core' files 7 years ago
Scott Lahteine fa5f9c2aec Move 'feature' files 7 years ago
Scott Lahteine f536c4dccb Move configs 7 years ago
Scott Lahteine 48351fd6d5 Move root sources 7 years ago
Scott Lahteine 27cbb939b2 Clean up some HAL code 7 years ago
Christopher Pepper b29b66feda Temporary fix for odd stepper behaviour with servos 7 years ago
Christopher Pepper 8afe13b1a2 Fix compile issue when watchdog was disabled 7 years ago
Christopher Pepper b908e38d08 Add needed platform defined gaurds to compile with Arduino IDE
Also removed explicit platform HAL directory inclusion from platformio.ini to make sure these errors are caught by Travis in the future
7 years ago
Scott Lahteine a037ddbf7b Other spacing tweaks 7 years ago
Scott Lahteine 2af62a5d8d Apply spacing, const to some HAL code 7 years ago
kfazz fa9ff6be6e try to fix LIN_ADVANCE for 32bit 7 years ago
kfazz 18f97c4013 add HardwareSerial and SoftwareSerial for Re-ARM.
HardwareSerial has been tested on Uart0 (debug header) and Uart3 (i2c connector)
Software Serial has been tested to work bi-directionally at 9600 and 115200
using pins 6 and 63 on J5, and unidirectionally (write only) at 250000.
The code used to test was Teemuatlut's tmc2208 patch, and a few small changes to main used to echo recieved chars back to a host pc.
7 years ago
Bob-the-Kuhn 01fb45b4f8 hybrid PWM system
Uses PWM1 to directly control pins 4, 6 & 11 (servo 0, 1 & 3) and PWM1
generated interrupts to control other pins.

Interupt control of the servo pins had too much jitter so switched all
that we could to PWM1 direct control.  The PWM1 direct control pins have
less than 1 microsecond pulse width jitter while the interrupt
controlled ones can have 20+ microseconds of jitter.

Also added insurance to the servo code in the "disable servo after move"
section.
7 years ago
Tannoo 94dd39b3b7 LCD_UBL_memory_slot_corrections (#7516)
* LCD_UBL_memory_slot_corrections

Changed the memory slot edit function to work with the
`settings.calc_num_meshes()`

* Add a little more safety margin...

* More corrections

Error handling when the EEPROM is not available.
7 years ago
Roxy-3D 8587c4e1ec Minor corrections to 32-bit branch (#7514)
Mostly...  clean up some compile time warnings for the 20x4 LCD Display.
7 years ago
Bob-the-Kuhn 7342d5c07a ST7565 7 years ago
Bob-the-Kuhn 97444391e0 Servo & PWM support for LPC1768 (#7500) 7 years ago
Tannoo 859fa35287 Re-Arm bugfixes (#7495)
* UBL_correction

* RGB Map function
7 years ago
Bob-the-Kuhn d80877d570 Set pinMode with every digitalWrite (legacy compatibility) 7 years ago
Chris Pepper 9a950e3a5a Update the delay functions and change the default pinmap for character displays (#7434) 7 years ago
Scott Lahteine 105324b85b Match the license headers in other files 7 years ago
Bob-the-Kuhn 69704b93f2 ultralcd.cpp fix compile error - switch to int16_t 7 years ago
Chris Pepper 61c0a10efe Revert "SPI API platform implementation stubs" (#7416)
This reverts commit 2dfa6ca72a2e8d43caf4932ca0d35792f0638917.

Revert "Base HAL SPI Changes"

This reverts commit 2afc521b8b6a81b2281a038f1b99a69f4a008e64.

Revert "Initial HAL SPI API"

This reverts commit 58f7ffe09ab5bc034b6510f5204f8d342138abaa.
7 years ago
Chris Pepper a5cf3a190c bugfix-2.0.x critical fix (#7401)
* Fix mistake in gitignore file and add in missing core files.

The missing leading slash on "lib" meant all folders names lib in the directory tree are ignored, rather than just the top level PlatformIO lib folder

* Add LiquidCrystal Library and associated headers modified to compile.
7 years ago
Bob-the-Kuhn 76da81c1de minimize SD card reads when using SDCARD_SORT_ALPHA (Re-ARM board)
Because of the Re-ARM card's pinout there is only one SPI connected to
the RepRap Discount Full Graphic LCD display.  The LCD responds to ANY
SCK transitions no matter if it's enable is inactive.  The result is
garbage (usually bars) on the LCD display whenever there is SD card
activity.

This code minimizes this by only accessing the SD card when changing
directory levels if :
SDCARD_SORT_ALPHA is enabled
SDSORT_USES_RAM is true
SDSORT_CACHE_NAMES is true

The code changes result in file names being pulled from the ALPHA SORT
memory array rather than the SD card.

The code also gives the file count and file index functions their own
variables.  When they shared a common variable the index function
sometimes resulted in the file count being short by 1.

=======================================================================

cardreader.cpp & pins_RAMPS_RE_ARM.h changes

Added another condition to cardreader.cpp to enable getting file names
only from RAM.

pins_RAMPS_RE_ARM.h :
Added comments about the SD card accesses and the LCD display
Combined all versions into this one.
7 years ago
Bob-the-Kuhn 84a11cfedc HAL compatible pinsDebug & misc
Re-ARM has been tested.  AVR has not been tested.

1) moved all cpu specific items to files in the low level HAL directory
for that CPU (pinDebug_Re-ARM.h & pinsDebug_AVR_8_bit.h

2) added pinsDebug.h to the top level directory

3) modified HAL_pinsDebug.h to select the correct support file for the
selected CPU

4) Patched sanitycheck to stop throwing false errors.  A long term
solution will be done

5) misc changes & bug fixes
arduino.cpp - included macros.h to fix a missing definition
pinmap_re-arm.h - removed a duplicated line.
pinmapping.h - changed from "ENABLED" to "defined" to fix a compile
error

======================================================================

split SanityCheck up, improve pinsDebug system

======================================================================

switch to latest pins_RAMPS_RE_ARM.h
7 years ago
Christopher Pepper 32e759c928 SPI API platform implementation stubs 7 years ago
Christopher Pepper 4183a249b6 Moved CMSIS and other LPC1768 dependencies
Fixes Arduino IDE builds for 8-bit AVR,
misc: Adafruit NeoPixel currently incompatible with Teensy 3.5-6, blacklisted
7 years ago
Christopher Pepper b55295ad33 Post merge fix
Add macros.h to allow Enabled macro, also need to reference include files directly
7 years ago
Christopher Pepper c66d1ac651 Debug Pins Support 7 years ago
Christopher Pepper a31e32969f Base HAL SPI Changes 7 years ago
Christopher Pepper bcd050f33b Initial HAL SPI API 7 years ago
Christopher Pepper 44b0c186a6 HAL for Re:ARM (LPC1768) architecture 7 years ago
teemuatlut f3e562e46e HAL for 32-bit Teensy (3.5, 3.6) architecture 7 years ago
Christopher Pepper cfef925559 HAL for DUE architecture 7 years ago
Christopher Pepper 4b16fa3272 Implement HAL and apply macros across code-base
Implement AVR Platform
7 years ago
Scott Lahteine e4fcf460e7 Marlin bugfix-2.0.x Version/README 7 years ago
Scott Lahteine 367e1b54ba Merge pull request #7591 from thinkyhead/bf1_misc_patches
M111: no args reports current flags
7 years ago
Scott Lahteine 8a184a526a Marlin: Patch G33, allow M111 to give status 7 years ago
Scott Lahteine 353c23b16e Enforce BED_CENTER_AT_0_0 on Delta, SCARA 7 years ago
Scott Lahteine 898f48e331 CNC workspace planes for G5
According to LinuxCNC, G5 should throw an error if the current plane mode isn't XY.
7 years ago
Scott Lahteine 5851c2d36f MAX7219 followup (#7564)
* Add MAX7219_DEBUG to Travis CI testing

* Tweak config and use standard pin naming for MAX7219_DEBUG

* MAX7219: Apply coding standards, use macros, etc.

* Make code work...
7 years ago
Scott Lahteine 52073f21c5 Merge pull request #7556 from thinkyhead/bf1_slovak_language
Slovak UTF-8 translation
7 years ago
Scott Lahteine 321f98f867 Fix servo delay in Folgertech config 7 years ago
jneilliii 36771e9492 Fixes required for Creality CR-10 7 years ago
Roxy-3D 3f0b38ed5d Add Max7219 LED Matrix Debug Support (#7563)
* Add Max7219 LED Matrix Debug Support

The Max7219 8x8 LED Matrix's are very helpful for debugging new code.
And for that matter, just trying to maximize printer settings without
causing stuttering.

The displays are very inexpensive (under $2.00 with shipping) and
provide a lot of help when trying to debug complicated code.

* Try to keep Makefile up to date.
7 years ago
GMagician 0067bb2840 Addressing #7552
When M405 is used it changes 'volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM]' value. When M406 disables M405 it leaves the value unchanged.
This PR applies 'calculate_volumetric_multipliers' in M406 instead of resetting it to 1.0 because M200 may not be compatible with M405 hence I'm sure to restore anyway with correct value.
7 years ago
Scott Lahteine 2b12093589 Merge pull request #7532 from thinkyhead/bf1_fan_mux_vben
New feature: Part-Cooling Fan Multiplexer
7 years ago
Michal Holes 54d48130f3 Slovak UTF-8 translation
Slovak UTF-8 translation
7 years ago
Scott Lahteine 86c024ce98 Organize, document pins.h include lines 7 years ago
Scott Lahteine c7b07d20f2 Minor patches to pins files 7 years ago
Scott Lahteine 356af7dcb0 Tweak Sanguinololu-related pins files 7 years ago
Scott Lahteine 11a724d8fc Sanguinololu example configuration 7 years ago
Scott Lahteine e337df2e98 Miscellaneous tweaks to serial outputs, code cleanups 7 years ago
Vben c0409b85e7 New feature: Part-Cooling Fan Multiplexer 7 years ago
Scott Lahteine e82e9073d6 Merge pull request #7530 from GMagician/Code-reduction
Code reduction with some configurations
7 years ago
GMagician 6127154af3 Fix identation by tab
There was a tab instead of spaces
7 years ago
GMagician b94a1c6b9f Code reduction this some configurations
When switching noozle and extruder but these operations are done by the same servo in 'setup' function there is a unnecessary call
7 years ago
GMagician 405a2132f3 #7529 compile fix
I made an error in previous fix
7 years ago
GMagician 869d7f3703 #7504 missing part
#7504 integration has missed this part.
When more than 1 servo is used with bltouch it's impossible to predefine default servo delay for it.
In my original fix I completely removed this part but maybe this is a better compromise
7 years ago
Scott Lahteine 101ba70517 Merge pull request #7505 from thinkyhead/bf1_anet_1_pio
Add Anet 1.0 to Platformio.ini
7 years ago
Vben 4817b39d98 Added new feature for AutoParking Extruder (APE) 7 years ago
Scott Lahteine 6772e33ef6 Use [XY]_CENTER for error correction
Followup to #7512
7 years ago
Scott Lahteine 385f1bb9e5 Merge pull request #7504 from thinkyhead/bf1_servo_delays
Individual servo delays
7 years ago
Scott Lahteine 2a31c9f2ce Merge pull request #7515 from cdedwards/bugfix-1.1.x
Fix for G26 spam output
7 years ago
MTrab 5fa61c0ad3 Add Anet 1.0 to Platformio.ini
Added env:anet10 to platformio.ini for easy compile and upload to this board
7 years ago
Scott Lahteine b3f59ec945 Merge pull request #7519 from thinkyhead/bf1_cleanups_aug_16
Add "Level Corners" menu item
7 years ago
Tannoo b33739d493 UBL_Language_Update (#7520)
* UBL_Language_Update

Translatable strings

* Use slightly better wording...

* Use slightly better wording...
7 years ago
Scott Lahteine a1878cd1c0 Add "Level Corners" menu option 7 years ago
Scott Lahteine 0a18fb735e Use "PSU" label to fit on screen 7 years ago
Scott Lahteine 30887feae3 Tweak some formatting in ABL G29 7 years ago
Thomas Moore 257b693ab0 Advanced pause fixes (#7518)
* Disallow filament change while paused

* Use kinematic movemements in pause_print and resume_print
7 years ago
Tannoo ab2ac1af71 UBL_LCD_storage_corrections (#7517)
Correcting the storage selection.
Also EEPROM error handling on the LCD.
7 years ago
cdedwards f1843211e6 Fix for G26 spam output
while heating, G26 will continuously spam the heater states instead of printing it out every 5000ms.
7 years ago
Roxy-3D be5ca34215 Allow G29 to work correctly even if nozzle is off the mesh. (#7512)
* work around previous regressions...
7 years ago
Scott Lahteine 06541ec885 Merge pull request #7448 from thinkyhead/bf1_delta_fixes
Prevent damage if DELTA_HEIGHT is set badly
7 years ago
GMagician e9c72978c7 Implement SERVO_DELAY as array
This modify give SERVO_DELAY x servo basis
7 years ago
Scott Lahteine 96ae53cf41 Use MOVE_SERVO macro where possible 7 years ago
Scott Lahteine 3be9c19f12 Hold on move axis screens 7 years ago
Scott Lahteine 8fd58cd6dc Patch goto labels for consistency 7 years ago
Scott Lahteine 75e6f72c89 Fix hexadecimal number formatting 7 years ago
Scott Lahteine ac76101ec3 Eliminate goto in gcode_M48 7 years ago
Scott Lahteine 75e6ead5fd Eliminate goto in gcode_G33 7 years ago