403 Commits (90e2c420312675521ce10def0a8c16a2d4b2c6bf)

Author SHA1 Message Date
Scott Lahteine 348004c34f
STM32F7 HAL using the official STM32 Arduino Core (#11750) 6 years ago
teemuatlut c3229e1b34 Migrate to a new TMC library (#11943) 6 years ago
brian park 2abf3d258d Korean language translation support (#11987) 6 years ago
Scott Lahteine ee53f7d813 Revert header reorg. 6 years ago
LineF d777cef837 fixed minimum macro (#11986) 6 years ago
Scott Lahteine 0dedb3e139
Reorganize some core headers (#11983) 6 years ago
Scott Lahteine f4c625d3a1 Ensure MIN/MAX overrides 6 years ago
Scott Lahteine 3019713402 Reorganize some enums 6 years ago
Scott Lahteine 606a4362b3 Reduce STM32F4 compile warnings 6 years ago
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers (#11977) 6 years ago
Scott Lahteine fb8a07660a Followup to minmax patch
Co-Authored-By: Palatis <palatis@gmail.com>
6 years ago
AnoNymous b30ca652ae Replace MIN# / MAX# with variadic MIN / MAX (#11960) 6 years ago
Mitch Roote d016b572e3 [2.0.x] Add pin configuration for Fysetc F6 (#11932) 6 years ago
InsanityAutomation cb9dc56630 Add GT2560 v3 support (#11914) 6 years ago
InsanityAutomation 1104054d73 2.0 IDEX Independent z offset and other fixes (#11862)
* Add Formbot Raptor board

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Add a second Z probe Z offset

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Modify method to utilize live adjustment of hotend z offset

Should probably move config option to babystepping and rename as it may now apply to all multiextruder systems

* Move config item and catchup other code to current method
6 years ago
Scott Lahteine 5a74b12b45 Followup to #11769 6 years ago
InsanityAutomation f38570ac55 Add custom user menu title (#11769) 6 years ago
Scott Lahteine 09a2bee8aa
Support more filament runout sensors in M119 (#11851) 6 years ago
Scott Lahteine 1718eff54a Code changes supporting up to 6 extruders 6 years ago
Holger Müller 1a6f2b29b8 Add support for Triple-Z steppers/endstops 6 years ago
Roxy-3D 9c8d9d282f
Break out support for Formbot T-Rex3 from previous versions 6 years ago
Ilya Bukhonin 7ecb8b4af5 [2.0.x] Teensy 3.1 and 3.2 support (#11460) 6 years ago
Pablo Crespo 409a0632af [2.0.x] Add Morpheus Board support (#11651) 6 years ago
Scott Lahteine e2b8fc4f17 Reduce some debug strings 6 years ago
Michael Triffon f8c52c9c29 Azteeg X5 Mini WiFi support (#11601) 6 years ago
Scott Lahteine ad12b9b46b Fix indentation, whitespace, spelling, formbot pins... 6 years ago
Roxy-3D b0a8ce59bd
Update Boards.h to include Formbot support 6 years ago
Scott Lahteine 11b411a872 Improve AXIS_DRIVER_TYPE macros 6 years ago
Scott Lahteine b328fb4dc9
Treat TMC2660 like non-TMC (#11508) 6 years ago
Greg Nutt a1a5367380 Smoothieboard V1.0/1.1 and A5984 support 6 years ago
Scott Lahteine 131d216afa
Fix drivers.h dependency, defer macro evaluation (#11450) 6 years ago
Scott Lahteine 9bae413901
Add Bigtreetech/BIQU KFB 2.0 board (#11446) 6 years ago
Lee Olivares 094e6d81a5 Add Einstart-S support (#11219)
Indeed the HAL does not need to be mucked around with to expose ATmega2560 pins not available as numbers on the MEGA board, I'll need to update the wiki with that tidbit and a reference to the pin-mapping comment in `fastio_1280.h`.
7 years ago
Scott Lahteine 955a7f0ae9
Improve driver.h macros (#11371) 7 years ago
Bo Herrmannsen 67b205fd45 Add support for board RuRAMPS4D v1.3 (#11363) 7 years ago
teemuatlut fbcdf5eaeb Simplify stepper driver per-axis selection 7 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Scott Lahteine d4fde91222 Fix serial.h including itself 7 years ago
Scott Lahteine d13f76b7da Patch some loop macros 7 years ago
Simon Jouet e2aeda61ed HAL for Espressif ESP32 Wifi 7 years ago
Scott Lahteine b9418439b9 Prevent MB false-positive on bad board name 7 years ago
Axel ae322e0c54 [2.0.x] Add GTM32 Pro VB support (#10898) 7 years ago
Scott Lahteine d3c473002a For SCARA probe Y offset is proximal/distal 7 years ago
Scott Lahteine 9644d56b42 Patches for core motion tests 7 years ago
Scott Lahteine 3e3789da85
Regression: Endstops Core compatibility (#10823)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Axel bbd09a99f1 32 bit boards classification cleanup (#10818)
- Ordering and match classification between `boards.h` and `pins.h`
- Check `pins.h` environments
7 years ago
Axel d98bc71af7 Boards classification arrangement (#10814)
STM32 ARM Cortex-M3 boards were listed as M4
7 years ago
Scott Lahteine 3bb950c69a Fix DEBUG_LEVELING_FEATURE for MBL
As noted in #10777
7 years ago
Scott Lahteine 4118199ddd Tweaks to core headers 7 years ago
etagle 06fd4d7b28 Improve NOMORE, NOLESS, and LIMIT macros 7 years ago
Scott Lahteine 08e36e264e Apply _AXIS macro 7 years ago
Scott Lahteine 99ecdf59af Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 8f8c6a9bc4
Move get_axis_position_mm to Planner (#10718) 7 years ago
Scott Lahteine a1062eec5b
Better handling of DELAY_NS and DELAY_US (#10716)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 0436e16fb2 Apply shorthand Assembler macros 7 years ago
Scott Lahteine a90d99c27c Rename float32 => float52, etc. 7 years ago
Scott Lahteine d7b699ec34 Fewer includes of vector_3.h 7 years ago
Scott Lahteine a73cece360 Fix utility.cpp for DEBUG_LEVELING_FEATURE
As mentioned in https://github.com/MarlinFirmware/Marlin/issues/9429#issuecomment-385305597

Co-Authored-By: Jack Bradach <jack@bradach.net>
7 years ago
Scott Lahteine 63e4afc910 Do rounding in integer (instead of FIXFLOAT)
Co-Authored-By: Bob-the-Kuhn <bob-the-kuhn@users.noreply.github.com>
7 years ago
Scott Lahteine 9e0d99c0c6
Round all floats in string conversion functions (#10566) 7 years ago
Scott Lahteine d470a1234f Fix ENABLED/DISABLED for DUE
…and any other platforms where `false`/`true` are defined as `0x0`/`0x1`.

This fixes issue #10550.
7 years ago
Scott Lahteine 5ac226aa93 Further cleanup of inline delays 7 years ago
Scott Lahteine 7b6e742436 Wrap delay macros in do{}while(0) 7 years ago
Scott Lahteine 456cf971af HAL FastIO cleanup and fixes 7 years ago
Chris Pepper 2242b98248 [LPC176x] Emergency Parser Feature (#10516) 7 years ago
Scott Lahteine 11ef432476 Match Makefile to boards.h 7 years ago
Scott Lahteine 2be5fe5ddf Split TRIGORILLA into 1.3 and 1.4 7 years ago
Scott Lahteine 80e29492c6 TRIGORILLA => TRIGORILLA_13 7 years ago
Scott Lahteine 4f184ba5da
[2.0.x] Add BOARD_MKS_BASE_15 with digital micro-stepping (#10454)
* Add BOARD_MKS_BASE_15 with digital micro-stepping
* Rename MKS_13 to MKS_GEN_13
7 years ago
Karl Andersson 428c54f2ad [2.0.x] HAL for STM32F4 (#10434) 7 years ago
Scott Lahteine d462be6de6 Try FIXFLOAT rounding based on sign 7 years ago
Yunhui Fu c96412a78f [2.0.x] UTF-8 language translation support (#10213) 7 years ago
Marcio Teixeira 9356cf648f Added support for Einsy Retro
http://reprap.org/wiki/EinsyRetro
7 years ago
Scott Lahteine adcb87f0db Z Endstop Servo => Z Probe Servo 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 2057177184 Make enums into implicit char 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
Scott Lahteine c471389afb
Add Einsy Rambo pins (#9850) 7 years ago
Scott Lahteine 2024775e07
Spanish (UTF8) Language (#9786)
From #7314 by @MrAmericanMike
7 years ago
Scott Lahteine 12c5fdfdb5 Fix CYCLES_PER_MICROSECOND conflict on STM32F1 7 years ago
Scott Lahteine bab0e975c8
The ENDER can use BOARD_MELZI_CREALITY (#9692) 7 years ago
Scott Lahteine d741bcf8a9 Tweak boards spacing 7 years ago
Scott Lahteine 451fb16f9b Fix CYCLES_PER_MICROSECOND conflict 7 years ago
Scott Lahteine 4aff6c1c32 Tronxy X5S pins and configuration 7 years ago
Scott Lahteine c0dd9ef9f2
Support for AnyCubic TriGorilla board (#9551) 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 8a6feab1c4 Num-to-string functions for DEBUG_LEVELING_FEATURE 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
Thomas Moore 786746404b [2.0.x] Apply feedrate to nozzle movement for kinematic machines (#8778) 7 years ago
Scott Lahteine 5364b92c37 Drop obsolete string 7 years ago
Scott Lahteine c251601916 Simplified SET_BIT, moved to endstops.cpp 7 years ago
Scott Lahteine f5cfdf6efe Use _BV32 to avoid name conflict 7 years ago
Scott Lahteine 58671e1bc1 Marlin must override _BV for 32-bit masks! 7 years ago
Scott Lahteine 696f8eb4c6 Include Z Fade in log_machine_info 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 f887719a40 Creality Ender board support 7 years ago
Scott Lahteine 2c18faf3e4 General cleanups for HAL 7 years ago
Scott Lahteine 42933c804a Cleanups for STM32F7 7 years ago
Morten a0246c5c96 Add support for STM32F7 MCU 7 years ago
Scott Lahteine 3ae41e5f7f
Merge pull request #9152 from thinkyhead/bf2_anti_stutter
[2.0.x] Ensure smooth printer movements
7 years ago
Scott Lahteine 344ebc3bd2 Create and use pins_MELZI_MALYAN.h for Malyan M150 7 years ago
Scott Lahteine 094e9b1dab Remove ARDUINO_ARCH_SAM from serial.h too? 7 years ago
Scott Lahteine c37d38886c Fix serial.h avr block
Followup to #8148
7 years ago
Scott Lahteine 6a043eee55 Various updates for TMC support 7 years ago
Thomas Moore f7efac57b7 Multi-host support 7 years ago
Scott Lahteine 7541316bb4 Add M701/M702 Filament Load/Unload, M603 7 years ago
teemuatlut 0cd1e91056 [2.0.x] TMC driver update (#8769) 7 years ago
Eduardo José Tagle ac168a03c8 Fixes for the Arduino DUE HAL (Serial Port, Graphics Display, EEPROM emulation) (#8651)
* Fixing the DUE serial port assignments: Now -1 means the SAM3x USB Device emulating a serial port, and 0 means the USB to serial adapter included as a programming port

* Improving the Fast IO port access implementation on Arduino DUE

* Implemented EEPROM emulation on Due by storing data on the internal FLASH (with wear leveling)

* Implemented a Software SPI for the ST7920 graphics display for the Arduino RAMPS for DUE, as the default one in u8glib is clocking data too fast on ARM, and the display does not understand it.

* Fixing the case where the serial port selected is the USB device

* Adding configuration for the Makerparts 3D printer (www.makerparts.net)

* Tuned MakerParts acceleration on X and Y axis so it never loses steps. Also adjusted pulses per mm to match default hw configuration

* Fine tuned Maximum acceleration for MakerParts printer

* Style cleanup

* Style cleanup (2)

* Style fixes (3)

* Fixing the DUE serial port assignments: Now -1 means the SAM3x USB Device emulating a serial port, and 0 means the USB to serial adapter included as a programming port

* Improving the Fast IO port access implementation on Arduino DUE

* Implemented EEPROM emulation on Due by storing data on the internal FLASH (with wear leveling)

* Implemented a Software SPI for the ST7920 graphics display for the Arduino RAMPS for DUE, as the default one in u8glib is clocking data too fast on ARM, and the display does not understand it.

* Fixing the case where the serial port selected is the USB device

* Adding configuration for the Makerparts 3D printer (www.makerparts.net)

* Tuned MakerParts acceleration on X and Y axis so it never loses steps. Also adjusted pulses per mm to match default hw configuration

* Fine tuned Maximum acceleration for MakerParts printer

* Style cleanup

* Style changes to u8g_dev_st7920_128_64_sw_spi.cpp

* Even more improvements to the FastIO HAL for DUE. Now WRITE() is 2 ASM instructions, if value is constant, and 5 cycles if value is not constant. Previously, it was 7..8 cycles

* After some problems and debugging, seems we need to align the interrupt vector table to 256 bytes, otherwise, the program sometimes stops working

* Moved comments out of macro, otherwise, token pasting does not properly work sometimes

* Improved Software SPI implementation on DUE: Now it honors the selected speed passed to spiInit(). This allows much faster SDCARD access, improving SDCARD menus and reducing latency

* Update u8g_dev_st7920_128_64_sw_spi.cpp

* Disabling EEPROM over FLASH emulatiion if an I2C or SPI EEPROM is present
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 b8bc965414 General cleanup HAL timers 7 years ago
Scott Lahteine d576f5408e Add MiniRAMBo 1.0a board 7 years ago
Scott Lahteine 5fbb2f121e Remove skew warning that could crash the planner 7 years ago
Scott Lahteine b6ba32ce75 Support for RAMPS Plus (3DYMY) 7 years ago
Scott Lahteine 0154e3480c New feature: BED_SKEW_CORRECTION 7 years ago
Roxy-3D e48fcad615 change G26 and G29 bit function names to avoid HAL collision 7 years ago
LVD-AC 65f365333f [2.0.x] G33 probe error handling 7 years ago
Scott Lahteine be00e421a7 Patch up M290, M851 7 years ago
Scott Lahteine dc82babe8e Implement NANODLP_Z_SYNC for 2.0.x 7 years ago
Scott Lahteine c6b0c104bb Adapt G26 to work for all meshes 7 years ago
Thomas Moore fa577392b2 Add BIQU BQ111-A4 board 7 years ago
teemuatlut f011a32771 Board definitions for Ultratronics Pro v1.0 7 years ago
Scott Lahteine b9327a4d16 Misc. general cleanup 7 years ago
Scott Lahteine 25af9decfe Remove enum.h include of MarlinConfig.h 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 4df024d7b9
Merge pull request #8234 from thinkyhead/bf2_native_operation
[2.0.x] Operate in Native Machine Space
7 years ago
Scott Lahteine f8393a0908 Operate in Native Machine Space 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 eb13b8d985 Add MKS Gen L board 7 years ago
Scott Lahteine 34745b2183 Organize boards.h by architecture 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 723f2a77f6 Implement support for Dual X and Y endstops 7 years ago
etagle ba8dc678f5 Arduino Due XON/XOFF implementation
Alos includes emergency parser and configurable TX/RX buffers for Arduino Due.
7 years ago
Thomas Moore 9e699811d2 Make LPC1768 pinmapping not specific to Re-ARM (#8063)
* Merging early because of build failures.  See #8105

* Make LPC1768 pinmapping not specific to Re-ARM

* Add HAL_PIN_TYPE and LPC1768 pin features

* M43 Updates

* Move pin map into pinsDebug_LPC1768.h

* Incorporate comments and M226

* Fix persistent store compilation issues

* Update pin features

* Update MKS SBASE pins

* Use native LPC1768 pin numbers in M42, M43, and M226
7 years ago
jeffyl 7b3098bbd5 Add AZSMZ Mini (#8005)
* Add AZSMZ Mini

* Remove tabs, adjust spacing

* Renumber boards to group by family

* Patch up spacing

* Tweak
7 years ago
Scott Lahteine 8c78f8f790 Add Makeboard MINI for Micromake C1 7 years ago
Scott Lahteine 34a261416f Add unaccented French language 7 years ago
Morten 91e28edda6 [2.0.x] Add new board: MKS Sbase (#7945)
* Add files via upload

* Add files via upload

* Add files via upload

* Checked LCD / edited / revised pins_MKS_BASE.h

As requested :)

* Delete Configuration_adv.h

* Delete Configuration.h

* Deleted /Marlin/Marlin/src/config/examples/MksSbase/*.* and moved them to /Marlin/Marlin/src/config/examples/Mks/Sbase/*.*

* Add files via upload
7 years ago
Scott Lahteine 3e3911fb81 Use planner.leveling_active for all leveling systems 7 years ago
Scott Lahteine 9a930ebec2 Make leveling_is_active a macro 7 years ago
Scott Lahteine 508d764d63 Add serial XON/XOFF handshaking
From @ejtagle, originally #7459
7 years ago
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.
7 years ago
Scott Lahteine 49c693c85b Tweak to serial macros 7 years ago
Scott Lahteine 92dbf5f148 Fix babystep edit label, allowing translation 7 years ago
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
7 years ago
Scott Lahteine 2e20c53c9d Move endstop debug to Endstops 7 years ago
Scott Lahteine 9b4aa5ea8b Move G17-G19 to cpp 7 years ago
Scott Lahteine 8dc2838d98 Move host keepalive to GcodeSuite 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 142d8aae56 Move debugging to serial.* 7 years ago
Scott Lahteine f52a31a275 Core updates 7 years ago
Scott Lahteine 4e4d16c92e Move 'core' files 7 years ago