60 Commits (9223261ea93fc7dcb525325778ff302e611d1ea5)

Author SHA1 Message Date
Scott Lahteine 9223261ea9 Only define _BV in Marduino.h 6 years ago
Scott Lahteine 1d8ad7cf71 Safe changes from HAL cleanup 6 years ago
Marcio Teixeira 274934ad81 Add LULZBOT_TOUCH_UI (#14967) 6 years ago
Scott Lahteine a2ba0aaaac
HAL include and other adjustments (#14525) 6 years ago
Scott Lahteine 750a16ad38 Fix MIN/MAX function collision with macros 6 years ago
Scott Lahteine 44e4f853c8 Patch M_PI in Marduino.h 6 years ago
Scott Lahteine 93cd66ac11 Tweaky change from (C) to (c) 6 years ago
Karl Andersson 81d550754a Fix "UNUSED" redefined warning on HAL_STM32 (#14342) 6 years ago
Scott Lahteine 4c872a01f2
G-code queue singleton, front injection (#14236) 6 years ago
Scott Lahteine 49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
6 years ago
jmz52 8e0ac93d60 Fix 'UNUSED redefined' compiler warning (#13387) 6 years ago
7eggert 10c8c034bd Allow both encoder and ADC keypad (#13355) 6 years ago
Scott Lahteine a43e892fb5 Use 8-bit i2c address on LPC platform
Fix #9799 — hopefully not a unicorn
6 years ago
Scott Lahteine 0feeef2604 Update copyright in headers 6 years ago
Scott Lahteine ca73b2f465 Add static assert to catch errors in COPY(a,b) 6 years ago
Scott Lahteine ce563d7c2e Various general cleanups
Mostly from the L6470-oriented PR
6 years ago
Karl Andersson 8ae6f1e556 Fix errors and some compiler warnings with HAL_STM32 PlatformIO build (#12869) 6 years ago
Ludy c0b75f49b6 Fix "no effect" and "unused variable" compile warnings (#12473) 7 years ago
Marcio Teixeira c1e17037e5 Various fixes for MarlinUI and ExtUI (#12439) 7 years ago
Scott Lahteine d015f746cc
Fix some compile warnings (#12220) 7 years ago
Scott Lahteine b641571098 Replace types.h with millis_t.h 7 years ago
Marcio Teixeira 2067619a26 Add USB_FLASH_DRIVE_SUPPORT 7 years ago
Scott Lahteine ee53f7d813 Revert header reorg. 7 years ago
LineF d777cef837 fixed minimum macro (#11986) 7 years ago
Scott Lahteine 0dedb3e139
Reorganize some core headers (#11983) 7 years ago
Scott Lahteine 606a4362b3 Reduce STM32F4 compile warnings 7 years ago
AnoNymous b30ca652ae Replace MIN# / MAX# with variadic MIN / MAX (#11960) 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 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
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 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 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 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
Scott Lahteine d462be6de6 Try FIXFLOAT rounding based on sign 7 years ago
Scott Lahteine 12c5fdfdb5 Fix CYCLES_PER_MICROSECOND conflict on STM32F1 7 years ago
Scott Lahteine 451fb16f9b Fix CYCLES_PER_MICROSECOND conflict 7 years ago
Thomas Moore 786746404b [2.0.x] Apply feedrate to nozzle movement for kinematic machines (#8778) 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 42933c804a Cleanups for STM32F7 7 years ago