Commit Graph
11 Commits
Author SHA1 Message Date
hathach f91c517d27 sync with tinyusb lib latest 2021-05-10 12:56:17 +07:00
hathach 6a2dcbc3bf remove tinyusb core submodule, move tinyusb src to its own library to reduce dependency 2021-05-07 01:27:54 +07:00
hathach ccd2fe3ca3 micro() use DWT cyclecount if enabled else use rtos tick
DWT must be previously enabled by user sketch with dwt_enable()
2020-08-05 16:46:16 +07:00
hathach f1012eaa31 use USE_TINYUSB instead of USBCON for consistency, USBCON still defined to be compatible with 3rd party lib 2019-05-09 23:56:52 +07:00
hathach dce9c93928 use USBCON macro to detect usb 2019-04-29 23:43:20 +07:00
hathach f9a3c5287c ready to release 2018-11-19 17:16:08 +07:00
hathach 3b0088f6e9 implement delay_ns with DWT 2017-03-11 00:49:36 +07:00
hathach eddddb7472 remove delay_blocking 2017-01-10 21:37:41 +07:00
hathach 26a58c25f9 use RTOS get tick() API for millis() and micros() function. 2017-01-10 16:13:38 +07:00
hathach 7b77fe8595 make delay to use rtos API
- also add delay_blocking() for non-rtos API function. Useful for
calling in ISR or when scheduler is not started yet.
- Make setup() invoked insided loop task since user may use setup() to
do most of their work calling RTOS API.
2017-01-09 17:09:38 +07:00
hathach 6151838f8f adding file from sandeepmistry/arduino-nRF5 2016-11-22 01:08:21 +07:00