357 Commits (5573ef62c69a7f69e3ec726c4c0f00ad43d7070c)

Author SHA1 Message Date
Chris Pepper 5573ef62c6 [2.0.x] PersistentStore update followup (#11549) 6 years ago
Scott Lahteine 834ea7fcea Remove 'const' from PersistentStore::capacity 6 years ago
Dave Johnson c64199941e Compile only selected PIO environment (#11519) 6 years ago
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.
6 years ago
Scott Lahteine 865ee5985f Followup persistent store with heading, const 6 years ago
Scott Lahteine 6a8b906318 Followup for persistent_store_api.h 6 years ago
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
6 years ago
Scott Lahteine 15d68cb496 Pre-override of ST7920 delays before HAL.h 6 years ago
Scott Lahteine 244b9a8257 Better fastio 1280/2560 pin list
Co-Authored-By: bleughb <36889022+bleughb@users.noreply.github.com>
6 years ago
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
6 years ago
teemuatlut fbcdf5eaeb Simplify stepper driver per-axis selection 6 years ago
Scott Lahteine 64f007580b Fix some header comments 6 years ago
teemuatlut f38c81cdde LPC176x: Expand HW SPI class 6 years ago
teemuatlut 3b5dec4b13 Add new LPC include folder 6 years ago
Scott Lahteine d05e832f29 Add STM32F1 support for SD-based EEPROM 6 years ago
etagle 1367df2875 Replace double with float, optimize calculation 6 years ago
etagle e7e896e7d7 More tweaks to fastio_Due.h 6 years ago
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.
6 years ago
Chris Pepper 5abf5bc8a7 [LPC176x] Fix Interrupt forward declarations (#11200) 6 years ago
Chris Pepper 5616581eb1 [LPC176x] Update fastio _GET_INPUT, _GET_OUTPUT macros (#11168) 6 years ago
Scott Lahteine 8a8eae8d97
Implement more fastio_Due macros (#11165) 6 years ago
Scott Lahteine fc10101b06 Tweaks to fastio_Due.h 6 years ago
Alexander Amelkin ffdbc1f42c STM32F1: Fix SD card persistent store API (#11090) 6 years ago
Scott Lahteine d86f25ab63 Fix Serial ISR priority for LPC1768
Co-Authored-By: p3p <p3p@p3psoft.co.uk>
6 years ago
Scott Lahteine 99591dc20c
Filter endstops state at all times (#11066) 7 years ago
Chris Pepper 0312c42f9d [2.0.x] LPC176x Serial cleanup (#11032) 7 years ago
Scott Lahteine c1269c2ec1 Tweak AVR critical section defines 7 years ago
Chris Pepper f88adcbfd5 [2.0.x][LPC176x] Fix binary linking broken by pio update (#11026) 7 years ago
Simon Jouet e2aeda61ed HAL for Espressif ESP32 Wifi 7 years ago
Scott Lahteine 19d4c7c1cd Tweak HAL header comments 7 years ago
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>
7 years ago
Scott Lahteine a9861a780e Tweak HAL heading 7 years ago
Scott Lahteine cf53e502a2 No need to set input after attachInterrupt 7 years ago
Karl Andersson e0276d2f32 Official STMicroelectronics Arduino Core STM32F4 HAL compatibility (#11006) 7 years ago
Scott Lahteine 4dbec774b5 HAL_*_TIMER_RATE => *_TIMER_RATE 7 years ago
Scott Lahteine 9b945c13a1 Fix STM32F1 ISR_ENABLED 7 years ago
Alexey Shvetsov 2ddba201c0 STM32F1 HAL Fixes (#10999)
- Enable / disable interrupts with `__iSeiRetVal` / `__iCliRetVal`
- Add STM32F1 to Travis CI tests
7 years ago
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.
7 years ago
Scott Lahteine 117fd007a9 Followup to pin error change 7 years ago
etagle 99af086cea Add hidden Serial overflow debug options 7 years ago
etagle d90e8fcad9 Fix XON/XOFF implementation
Pointed out by @GMagician
7 years ago
Scott Lahteine 3701869e6c Add HAL_timer_start for AVR, use stepper timer to time pulses 7 years ago
Scott Lahteine a426986df8
Ensure pins set to INPUT after attachInterrupt (#10928) 7 years ago
Giuliano c9d1a620d4 [2.0.x] fix indentations (#10934) 7 years ago
Scott Lahteine c685c7b7dd STM32F4: All pins can do PWM 7 years ago
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
7 years ago
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.
7 years ago
Scott Lahteine cbcb284f4a Allow libServo::attach to work on Teensy 3.5/3.6 7 years ago
Chris Pepper f89f7c4a82 [2.0.x][LPC176x][Build] Force single precision constants, disable freestanding (#10892) 7 years ago
android444 16da5c62d0 Teensy 3.x fastio pullup (#10890) 7 years ago