Scott Lahteine
93adb7e944
Some comment patches
6 years ago
Scott Lahteine
c0e917ea83
DUE/usb should use platform min/max
6 years ago
Scott Lahteine
253d0f9671
Some `MIN`/`MAX` rely on core
6 years ago
Scott Lahteine
750a16ad38
Fix MIN/MAX function collision with macros
6 years ago
Marcio Teixeira
16409eb233
Suppress more UNUSED warnings ( #14466 )
6 years ago
Bob Kuhn
688b54d66a
DUE USB composite device field corrections ( #14185 )
6 years ago
Scott Lahteine
e15354e387
Simplify serial port redirect ( #13234 )
6 years ago
Scott Lahteine
ce563d7c2e
Various general cleanups
Mostly from the L6470-oriented PR
6 years ago
InsanityAutomation
a403d9a50c
Improve menu pause / resume ( #12876 )
6 years ago
Scott Lahteine
c986239837
A single SERIAL_ECHO macro type ( #12557 )
6 years ago
Scott Lahteine
66580f32c2
Make CardReader class static ( #12451 )
* Make CardReader a static class
* Make CardReader flags into bitfields
6 years ago
Ryan
052d102ded
UltiMachine Archim 1 support ( #12404 )
6 years ago
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup ( #12322 )
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
7 years ago
Scott Lahteine
c6a5c74208
Add parentheses to SD macros
7 years ago
Marcio Teixeira
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.
7 years ago
Scott Lahteine
ee53f7d813
Revert header reorg.
7 years ago
Scott Lahteine
0dedb3e139
Reorganize some core headers ( #11983 )
7 years ago
Scott Lahteine
50270b53a0
Clear up some more compile warnings
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
Scott Lahteine
d1b619be52
Standardize some hexadecimals
7 years ago
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
7 years ago
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.
7 years ago
Eduardo José Tagle
bbfbf90797
Fix for DUE - no host support on native USB if SD card not enabled ( #10148 )
7 years ago
Bob-the-Kuhn
7f1afbfd60
can't type
7 years ago
Bob-the-Kuhn
23760d6c14
add full speed option
7 years ago
Bob-the-Kuhn
cbcd1ed42d
full speed
7 years ago
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
7 years ago
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
7 years ago
Bob-the-Kuhn
67a17446f2
Fix DUE incompatible enum type specification ( #10017 )
7 years ago
Scott Lahteine
2057177184
Make enums into implicit char
7 years ago
Scott Lahteine
cfdcf91df5
Fix compile error with initTone
7 years ago
Scott Lahteine
f2c0ed193d
Add tone support for Due ( #9807 )
7 years ago
Scott Lahteine
1bf2b1e475
Use serial macro in sd_mmc_spi_mem.cpp for Due
7 years ago
Bob-the-Kuhn
ab709ccac1
add USEABLE_HARDWARE_PWM & clear up some compiler warnings
7 years ago
Scott Lahteine
6a043eee55
Various updates for TMC support
7 years ago
teemuatlut
a8c446c3bc
[2.0.x]DUE: Fix includes for SDSUPPORT ( #9112 )
7 years ago
Scott Lahteine
1c41de16d4
Trailing whitespace clean
7 years ago
Bob-the-Kuhn
e5b71af8c9
snapshot
found a few more nasties
7 years ago
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.
7 years ago
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)
7 years ago