83 Commits (1746a7352efb51d44d47ba5e1deb669fa2b2269f)

Author SHA1 Message Date
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
Thomas Moore 5f9592a523 Cleanup narrowing warning in pin_is_protected 7 years ago
Thomas Moore fa577392b2 Add BIQU BQ111-A4 board 7 years ago
Scott Lahteine c613a1ed38 Fix indentation, stepper.h dependency, etc. 7 years ago
teemuatlut f011a32771 Board definitions for Ultratronics Pro v1.0 7 years ago
Mateusz Krawczuk bb1a6eea88
Remove pin count check for MIGTHYBOARD_REVE
Remove assert and unused code since it is implemented in pinsDebug_plus_70.h
7 years ago
Vitaliy Sapyanov e2724c68ab Update pins_RURAMPS4D.h
Add and bugfix pins
7 years ago
Scott Lahteine ba8bc7ea80 Cosmetic tweaks 7 years ago
Bob-the-Kuhn a28ccabe2a M42 P1.20 fix 7 years ago
Scott Lahteine 32512332df Apply some formatting 7 years ago
Scott Lahteine 14ebedca27 Drop unused LARGE_FLASH option 7 years ago
Scott Lahteine b7feb53e8a Support for Extrudrboard in Printrboard Rev.F 7 years ago
Dave Johnson c009a990e4 [2.0.x] Fix some 8-bit Teensyduino compile warnings (#8385)
* Fix some 8-bit Teensyduino compile warnings

-Override Teensyduino legacy NOT_A_PIN 127 define
-some fixups for Printrboard_RevF pins

* Proper cleanup of Printrboard Rev.F pins

* Apply LCD fixes to Printrboard v1
7 years ago
Scott Lahteine 81b91b3f9d Clean up some trailing white-space 7 years ago
Scott Lahteine 006dad4b52 Add pins_RURAMPS4D.h & change pins.h
http://3dtoday.ru/blogs/svs0724/ruramps4d-ramps-for-adruino-due-the-pilot-shipment-available-for-zack/
7 years ago
Scott Lahteine 00514857e9 SBASE serial port -1, RAMPS spacing 7 years ago
Bob-the-Kuhn 8875885a15 pins add old names
fix typo

re-write PWM section, add "not on Re-ARM" list
7 years ago
Jason Hitesman 4efaef7039 [2.0.x] Fix archim2 SSDS define (#8278)
* Fix SSDS define

* Update pins_ARCHIM2.h
7 years ago
Thomas Moore b91a822d7a Correct RAMPS_D8_PIN for Re-ARM 7 years ago
Scott Lahteine ca7d36d9ed RAMPS pins for ANET_KEYPAD_LCD 7 years ago
teemuatlut 70be4d206e [2.0.x] UltiMachine Archim2 (#8190)
* UltiMachine Archim2 support

* SPI gets included by the library

* Invert TMC2130 diag pin state

* Clean up Archim2 pins

* Update Archim2 config

* FAN2 -> FAN1

* Cleanup

* Add brief Archim installation instructions

* Bring pins into compliance

* Update 1.0 SD Detect pin for 1.1

* Update Configuration.h

* Update pins_ARCHIM2.h
7 years ago
Scott Lahteine 31f112cf58 Cleanup trailing whitespace 7 years ago
Scott Lahteine eb13b8d985 Add MKS Gen L board 7 years ago
Morten 063e957fc4 Update pins_MKS_SBASE.h (#8188)
* Update pins_MKS_SBASE.h

Deleted E_MUX2, not used.
Changed #define LCD_PINS_D4      P0_14  // EXP1.5 to #define LCD_PINS_D4      P0_15  // EXP1.5, wrong in MKS's pinout schematic.
Swapped TEMP_BED_PIN and TEMP_0_PIN port's, request from user, more logical...

* Update pins_MKS_SBASE.h

Moved MUX signals to J8 and re added MUX2, cleaner wiring..
7 years ago
android444 9cc1d8e312 [2.0.x] Support for SilverGate Board 7 years ago
Alexey Shvetsov 577659cacf Basic support for Azteeg_X5_GT (#8139)
* Basic support for Azteeg_X5_GT

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

* Add fan pins for AZTEEG X5 GT

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

* Fix endstop pins

* Add servo0 pin
7 years ago
Scott Lahteine 2cdde08339 Apply items specified in code review
Followup to #8122
7 years ago
Bob-the-Kuhn 6e5f13a5c2
Merge pull request #8122 from Bob-the-Kuhn/2.0.x-restore-Re-ARM-RepRap-Discount-Full-Graphics-fix-(partial-solution)
2.0.x - Restore fix for garbaged display on Re-ARM with RepRap Full Graphics Smart Controller
7 years ago