163 Commits (4cc1c2627e052306469af6352a798bd89144c949)

Author SHA1 Message Date
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