hathach
3c173d5d19
update with TinyUSB_Device_FlushCDC()
2021-05-10 12:52:55 +07:00
hathach
30d0738262
sync with tinyusb lib latest change
2021-05-10 12:22:18 +07:00
ladyada
4d8adc9be4
Merge branch 'master' of https://github.com/arduino/ArduinoCore-samd into arduino-master
2019-03-08 14:03:54 -05:00
Bill Westfield
2ca67fc36b
Fix delayMicroseconds() on SAMD51 ( #77 )
...
* Fix pulseIn() on SAMD51 by writing it in plain C, so that
the CM0+-specific pulse_asm won't need to be linked.
The SAMD51 is fast enough that we can time pulses with micros()
Tested with a bunch of pulse lengths from <1us to >1s
* Implement a new delayMicroseconds() function for SAMD51
This version enables the "Debug Watchpoint and Trace" module (DWT)
in startup.c and then uses the 32bit cycle counter that is part
of DWT to count cycles indepenent of instruction timing.
Tested for good accuracy with various values between 1 and 2000us.
2019-01-09 19:57:43 -05:00
Riccardo Rizzo
3b6466b5e6
More accurate delay() function from BenF.
...
porting of 67c0a1995a (diff-ab397febf179e1982f4ee0758df4c982)
2018-12-13 10:33:06 -05:00
ladyada
b34deb4e81
align back to mainline (and put in missing Serial5) - not sure if USB serial LEDs were causing hangups on 1200baud bumps? :/
2018-08-30 14:23:07 -04:00
ladyada
ae249718d4
add USB CDC RX & TX LEDs with 10ms minimum on time, tested
2018-08-30 14:18:05 -04:00
Cristian Maglie
08de7f176c
Fix prototypes to strictly match Arduino API
...
See https://github.com/arduino/Arduino/issues/4525
2017-07-11 16:00:11 +02:00
Martino Facchin
f2cfe5247a
fix wrong delay()
...
the function returned 1 millisecond after the required time
2015-07-23 11:33:12 +02:00
Cristian Maglie
d9df90830e
Fixed cortex-M hooks for RTOS
...
Fixes #4
2015-06-26 10:28:52 +02:00
Cristian Maglie
1a1856c2fc
License fix and cosmetic changes.
2015-06-14 17:16:37 +02:00
Cristian Maglie
dd50d5c446
Implemented 1200bps-touch to restart bootloader when connected from native port
2014-08-16 07:45:08 +02:00
Jonathan BAUDIN
ae441981d7
Validation Interrupt
2014-06-02 13:40:20 +02:00
Thibaut VIARD
a9b067ee93
Updating delay API
2014-05-08 23:27:37 +02:00
Thibaut VIARD
919bd67524
Adding Delay API
2014-05-08 18:03:15 +02:00
Thibaut VIARD
0070eed06f
compilation checkpoint 2
2014-05-05 12:29:33 +02:00
Thibaut VIARD
ca9316a7ed
compilation fixes
2014-04-30 11:23:26 +02:00
Thibaut VIARD
d2f66d93cd
Bring startup and syscalls
2014-04-23 20:22:27 +02:00