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
50270b53a0
Clear up some more compile warnings
2018-05-17 18:40:49 -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
Scott Lahteine
d1b619be52
Standardize some hexadecimals
2018-05-08 09:19:18 -05:00
etagle
c5730cf711
As Bob-The-Khun suggested, resetting the USB peripheral solves the huge startup delays that happen when a WDT reset happens and we are connected through the native port
2018-03-22 03:31:25 -03:00
Eduardo José Tagle
97e8a6ebd9
Various fixes for DUE... ( #10152 )
...
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
2018-03-21 19:04:45 -05:00
Eduardo José Tagle
bbfbf90797
Fix for DUE - no host support on native USB if SD card not enabled ( #10148 )
2018-03-18 19:49:51 -05:00
Bob-the-Kuhn
7f1afbfd60
can't type
2018-03-17 13:07:49 -05:00
Bob-the-Kuhn
23760d6c14
add full speed option
2018-03-17 12:56:44 -05:00
Bob-the-Kuhn
cbcd1ed42d
full speed
2018-03-17 02:57:18 -05:00
etagle
404fc94705
DUE USB CDC: Do not send any character if no program on the PC is listening to them. This avoids Marlin waiting until the user actually opens a program that is able to consume the output of Marlin
2018-03-15 00:56:28 -03:00
ejtagle
703c8ac0ef
Added Arduino-compatible kludge to the (ATMEL supplied) SAM3X USB stack we are now using so the Native port is also usable as a programming port on Arduino DUE and derived designs
2018-03-11 15:17:55 -03:00
Bob-the-Kuhn
67a17446f2
Fix DUE incompatible enum type specification ( #10017 )
2018-03-09 02:17:57 -06:00
Scott Lahteine
2057177184
Make enums into implicit char
2018-03-06 23:39:56 -06:00
Scott Lahteine
cfdcf91df5
Fix compile error with initTone
2018-02-26 01:49:48 -06:00
Scott Lahteine
f2c0ed193d
Add tone support for Due ( #9807 )
2018-02-25 10:48:14 -06:00
Scott Lahteine
1bf2b1e475
Use serial macro in sd_mmc_spi_mem.cpp for Due
2018-02-16 17:57:24 -06:00
Bob-the-Kuhn
ab709ccac1
add USEABLE_HARDWARE_PWM & clear up some compiler warnings
2018-01-24 21:42:36 -06:00
Scott Lahteine
6a043eee55
Various updates for TMC support
2018-01-10 23:04:48 -06:00
teemuatlut
a8c446c3bc
[2.0.x]DUE: Fix includes for SDSUPPORT ( #9112 )
2018-01-10 00:46:34 -06:00
Scott Lahteine
1c41de16d4
Trailing whitespace clean
2018-01-05 10:11:31 -06:00
Bob-the-Kuhn
e5b71af8c9
snapshot
...
found a few more nasties
2018-01-03 10:41:23 -06:00
etagle
729a9f55fc
Improved Sw SPI on DUE HAL a bit more.
...
Now the USB MSD can transfer at 750k/s. Previously, it was 500k/s. I think this is the maximum achievable speed using Sw SPI.
2017-12-30 17:24:38 -06:00
etagle
33a6fc70e4
Adding USB MSD implementation to the HAL: Now, when you plug the Native USB port of the Arduino DUE to your PC, it will be detected as a composite USB device: One of the devices is a USB CDC (Serial port over USB) with native USB handshake (no more overflows!!) (set SERIAL_PORT to -1 to use it as main serial port) and also, a MSD (USB Mass Storage Device) will be detected, and the SD card present on the socket will be reflected as a Removable disk on your PC)
2017-12-21 02:42:46 -03:00