Commit graph

1160 commits

Author SHA1 Message Date
Giuliano Zaro ff0c931e47
Add RAMPS 1.4.4 to AGCM4 (#16606) 2020-02-13 23:28:18 -06:00
Scott Lahteine 49a66bc4cc Fix ESP32 warning, specify supported version 2020-02-13 19:22:13 -06:00
Robby Candra a83ad2d9d4
Define MarlinSerial instances for DGUS (#16841) 2020-02-11 20:30:20 -06:00
Giuliano Zaro 4a733796bd
Prevent pin glitches on out commutation (#16835)
Better for switching from pulled input to output and also set real output (with no input enabled).
2020-02-11 10:43:28 -06:00
Scott Lahteine fa6e7cb733 Function-style critical section macros 2020-02-11 09:37:04 -06:00
Giuliano Zaro d5790e09a5
Update SAMD51 EEPROM repo link (#16832) 2020-02-11 02:05:58 -06:00
Scott Lahteine a33d08928a Tweak LPC1768 upload py script 2020-02-09 20:48:20 -06:00
Scott Lahteine b9b07387d7 Minor HAL cleanup 2020-02-09 11:12:38 -06:00
Giuliano Zaro 90e2c42031 Adafruit Grand Central M4 fixes (#16812) 2020-02-09 09:57:22 -06:00
Fabio Santos 894762259b
Coolstep for TMC2130, 2209, 5130, 5160 (#16790) 2020-02-08 21:01:57 -06:00
Robby Candra 86812432f3
Remove extraneous Serial init (#16794) 2020-02-06 14:11:49 -06:00
Scott Lahteine 7bf2190f03 Fix CALIBRATION_GCODE pin handling 2020-02-04 08:32:43 -06:00
Bob Kuhn 0268c1d02c
STM32duino - Use SDIO for onboard SD (#16756) 2020-02-04 01:24:11 -06:00
felixstorm f1dbfaf706
Fix warning for ESP32 (#16771) 2020-02-03 18:36:51 -06:00
Scott Lahteine bfad23d3e2 (c) 2020 2020-02-03 08:00:57 -06:00
Scott Lahteine 4937519d51 Fix LPC build with USE_WATCHDOG off 2020-02-01 20:29:31 -06:00
Scott Lahteine 22556a7bbf More 8-extruder fixups 2020-02-01 15:19:58 -06:00
Hans007a e2eef1256a G60/G61 Position Save/Restore (#16557) 2020-01-26 23:19:05 -06:00
ellensp c49e987b1e Fix M43 timer report on AVR (#16645) 2020-01-26 03:33:35 -06:00
Luc 6357619ab2 Add ESP3DLib idletask entry point (#16658) 2020-01-26 01:11:30 -06:00
0r31 e3611ad209 Fix MKS Base + Digipot compile error (#16636) 2020-01-26 01:08:40 -06:00
yangwenxiong 248b7dfa59 BigTreeTech GTR V1.0 / Support 8 extruders, heaters, temp sensors, fans (#16595) 2020-01-25 02:13:39 -06:00
Scott Lahteine b7a67f6f74 Extra debugging for leveling on/off 2020-01-24 23:17:49 -06:00
0r31 b57ef4b261 Override for LPC1768 u8g/digipot I2C master ID (#16622) 2020-01-20 20:09:16 -06:00
Bob Kuhn 1a5cbc9052 Fix STM401/4xx/STM32F7xx timers, STEVAL_3DP001V1 warning (#16621) 2020-01-20 18:33:36 -06:00
0r31 451062553e LPC1768: Allow I2C master channel override (#16584) 2020-01-19 23:59:06 -06:00
InsanityAutomation 0fcf2b1110 Quad Z stepper support (#16277) 2020-01-19 23:35:07 -06:00
Jason Smith 439e73d79c AVR sanity check for MONITOR_DRIVER_STATUS with SW Serial (#16421) 2020-01-19 22:25:38 -06:00
Giuliano Zaro aec211fc80 SAMD51: ADC for probe temperature compensation (#16596) 2020-01-19 22:17:08 -06:00
Scott Lahteine a578749622 Clean up HAL ADC, old test scripts 2020-01-17 02:44:01 -06:00
Bob-the-Kuhn 0d0dfba203 STM32 soft SPI. STEVAL_3DP001V1 SD read. M906 tweaks. (#16579) 2020-01-17 02:44:01 -06:00
felixstorm 2b9eb4437b ESP32 HAL: Fix random pauses during prints (#16548) 2020-01-16 05:57:14 -06:00
Scott Lahteine b419ca254b Fix typo 2020-01-15 01:27:32 -06:00
Bob Kuhn 53dfeed6c0 Steval_3DP001V1 timers, analog inputs, etc. (#16565) 2020-01-14 23:19:13 -06:00
Lino Barreca ef513ef7fb Fix build error with unsupported reset flags (#16562) 2020-01-14 23:19:13 -06:00
Bob Kuhn 1ad53cee1f Improved STMicro L64XX stepper driver support (#16452) 2020-01-13 18:47:30 -06:00
David Klasinc 55b2af9464 Fix Linux upload path detection (#16514) 2020-01-13 00:23:55 -06:00
Luc d854c8fa5f ESP3d integration for ESP32 (#16515) 2020-01-10 17:22:41 -06:00
Scott Lahteine 6e658a7c04 Code style and comment tweaks 2020-01-08 20:00:26 -06:00
Scott Lahteine 95046c9047 Extend SERIAL_CHAR to take multiple arguments 2020-01-08 18:36:47 -06:00
Lino Barreca 5c4c052fd7 Fix SKR Pro BLTouch conflicting timers (#16499) 2020-01-07 21:54:26 -06:00
George Fu e593da1c23 Update and fix DGUS (#16317) 2020-01-03 21:00:44 -06:00
Tanguy Pruvot 1ea529b9c1 STM32F1: Fix misleading indent / nullptr on FSMC (#16431) 2020-01-02 20:19:07 -06:00
Dirk O. Kaar d0e1166cce Fix Visual Micro "Arduino IDE for Visual Studio" support (#16418) 2020-01-02 19:01:38 -06:00
Scott Lahteine 5b75a018b7 Misc patches preceding DGUS PR 2020-01-02 17:59:38 -06:00
Jason Smith 4e1f2f89f6 Refactor TMC-related macros and sanity checks (#16384) 2020-01-01 21:51:15 -06:00
Alexander Gavrilenko c6f7ea9f22 MKS Robin ILI9328 TFT support (#16401) 2020-01-01 20:55:37 -06:00
Luc 24eaf2d7e0 Some ESP32 patches (#16297) 2019-12-22 16:11:17 -06:00
randellhodges f4196d394b Flash leveling (for some STM32) (#16174) 2019-12-22 16:04:09 -06:00
Jason Smith 2e235aff03 Fix HAL_STM32 + Arduino IDE SoftwareSerial conflict (#16266) 2019-12-20 19:14:27 -06:00
Scott Lahteine 64ebec50dc Move pins debug condition 2019-12-20 10:19:41 -06:00
Jeff Eberl 70325a6a0f Update test scripts to error on unknown (#16229) 2019-12-19 21:03:42 -06:00
Scott Lahteine d81de7f521 Tweak sanity checks 2019-12-19 21:02:14 -06:00
chzj333 42a336f8bc Update BTT002 platform (fixing SD init) (#16217) 2019-12-15 12:24:54 -06:00
Luc 9d6b2ebf50 Improve ESP32 HAL (EEPROM, watchdog) (#16228) 2019-12-15 11:39:39 -06:00
MangaValk 96cf556139 Fix multiple servos with STM32 (#16151) 2019-12-11 01:44:05 -06:00
randellhodges 7f8ca85e69 STM32F1 Flash-based EEPROM fixes (#16118) 2019-12-05 20:48:11 -06:00
Chris Pepper e585c37d7d
Fix #16038 2019-11-29 16:44:11 +00:00
Chris Pepper a63491e6eb Sanity check ADC pins and FAST_PWM_FAN with Servos (#16038) 2019-11-29 06:52:28 -06:00
Scott Lahteine b11551c767
Touch UI updates for Cocoa Press (#15986) 2019-11-24 06:08:05 -06:00
Bob 751cd1f533 MAX31865 temperature sensor (#15930) 2019-11-21 03:15:10 -06:00
BigTreeTech ab8b24fdba Power Loss Recovery with a UPS (#15943) 2019-11-20 17:40:21 -06:00
Daniel Negut a3229b30ec Add Zonestar/Anet LCD for SKR mini E3 (#15931) 2019-11-20 00:06:26 -06:00
thisiskeithb 0f57818f2d Support 512K "RCT6" in BTT SKR Mini (#15890) 2019-11-15 02:51:26 -06:00
Lino Barreca bd321d4b7c Don't compile STM32 SoftwareSerial unless STM32 (#15894) 2019-11-14 05:21:23 -06:00
Scott Lahteine ac2d7ab14c Fix timers.h include 2019-11-14 04:47:53 -06:00
Jason Smith 9fd35c84ce SoftwareSerialM for SKR STM32F1 boards (#15875) 2019-11-12 22:16:54 -06:00
Giuliano Zaro bb93ea1be4 [SAMD51] Activate ADCs oversampled 12bits (#15874) 2019-11-12 20:59:17 -06:00
Lino Barreca ac71cdc265 New HardwareTimer for STM32 5.7.0 (#15655) 2019-11-12 19:23:02 -06:00
Chris Pepper 4762dfe797
Fix lpc u8g i2c (#15876) 2019-11-12 01:59:36 +00:00
Chris Pepper af61f37b65
Update lpc176x requirements (#15869) 2019-11-11 03:25:56 +00:00
Scott Lahteine 5e5045c4ee Touch UI finishing touches 2019-11-10 18:52:53 -06:00
Marcio Teixeira 5639b8ca20 Touch UI fixes for Cocoa Press (#15847) 2019-11-10 18:49:41 -06:00
Chris Pepper 86d0bc1af5
Update lpc176x framework version requirement (#15868) 2019-11-10 23:30:28 +00:00
Marvin Sinister 8d157a4520 Fix MKS MINI12864 on SKR 1.3 (#15836) 2019-11-07 19:39:08 -06:00
LinFor a84e3d1b80 Use native ADC resolution where possible (#15719) 2019-11-06 17:49:17 -06:00
Miroslav Šustek 9201197878 Fix SKR E3 board BLTOUCH + SPEAKER timer conflict (#15781) 2019-11-06 17:34:29 -06:00
Scott Lahteine a89f4703df Tweak permissions 2019-11-06 16:10:14 -06:00
Scott Lahteine d80ef43c19 Followup to es int patch 2019-11-04 15:40:45 -06:00
Giuliano Zaro 35cd545106 Use prior endstop pin-to-interrupt macros (#15771) 2019-11-04 15:24:41 -06:00
Chris Pepper b9116d4050
LPC176x Framework update (#15722)
Changes required for compatibility with framework-arduino-lpc176x 0.2.0
2019-11-03 02:34:09 +00:00
Scott Lahteine ea3217cd46
Move 'draw' methods into Menu Item classes (#15760) 2019-11-02 07:28:20 -05:00
Giuliano Zaro 65ef774e8d Fix mega Port J endstop interrupts (#15758) 2019-11-02 06:59:38 -05:00
Scott Lahteine a920b10483 Fix true/false redefined warnings 2019-11-02 06:04:28 -05:00
Scott Lahteine ed8f1ca9cf Revert Cortex delay for now 2019-11-02 04:12:18 -05:00
Scott Lahteine 93db4f4535 Tweak backtrace.cpp include 2019-11-01 22:08:33 -05:00
Scott Lahteine f0d952d33a
Cortex M3-M7 can use DWT->CYCCNT (#15762)
Suggested by Alex Kenis at https://youtu.be/ZfyPcdhQnAA?t=502
2019-11-01 22:07:51 -05:00
Scott Lahteine 35b1149d96 Patch es int tests for Arduino 1.8.10 2019-10-30 15:52:02 -05:00
Scott Lahteine 9720d21301 Clean up trailing whitespace 2019-10-27 15:32:29 -05:00
Marcio T f6a799c7b3 Allow compile under Windows Subsystem for Linux (#15606) 2019-10-24 14:57:20 -05:00
Bo Herrmannsen 04a55c9188 Fix LPC176x build script for Python 3 (#15637)
Co-Authored-By: Sven Holzmann <powerprobot@users.noreply.github.com>
2019-10-24 12:16:02 -05:00
Evgeny Zyatkov 9470554f63 Fix DUE HAL serial defines (#15594) 2019-10-19 12:30:38 -05:00
Chris Pepper 11f1392026
Fix Python3 (Windows) compatibility (#15597) 2019-10-18 21:15:26 +01:00
Scott Lahteine 0ff57c640c Fix compile warning 2019-10-15 17:13:07 -05:00
Scott Lahteine b7b303f4bf
Spindle/Laser power in planner blocks (#14437) 2019-10-15 16:10:20 -05:00
Jason Smith 53abfdc2c3 Fix BLTOUCH and FAN PWM conflicts on SKR E3 boards (#15547) 2019-10-15 14:18:46 -05:00
InsanityAutomation 0074d63962 Vendor version override (#14189)
Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>
2019-10-15 12:32:44 -05:00
Bo Herrmannsen 5ad9257df4 Fix DUE HAL serial defines (#15536) 2019-10-13 17:06:15 -05:00
Scott Lahteine c83c2a5022 Patch compile glitches 2019-10-03 15:37:13 -05:00
Scott Lahteine 0322348924 Handle runout in runout.cpp 2019-10-03 06:27:30 -05:00
tonokip df48ef6df3 Fix step timer on Archim1 (#15447) 2019-10-03 03:29:15 -05:00
InsanityAutomation 438835f6a5 Configurable Max Accel, Max Feedrate, Max Jerk edit limits (#13929) 2019-10-01 19:59:48 -05:00
Scott Lahteine 7cd72de8bc General cleanup, style 2019-09-30 22:57:23 -05:00
Scott Lahteine e3fd0519b3 Reduce need for UNUSED 2019-09-30 22:56:22 -05:00
Scott Lahteine 139b7196a0
Watchdog cleanup (#15283) 2019-09-29 17:57:29 -05:00
Scott Lahteine f2d93f61c3 Revert errant const 2019-09-28 23:52:54 -05:00
Tim Moore 7e72768433 Info Menu: Runaway Watch state (#14827) 2019-09-28 21:53:40 -05:00
Maxim 1b9fc64d8a Add M997 support for SKR PRO 1.1 (#15394) 2019-09-28 00:54:30 -05:00
Marcio Teixeira 02bbc51195 Keep C extension for now, restore (void) arg (#15380) 2019-09-27 14:02:35 -05:00
Berezovskyi Oleksandr c0d5b57cf9 Init i2c for all i2c EEPROM use (#15366) 2019-09-26 22:25:56 -05:00
Scott Lahteine 665e45e0ba Reduce string storage, use masking 'seen' 2019-09-26 04:30:55 -05:00
Scott Lahteine b72fd7ea9c Supply 'super' for servo subclasses 2019-09-25 22:07:14 -05:00
Scott Lahteine 0b4aedf13e Less use of "this" 2019-09-25 09:29:58 -05:00
InsanityAutomation df1e51258a Add M851 X Y probe offsets (#15202) 2019-09-24 21:29:21 -05:00
Scott Lahteine 6c62732ae1 Handle no Timer 3C 2019-09-22 21:50:18 -05:00
Scott Lahteine c353eaa146
Misc changes from struct refactor (#15289) 2019-09-17 18:16:28 -05:00
Tanguy Pruvot 7c3d52cd6b HAL_DUE build fix (#15286) 2019-09-17 04:51:27 -05:00
Scott Lahteine f01f0d1956 Drop C-style 'void' argument 2019-09-16 20:31:21 -05:00
Scott Lahteine 7d8c38693f Formatting 2019-09-16 20:31:21 -05:00
Scott Lahteine a06010e08a Macrofy attachInterrupt 2019-09-16 20:31:20 -05:00
Scott Lahteine 7e95ee9e4b Patch missing millis 2019-09-16 15:57:25 -05:00
Tanguy Pruvot 02d400e413 STM32F1: Sync SPI changes from maple master (#15266) 2019-09-15 13:46:17 -05:00
Scott Lahteine d5f5203880 Use "mount" as card verb 2019-09-15 03:12:44 -05:00
Scott Lahteine 465c6d9230
Simpler Allen Key config. Fixes, cleanups from refactor (#15256) 2019-09-14 03:05:10 -05:00
Scott Lahteine ffb418b226 Move some SD comments 2019-09-14 02:31:47 -05:00
Tanguy Pruvot 2435c6082a STM32F1: AUTO_BED_LEVELING_UBL build fixes (#15240) 2019-09-13 01:33:33 -05:00
Tanguy Pruvot 5bf635cec2 STM32F1: Only include USBComposite if flagged (#15243) 2019-09-12 18:35:27 -05:00
Tanguy Pruvot f1162243f6 STM32F1: No USBSerial without USB-serial bridge (#15242) 2019-09-12 17:59:31 -05:00
reloxx13 05cd483413 STM32F1: Support M997 - Reset and begin flash (#15209) 2019-09-11 12:12:58 -05:00
Ludy 3c3a956a17 Fix compiling error BIGTREE_SKR_MINI (#15197)
Let's get STM32F1 working again!
2019-09-09 10:34:54 -05:00
Scott Lahteine 565a0e11ed Prevent 'current' name conflict, if needed 2019-09-09 03:17:11 -05:00
Scott Lahteine dbea6f0022 STM32F1 USB cdc/msc composite device (#15180)
Co-Authored-By: bigtreetech <38851044+bigtreetech@users.noreply.github.com>
2019-09-08 02:28:22 -05:00
Jamie dbee0e9c54 Analog joystick jogging control (#14648) 2019-09-08 00:55:34 -05:00
Scott Lahteine 8d036e94bf Combine channel-based SPI headers 2019-09-05 17:09:24 -05:00
Ludy beffcd856b Update German language, (c) (#15164) 2019-09-04 16:59:26 -05:00
Scott Lahteine 75efa3cdac
Reorganize HAL (#14832) 2019-09-02 19:49:58 -05:00
Giuliano Zaro 12c595c61f SAMD51 LCD support (#15113) 2019-09-02 05:45:02 -05:00
Scott Lahteine 34b73426e5 Apply #ifdef/#ifndef where possible 2019-09-01 23:54:50 -05:00
Scott Lahteine 586b334c2a
Split up stepper indirection (#15111) 2019-08-31 19:44:45 -05:00
Scott Lahteine 0f4d3e1bca Fix ESP32 "DISABLED" name conflict 2019-08-30 22:37:28 -05:00
Tanguy Pruvot c014f8dc78 Fix STM32F1 SPI warning (gcc 8.2.1) (#15104) 2019-08-30 18:15:04 -05:00
Tanguy Pruvot d068470e18 Prevent Linux min/max error (#15107) 2019-08-30 17:46:09 -05:00
Scott Lahteine d25231aea8 Spacing, defined(), #include tweaks 2019-08-29 18:06:24 -05:00
Karl Andersson 7ebfae27e3 Fix HAL_STM32 SPI regression (#15093)
Reference: 0b47558
2019-08-29 17:00:01 -05:00
Scott Lahteine a61c91ae9e Use 'bugfix' branch of U8glib-HAL 2019-08-28 21:39:18 -05:00
Scott Lahteine 1d8ad7cf71 Safe changes from HAL cleanup 2019-08-28 21:21:47 -05:00
BigTreeTech 848dd740ba Fix STM32F1 ADC read temperature error (#15026)
…after USB CDC connect.
2019-08-24 01:33:16 -05:00
Tanguy Pruvot 012f577bb0 STM32F1: Import (rogerclarkmelbourne) SPI class (#15002) 2019-08-21 06:22:23 -05:00
chzj333 0b47558a09 New board STM32F407 (#14994) 2019-08-20 03:05:12 -05:00
Scott Lahteine 29c12905f5 Minor HAL patches 2019-08-19 02:28:36 -05:00
Scott Lahteine 3f678b0be5 Remove some extra F4 conditions 2019-08-18 23:37:25 -05:00
Scott Lahteine 4d1a662571 Fix STM32F7 STEPPER_ENABLE_PIN 2019-08-18 23:25:15 -05:00
Bob Kuhn 66bfad3ced Fix missing U8glib.h include (#14966) 2019-08-16 20:06:32 -05:00
Marcio Teixeira 274934ad81 Add LULZBOT_TOUCH_UI (#14967) 2019-08-16 18:34:13 -05:00
Giuliano Zaro af4bcb629a SAMD51 typo fix (#14885) 2019-08-10 19:22:48 -05:00
Johnny Eshak 03dbe16ccc Compiling M43 on invalid conversion (#14897) 2019-08-10 19:20:40 -05:00
Giuliano Zaro d78086ccdc SAMD51: Neopixel pin mapping (#14913) 2019-08-10 19:18:32 -05:00
Eric Ptak 9c5086e6af [STM32F1] Simpler Flash EEPROM (#14829) 2019-08-10 19:14:31 -05:00
Tanguy Pruvot 5d2519ed50 Allow use of Fysetc SoftwareSerialM (#14893) 2019-08-10 01:45:36 -05:00
Chris Pepper 2971b48a12 Use PlatformIO 4 default dir structure (#14879) 2019-08-08 08:29:33 -05:00
Scott Lahteine 9624c90cfb Remove HAL.h dependency in SoftwareSerial.h 2019-08-08 07:43:57 -05:00
Tanguy Pruvot 535018ef0e STM32F1: Dummy SoftwareSerial (as TMCStepper fallback) (#14861) 2019-08-08 02:25:52 -05:00
Tanguy Pruvot 92c35d14a4 Non-fatal error from ps::access_start (#14845) 2019-08-07 00:43:00 -05:00
Giuliano Zaro 535eeace5f Fix Bed, Chamber ADC condition (#14866) 2019-08-06 22:57:54 -05:00
Tanguy Pruvot eecfcd124d Finish STM32F4 SD-based settings storage (#14844) 2019-08-06 22:53:11 -05:00
Scott Lahteine fd9f067a48 Robin FSMC / SPI pins 2019-08-06 04:57:49 -05:00
Scott Lahteine 579e4396e2 Reduce STM32_F4_F7 pin warnings 2019-08-06 04:57:15 -05:00
Scott Lahteine fb579212ea Reduce unused function warnings 2019-08-06 04:56:17 -05:00
Robby Candra 5bc2fb022c THERMAL_PROTECTION_GRACE_PERIOD is obsolete (#14798) 2019-08-05 20:33:15 -05:00
Giuliano Zaro d493cafc4a Fix a memset pointer cast (#14823) 2019-08-04 22:06:36 -05:00
Tanguy Pruvot 4bd1e55093 STM32F1: Init EEPROM SPI pin modes (#14810) 2019-08-03 18:11:06 -05:00
Scott Lahteine 18c9182903 Match up write_data signatures 2019-08-02 11:09:07 -05:00
Ludy 337361d588 Update German language, (c) (#14804) 2019-08-02 09:21:28 -05:00
yangwenxiong 6132cf900b STM32F4x SD-based settings storage (#14808) 2019-08-02 07:40:27 -05:00
Giuliano Zaro 21993b75f4 SAMD51 Servo class (#14781) 2019-08-02 07:37:41 -05:00
Scott Lahteine e85eca2630 HAL cleanup, Teensy 3.1 platform 2019-08-02 07:22:26 -05:00
Scott Lahteine e1942715ce HAL_STM32F1_EEPROM_SIZE => HAL_EEPROM_SIZE 2019-08-02 06:18:36 -05:00
Scott Lahteine fd945d1070 More generic EEPROM data array name 2019-08-02 04:40:34 -05:00
Tanguy Pruvot 3334163e73 STM32F1: Align SD EEPROM data for SDIO (#14809) 2019-08-02 04:12:46 -05:00
Scott Lahteine 5e2582a31b Comment spacing 2019-08-02 02:24:15 -05:00
Scott Lahteine c2b319360d Remove extra pragmas 2019-07-30 20:19:47 -05:00
Tanguy Pruvot 202d3ab3c9 Define STM32F1 GPIO for the preprocessor (#14785) 2019-07-30 18:58:03 -05:00
pinchies d98b9d54f1 JGAurora A5S & A1 touch support (#14768) 2019-07-30 17:08:11 -05:00
rafaljot e44fccf3d2 Add support for M575 (#14757) 2019-07-30 02:30:00 -05:00
Scott Lahteine 1165c26ab4 Trailing whitespace 2019-07-29 19:46:54 -05:00
Scott Lahteine e5d73f68c8
HAL folder organization (#14763) 2019-07-28 23:55:24 -05:00
Giuliano Zaro 290466578f Adafruit Grand Central M4 (#14749) 2019-07-28 14:48:29 -05:00
Marcio Teixeira 1c3df51f87 vsnprintf patch redux (#14725) 2019-07-27 04:34:49 -05:00
Chris Pepper b6095fd084
Reduce default LPC176x ADC lowpass filtering 2019-07-25 00:40:51 +01:00
Marcio Teixeira 585a8a96b4 Fix extraneous redefine of vsnprintf_P in Marduino.h (#14712) 2019-07-23 17:18:53 -05:00
Marcio Teixeira 369fb2806d Fix compilation warnings, errors (#14704) 2019-07-22 20:08:54 -05:00
Giuliano Zaro 1005f225f3 Remove unused defines, fix typo (#14699) 2019-07-21 21:44:03 -05:00
Tanguy Pruvot dca0c3d02a Fix SPI comments, clean up U20 pins (#14700) 2019-07-21 20:23:41 -05:00
Scott Lahteine 7501e40e0b APB comment correction 2019-07-21 20:13:36 -05:00
BigTreeTech a38b9da672 STM32F1 SPI1 bugfix (#14679) 2019-07-20 20:35:41 -05:00
Scott Lahteine 93adb7e944 Some comment patches 2019-07-20 16:46:59 -05:00
Tanguy Pruvot 977cfa4494 Fix a few recent (STM32F1 DOGM, SPI) warnings (#14669) 2019-07-20 01:54:01 -05:00
Scott Lahteine 4cc83b6330 Allow THERMAL_PROTECTION_GRACE_PERIOD override
Co-Authored-By: MarcelMo <marcelmo@users.noreply.github.com>
2019-07-18 23:38:03 -05:00
Scott Lahteine ec13aa0dc1 Misc. whitespace 2019-07-18 05:13:55 -05:00
Scott Lahteine 06324df072 Apply some #ifndef 2019-07-17 03:14:44 -05:00
Simon Jouet f0de56a797 ESP32 HAL - Dynamic ADC attenuation (#14623) 2019-07-14 23:32:48 -05:00
Tanguy Pruvot 81d629bc47 Robin & Longer3D SPI TFT driver (#14595) 2019-07-14 18:16:26 -05:00
Scott Lahteine d4be970c8b Update DOGLCD conditions 2019-07-14 13:10:13 -05:00
Ringel e139c1d9d9 Fix ESP32 i2s stream, add PWM to extended pins (#14592) 2019-07-14 10:08:14 -05:00
Ludy 6dcb85927a Update German language, &c. (#14613) 2019-07-14 04:34:55 -05:00
Scott Lahteine d3add3c34f Init servo macro, j/b 2019-07-12 04:53:50 -05:00
InsanityAutomation f1eaed7e98 Only init servo pins used for servos (#14589) 2019-07-12 04:30:15 -05:00
Giuliano Zaro cd36809c06 Fix STM32F7 compile error (#14583) 2019-07-11 15:23:53 -05:00
Ludy 70586d3a6c Update (c) comments (#14584) 2019-07-11 13:48:15 -05:00
Scott Lahteine ad1c061e7b Bring STM32F4/F7 together 2019-07-10 07:07:04 -05:00
Scott Lahteine cf9ac4c847 Move vsnprintf_P to Marduino.h 2019-07-10 07:07:04 -05:00
Scott Lahteine f7de453da8 More general 'stm32_timer_t' 2019-07-10 07:07:04 -05:00
Scott Lahteine 828cc71847 Tweaks to STM32 headers 2019-07-10 07:07:04 -05:00
Scott Lahteine 4e479caf61 Fix mis-use of LIMIT 2019-07-10 07:07:04 -05:00
Tanguy Pruvot 881e5a48bc Fix M43 warning, XL density timers (#14555) 2019-07-10 06:30:57 -05:00
Scott Lahteine ed0e6afacb Apply LIMIT macro 2019-07-10 03:35:39 -05:00
Scott Lahteine f990ebfb09
Tweak STM32F4/7 eeprom emulation (#14563) 2019-07-09 22:49:58 -05:00
Scott Lahteine 056efaba91 Clean up section comments 2019-07-09 22:34:21 -05:00
Scott Lahteine 3ae3bf5d33 Get E2END from pins, fix Linux buffer 2019-07-09 21:32:13 -05:00
Scott Lahteine 01e8813286 EEPROM_EMULATED_WITH_SRAM => SRAM_EEPROM_EMULATION 2019-07-09 21:31:33 -05:00
Scott Lahteine c0e917ea83 DUE/usb should use platform min/max 2019-07-09 19:31:07 -05:00
gmarsh ab99a80793 GMARSH X6 board support (#14550) 2019-07-09 00:30:08 -05:00
Scott Lahteine a2ba0aaaac
HAL include and other adjustments (#14525) 2019-07-08 23:42:29 -05:00
Msq001 439e28783b BigTree SKR Pro V1.1 board support (#14523) 2019-07-06 21:52:17 -05:00
Bob Kuhn dc02d0720d Pins Debugging for STM32 — NEEDS TESTING (#14309) 2019-07-05 22:08:06 -05:00
Tanguy Pruvot 052aa23efe STM32F1: ignore output check for analogWrite() (#14498) 2019-07-05 21:13:32 -05:00
Scott Lahteine 253d0f9671 Some MIN/MAX rely on core 2019-07-05 20:07:48 -05:00
Scott Lahteine fe02241044 NONE on combined options 2019-07-05 18:20:24 -05:00
Scott Lahteine 750a16ad38 Fix MIN/MAX function collision with macros 2019-07-05 18:14:02 -05:00
Scott Lahteine b6546ea33a Add include guards to some headers 2019-07-05 04:02:08 -05:00
Giuliano Zaro 66e16af29d SPI defines cleanup (#14506) 2019-07-05 01:59:37 -05:00
Scott Lahteine 44e4f853c8 Patch M_PI in Marduino.h 2019-07-04 19:58:08 -05:00
Scott Lahteine de462f2b8a Revert "Sort out settings.load with SD EEPROM emulation (#14458)"
This reverts commit 108d0df565.
2019-07-03 19:11:30 -05:00
Giuliano Zaro b7573c6e69 Remove unused WRITE_VAR, etc. (#14493) 2019-07-03 17:52:30 -05:00
Scott Lahteine d4415dcf59 Fix analogWrite ambiguity 2019-07-02 04:36:02 -05:00
Marcio Teixeira 16409eb233 Suppress more UNUSED warnings (#14466) 2019-07-01 20:42:38 -05:00
Tanguy Pruvot 108d0df565 Sort out settings.load with SD EEPROM emulation (#14458) 2019-07-01 09:10:17 -05:00
Ludy dab2f0c89c Mask unused var, update (c) comments (#14455) 2019-06-30 22:29:33 -05:00
Tanguy Pruvot 19aafb9050 Fix STM32F1 motor shocks (stepper timer issue) (#14030) 2019-06-29 04:39:38 -05:00
th33xitus fe2c710b39 Fix for Arduino Due + 12864 Full Graphic Display (#14181) 2019-06-29 01:37:02 -05:00
Scott Lahteine b615b492ba Update some HAL comments 2019-06-28 23:10:40 -05:00
Scott Lahteine 49027721e9 Clean up some pinsDebug headers 2019-06-28 22:50:56 -05:00
Scott Lahteine 4d5a1984e2 Simplified fan handling code 2019-06-28 18:50:32 -05:00
Scott Lahteine 93cd66ac11 Tweaky change from (C) to (c) 2019-06-27 23:58:16 -05:00
Scott Lahteine d7d80418ae
Singleton for cutting tools (#14429) 2019-06-27 23:06:49 -05:00
Scott Lahteine 6664b90bbb
Init servo pins in HAL_init (#14425) 2019-06-27 16:29:17 -05:00
Andy Shaw 064177154c Update SD card connection / sharing options (#14325) 2019-06-26 03:55:57 -05:00
Eric Ptak 8934b32f1b Fysetc AIO II / Cheetah STM32F1 (#14407) 2019-06-26 00:40:29 -05:00
Tanguy Pruvot 07dac315a9 Up-to-date STM32F1 README (#14386) 2019-06-24 03:44:26 -05:00
Scott Lahteine 3d9d72e8db Include order, spacing, etc. 2019-06-23 04:02:52 -05:00
Tanguy Pruvot be69ec5b32 Fix PLR/M43 warnings (#14333) 2019-06-22 00:48:47 -05:00
Tanguy Pruvot 52383633e7 STM32F1: M43 PINS_DEBUGGING (#14072) 2019-06-21 01:20:17 -05:00
Karl Andersson 4b365552db Fix Marduino SBI/CBI redefine (#14341) 2019-06-21 00:46:23 -05:00
Tanguy Pruvot ed0c70f0a0 SKRmini followup - Fysetc config updates (#14327) 2019-06-20 05:49:27 -05:00
Tanguy Pruvot 75aeb41ab7 SKRmini support for Fysetc Mini Panel (#14319) 2019-06-18 19:34:16 -05:00
Tanguy Pruvot 391250b04f STM32F1: Don't toggle EEPROM SPI SS (#14299) 2019-06-18 06:48:20 -05:00
3DSmitty 5b13abcacb Fix SPI_SD Outside of HAL_STM32F1 (#14306) 2019-06-18 02:38:18 -05:00
Scott Lahteine 651f3eeed0 Clean up trailing whitespace 2019-06-17 20:22:07 -05:00
Tanguy Pruvot 287df7a61f STM32F1: various small changes
- init the led pin as output (like other HALs)
- reduce sdio dma priority to normal.. highest is never the best...
- allow fsmc only on compatible STM32F1 (like HAL fsmc)
- fsmc: remove an useless C style cast
2019-06-17 10:27:30 +02:00
3DSmitty 66d51272af Fix SPI, SD for BIGTREETECH SKR Mini (#14287) 2019-06-15 18:12:05 -05:00
Scott Lahteine 9a56a88200 Use OUT_WRITE in SPI pin init 2019-06-15 15:36:43 -05:00
Scott Lahteine 26de051e92 HAL SPI pin init cleanup 2019-06-14 20:17:25 -05:00
Scott Lahteine 50c9b33ed7 !ENABLED => DISABLED 2019-06-14 00:44:49 -05:00
Tanguy Pruvot 7d1eafc80a STM32F1: C++14 for static_assert, etc. (#14278) 2019-06-12 18:44:32 -05:00
Msq001 26e7e33698 Fix bug in STM32F1 WRITE macro (#14275) 2019-06-12 06:30:24 -05:00
Scott Lahteine 356410dcfc Move crc16 function to libs 2019-06-12 06:14:39 -05:00
Tanguy Pruvot c3e5225531 Add SPI EEPROM to STM32F1 (#14239) 2019-06-10 23:30:23 -05:00
felixstorm 9439fab7fd Fix ESP32 servos, platformio.ini, etc. (#14247) 2019-06-10 23:22:19 -05:00
Scott Lahteine 80ce0d2bdb Whitespace cleanup 2019-06-08 06:40:44 -05:00
Tanguy Pruvot 764f0d9c1c STM32F1: Servo "soft" PWM via timer interrupt (#14187) 2019-06-07 07:11:48 -05:00
Ryan 9d9030a39c Fix Archim1 SD card (#14184) 2019-05-30 19:58:38 -05:00
Bob Kuhn 688b54d66a DUE USB composite device field corrections (#14185) 2019-05-30 16:26:48 -05:00
Scott Lahteine 07021c85c8 Tweak timer16_Sequence_t 2019-05-30 16:09:37 -05:00
Tanguy Pruvot e3a468f2cd STM32F1: FSMC only on chips with 100/144 pins (#14180) 2019-05-30 15:51:02 -05:00
Scott Lahteine d3bb5b69ba Apply NOLESS/NOMORE 2019-05-26 20:55:00 -05:00
Scott Lahteine c6d39319de Fix some whitespace 2019-05-26 16:18:43 -05:00
Giuliano Zaro 7b838f31be DUE HAL cleanup (#14126) 2019-05-26 14:51:32 -05:00
Scott Lahteine 47fd74a98d Clean up fast_pwm.cpp 2019-05-25 23:05:01 -05:00
Scott Lahteine 49229d97db Consistent _useTimerX tests 2019-05-25 23:05:01 -05:00
Scott Lahteine 8924389dfc Tweak servo µs macros 2019-05-25 22:33:51 -05:00
Scott Lahteine f8bede6b5e Fix some HAL includes 2019-05-25 19:20:17 -05:00
felixstorm 74f44783ac ESP32 servo support (#14109) 2019-05-25 18:12:24 -05:00
felixstorm bc5a1fe562 Various fixes for ESP32 (#14102) 2019-05-25 17:06:00 -05:00
Tanguy Pruvot 24b1818245 Secure STM32F1 servo code and M280 detach (#14085) 2019-05-22 16:57:19 -05:00
Scott Lahteine a49919396a LPC1768 MarlinServo => libServo 2019-05-22 16:54:52 -05:00
Scott Lahteine 2b5046659a Tweak Marlin headers, comments 2019-05-22 16:54:52 -05:00
Giuliano Zaro a74aad3b4a Clean up HALs / FastIO (#14082) 2019-05-21 18:28:12 -05:00
Tanguy Pruvot 402f1f7307 STM32F1: STM32_HIGH_DENSITY is auto defined in HAL (#14057)
- Fix the `fsmc` and `sdio` units which required hard defines for use.
2019-05-18 20:45:22 -05:00
Tanguy Pruvot 256f810df2 Add open-drain output mode to STM32F1 FastIO (#14050)
- This mode is often used/preferred to drive printer boards' MOSFETs.
- Can generally boost the allowed output power (for hotbed,nozzle and fans).
2019-05-18 16:12:00 -05:00
Scott Lahteine 0b056970c6 Fix file.open in STM32 eeprom emu 2019-05-17 18:26:53 -05:00
Marcio Teixeira 9558962d59 Fix DUE HAL SW SPI compile error (#14005) 2019-05-16 20:36:19 -05:00
Chris Pepper 451ea996c9
[LPC176x] Fix switch fallthrough 2019-05-15 10:35:26 +01:00
Tanguy Pruvot d7b0369e39 STM32: Fix SD EEPROM emulation conflict (#14012) 2019-05-15 02:42:10 -05:00
Tanguy Pruvot 8075893352 STM32: fix sdcard filename conversion 2019-05-12 04:26:21 +02:00
Tanguy Pruvot 93dd097b1c Use E2END, if defined, for STM32F1 (SD) (#13981) 2019-05-11 18:22:31 -05:00
Bob Kuhn 456a0ee76b Improve Due SW SPI, Fysetc sanity checks, &c. (#13939) 2019-05-11 16:51:39 -05:00
Scott Lahteine a613bcad2d Fix some spelling 2019-05-10 20:39:19 -05:00
Tanguy Pruvot 62b36d1b98 Fix STM32 timer warnings (#13946) 2019-05-10 20:00:21 -05:00
Marcio Teixeira 746c38f4be Fix HAL_DUE multiple define error with graphical LCD (#13971) 2019-05-10 19:52:43 -05:00
Scott Lahteine ad4ffa1d2f
Use C++ language supported 'nullptr' (#13944) 2019-05-09 11:45:55 -05:00
Tanguy Pruvot e53d7e5517 STM32: ADC warning fix (#13933) 2019-05-09 00:33:38 -05:00
Tanguy Pruvot 11adcf1ce3 Add'l PLR options, AVR strstr_P compat (#13880) 2019-05-07 20:38:40 -05:00
J.C. Nelson 172abc305b Malyan M200 core fixes (#13927) 2019-05-06 18:07:13 -05:00
Scott Lahteine f9a50f451d Serial out cleanup 2019-05-06 17:26:34 -05:00
Scott Lahteine 9853331b34 Fix temp init, loosen ADC grace period 2019-05-05 22:55:03 -05:00
Tanguy Pruvot a4c24511f7 STM32: Fix Marduino SBI/CBI redefine (#13912) 2019-05-05 22:06:30 -05:00
Bob Kuhn c48e6be366 Fysetc panel, RUMBA and ReARM pins, SPI mode 3 (#13900) 2019-05-04 17:59:36 -05:00
Chris Pepper 66f7065248
[LPC176x] Update extra script to support Python3 (#13908) 2019-05-04 20:52:28 +01:00
Scott Lahteine e7682eea42
Use Arduino.h include wrapper (#13877) 2019-05-02 00:45:50 -05:00
Thomas Moore ee243e4edf Fix mixing extruder filament change (#13803) 2019-05-01 21:55:58 -05:00
Scott Lahteine 9ccbd382e7 Update Watchdog description 2019-04-27 14:56:12 +02:00
Scott Lahteine b6279abd30 Better THERMAL_PROTECTION_GRACE_PERIOD
See #13783
2019-04-27 14:40:09 +02:00
Kajetan Rzepecki 875e673a8c Add HAL-based thermal protection grace period for all heaters (#13778) 2019-04-21 20:50:32 -05:00
Bob Kuhn 81ca5a4cd4 Fix and improve FYSETC LCD support (#13767) 2019-04-21 20:48:53 -05:00
felixstorm 4e35e6c705 Fix SS pin in ESP32 HW SPI (#13781) 2019-04-21 17:15:15 -05:00
felixstorm 4a48b70c0b Fix (re-)defines in HAL_ESP32 (#13780) 2019-04-21 17:14:38 -05:00
Kajetan Rzepecki ea1ee02b53 Disable hardware PWM on ESP32 I2S expander (#13762) 2019-04-20 13:41:17 -05:00
Marcio Teixeira 4ac28ba6b3 Add missing file (#13754) 2019-04-19 20:20:45 -05:00
jmdearras b65cb5704d Fix, improve FYSETC_MINI_12864 support (#13730) 2019-04-19 20:11:51 -05:00
Kajetan Rzepecki d83a7924e6 Fix ESP32 TOGGLE() with I2S expander (#13743) 2019-04-18 13:15:35 -05:00
Marcio Teixeira 08f21335a6 Fix bad opcode in LIGHTWEIGHT_UI; add 32-bit HAL and Due compatibility (#13751) 2019-04-18 13:10:58 -05:00
Kajetan Rzepecki 7c8ee0cd5b Enable more ADC1 channels (pins 32-39) (#13742) 2019-04-18 13:01:24 -05:00
Kajetan Rzepecki e1acc09c6e Fix LPC1768 HAL SSD* screen init (#13741) 2019-04-17 14:57:50 -05:00
jmdearras 5f49b65c1f Move LPC SD options to configs, add MKS_MINI_DISPLAY to SKR boards (#13712) 2019-04-15 22:55:33 -05:00
Bob Kuhn 9b578ca343 Support FYSETC_MINI_12864 on Re-ARM, RAMPS_FD, MKS SBASE (#13717) 2019-04-15 22:54:11 -05:00
Kajetan Rzepecki 20dc45bca7 Refactor, fix ESP32 WebSocketSerial (#13689) 2019-04-15 16:32:20 -05:00
Kajetan Rzepecki 6fe90f0324 Define I2S pins for ESP32 (#13714) 2019-04-15 16:13:59 -05:00
Scott Lahteine b18316dd37 Fix some spacing 2019-04-12 13:35:42 -05:00
Scott Lahteine f2ba0a5ae7 Tweak some formatting 2019-04-12 13:15:37 -05:00
Scott Lahteine 7e58d33a2e Update some headers 2019-04-12 13:04:04 -05:00
Scott Lahteine d72946a8d7 Fix LPC1768 build with no watchdog
Fix issue mentioned at https://github.com/MarlinFirmware/Marlin/pull/13587#issuecomment-481737509
2019-04-10 17:34:15 -05:00
Scott Lahteine c8a83fb122 SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA 2019-04-08 18:13:41 -05:00
Bob Kuhn 9a56d90150 Fix M43 on LPC176x (#13587)
The real fix. PR #13568 was wrong.
2019-04-06 18:06:07 -05:00
Kajetan Rzepecki 27693cec29 Extend ESP32 HardwareSerial with flushTX. (#13588) 2019-04-05 19:04:02 -05:00
Alexander Gavrilenko 3c47e1b4d1 Support Black STM32F407VET6 with RAMPS-like shield (#13524) 2019-04-05 15:30:19 -05:00
Kajetan Rzepecki 692a0198f9 Fix SPISettings frequency parameters in ESP32 HW SPI (#13573) 2019-04-04 23:17:14 -05:00
Kajetan Rzepecki 63d95862fa Add FastIO TOGGLE for ESP32 (#13574) 2019-04-04 23:15:17 -05:00
Kajetan Rzepecki b21ca53dfc SPIFFS-backed PersistentStore for ESP32 (#13566) 2019-04-03 20:28:26 -05:00
Scott Lahteine de0046fc8b Fix empty HAS_TIMER macros 2019-03-30 23:04:40 -05:00
Alexander Gavrilenko 6d9aaca082 Fix compilation error for MKS Robin (#13506) 2019-03-29 12:40:24 -05:00
Scott Alfter c6dbe6e9d6 Fix Teensy 3.5/3.6 __get_primask (#13514) 2019-03-29 12:23:09 -05:00
Alexander Amelkin e40636a7c1 Replace digitalPinHasPWM with HAS_TIMER (#13520) 2019-03-29 12:21:14 -05:00
Chris Pepper ffc2c2d7c5 Move FAST_PWM_FAN code to HALs (#13491) 2019-03-26 01:03:23 -05:00
Bob Kuhn 6bd0a0be97 Relocate DUE Stepper ISR to TC0,2 (#13481) 2019-03-25 22:39:51 -05:00
pinchies ef3b93daa1 Fix STM32F1 SD-based EEPROM emulation (#13475)
If `openFile` is given `true`, then it has read-only access. Because all the writing occurs on the next line, this breaks SD card as EEPROM.
2019-03-24 20:07:31 -05:00
Scott Lahteine 380c771988 Handle word-padded flash-based eeprom (STM32F1)
Fix #13445
2019-03-24 19:14:04 -05:00
Scott Alfter 32332bcd03 Proceed with Teensy 3.5/3.6 HAL (#13450) 2019-03-24 00:08:32 -05:00
Scott Lahteine b376c7e374 Group DISABLED items 2019-03-17 07:56:35 -05:00
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(...)`
2019-03-16 23:43:06 -05:00
Karl Andersson 5d3928cb01 PWM is not defined on Arduino Core STM32 (#13405) 2019-03-15 19:14:06 -05:00