Scott Lahteine
9b9b62b218
delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index])
6 years ago
Bob-the-Kuhn
1c0ad8bbae
wrong type of exit method
6 years ago
Bob Kuhn
235facd545
install AVRDUDE 5.10, faster disk find for LPC1768 ( #10849 )
6 years ago
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
6 years ago
Scott Lahteine
5f8591528e
Remove #pragmas that don't help c files
6 years ago
Scott Lahteine
c89649b46e
Suppress U8glib build warnings
6 years ago
Bob Kuhn
6dfbb39f83
[LPC1768] Add error-handling to upload script, update autobuild.py ( #10802 )
6 years ago
etagle
569df3fc0c
Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
6 years ago
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/ )
6 years ago
Scott Lahteine
206014a957
Fix LPC176x timer functions
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
6 years ago
Chris Pepper
9b64fdbc3a
[LPC176x] HAL: Add missing program space definition ( #10776 )
6 years ago
Scott Lahteine
50270b53a0
Clear up some more compile warnings
6 years ago
etagle
40d7e12827
Removing warnings from compilation
6 years ago
Scott Lahteine
fb608938f8
Prevent compilation of unused u8g-oriented code
6 years ago
Scott Lahteine
37b15fe4cf
Reorder HAL timer header items
6 years ago
Scott Lahteine
99ecdf59af
Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
6 years ago
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.
6 years ago
Scott Lahteine
a1062eec5b
Better handling of DELAY_NS and DELAY_US ( #10716 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
6 years ago
Scott Lahteine
d1b619be52
Standardize some hexadecimals
6 years ago
Scott Lahteine
456cf971af
HAL FastIO cleanup and fixes
6 years ago
Scott Lahteine
2578996631
[2.0.x] Emergency parser for multiple serial ports ( #10524 )
6 years ago
Chris Pepper
2242b98248
[LPC176x] Emergency Parser Feature ( #10516 )
6 years ago
Scott Lahteine
a3ce8a3fcd
Add sanity checks for EMERGENCY_PARSER
6 years ago
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.
6 years ago
Scott Lahteine
29dda871cb
Patch "upload_disk" to make python happy
6 years ago
Chris Pepper
cc6d41e1d3
Use a macro for HAL header redirection ( #10380 )
6 years ago
Bob-the-Kuhn
85014cd132
[2.0.x] LPC1768 - automatic selection of upload disk ( #10374 )
6 years ago
Bob-the-Kuhn
ab715c70d1
TMC SPI sanity-check and pins debugging ( #10324 )
6 years ago
Scott Lahteine
93305a2d5e
Fix some spellings
6 years ago
Scott Lahteine
239902f861
Fix E2END and add EEPROM to Smart RAMPS
Reference #9983
6 years ago
Bob-the-Kuhn
3c58ca181c
[2.0.x] Correct step pulse width on LPC1768, DUE & Teensy35_36 ( #10016 )
6 years ago
Scott Lahteine
98d48fc731
Followup to HAL_timer_restrain
Followup to #9985
6 years ago
Scott Lahteine
ca577c1638
Fix up various spacing, comments, and typos
6 years ago
Scott Lahteine
d45f19d385
Remove Unicode from var name
6 years ago
Chris Pepper
a1a88ebabc
HAL function to ensure min stepper interrupt interval ( #9985 )
6 years ago
Scott Lahteine
beeed580b8
Implement digipots for MKS SBASE ( #9927 )
Fix #9477
6 years ago
Scott Lahteine
f3dbe19669
Tweaks to HAL codestyle
6 years ago
Scott Lahteine
90fa423737
Preliminary cleanup of #include structure ( #9763 )
6 years ago
Scott Lahteine
799e3b2b40
LPC1768 HAL formatting/comments
6 years ago
Scott Lahteine
a810e585db
Drop HAL_timer_set_count
6 years ago
Scott Lahteine
ca55f2927a
Pulldown pin mode support ( #9701 )
Implemented for LPC1768.
6 years ago
Scott Lahteine
03d790451f
[2.0.x] HAL timer set/get count => set/get compare ( #9581 )
To reduce confusion over the current timer count vs. the compare (aka "top") value. Caution: this re-uses the function name, changing its meaning.
6 years ago
Scott Lahteine
b939a2e88c
Watchdog conditional for LPC
6 years ago
Scott Lahteine
0891b58c30
#ifdef tweaks
6 years ago
Bob-the-Kuhn
3d72fe0730
snapshot
7 years ago
Scott Lahteine
33ec599ca0
Tweaky LPC1768 SPI spacing/style
7 years ago
Scott Lahteine
c46de340b7
Clean up trailing whitespace
7 years ago
Thomas Moore
e1fd9c08b3
[2.0.x] Add support for LPC1769 at 120 MHz ( #9423 )
7 years ago
Scott Lahteine
b13099de3f
General cleanup of HAL code
7 years ago
Scott Lahteine
eb18ae9003
Define LSBFIRST / MSBFIRST for LPC
7 years ago