210 Commits (a82be36d5dc62744216165849f34a617b661775f)

Author SHA1 Message Date
Lenbok 0e8242180d Chamber temperature monitoring and auto fan control.
This is an initial cut for feedback, updated for 2.0.x.

Chamber temperature is currently reported along with hot end and bed
temperatures to serial. The format is just like that used for hot end
and bed temperatures, but using 'C' prefix. As there is no heater,
target is always 0. Is this appropriate, is there a better way to report
chamber temperatures?

Chamber temperatures are not reported on the LCD in any way.

When auto chamber fan is enabled, it currently just uses the same
temperature threshold as the other auto controlled fans.

As the chamber temperature is not connected to any heater, it doesn't
undergo mintemp/maxtemp monitoring. This would need to change in the
future if chamber heating became a feature.
7 years ago
Bob-the-Kuhn ab715c70d1 TMC SPI sanity-check and pins debugging (#10324) 7 years ago
Marcio Teixeira 9356cf648f Added support for Einsy Retro
http://reprap.org/wiki/EinsyRetro
7 years ago
Scott Lahteine f68b4265a6 Fix a probe pin definition 7 years ago
Scott Lahteine 4a23069de9 Fix Ender 4 / CR-8 compilation
- Assign 243 (like EFB) as Ender-4/CR-8 board ID
- Add to `Makefile`
- Add to `pins.h`
7 years ago
Scott Lahteine a9f94f260a Some RADDS pin updates 7 years ago
Scott Lahteine d573a2cada Fix pins_RAMPS.h for 32-bit platforms
Followup to 436e5b7
7 years ago
Scott Lahteine a97624dd81 Allow pinsDebug "Analog in" long int 7 years ago
Scott Lahteine 436e5b7ea3 Apply spacing in pins files 7 years ago
Bob-the-Kuhn 7308ef7809 Add conditional, give DUE SPI a unique name, fix compiler warnings (#10168) 7 years ago
Scott Lahteine c6ff39cc14 Spacing cleanup 7 years ago
Scott Lahteine 9e9e29ddf8 Einsy: Regular endstops and BLTOUCH pins
Based on #10131
7 years ago
Scott Lahteine 6689884910 Easier override of ST7920 LCD timing 7 years ago
Scott Lahteine 374ea49be9 Revert marlinAnalogInputToDigitalPin 7 years ago
Scott Lahteine 18de11c1ea Followup to auto-assign of dual axis CS pins 7 years ago
Scott Lahteine dd19e74476 Cleanup trailing whitespace
@Bob-the-Kuhn — Please set your git options to remove trailing whitespace on commit.
7 years ago
Scott Lahteine d385b9aac7
Auto-assign CS pins for X2, Y2, Z2 (#10057)
Fixes #9211
7 years ago
Bob-the-Kuhn 0d8c15c01f restore PR 9661 files & V1 fix 7 years ago
Bob-the-Kuhn bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h" 7 years ago
Scott Lahteine 239902f861 Fix E2END and add EEPROM to Smart RAMPS
Reference #9983
7 years ago
Bob-the-Kuhn 914bb80bde removed SDSS init
added device & comm drivers for shared SPI LCDs

mistyped some updates in ultralcd_impl_DOGM.h

remove unwanted changes in onfiguration.h

still can't type

Update HAL_LCD_class_defines.h

include USB mass storage & misc
7 years ago
Scott Lahteine 6d7f4f84e2
Add board MKS_BASE_HEROIC (#9926)
Followup to #9008

- Don't define micro-stepping pins for boards that lack them.
- Allow setting of 128 microsteps with `M350`.
7 years ago
Ben Lye e2df286444 Update pinsDebug.h (#9874)
Fix display of analog input value.
7 years ago
Bob-the-Kuhn c1f4112bdc [2.0.x] Add 1284 support & misc. bug fixes (#9864) 7 years ago
Scott Lahteine c471389afb
Add Einsy Rambo pins (#9850) 7 years ago
Ben Lye 461cb22069 Fix Zonestar / ADC keypad with RAMPS. (#9840) 7 years ago
Scott Lahteine 0bc4c216ac Patch up pinsDebug pins 7 years ago
Scott Lahteine ae1a2ff16f Pins parity with 1.1.x 7 years ago
Scott Lahteine e0227f2110 Fix *_CS_PIN for RAMPS_FD
Fix #9778
7 years ago
Scott Lahteine 5f8b2c2ff0 More descriptive environment error message 7 years ago
Scott Lahteine 63bc6ade4f Fix pinsDebug compile error 7 years ago
Scott Lahteine eb182c08af
Merge pull request #9733 from thinkyhead/bf2_random_fixup_branch
[2.0.x] Drop HAL_timer_set_count
7 years ago
Kevin 03b48df7bb RADDS: Add EEPROM Size (#9737)
needed for UBL
7 years ago
Scott Lahteine 12c5fdfdb5 Fix CYCLES_PER_MICROSECOND conflict on STM32F1 7 years ago
Scott Lahteine aef9e036bf More overridable FIL_RUNOUT_PIN 7 years ago
Scott Lahteine a6563df705
Sync pinsDebug_list.h between 1.1.x and 2.0.x (#9693) 7 years ago
Scott Lahteine bab0e975c8
The ENDER can use BOARD_MELZI_CREALITY (#9692) 7 years ago
Scott Lahteine da7c51d820 Space out some pins lines 7 years ago
Bob-the-Kuhn e05673a379 [2.0.x] VIKI2 & RE_ARM changes (#9686)
* VIKI2 & RE_ARM changes

1. Remove `DISABLED(SDSUPPORT)` from ST7565 in `ultralcd_impl_DOGM.h`. These LCDs share pins with the SD card and can run at the SD card rates.

2. Add SDSS definition to `pins_RAMPS_RE_ARM.h`.  Apparently the SDSS definition in `pins.h` is being processed before the one in `spi_pins.h` which resulted in not being able to read the SD card.
7 years ago
Scott Lahteine ff90cb409e No space for E2 with ReARM+RAMPS
Addressing #9474
7 years ago
Scott Lahteine c49844df66 !ENABLED => DISABLED 7 years ago
Scott Lahteine 378867d894 Update PB Rev.F pins 7 years ago
Scott Lahteine 3e384b60ce
Malyan M200 fix E0_AUTO_FAN_PIN (#9580)
Fixes #8794
7 years ago
Scott Lahteine 38c7d53bf7 Repair some spacing 7 years ago
Scott Lahteine 4aff6c1c32 Tronxy X5S pins and configuration 7 years ago
Scott Lahteine 05aa75cecf Melzi boards use melzi pins 7 years ago
teemuatlut d3fdb44ad8 Update TMC section with SW SPI pins (#9554) 7 years ago
Scott Lahteine 3168f0e646
Merge pull request #9549 from thinkyhead/bf2_prevent_comments_resetting
[2.0.x] Prevent watchdog reset due to many comments
7 years ago
Scott Lahteine c0dd9ef9f2
Support for AnyCubic TriGorilla board (#9551) 7 years ago
Scott Lahteine b7053156fe Minor comment/condition cleanup 7 years ago
Thomas Moore 93af0365e8 [2.0.x] Add support for Cohesion3D ReMix and Mini (#9512)
* Add support for Cohesion3D ReMix and Mini
* Two separate pins files for pedantic reasons
7 years ago
Scott Lahteine 23240f7986 Fix sw serial pins for TMC2208
From #9518 by @melvinisken
7 years ago
Scott Lahteine aecf0c9bb9 Allow override of CS pins generally 7 years ago
Scott Lahteine 693843f1fa
Allow override of RAMPS CS Pins (#9472) 7 years ago
Alexey Shvetsov da3a0d619c Add Selena Compact board (#9407)
5-axis, high performance, powerful board with Smoothieware opensource firmware. Designed for 3D printer, Laser cutter or CNC mill. Five changed independent drivers on board. Two extruders 3d printer support.
7 years ago
Bob-the-Kuhn 21179f8300 Fix the "slow" version of the G-code parser 7 years ago
teemuatlut 5c69d45f5b [2.0.x] TMC2130 support for LPC platform (#9114) 7 years ago
Scott Lahteine 7a52dfad55
Merge pull request #9283 from thinkyhead/bf2_jgaurora_configs
[2.0.x] Add JGAurora A5 support
7 years ago
Chris Pepper f875f49caa [2.0.x] LPC1768: Fix: Serial pins disabled correctly when in use (#9193) 7 years ago
Scott Lahteine 582d073de1 Patch up digital microstepping and SPI CS pins 7 years ago
Bob-the-Kuhn a440522f84
Merge pull request #9284 from Bob-the-Kuhn/DUE-pins-debug
[2.0.x] PINS_DEBUGGING maintenance
7 years ago
Scott Lahteine 382a5e3318 Clean up trailing whitespace 7 years ago
Scott Lahteine 9de8c04945
Allow FIL_RUNOUT_PIN override on RAMPS-based boards 7 years ago
Scott Lahteine 303d792b9f
Merge pull request #9253 from tcm0116/2.0.x-mks_sbase
[2.0.x] Cleanup MKS-SBASE compile warnings
7 years ago
Bob-the-Kuhn 16eb966ee3 PINS_DEBUGGING cleanup for DUE 7 years ago
Thomas Moore 63fd23ab1c Cleanup MKS-SBASE compile warnings 7 years ago
GMagician c371bdc499 Expand RAMP case light possibilities
Pin 6 is only used by servos when 2 or more of them are used
7 years ago
Scott Lahteine f4e4c7a7c8
Merge pull request #9188 from thinkyhead/bf2_creality_ender
[2.0.x] Add Creality Ender config/board
7 years ago
Scott Lahteine 2038722c52 LARGE_FLASH obsolete 7 years ago
Scott Lahteine f887719a40 Creality Ender board support 7 years ago
Scott Lahteine 2c18faf3e4 General cleanups for HAL 7 years ago
Morten a0246c5c96 Add support for STM32F7 MCU 7 years ago
Scott Lahteine 1a3d2ad275
Merge pull request #9168 from marvin-sinister/rename-M100-2.0.x
[2.0.x] Rename M200 pins file to uppercase
7 years ago
Scott Lahteine 5f807e37c5 A second rename saves nine 7 years ago
Scott Lahteine 344ebc3bd2 Create and use pins_MELZI_MALYAN.h for Malyan M150 7 years ago
Marvin Sinister 50c55b25f7 Renamed to upercase 7 years ago
Scott Lahteine 1c41de16d4 Trailing whitespace clean 7 years ago
Scott Lahteine 048d8a0158 CheapTRONIC v2.0 additions/revisions
Based on #9030
7 years ago
Bob-the-Kuhn eca5cc8669
Merge pull request #9003 from Bob-the-Kuhn/Due-PINS_DEBUG-&-related
[2.0.x] add Due PINS_DEBUG support & misc improvements (replaces PR #8990)
7 years ago
Scott Lahteine d190c702de
Add MKS_BASE Microstepping pins
Based on #9008
7 years ago
Bob-the-Kuhn adb9ecf3cc copy of PR #8990 7 years ago
Bob-the-Kuhn cba44128d5 fix include 7 years ago
Scott Lahteine 2925852244 Fix GT2560 A+ servo pin 7 years ago
Scott Lahteine de5ca96654 More parity with 1.1.x, plus whitespace 7 years ago
Dan Delaney b055d8c39c [2.0.x] Adding support for using the MKS_12864OLED with the SSD1306 controller (#8814)
* Adding support for using the MKS_12864OLED with the SSD1306 controller

* Update comment for correct controller type
7 years ago
Scott Lahteine 15d05748df Adding support for the Tronxy and Zonestar LCD 7 years ago
Dave Johnson aed0cfa3d1 Various fixes for 2.0.x configs 7 years ago
teemuatlut 0cd1e91056 [2.0.x] TMC driver update (#8769) 7 years ago
victorpv a5150c83a2 [2.0.x] Multiple updates to STM32F1 HAL (#8733)
* 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.
There is another persistent_store implementation that uses the MCU flash memory
to emulate eeprom
Adding readme with some information about the stm32 HAL.

* Switch to Timer4 to avoid a hard reset on STM32F103C6 boards

On bluepill STM32F103C6 boards, using Timer5 results in a error() vector call. Switch to 4 since these are both general purpose, 16 bit timers.

* Add support for EEPROM emulation using Flash

Some low end machines doe not have EEPROM support. Simulate it using the last two pages of flash. Flash does not allow rewrite between erases, so skip writing the working version if that's enabled.

* Basic Pins for a malyan M200

This is a work in progress to go hand in hand with the STM32 work.

* Add support for ADC with DMA. This work has exposed a problem with the pin enumerations in STM boards vs what marlin expects (i.e, try defining PA0 as a temp pin). The hack can be removed with we go to fastio completely. To see this work, set something in adc_pins to a value like PA0 and connect your pullup resistor'd thermistor.

* Missing file - change HAL_adc_init to actually do something

We have an actual ADC init function now.

* Remove pinmode hack

Remove the pin mode hack that I was using to init PA0.

Updated Readme.md

* Several changes to timers and GPIO

Faster GPIO, and faster timer functions by accesing registers and
libmaple.
Still more changes pending for the Timer's code to skip using the
HardwareTimer class altogether.

Switch all enums to be within #defines

This change allows a user to have, for instance, TEMP_4 and TEMP_BED definied but nothing else. The enums which are not defined move "out", allowing the first ones to take the slots in the enum, and since the array is sized on ADC_PIN_COUNT, we always have the right size data and in order.

* Update Malyan M200 pins

Update Malyan M200 pins with correct fan values.

* Test all pins on actual hardware, update definitions

Some of the pin definitions were from knowlege base/pdfs. Now they've been tested against actual hardware. This should be very close to final.

* Update HAL_timers_Stm32f1.cpp

* Add sample configurations for Malyan M200

Add sample configuration for Malyan M200 without bed leveling, and move fan to auto cool E0 since this printer by default has only one fan.


Choose the timer based on MCU defintion. Timer5 is not valid on C8/CB class boards, so use Timer4 for the step timer.


readme.md update

* Updates to timers, and some stm32 boards definitiions

* Correct pin toggle macro.

* Remove duplicated Malyan M200 entry from pins.h

* Update configuration_store.cpp

* Formatting, indentation

* Formatting in HAL_Stm32f1.cpp
7 years ago
Scott Lahteine d576f5408e Add MiniRAMBo 1.0a board 7 years ago
Scott Lahteine c40cb52342 Use MB() for Megatronics 3.1 7 years ago
Scott Lahteine 43ea265b78
Merge pull request #8685 from MateuszKrawczuk/patch-3
Update TEMP_BED_PIN in MIGHTYBOARD_REVE
7 years ago
Scott Lahteine a3b098b4be Whitespace clean 7 years ago
Mateusz Krawczuk 5320906b0b
Update TEMP_BED_PIN in MIGHTYBOARD_REVE
Pin K7 number in fastio1280.h is 69, but it's also ADC15 pin. 
To get correct value from ADC reading it should be set as 15.
7 years ago
Scott Lahteine 772298257b Creality pins spacing, MINIPANEL CS pin 7 years ago
Scott Lahteine b6ba32ce75 Support for RAMPS Plus (3DYMY) 7 years ago
Vitaliy Sapyanov 7f88334aa3 Done cleanup and removed duplicates in pins_RuRAMPS4D.h (#8582)
Remove duplicates, with followup fixes
7 years ago
Scott Lahteine a67cf78c6b Clean up whitespace, spacing 7 years ago
Bob-the-Kuhn 7d8b66e207
Merge pull request #8570 from Bob-the-Kuhn/Sbase-PWM
[2.0.x] MKS Sbase - add servo pin definitions and add directly controlled PWM
7 years ago
Bob-the-Kuhn 59b32c25b5 MKS Sbase changes 7 years ago