Bob-the-Kuhn
1c0ad8bbae
wrong type of exit method
7 years ago
Eduardo José Tagle
6f330f397e
[2.0.x] Buffer overflow and scroll fix, UTF8 cleanup ( #10844 )
7 years ago
Bob Kuhn
235facd545
install AVRDUDE 5.10, faster disk find for LPC1768 ( #10849 )
7 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
7 years ago
Scott Lahteine
5f8591528e
Remove #pragmas that don't help c files
7 years ago
Scott Lahteine
c89649b46e
Suppress U8glib build warnings
7 years ago
Scott Lahteine
4118199ddd
Tweaks to core headers
7 years ago
Bob Kuhn
6dfbb39f83
[LPC1768] Add error-handling to upload script, update autobuild.py ( #10802 )
7 years ago
etagle
569df3fc0c
Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 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/ )
7 years ago
Scott Lahteine
c2fb2f54a1
Use assembly for AVR ISR vectors
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
206014a957
Fix LPC176x timer functions
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
59f7861bcb
Move backtrace to the HAL folder ( #10790 )
7 years ago
Scott Lahteine
c173a31060
Fix some compile warnings
7 years ago
Chris Pepper
9b64fdbc3a
[LPC176x] HAL: Add missing program space definition ( #10776 )
7 years ago
Scott Lahteine
50270b53a0
Clear up some more compile warnings
7 years ago
etagle
40d7e12827
Removing warnings from compilation
7 years ago
Scott Lahteine
fb608938f8
Prevent compilation of unused u8g-oriented code
7 years ago
Scott Lahteine
37b15fe4cf
Reorder HAL timer header items
7 years ago
Scott Lahteine
883b0c9880
Convert custom maths to inlines ( #10728 )
7 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>
7 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.
7 years ago
Scott Lahteine
a1062eec5b
Better handling of DELAY_NS and DELAY_US ( #10716 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
etagle
1b225a2809
DUE: Emergency parser for the USB CDC
7 years ago
Scott Lahteine
0436e16fb2
Apply shorthand Assembler macros
7 years ago
Scott Lahteine
d1b619be52
Standardize some hexadecimals
7 years ago
Scott Lahteine
81b632c255
Additional temp-oriented improvements
7 years ago
nightdemonx
e911635fb1
Add thermocouple with AD8495 support
7 years ago
Scott Lahteine
3f68203324
Modify FastIO error message
7 years ago
Scott Lahteine
a474a7e675
Correct AVR_ATmega328_FAMILY macro
…as with #10540
Co-Authored-By: per1234 <per1234@users.noreply.github.com>
7 years ago
Scott Lahteine
456cf971af
HAL FastIO cleanup and fixes
7 years ago
J.C. Nelson
5b5e322356
Set Interrupt Priorities and Grouping for STM32F103. ( #10517 )
7 years ago
Scott Lahteine
2578996631
[2.0.x] Emergency parser for multiple serial ports ( #10524 )
7 years ago
Chris Pepper
2242b98248
[LPC176x] Emergency Parser Feature ( #10516 )
7 years ago
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.
7 years ago
Scott Lahteine
a3ce8a3fcd
Add sanity checks for EMERGENCY_PARSER
7 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.
7 years ago
Scott Lahteine
f423e54f77
Strip trailing spaces
7 years ago
Scott Lahteine
cb46cb8480
Add HAS_HEATED_BED conditional ( #10495 )
7 years ago
Scott Lahteine
dea686cf55
Define short pin names in fastio for STM32 ( #10461 )
7 years ago
Karl Andersson
428c54f2ad
[2.0.x] HAL for STM32F4 ( #10434 )
7 years ago
GMagician
20772492aa
Fix compile warnings in AVR fastio.h ( #10440 )
7 years ago
Chris Pepper
c9aed73987
Fix missed includes from HAL macro patch ( #10416 )
7 years ago
Scott Lahteine
29dda871cb
Patch "upload_disk" to make python happy
7 years ago
Chris Pepper
cc6d41e1d3
Use a macro for HAL header redirection ( #10380 )
7 years ago
Bob-the-Kuhn
85014cd132
[2.0.x] LPC1768 - automatic selection of upload disk ( #10374 )
7 years ago
Scott Lahteine
44a697ab04
Set STM32F1 TEMP_TIMER_FREQUENCY to 1K
Responding to https://github.com/MarlinFirmware/Marlin/pull/8833#issuecomment-379426803
7 years ago
Scott Lahteine
9ff4e9e1e6
Patch _IS_HW_SPI so defined() works
7 years ago
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.
7 years ago
Bob-the-Kuhn
acda4ecb20
Fix DUE Trinamic SW/HW SPI sanity check ( #10336 )
7 years ago