Chris Pepper
aa51a02b8f
LPC1768: fix serial buffer underrun ( #7854 )
...
When the buffer is empty index_write == index_read, but they needed constrained by buffer_mask
2017-10-05 17:19:43 -05:00
Chris Pepper
46b2773e13
General fixes for LPC1768 ( #7834 )
...
* fixed some include paths
* LPC1768: Fix Serial API
Add missing serial methods used if TX_BUFFER_SIZE is set
Change return value of HalSerial:read to match Arduino API
* LPC1768: add filters to ADC
This is to try and compensate for hardware issue and oversensitivity to noise
* LPC1768: remove the polling section of delayMicroseconds
* LPC1768: lock usb mass storage device while device accesses it.
Currently only applicable to persistent store,
The device always has priority and will unmount the sd card from the host, Windows then tries to automount again so it can look like the explorer window freezes. Linux Mint, by default, just closes the Nemo window.
* Add timeout to make sure if Serial never connects that Marlin still boots
* Remove unneeded ifdef CPU_32_BIT
In general the need for ifdef CPU_32_BIT blocks means that something is missing from the HAL API or a Platform, in this case HAL_TICKS_PER_US was missing from the AVR Platform
* LPC1768: relocate RE-ARM debug_extra_script.py
2017-10-04 15:40:54 -05:00
Scott Lahteine
7258218f89
Fix xon_xoff_state initialization
2017-10-04 12:11:56 -05:00
Scott Lahteine
bf596fb039
Merge pull request #7818 from thinkyhead/bf2_xon_xoff
...
[2.0.x] Add XON/XOFF serial handshaking
2017-10-02 23:52:30 -05:00
Scott Lahteine
ca3c9baf1b
Fix DUAL_X_CARRIAGE manual moves, add T0/T1 menu item
2017-10-02 23:35:55 -05:00
Scott Lahteine
a8b8d4e85e
Add a typedef for MENU_ITEM(function,…) functions
2017-10-02 23:33:57 -05:00
Scott Lahteine
6ea2cc0293
Make prepare_move_to_destination_dualx a proper move function
2017-10-02 23:32:28 -05:00
Scott Lahteine
e472a7569b
Remove extra auto_current_control call
2017-10-02 23:32:05 -05:00
Scott Lahteine
508d764d63
Add serial XON/XOFF handshaking
...
From @ejtagle, originally #7459
2017-10-02 04:12:30 -05:00
Scott Lahteine
af15383578
Add XON/XOFF options to example configs
2017-10-02 04:05:49 -05:00
Scott Lahteine
33c4d45f2f
Merge pull request #7812 from thinkyhead/bf2_fix_resume_print
...
[2.0.x] Fix broken M600 resume_print
2017-10-01 22:55:28 -05:00
Scott Lahteine
a03e70d46c
Fix M600 resume_print
...
Derived from #7811 and #7779
2017-10-01 21:59:42 -05:00
Scott Lahteine
2d41c59320
Tweak some spacing
2017-10-01 21:59:42 -05:00
Scott Lahteine
5ae390e240
Apply NO_MOTION_BEFORE_HOMING to examples
2017-10-01 21:58:50 -05:00
Scott Lahteine
90af1fe5ee
Implement NO_MOTION_BEFORE_HOMING option
2017-10-01 21:58:50 -05:00
Scott Lahteine
965b0ab53e
Spacing adjustments
2017-10-01 21:58:50 -05:00
Scott Lahteine
ac41eb5871
Merge pull request #7722 from tcm0116/2.0.x-warnings
...
Cleanup 2.0.x compiler warnings
2017-10-01 21:56:54 -05:00
Thomas Moore
ae2173cd52
Synchronize retractions
2017-09-30 17:28:46 -05:00
Thomas Moore
0cb00f52d9
Cleanup warnings
2017-09-30 16:47:17 -05:00
Bob-the-Kuhn
1beaef0452
fix 3S hang & enable SPLIT
2017-09-30 10:27:41 -05:00
Thomas Moore
020ce176c4
Fix Servo class compile errors
2017-09-29 08:17:30 -05:00
Bob-the-Kuhn
62054af6eb
2.0 compile issues
2017-09-28 10:16:25 -05:00
Christopher Pepper
bea3ec2724
M355 S0, S1 fixes & faster LCD, SD card
...
fix Travis error
2017-09-27 19:26:00 -05:00
Scott Lahteine
8c622a59cf
Merge pull request #7774 from thinkyhead/bf2_lcd_leveling_status
...
[2.0.x] Show leveling status on character LCD
2017-09-27 13:10:25 -05:00
Scott Lahteine
56c05a7015
Show leveling status on character LCD
2017-09-27 12:21:15 -05:00
Scott Lahteine
2ee4eef25c
Merge pull request #7748 from GMagician/Addressing-#7730
...
[bugfix-2.0.x] Fix compiler error (issue #7730 )
2017-09-27 12:06:55 -05:00
Scott Lahteine
ffed785656
Merge pull request #7768 from thinkyhead/bf2_HAL_STM32F1
...
[2.0.x] HAL for STM32F1
2017-09-27 11:52:34 -05:00
Scott Lahteine
604b804125
Add confirmation step to Init EEPROM
2017-09-27 11:31:38 -05:00
Tannoo
c869dc9745
User script return-to-status option
2017-09-27 11:31:38 -05:00
victorpv
e9acb63290
STM32F1 HAL
...
Adding files for STM32F1 HAL based on libmaple/stm32duino core.
Current persistent_store uses cardreader changes to be sent in separate
commit, but could be changed to use i2c eeprom.
2017-09-27 11:20:10 -05:00
Scott Lahteine
c2b1d51f16
HAL whitespace and style cleanup
2017-09-27 10:55:36 -05:00
Scott Lahteine
c272f2c84e
Cleanup pins spacing
2017-09-27 10:55:36 -05:00
Scott Lahteine
dff2904c0f
Marlin code whitespace cleanup
2017-09-27 10:55:36 -05:00
Scott Lahteine
599f2ad983
Define pin accessors more like <Arduino.h>
2017-09-27 10:41:27 -05:00
Scott Lahteine
358656acc3
Tweak HAL_adc_start_conversion
2017-09-27 10:41:27 -05:00
Scott Lahteine
0cb4d25431
Tweaks to Servo classes
2017-09-27 10:41:27 -05:00
Phr3d13
10c1b442ca
Fixes for Anet10 and gt2560
...
Fixes for 2 "... not declared in this scope" compiler errors.
2017-09-27 07:34:02 -05:00
Phr3d13
5a3a53379f
Update pins for GT2560_Rev_A_Plus
...
For PR #7738
2017-09-27 06:34:51 -05:00
Scott Lahteine
fdf1b8a7b8
Fix sanity check for LCD_FOR_MELZI
...
Comes from #7760
2017-09-27 03:04:19 -05:00
Scott Lahteine
b93a55e15f
Fix ST7920_DELAY_2 potentially being unset
...
Comes from #7760
2017-09-27 03:04:01 -05:00
Scott Lahteine
ce1638e32f
Add Babystep Z graphic overlay
...
See PR #7593
2017-09-27 01:25:05 -05:00
Scott Lahteine
49c693c85b
Tweak to serial macros
2017-09-27 01:25:05 -05:00
Scott Lahteine
46709ed7e0
More featureful CR-10 configurations
...
See #7725
2017-09-27 01:25:05 -05:00
Scott Lahteine
2b112143fa
Update Sanguinololu config version
2017-09-27 00:48:59 -05:00
Scott Lahteine
7cd5eb6d42
Update LEVEL_BED_CORNERS config option
2017-09-27 00:48:59 -05:00
Scott Lahteine
981a610f75
Disable BABYSTEP_XY, add to SDSORT comment
2017-09-27 00:48:59 -05:00
Scott Lahteine
4c5be9bb05
Fix a PARKING_EXTRUDER comment
2017-09-27 00:48:58 -05:00
Scott Lahteine
494b0eba2d
Config spacing fix
2017-09-27 00:48:47 -05:00
Scott Lahteine
2281154025
Increase BABYSTEP_MULTIPLICATOR to 100
2017-09-27 00:48:46 -05:00
Scott Lahteine
92dbf5f148
Fix babystep edit label, allowing translation
2017-09-26 23:43:05 -05:00
Scott Lahteine
37eb6d1732
Babystepping code tweak
2017-09-26 23:43:05 -05:00
Scott Lahteine
7a29f802d0
Fix ENCODER_PULSES_PER_STEP for G3D_PANEL
2017-09-26 23:43:05 -05:00
Scott Lahteine
5972251b17
No need for unused LCD_PINS_Dn
2017-09-26 23:27:53 -05:00
GMagician
c508e9adec
Fix compiler error
...
Added missing include file,
called 'leveling_is_active()' with no prototipe defined.
2017-09-25 23:18:26 +02:00
Scott Lahteine
c4e4a0688c
Fix bug in SD Autostart
...
As pointed out by @marcio-ao in #7638
2017-09-24 17:53:39 -05:00
Scott Lahteine
6d5fcac54a
G33 changes from 1.1.x
2017-09-24 14:16:23 -05:00
Dave Johnson
f58ba3a64e
Improve AVR arch detection
...
Replace ARDUINO_ARCH_AVR with __AVR__ to better detect architecture for non-Arduino dev environments. Resolves compile failure in PIO for 8-bit Teensduino targets
More info:
https://forum.pjrc.com/threads/33234-Using-Teensyduino-Selecting-Teensy-3-2-3-1-board-has-incorrect-platform-define
http://www.atmel.com/webdoc/avrlibcreferencemanual/using_tools_1using_avr_gcc_mach_opt.html
2017-09-23 21:36:40 -07:00
Scott Lahteine
71d63fcafb
Apply LCD changes from 1.1.x
...
Changes from #7720
2017-09-23 21:50:44 -05:00
Scott Lahteine
1587962547
Combine G-code files into fewer units
...
Addressing #7707
2017-09-23 18:12:04 -05:00
Scott Lahteine
bfd1e75c04
Patch for caselight + lcd compile issues
2017-09-23 18:12:04 -05:00
Scott Lahteine
ff1f211eb4
Merge pull request #7695 from tcm0116/move_framework
...
Move LPC1768 framework out of Marlin source folder
2017-09-23 17:12:48 -05:00
Thomas Moore
ddbd4b73e0
Move LPC1768 framework out of Marlin source folder
2017-09-23 16:59:31 -05:00
GMagician
00b1b33816
Fix compiler warning
2017-09-23 15:31:51 +02:00
Scott Lahteine
f37ed314e0
Friendly layout for Arduino IDE
2017-09-21 16:27:13 -05:00
Scott Lahteine
06a02dd200
Workaround for SCK/MOSI pins on VIKI
2017-09-21 16:27:12 -05:00
Scott Lahteine
f9ef446fb5
Clean up after refactor
2017-09-21 16:27:12 -05:00
Scott Lahteine
64dfb46461
Move z_endstop_adj to Endstops
2017-09-21 16:27:11 -05:00
Scott Lahteine
2e20c53c9d
Move endstop debug to Endstops
2017-09-21 16:27:11 -05:00
Scott Lahteine
a10451ceed
Move Volumetric methods to Planner
2017-09-21 16:27:11 -05:00
Scott Lahteine
6f92ab7eed
Move Controller Fan to feature
2017-09-21 16:27:11 -05:00
Scott Lahteine
07cf75883f
Move T (tool change) to cpp
2017-09-21 16:27:10 -05:00
Scott Lahteine
927524af6b
Move M999 to cpp
2017-09-21 16:27:10 -05:00
Scott Lahteine
1a37ebc76d
Move M163-M165 MIXING_EXTRUDER to cpp
2017-09-21 16:27:10 -05:00
Scott Lahteine
8ca0b2fd68
Move M355 caselight to cpp
2017-09-21 16:27:09 -05:00
Scott Lahteine
59608086e6
Move M350_M351 to cpp
2017-09-21 16:27:09 -05:00
Scott Lahteine
6e0503eab2
Move M907-M910 to cpp
2017-09-21 16:27:09 -05:00
Scott Lahteine
2e89685154
Move TMC2130 g-codes to cpp
2017-09-21 16:27:09 -05:00
Scott Lahteine
19dde5be03
Move M900 to cpp
2017-09-21 16:27:08 -05:00
Scott Lahteine
1b0acbff72
Move M605 to cpp
2017-09-21 16:27:08 -05:00
Scott Lahteine
75cf17d816
Move M702 MK2_MULTIPLEXER to cpp
2017-09-21 16:27:08 -05:00
Scott Lahteine
7ba2ab4fb3
Move M540 to cpp
2017-09-21 16:27:07 -05:00
Scott Lahteine
a90c7dbf64
Move M500-M503 to cpp
2017-09-21 16:27:07 -05:00
Scott Lahteine
aab5489962
Move M428 to cpp
2017-09-21 16:27:07 -05:00
Scott Lahteine
1fe25271e4
Move M401_M402 to cpp
2017-09-21 16:27:07 -05:00
Scott Lahteine
0589884d26
Move M400 to cpp
2017-09-21 16:27:06 -05:00
Scott Lahteine
4a220a8b79
Move M380_M381 to cpp, solenoid feature
2017-09-21 16:27:06 -05:00
Scott Lahteine
9be8cb0ac9
Move M360-M364 to cpp
2017-09-21 16:27:06 -05:00
Scott Lahteine
828405cac8
Move M302 to cpp
2017-09-21 16:27:06 -05:00
Scott Lahteine
8584f7e390
Move M250 to cpp
2017-09-21 16:27:05 -05:00
Scott Lahteine
ebb9bd5419
Move M240 to cpp
2017-09-21 16:27:05 -05:00
Scott Lahteine
d4aaa0f1c8
Move M304 to cpp
2017-09-21 16:27:05 -05:00
Scott Lahteine
609c4eea32
Move M301 to cpp
2017-09-21 16:27:04 -05:00
Scott Lahteine
4f14849675
Move M300 to cpp
2017-09-21 16:27:04 -05:00
Scott Lahteine
6ed5252884
Move M280 to cpp
2017-09-21 16:27:04 -05:00
Scott Lahteine
d4d3d92f8a
Move M260_M261 to cpp
2017-09-21 16:27:04 -05:00
Scott Lahteine
3e761696a0
Move M226 to cpp
2017-09-21 16:27:03 -05:00
Scott Lahteine
0e319104c2
Move M220 to cpp
2017-09-21 16:27:03 -05:00
Scott Lahteine
234de3547c
Move M211 to cpp
2017-09-21 16:27:03 -05:00
Scott Lahteine
6c7bad8bc3
Move M666 to cpp
2017-09-21 16:27:03 -05:00
Scott Lahteine
f5877aa93e
Move M665 to cpp
2017-09-21 16:27:02 -05:00