Commit Graph

172 Commits

Author SHA1 Message Date
a403d9a50c Improve menu pause / resume (#12876) 2019-01-11 20:42:11 -06:00
c986239837 A single SERIAL_ECHO macro type (#12557) 2018-11-29 16:58:58 -06:00
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
66580f32c2 Make CardReader class static (#12451)
* Make CardReader a static class
* Make CardReader flags into bitfields
2018-11-16 22:39:16 -06:00
052d102ded UltiMachine Archim 1 support (#12404) 2018-11-14 00:27:39 -06:00
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
4e0c935959 Update HAL and libs formatting 2018-11-10 19:43:23 -06:00
e0956bb572 Drop 'register' storage specifier 2018-11-04 16:17:13 -06:00
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
3583e2b449 Followup to Menu Refactor (#12275) 2018-10-30 16:34:45 -05:00
5580773191 Use FastIO, sanity-check LPC SD options, apply formatting (#12231) 2018-10-26 15:23:02 -05:00
d015f746cc Fix some compile warnings (#12220) 2018-10-26 03:53:06 -05:00
7a04eb3a8b Fix some comment formatting 2018-10-23 22:35:44 -05:00
c6a5c74208 Add parentheses to SD macros 2018-10-19 13:52:57 -05:00
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
bc75eb2c64 Cleanup for HAL_spi_Due.cpp 2018-10-17 10:33:54 -05:00
0bd54392b7 Use uint8_t in EEPROM code 2018-10-09 19:00:01 -05:00
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
33056046a3 STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM (#12016) 2018-10-06 00:14:12 -05:00
d5141c4e03 Fix up leading/trailing whitespace 2018-10-05 18:19:59 -05:00
001f26b642 Template struct simplification for serial (#11990) 2018-10-03 11:01:21 -05:00
d6955f25b2 Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988) 2018-10-03 00:47:27 -05:00
f6f2246f59 Templatized serial classes (#11982) 2018-10-02 22:15:30 -05:00
ee53f7d813 Revert header reorg. 2018-10-02 22:09:41 -05:00
0dedb3e139 Reorganize some core headers (#11983) 2018-10-02 04:25:46 -05:00
ad21a4f07b Tweaks to HAL format and order 2018-09-28 15:59:50 -05:00
ccbd045f02 Fixed warning about comparing signed to unsigned (#11909) 2018-09-24 12:03:29 -04:00
c411e7eb0d [2.0.x] Squelch compiler warnings seen with -Wall (#11889) 2018-09-23 12:00:34 -04:00
1a6f2b29b8 Add support for Triple-Z steppers/endstops 2018-09-16 00:35:58 -05:00
2a61c9a939 Various fixups to configs, spacing, etc. 2018-09-06 06:44:31 -05:00
6a3207391f Remove obsolete HAL_timer_restrain 2018-08-31 16:17:22 -05:00
0456caf0ad Consolidate shared HALs and isolate HAL compile (#11552) 2018-08-20 21:11:12 -05:00
5573ef62c6 [2.0.x] PersistentStore update followup (#11549) 2018-08-14 17:54:12 -05:00
834ea7fcea Remove 'const' from PersistentStore::capacity 2018-08-14 04:46:10 -05:00
c64199941e Compile only selected PIO environment (#11519) 2018-08-14 03:28:52 -05:00
865ee5985f Followup persistent store with heading, const 2018-08-13 23:55:33 -05:00
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
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
fbcdf5eaeb Simplify stepper driver per-axis selection 2018-07-25 02:47:43 -05:00
d05e832f29 Add STM32F1 support for SD-based EEPROM 2018-07-06 23:45:47 -05:00
e7e896e7d7 More tweaks to fastio_Due.h 2018-07-04 17:57:47 -05:00
8a8eae8d97 Implement more fastio_Due macros (#11165) 2018-07-01 01:24:06 -05:00
fc10101b06 Tweaks to fastio_Due.h 2018-06-30 00:15:50 -05:00
99591dc20c Filter endstops state at all times (#11066) 2018-06-21 20:14:16 -05:00
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
4dbec774b5 HAL_*_TIMER_RATE => *_TIMER_RATE 2018-06-12 16:39:12 -05:00
99af086cea Add hidden Serial overflow debug options 2018-06-10 04:25:42 -05:00
d90e8fcad9 Fix XON/XOFF implementation
Pointed out by @GMagician
2018-06-10 04:25:42 -05:00
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
5f8591528e Remove #pragmas that don't help c files 2018-05-23 23:47:16 -05:00