Commit Graph

1202 Commits

Author SHA1 Message Date
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
Scott Lahteine
67bee06e43 No patch needed for non-libmaple analogWrite
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
2019-03-13 07:21:10 -05:00
Scott Lahteine
f89b375fb9
Fixes and improvements for PWM pins (#13383) 2019-03-13 06:51:15 -05:00
Scott Lahteine
6214c997c0 Remove includes of <binary.h> 2019-03-13 05:32:33 -05:00
Scott Lahteine
4555ae448f Fixups for ESP32 2019-03-13 05:32:33 -05:00
Hadrien Jouet
0278ad0a6d Add ESP32 WiFi interface (#11209) 2019-03-13 00:48:08 -05:00
Scott Lahteine
ad91476d26 Fix USEABLE_HARDWARE_PWM 2019-03-13 00:12:46 -05:00
Scott Lahteine
51ff5b68fa Clean up fastIO ahead of PWM patch 2019-03-12 20:39:55 -05:00
jmz52
013bb469ca Fix compilation for STM32F1 with no SDIO (#13366) 2019-03-11 16:40:51 -05:00
Scott Lahteine
aa1d587128 Some LCD code cleanup 2019-03-11 05:07:31 -05:00
Scott Lahteine
1f7e220387 Make HAL ISR macros function-like 2019-03-10 20:44:27 -05:00
Scott Lahteine
77b4176152 Use lib include for bit_constants.h 2019-03-10 19:09:28 -05:00
pinchies
4c43e6c48b Fix "spontaneous heating" issue (WRITE bug) on STM32 (#13356)
Should fix "spontanous heating" problems due to order of operations error. Error occurs at least with ststm32 v5.1.0 in PlatformIO.
2019-03-10 17:25:54 -05:00
Msq001
fb3302feda Fix STM32F1 Serial and ADC pins (#13331) 2019-03-08 02:21:32 -06:00
Reece Kibble
dbead66988 Allows user to set (almost) any PWM frequency (#12638) 2019-03-08 02:15:42 -06:00
Scott Lahteine
44571775bd Further support for 6 extruders 2019-03-07 01:00:56 -06:00
Scott Lahteine
2212da453a
Distinguish between analog/digital auto fans (#13298) 2019-03-05 00:41:31 -06:00
Chris Pepper
b0553d2d97 Add M997 support and simple implementation for LPC176x (#13281) 2019-03-01 20:11:50 -06:00
Scott Lahteine
fa236e9718 General cleanup ahead of L64XX 2019-03-01 19:58:07 -06:00
Scott Lahteine
9a6b90f47d TMC2660.h comment tweaks 2019-03-01 00:25:22 -06:00
Bob Kuhn
ddbe4cfa20 Printrboard G2 support (#13116) 2019-02-26 21:03:13 -06:00
Scott Lahteine
4200f9ed62 Hide freeMemory et.al. warnings 2019-02-26 18:03:00 -06:00
Scott Lahteine
dc88747770 Fix Due GET_ARRAY_IS_DIGITAL
Co-Authored-By: bob-the-kuhn <bob.kuhn@att.net>
2019-02-26 17:49:14 -06:00
Scott Lahteine
833c2e54a1 Add an empty flushTX to MarlinSerialUSB_Due 2019-02-25 13:48:14 -06:00
Scott Lahteine
e15354e387
Simplify serial port redirect (#13234) 2019-02-23 22:53:01 -06:00
Karl Andersson
76e9ee33aa Fix include order to make SERIAL_PORT_2 work (#13241) 2019-02-23 16:56:09 -06:00
Scott Lahteine
15aa932aa6
HAL for Linux (#13146) 2019-02-22 19:09:10 -06:00
Scott Lahteine
a43e892fb5 Use 8-bit i2c address on LPC platform
Fix #9799 — hopefully not a unicorn
2019-02-20 06:27:26 -06:00
Scott Lahteine
631d867dc9 HAL cleanups 2019-02-20 06:27:26 -06:00
Scott Lahteine
758c6c9464 Very minor SPI speedup 2019-02-20 04:36:23 -06:00
Scott Lahteine
422dd6666e Fix Due EEPROM write bug
See #13065
2019-02-20 04:36:23 -06:00
Scott Lahteine
03e109c4a3 FLASH_EEPROM => FLASH_EEPROM_EMULATION 2019-02-20 04:36:23 -06:00
Scott Lahteine
50917ccda6 Tweak some u8g interface code 2019-02-20 04:26:34 -06:00
Scott Lahteine
3a1b6fe8c1 Coding standards 2019-02-19 14:58:39 -06:00
Scott Lahteine
18996d2595 Fix some spelling 2019-02-12 16:21:56 -06:00
InsanityAutomation
7f1b69b0c8 Add HOST_PROMPT_SUPPORT (#13039) 2019-02-12 15:55:47 -06:00
Scott Lahteine
0feeef2604 Update copyright in headers 2019-02-12 15:30:11 -06:00
Scott Lahteine
894f5c24a8 Fix trailing whitespace 2019-02-12 14:25:57 -06:00
Scott Lahteine
d9a3fea022 Comments in HAL_spi_STM32F1.cpp 2019-02-11 18:06:33 -06:00
Simon Jouet
5cd0fa3ce1 Basic GPIO expander using the ESP32 I2S peripheral (#12959) 2019-02-10 05:40:31 -06:00
Scott Lahteine
e1587da228
Clean up HAL_spi_Due.cpp (#13087) 2019-02-06 06:31:31 -06:00
Scott Lahteine
b96cc30cd0 HAL spacing tweak 2019-02-04 21:51:06 -06:00
Scott Lahteine
9e394139e5 Followup to 90911104 2019-02-04 10:46:52 -06:00
Andy Shaw
9091110460 LPC1768 - Don't change CS pin state (#13015) 2019-02-04 07:08:39 -06:00
Scott Lahteine
4fa1c52688 Tweak serial output code 2019-02-03 01:09:14 -06:00
revilor
6a57d0b381 Prusa MMU2 (#12967) 2019-01-31 19:10:52 -06:00
Scott Lahteine
8f9b246d0e Tweak some formatting, replace tabs 2019-01-24 13:18:56 -06:00
Scott Lahteine
00cdd41b5f Clean up for recent changes 2019-01-23 20:08:58 -06:00
Bob Kuhn
2f35747f29 L6470 SPI daisy chain support (#12895) 2019-01-23 19:06:54 -06:00
Scott Lahteine
48a581ba2e Tweak some HAL Due code 2019-01-23 00:53:20 -06:00
Scott Lahteine
0495fcd475 Minor spacing fix 2019-01-20 00:10:50 -06:00
Scott Lahteine
a5911765c3 Tweak some spacing 2019-01-19 20:27:57 -06:00
Scott Lahteine
424aa05cc2 Fix some file endings 2019-01-19 18:19:12 -06:00
Scott Lahteine
ce563d7c2e Various general cleanups
Mostly from the L6470-oriented PR
2019-01-19 16:56:12 -06:00
Karl Andersson
64a4649290 STM32 - Fix SD write (#12897) 2019-01-15 18:44:22 -06:00
Scott Lahteine
3e867008f0 Fix some HAL_STM32F1 type declarations 2019-01-12 16:21:11 -06:00
Nils Hasenbanck
f9299c4461 Make timer definition in pin files for STM32 possible (#12874)
RemRam needs to redefine a particular timer to work correctly. The HAL did foresee this possibility and checks if the timer was already defined for either the stepper or temperature timer.

Prior to this commit the header file for the timers couldn't see those definitions in the pin file, but this commit will fix this.

Tested on an actual hardware to verify. (It wouldn't boot without it.)
2019-01-12 14:40:49 -06:00
InsanityAutomation
a403d9a50c Improve menu pause / resume (#12876) 2019-01-11 20:42:11 -06:00
Chris Pepper
2919f3045d [LPC176x] Update PIO extrascript (#12878) 2019-01-11 19:45:33 -06:00
Scott Lahteine
0d30ccf767 Tweaks to TMC26XStepper 2019-01-11 19:42:34 -06:00
Karl Andersson
8ae6f1e556 Fix errors and some compiler warnings with HAL_STM32 PlatformIO build (#12869) 2019-01-10 19:01:31 -06:00
jmz52
d372e7e477 SDIO support for STM32F1 (#12782) 2019-01-04 13:38:07 -06:00
jmz52
813a4ea107 Add support for Mks Robin TFT display (#12706)
* Add support for MKS Robin TFT display

- Add support for MKS Robin TFT display and encoder for MKS Robin board.
- Generic 128x64 UI with x2 upscale is used (for now).
- Tested on MKS Robin TFT V2.0 with ST7789V controller.
2019-01-03 10:38:39 -06:00
jmz52
c4237b529f Fix MKS Mini and SD card conflct over SPI mode (#12783) 2019-01-03 10:27:53 -06:00
Phr3d13
01f75591c6 Fix GTM32_PRO_VB Serial and HAL via watchdog (#12753)
Move `watchdog_reset` from `.h` to `.cpp` to eliminate the need to include `MarlinConfig.h` in a HAL-related file.
2019-01-03 09:46:49 -06:00
Marcio Teixeira
60cb36bef3 Misc. improvements (#12747)
* Make ExtUI respect MAXTEMP limits
  - Temperatures are now clamped by MAXTEMP limits rather than arbitrary values.
* Speed up USB init, add status
  - Speed up USB initialization
  - Show status message if init failed
* Enable status messages for EXTENSIBLE_UI
* Adjust max limit to MAX_TEMP - 15
* Misc. tweaks to formatting, const, etc.
2019-01-01 15:17:48 -06:00
Reece Kibble
7557f8d68c Rename all Stm32f1 to STM32F1 (#12639) 2018-12-31 16:36:49 -06:00
jmz52
33abb86b7e Add support for MKS Robin board (#12650)
Implement initial support for MKS Robin (STM32F103ZET6) board.
Custom build script is used to generate encrypted firmware compatible with original MSK Robin bootloader (i.e. safe firmware update from SD card and possibility to go back to original close-source firmware).
2018-12-20 17:23:27 -06:00
Scott Lahteine
f6321f878a
Simpler AVR + Trinamic + Soft Serial sanity-check (#12606) 2018-12-08 23:34:26 -06:00
mr-miky
11c7945365 Don't include STM32 Core code when compiling STM32 Generic (#12575) 2018-12-03 06:55:49 -06:00
Scott Lahteine
c986239837
A single SERIAL_ECHO macro type (#12557) 2018-11-29 16:58:58 -06:00
Marcio Teixeira
7109dadd21 Additional pin definitions for Archim 2 (#12500)
- Added GPIO pins to Archim 2
- Added new 108 pin to `fastio_Due.h`
2018-11-22 01:07:02 -06:00
Andy Shaw
4975b13b74 Fix problems with LPC1768 EEPROM flash emulation (#12503)
* Remove duplicate calls to PrepareSector

Some flash memory API calls require that a call to `PrepareSector` is done before use. However this call is already made by the LPC1768 framework so the calls in this code are not required.

* Ensure correct alignment of RAM buffer

The LPC176X flash API requires that the RAM buffer used for write operations must be word-aligned. This change ensures that this is the case.
2018-11-22 01:03:32 -06:00
Ludy
90a58488b5 Corrected unused var, default switch, Travis tests (#12477) 2018-11-19 23:59:48 -06:00
Scott Lahteine
826d570162
Combine Travis CI option-setting commands (#12474) 2018-11-18 19:58:02 -06:00
Nils Hasenbanck
5a4fd8e0a6 Fix access to the DWT peripheral for STM32 HAL (#12434)
Access to the DWT peripheral for the `CYCCNT` register needs to happen before `main()`. The code needs to be called after the setup of the system clocks, so the right place is between the `premain()` and `main()` function of the STM32 Arduino core.

This patch moves the DWT access code to a new function, which is then placed between `premain()` and `main()`.
2018-11-18 01:30:46 -06:00
Ludy
22d7fed60a Fix compile error with SD_FIRMWARE_UPDATE (#12462) 2018-11-17 21:13:36 -06:00
Scott Lahteine
66580f32c2
Make CardReader class static (#12451)
* Make CardReader a static class
* Make CardReader flags into bitfields
2018-11-16 22:39:16 -06:00
Ryan
052d102ded UltiMachine Archim 1 support (#12404) 2018-11-14 00:27:39 -06:00
Scott Lahteine
0ee1a92971
Group status methods, share reset_status with Extensible UI (#12414)
* Group status methods, share reset_status with Extensible UI
* Move common DOGM code to headers
2018-11-13 01:47:45 -06:00
Scott Lahteine
4e0c935959 Update HAL and libs formatting 2018-11-10 19:43:23 -06:00
Scott Lahteine
b3b4e6dc45
Change Marlin debug flag names to fix conflicts (#12340)
In reference to #11000
2018-11-05 22:48:28 -06:00
Scott Lahteine
c31e1735dd Restore LPC1768_PIN_INTERRUPT_M, apply to Z3
- In reference to #12166
2018-11-05 06:28:49 -06:00
Scott Lahteine
0c85869c26 Clean up file endings 2018-11-04 18:30:10 -06:00
Scott Lahteine
e0956bb572 Drop 'register' storage specifier 2018-11-04 16:17:13 -06:00
Scott Lahteine
9c0e05552e Suppress some compile warnings 2018-11-04 15:25:31 -06:00
Karl Andersson
176654791e Use board-specific or platform SPI pins in HAL_STM32 (#12323) 2018-11-04 15:03:45 -06:00
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup (#12322)
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
2018-11-04 02:25:55 -06:00
Nils Hasenbanck
cafabf2055 Implement DELAY_NS with CYCCNT on Cortex-M7 (#12283) 2018-11-01 16:11:51 -05:00
Karl Andersson
484ca68228 Fix misplaced parentheses (#12284) 2018-10-31 15:34:37 -05:00
Karl Andersson
1946f729fd STM32 FastIO using register access (#12276) 2018-10-30 19:25:44 -05:00
Scott Lahteine
4ed579cafc Americanized English spelling 2018-10-30 18:55:38 -05:00
Scott Lahteine
3583e2b449
Followup to Menu Refactor (#12275) 2018-10-30 16:34:45 -05:00
mholeys
63ce8baa55 Fix Teensy 3.5/3.6 ADC access for ADC1 (#12258) 2018-10-28 15:51:49 -05:00
Scott Lahteine
5580773191
Use FastIO, sanity-check LPC SD options, apply formatting (#12231) 2018-10-26 15:23:02 -05:00
Scott Lahteine
d015f746cc
Fix some compile warnings (#12220) 2018-10-26 03:53:06 -05:00
Scott Lahteine
fbfb48cce0 Indent a block 2018-10-25 10:52:27 -05:00
Scott Lahteine
7a04eb3a8b Fix some comment formatting 2018-10-23 22:35:44 -05:00
Karl Andersson
aa72884a6e Enable use of SERIAL_PORT_2 on HAL_STM32 (#12197) 2018-10-23 15:24:58 -05:00
Scott Lahteine
8d3a92fc4a Followup to millis_t patch 2018-10-20 23:23:58 -05:00
Ludy
44369d536a Use millis_t where needed (#12152) 2018-10-20 23:21:27 -05:00
Scott Lahteine
c6a5c74208 Add parentheses to SD macros 2018-10-19 13:52:57 -05:00
Marcio Teixeira
71e19baf69 Fix kill => disable_all_heaters => print_job_timer.stop (#12146)
- Remove `print_job_timer.stop()` from `disable_all_heaters`
- Call `print_job_timer.stop()` for relevant `disable_all_heaters()`.
- Split up `kill()` for watchdog interrupt safety
2018-10-18 21:20:56 -05:00
Marcio Teixeira
5b7dd553d3 Fix sd_mmc_spi_mem capacity; clean up USB code (#12134)
- Fix an error in the return value of `sd_mmc_spi_read_capacity` which was causing the host OS to read beyond the last sector in the card.
- Clean up the USB flashdrive code and add better debugging.
2018-10-18 11:34:07 -05:00
Scott Lahteine
df768e7d8f Followup to #12129 2018-10-18 11:29:49 -05:00
Chris Pepper
3c13c9e3e9 [LPC176x] Fix USEABLE_HARDWARE_PWM macro, cleanup multiple LED support (#12129) 2018-10-18 11:26:50 -05:00
Nils Hasenbanck
9deb23aa47 Add missing SerialUSB definition for STM32 HAL (#12124) 2018-10-17 11:14:10 -05:00
Scott Lahteine
bc75eb2c64 Cleanup for HAL_spi_Due.cpp 2018-10-17 10:33:54 -05:00
Scott Lahteine
cce4931342 Clean up recent contribs 2018-10-16 06:45:44 -05:00
Karl Andersson
8b5e51c9aa STM32F4xx modifications for HAL_STM32 (#12080) 2018-10-16 06:42:41 -05:00
Christopher Pepper
e5b4bf22d4 Remove debug output from flash persistent store implementation 2018-10-14 18:43:48 +01:00
Christopher Pepper
254b68fe2c servo update 2018-10-14 18:43:48 +01:00
Andy Shaw
870bfd08f5 usb and sdcard sharing improvements
* Add traceback after watchdog timeout

Add the cpability to perform a traceback following a watchdog timeout.

* Enhanced hardware SPI

Allow use of either SSP0 or SSP1.
Ensure that no data is left in I/O buffers after calls to enable sharing of SSP hardware.

* Make flash emulation of eeprom the default

Make use of flash for eeprom storage the default. This means that usage of eeprom will not cause USB drive mount/unmount operations.

* Allow sharing of SD card

SD card I/O operations from the USB stack take place in idle loop, rather than at interrupt time. Allowing sharing of the SPI bus.

New configuration options to allow usage of the SD card to be specified.

* Fix problem with hardware SPI pins
2018-10-14 18:43:48 +01:00
Christopher Pepper
5ddf52d58e [HAL][LPC176x] Pull out framework into separate repository
Framework and build platform now located at https://github.com/p3p/pio-framework-arduino-lpc176x and https://github.com/p3p/pio-nxplpc-arduino-lpc176x respectively

fix mkssbase leds

move hardware serial

remove hardware/software serial

Hardware Serial extraction

HardwareSerial ISRs

fix disabled serial2 causing Serial object to link

move usb devices out to framework

separate out adc/pwm peripheral function from hal.cpp

fix includes

remove unused pwm init

move adc

HAL header update

templated filtered adc

LPC1769 platform
2018-10-14 18:43:48 +01:00
Scott Lahteine
0bd54392b7 Use uint8_t in EEPROM code 2018-10-09 19:00:01 -05:00
Marcio Teixeira
ec9aa4f468 [2.0.x] Miscellaneous fixes (#12039)
* Allow override of soft SPI pins in `pins_*.h`
* Add default case to avoid compiler warning.
* Additional pin definitions for Archim 2.
* Einsy Retro has same timings as Einsy Rambo.
2018-10-08 18:14:52 -05:00
Nils Hasenbanck
191df5e17d Correct PWM_PIN behavior for STM32 HALs (#12027) 2018-10-07 17:08:01 -05:00
Scott Lahteine
bfcf570d68 Try ISR_ALIASOF for Endstop Interrupts 2018-10-07 17:05:32 -05:00
Scott Lahteine
cb7844c8d4
Save PROGMEM on serial prefixes (#12033)
With default config and `EEPROM_SETTINGS`, saves over 200 bytes of PROGMEM.
2018-10-07 15:32:15 -05:00
Scott Lahteine
33056046a3
STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM (#12016) 2018-10-06 00:14:12 -05:00
Scott Lahteine
d5141c4e03 Fix up leading/trailing whitespace 2018-10-05 18:19:59 -05:00
Nils Hasenbanck
fcf6d127fd STM32 timer simplification (#11995)
Prescalers aren't calculated for the given target frequency.
Stepper timer should run at 2 Mhz and temperature timer at 72 Khz.
2018-10-03 22:33:24 -05:00
AnoNymous
001f26b642 Template struct simplification for serial (#11990) 2018-10-03 11:01:21 -05:00
Scott Lahteine
348004c34f
STM32F7 HAL using the official STM32 Arduino Core (#11750) 2018-10-03 03:26:07 -05:00
Eduardo José Tagle
d6955f25b2 Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988) 2018-10-03 00:47:27 -05:00
Eduardo José Tagle
f6f2246f59 Templatized serial classes (#11982) 2018-10-02 22:15:30 -05:00
Scott Lahteine
ee53f7d813 Revert header reorg. 2018-10-02 22:09:41 -05:00
Scott Lahteine
0dedb3e139
Reorganize some core headers (#11983) 2018-10-02 04:25:46 -05:00
Scott Lahteine
606a4362b3 Reduce STM32F4 compile warnings 2018-10-01 04:41:17 -05:00
Scott Lahteine
11ac75edcb
Use PGM_P for PSTR pointers (#11977) 2018-09-30 23:44:33 -05:00
Scott Lahteine
8489673cea Adjust some HAL formatting 2018-09-30 21:24:37 -05:00
Alexander Amelkin
2ecfda80ac Improve support for JTAG/SWD pins reuse (#11963)
STM32 can reuse JTAG and SWD pins separately. Add `DISABLE_DEBUG` option to disable both interfaces and retain `DISABLE_JTAG` to disable JTAG only.
2018-09-29 19:00:49 -05:00
Scott Lahteine
7d5c336c56 Corrections for dylsexic TMC 2018-09-29 18:51:11 -05:00
Scott Lahteine
ad21a4f07b Tweaks to HAL format and order 2018-09-28 15:59:50 -05:00
Scott Lahteine
b682a1961a Tweak STM32F7 TMC2660 class 2018-09-27 21:13:15 -05:00
Alexander Amelkin
84926b1d5a HAL general support for DISABLE_JTAG option (#11211)
Some STM32-based boards may use multiplexed JTAG pins as IO. Up to now the `DISABLE_JTAG` option (defined in pins files) was only supported for AT90-based boards. This commit generalizes the code and adds support for boards based on STM32F1 and STM32F4.
2018-09-27 19:02:50 -04:00
Marcio Teixeira
ccbd045f02 Fixed warning about comparing signed to unsigned (#11909) 2018-09-24 12:03:29 -04:00
Marcio Teixeira
c411e7eb0d [2.0.x] Squelch compiler warnings seen with -Wall (#11889) 2018-09-23 12:00:34 -04:00
Scott Lahteine
1718eff54a Code changes supporting up to 6 extruders 2018-09-16 22:32:53 -05:00
Holger Müller
1a6f2b29b8 Add support for Triple-Z steppers/endstops 2018-09-16 00:35:58 -05:00
Sam Lane
d783400330 Updates to STM32F7 HAL, for completeness (#11770) 2018-09-09 03:26:15 -05:00
Alexander Amelkin
f417408df1 [STM32F1] Fix HAL for new PlatformIO (#11749) 2018-09-07 18:15:32 -05:00
Scott Lahteine
2a61c9a939 Various fixups to configs, spacing, etc. 2018-09-06 06:44:31 -05:00
Scott Lahteine
6a3207391f Remove obsolete HAL_timer_restrain 2018-08-31 16:17:22 -05:00
Ilya Bukhonin
7ecb8b4af5 [2.0.x] Teensy 3.1 and 3.2 support (#11460) 2018-08-27 21:49:49 -05:00
Scott Lahteine
a317bb4991 Remove stray tab 2018-08-24 17:35:13 -05:00
Scott Lahteine
ba1919c1eb HAL tweaks to LPC1768 main 2018-08-22 17:16:18 -05:00
Scott Lahteine
0987ed2a18 Use American English 2018-08-22 17:16:18 -05:00
jmz52
a77f8c6dd5 Implement servo support for STM32F1 (#11580)
Implement servo support for STM32F1. Original code was incomplete and depended on Servo library from stm32duino which conflicts with `module/servo.h`.
2018-08-20 21:13:51 -05:00
Dave Johnson
0456caf0ad Consolidate shared HALs and isolate HAL compile (#11552) 2018-08-20 21:11:12 -05:00
jmz52
dfe18ac633 Fix compilation error for STM32F1 with U8GLIB_SSD1306 or U8GLIB_SH1106 enabled (#11583)
The `binary.h` file required by `lcd/dogm/dogm_bitmaps.h` is not present in stm32duino environment. Binary macros are defined in `bit_constants.h` in stm32duino framework.
2018-08-20 20:37:56 -05:00
ghent360
00d24a8219 Don't call __delay_4cycles for 0 cycle delay - takes a really long time. (#11586) 2018-08-18 22:50:11 -05:00
jmz52
0b2d686160 Fix "SD init fail" problem for STM32F1 (#11579)
Fix "SD init fail" problem for STM32F1 caused by incorrect SS pin state and incorrect SPI mode. Issue #11225
2018-08-17 23:27:10 -05:00
Nils Hasenbanck
b37bfeffeb [2.0.x] Use the new const functions of the persistentStore api (#11544) 2018-08-14 18:35:36 -05:00
Chris Pepper
5573ef62c6 [2.0.x] PersistentStore update followup (#11549) 2018-08-14 17:54:12 -05:00
Scott Lahteine
834ea7fcea Remove 'const' from PersistentStore::capacity 2018-08-14 04:46:10 -05:00
Dave Johnson
c64199941e Compile only selected PIO environment (#11519) 2018-08-14 03:28:52 -05:00
Andy Shaw
5be2559eda Use flash memory to emulate EEPROM (#11500)
Use a sector of the LPC flash memory to emulate EEPROM storage, removing the need to have an SD card to store system parameters.
2018-08-14 01:19:34 -05:00
Scott Lahteine
865ee5985f Followup persistent store with heading, const 2018-08-13 23:55:33 -05:00
Scott Lahteine
6a8b906318 Followup for persistent_store_api.h 2018-08-13 17:43:35 -05:00
Chris Pepper
66d2b48b59 Update PersistentStore api (#11538)
- Clean up the API to use a `static` class instance to adhere to Marlin convention
- Add `const` position data access for read/write
- Add Storage capacity to the interface
2018-08-13 17:30:25 -05:00
Scott Lahteine
15d68cb496 Pre-override of ST7920 delays before HAL.h 2018-07-26 23:33:18 -05:00
Scott Lahteine
244b9a8257 Better fastio 1280/2560 pin list
Co-Authored-By: bleughb <36889022+bleughb@users.noreply.github.com>
2018-07-26 05:23:51 -05:00
Andy Shaw
624986d423 Ensure ADC conversion is complete before reading (#11336)
The current Marlin implementation relies on a timer interrupt to start the ADC conversion and read it. However in some circumstances the interrupt can be delayed resulting in insufficient time being available for the ADC conversion. This results in a bad reading and false temperature fluctuations. These changes make sure that the conversion is complete (by checking the ADC hardware via the HAL) before reading a value.

See: https://github.com/MarlinFirmware/Marlin/issues/11323
2018-07-26 03:59:19 -05:00
teemuatlut
fbcdf5eaeb Simplify stepper driver per-axis selection 2018-07-25 02:47:43 -05:00
Scott Lahteine
64f007580b Fix some header comments 2018-07-17 19:50:24 -05:00
teemuatlut
f38c81cdde LPC176x: Expand HW SPI class 2018-07-14 19:06:27 +03:00
teemuatlut
3b5dec4b13 Add new LPC include folder 2018-07-14 18:58:56 +03:00
Scott Lahteine
d05e832f29 Add STM32F1 support for SD-based EEPROM 2018-07-06 23:45:47 -05:00
etagle
1367df2875 Replace double with float, optimize calculation 2018-07-04 22:28:56 -05:00
etagle
e7e896e7d7 More tweaks to fastio_Due.h 2018-07-04 17:57:47 -05:00
Chris Pepper
55f4744e54 [LPC176x] Endstop Interrupts Feature (#11202)
Enable the endstop interrupts feature for LPC176x boards. Although Smoothieboard chose to use non-interrupt capable pins for their endstops, and this has been copied by clones, so they can't use it.
2018-07-04 17:51:45 -05:00
Chris Pepper
5abf5bc8a7 [LPC176x] Fix Interrupt forward declarations (#11200) 2018-07-04 17:43:14 -05:00
Chris Pepper
5616581eb1 [LPC176x] Update fastio _GET_INPUT, _GET_OUTPUT macros (#11168) 2018-07-01 23:02:38 -05:00
Scott Lahteine
8a8eae8d97
Implement more fastio_Due macros (#11165) 2018-07-01 01:24:06 -05:00
Scott Lahteine
fc10101b06 Tweaks to fastio_Due.h 2018-06-30 00:15:50 -05:00
Alexander Amelkin
ffdbc1f42c STM32F1: Fix SD card persistent store API (#11090) 2018-06-26 14:41:23 -04:00
Scott Lahteine
d86f25ab63 Fix Serial ISR priority for LPC1768
Co-Authored-By: p3p <p3p@p3psoft.co.uk>
2018-06-25 12:15:41 -04:00
Scott Lahteine
99591dc20c
Filter endstops state at all times (#11066) 2018-06-21 20:14:16 -05:00
Chris Pepper
0312c42f9d [2.0.x] LPC176x Serial cleanup (#11032) 2018-06-16 20:59:22 -05:00
Scott Lahteine
c1269c2ec1 Tweak AVR critical section defines 2018-06-16 17:42:32 -05:00
Chris Pepper
f88adcbfd5 [2.0.x][LPC176x] Fix binary linking broken by pio update (#11026) 2018-06-15 15:32:51 -05:00
Simon Jouet
e2aeda61ed HAL for Espressif ESP32 Wifi 2018-06-13 19:33:35 -05:00
Scott Lahteine
19d4c7c1cd Tweak HAL header comments 2018-06-13 19:08:42 -05:00
etagle
a215725df6 Fix stepper pulse timing
Always honor minimum period on stepper pulse generation, and fix timing calculations

Signed-off-by: etagle <ejtagle@hotmail.com>
2018-06-12 21:34:24 -05:00
Scott Lahteine
a9861a780e Tweak HAL heading 2018-06-12 19:40:17 -05:00
Scott Lahteine
cf53e502a2 No need to set input after attachInterrupt 2018-06-12 18:43:11 -05:00
Karl Andersson
e0276d2f32 Official STMicroelectronics Arduino Core STM32F4 HAL compatibility (#11006) 2018-06-12 18:38:00 -05:00
Scott Lahteine
4dbec774b5 HAL_*_TIMER_RATE => *_TIMER_RATE 2018-06-12 16:39:12 -05:00
Scott Lahteine
9b945c13a1 Fix STM32F1 ISR_ENABLED 2018-06-11 22:09:45 -05:00
Alexey Shvetsov
2ddba201c0 STM32F1 HAL Fixes (#10999)
- Enable / disable interrupts with `__iSeiRetVal` / `__iCliRetVal`
- Add STM32F1 to Travis CI tests
2018-06-11 20:00:56 -05:00
Eduardo José Tagle
5590c8ffd0 Fix MarlinSerial (AVR) (#10991)
An undocumented hw bug makes the UART lose chars when RX ISR is disabled, even for a very small amount of time. This happens when RX_BUFFER > 256, and the result is corrupted received commands. Solved by implementing pseudo-atomic operations on 16bit indices.
2018-06-10 20:32:20 -05:00
Scott Lahteine
117fd007a9 Followup to pin error change 2018-06-10 19:28:45 -05:00
etagle
99af086cea Add hidden Serial overflow debug options 2018-06-10 04:25:42 -05:00
etagle
d90e8fcad9 Fix XON/XOFF implementation
Pointed out by @GMagician
2018-06-10 04:25:42 -05:00
Scott Lahteine
3701869e6c Add HAL_timer_start for AVR, use stepper timer to time pulses 2018-06-09 22:30:13 -05:00
Scott Lahteine
a426986df8
Ensure pins set to INPUT after attachInterrupt (#10928) 2018-06-06 20:59:08 -05:00
Giuliano
c9d1a620d4 [2.0.x] fix indentations (#10934) 2018-06-05 02:03:26 -05:00
Scott Lahteine
c685c7b7dd STM32F4: All pins can do PWM 2018-06-03 04:30:15 -05:00
Eduardo José Tagle
d3c02410a8 [2.0.x] Small assorted collection of fixes and improvements (#10911)
* Misc fixes and improvements

- Get rid of most critical sections on the Serial port drivers for AVR and DUE. Proper usage of FIFOs should allow interrupts to stay enabled without harm to queuing and dequeuing.
  Also, with 8-bit indices (for AVR) and up to 32-bit indices (for ARM), there is no need to protect reads and writes to those indices.
- Simplify the XON/XOFF logic quite a bit. Much cleaner now (both for AVR and ARM)
- Prevent a race condition (edge case) that could happen when estimating the proper value for the stepper timer (by reading it) and writing the calculated value for the time to the next ISR by disabling interrupts in those critical and small sections of the code - The problem could lead to lost steps.
- Fix dual endstops not properly homing bug (maybe).

* Set position immediately when possible
2018-06-01 19:02:22 -05:00
Chris Pepper
d87257f63c [2.0.x][LPC176x] Fix PIO build flags (#10909)
Don't build and link with different flags, the binary may not work.
2018-05-31 19:08:31 -05:00
Scott Lahteine
cbcb284f4a Allow libServo::attach to work on Teensy 3.5/3.6 2018-05-28 20:56:24 -05:00
Chris Pepper
f89f7c4a82 [2.0.x][LPC176x][Build] Force single precision constants, disable freestanding (#10892) 2018-05-28 19:38:22 -05:00
android444
16da5c62d0 Teensy 3.x fastio pullup (#10890) 2018-05-28 16:25:12 -05:00
Scott Lahteine
9b9b62b218 delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index]) 2018-05-28 03:44:32 -05:00
android444
9c235ef821 [HAL]Add support for ST7920 - Teensy 3.x (#10872) 2018-05-27 03:36:57 -05:00
Bob-the-Kuhn
1c0ad8bbae wrong type of exit method 2018-05-26 08:17:03 -05:00
Eduardo José Tagle
6f330f397e [2.0.x] Buffer overflow and scroll fix, UTF8 cleanup (#10844) 2018-05-25 23:32:37 -05:00
Bob Kuhn
235facd545 install AVRDUDE 5.10, faster disk find for LPC1768 (#10849) 2018-05-25 20:26:48 -05:00
Bob Kuhn
e2db509d58 [2.0.x] Update/Fix LPC1768 extra script upload_extra_script.py (#10843)
* Use a different method to find the volume info in Windows
2018-05-25 04:31:18 -05:00
Scott Lahteine
5f8591528e Remove #pragmas that don't help c files 2018-05-23 23:47:16 -05:00
Scott Lahteine
c89649b46e Suppress U8glib build warnings 2018-05-23 02:47:36 -05:00
Scott Lahteine
4118199ddd Tweaks to core headers 2018-05-21 20:32:18 -05:00
Bob Kuhn
6dfbb39f83 [LPC1768] Add error-handling to upload script, update autobuild.py (#10802) 2018-05-20 21:22:04 -05:00
etagle
569df3fc0c Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
2018-05-20 07:10:24 -05:00
etagle
0566badcef Add memory barrier, optimal interrupt on-off
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/)
2018-05-20 02:39:34 -05:00
Scott Lahteine
c2fb2f54a1 Use assembly for AVR ISR vectors
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-20 01:58:51 -05:00
Scott Lahteine
206014a957 Fix LPC176x timer functions
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-20 01:58:51 -05:00
Scott Lahteine
59f7861bcb
Move backtrace to the HAL folder (#10790) 2018-05-20 01:33:21 -05:00
Scott Lahteine
c173a31060 Fix some compile warnings 2018-05-19 16:54:48 -05:00
Chris Pepper
9b64fdbc3a [LPC176x] HAL: Add missing program space definition (#10776) 2018-05-19 15:37:54 -05:00
Scott Lahteine
50270b53a0 Clear up some more compile warnings 2018-05-17 18:40:49 -05:00
etagle
40d7e12827 Removing warnings from compilation 2018-05-17 18:04:22 -05:00
Scott Lahteine
fb608938f8 Prevent compilation of unused u8g-oriented code 2018-05-14 13:31:04 -05:00
Scott Lahteine
37b15fe4cf Reorder HAL timer header items 2018-05-13 16:50:39 -05:00
Scott Lahteine
883b0c9880
Convert custom maths to inlines (#10728) 2018-05-13 08:10:08 -05:00
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>
2018-05-13 04:52:56 -05:00
etagle
9d98a62699 Followup to HAL optimizations and delays
- Cleanups, fixes for Due HAL code.
- TC_IER is write-only. Use TC_IMR to test ISR state.
2018-05-13 00:46:23 -05:00
Scott Lahteine
a1062eec5b
Better handling of DELAY_NS and DELAY_US (#10716)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 08:34:04 -05:00
etagle
1b225a2809 DUE: Emergency parser for the USB CDC 2018-05-12 02:12:11 -05:00
Scott Lahteine
0436e16fb2 Apply shorthand Assembler macros 2018-05-08 10:08:54 -05:00
Scott Lahteine
d1b619be52 Standardize some hexadecimals 2018-05-08 09:19:18 -05:00
Scott Lahteine
81b632c255 Additional temp-oriented improvements 2018-05-02 08:43:22 -05:00
nightdemonx
e911635fb1 Add thermocouple with AD8495 support 2018-05-02 08:43:16 -05:00
Scott Lahteine
3f68203324 Modify FastIO error message 2018-04-28 20:27:36 -05:00
Scott Lahteine
a474a7e675 Correct AVR_ATmega328_FAMILY macro
…as with #10540

Co-Authored-By: per1234 <per1234@users.noreply.github.com>
2018-04-27 03:13:46 -05:00
Scott Lahteine
456cf971af HAL FastIO cleanup and fixes 2018-04-26 00:40:16 -05:00
J.C. Nelson
5b5e322356 Set Interrupt Priorities and Grouping for STM32F103. (#10517) 2018-04-26 00:21:16 -05:00
Scott Lahteine
2578996631
[2.0.x] Emergency parser for multiple serial ports (#10524) 2018-04-25 20:58:00 -05:00
Chris Pepper
2242b98248 [LPC176x] Emergency Parser Feature (#10516) 2018-04-25 06:44:26 -05:00
Eduardo José Tagle
c1e5ebbc1e [2.0.x] AVR: Atomic bit set and clear of upper pin ports without critical section (#10502)
* AVR: Atomic bit set and clear

The critical section can be dropped, saving 3 cycles per access. Also simplified pin toggling for all ports.
2018-04-24 13:45:43 -05:00
Scott Lahteine
a3ce8a3fcd Add sanity checks for EMERGENCY_PARSER 2018-04-24 09:24:26 -05:00
Eduardo José Tagle
0c428a66d9 Proper AVR preemptive interrupt handling (#10496)
Also simplify logic on all ARM-based interrupts. Now, it is REQUIRED to properly configure interrupt priority. USART should have highest priority, followed by Stepper, and then all others.
2018-04-23 22:05:07 -05:00
Scott Lahteine
f423e54f77 Strip trailing spaces 2018-04-23 18:00:43 -05:00
Scott Lahteine
cb46cb8480
Add HAS_HEATED_BED conditional (#10495) 2018-04-23 17:13:01 -05:00
Scott Lahteine
dea686cf55
Define short pin names in fastio for STM32 (#10461) 2018-04-20 14:54:35 -05:00
Karl Andersson
428c54f2ad [2.0.x] HAL for STM32F4 (#10434) 2018-04-17 17:33:29 -05:00
GMagician
20772492aa Fix compile warnings in AVR fastio.h (#10440) 2018-04-17 17:26:57 -05:00
Chris Pepper
c9aed73987 Fix missed includes from HAL macro patch (#10416) 2018-04-15 18:27:34 -05:00
Scott Lahteine
29dda871cb Patch "upload_disk" to make python happy 2018-04-13 22:27:08 -05:00
Chris Pepper
cc6d41e1d3 Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
Bob-the-Kuhn
85014cd132 [2.0.x] LPC1768 - automatic selection of upload disk (#10374) 2018-04-11 14:41:16 -05:00
Scott Lahteine
44a697ab04 Set STM32F1 TEMP_TIMER_FREQUENCY to 1K
Responding to https://github.com/MarlinFirmware/Marlin/pull/8833#issuecomment-379426803
2018-04-08 01:08:05 -05:00
Scott Lahteine
9ff4e9e1e6 Patch _IS_HW_SPI so defined() works 2018-04-07 23:29:00 -05:00
Lenbok
0e8242180d Chamber temperature monitoring and auto fan control.
This is an initial cut for feedback, updated for 2.0.x.

Chamber temperature is currently reported along with hot end and bed
temperatures to serial. The format is just like that used for hot end
and bed temperatures, but using 'C' prefix. As there is no heater,
target is always 0. Is this appropriate, is there a better way to report
chamber temperatures?

Chamber temperatures are not reported on the LCD in any way.

When auto chamber fan is enabled, it currently just uses the same
temperature threshold as the other auto controlled fans.

As the chamber temperature is not connected to any heater, it doesn't
undergo mintemp/maxtemp monitoring. This would need to change in the
future if chamber heating became a feature.
2018-04-06 23:09:06 -05:00
Bob-the-Kuhn
acda4ecb20 Fix DUE Trinamic SW/HW SPI sanity check (#10336) 2018-04-06 22:22:30 -05:00
Bob-the-Kuhn
ab715c70d1 TMC SPI sanity-check and pins debugging (#10324) 2018-04-06 20:24:54 -05:00
Bob-the-Kuhn
902c885782 Switch to TMC2130 compatible hardware SPI & misc (#10299) 2018-04-04 20:13:27 -05:00
Scott Lahteine
93305a2d5e Fix some spellings 2018-04-02 03:03:37 -05:00