Commit Graph

1534 Commits

Author SHA1 Message Date
Scott Shawcroft bf70f89240
Introduce a Makefile for the OS_NONE device example
It currently supports the SAMD21 and SAMD51 only. More will be
added later.
2018-11-25 11:46:06 -08:00
hathach 3bb53273cd
Merge pull request #14 from tannewt/discarded_qualifiers
A few more updates
2018-11-24 14:43:31 +07:00
Scott Shawcroft 47fabe42ed
One tweak to make -Wdiscarded-qualifiers happy. 2018-11-23 12:48:55 -08:00
Scott Shawcroft bf8c4612dc
Make sure OUT endpoint 0 on the SAMDs always has a valid buffer to store
a SETUP token into.
2018-11-23 11:20:23 -08:00
Scott Shawcroft 246c28db1a
Turn off interrupts when working with the event queue. 2018-11-23 11:18:53 -08:00
Scott Shawcroft 6aa0146c72
Reset USB peripheral and wait for startup 2018-11-23 11:15:39 -08:00
hathach a1c596490a
Merge pull request #13 from hathach/devlocal
add unplugged event for nrf5x
2018-11-23 15:28:32 +07:00
hathach 394a22ecf7
remove pragma GCC diagnostic 2018-11-23 15:25:25 +07:00
hathach f196b24dce
rename DCD_XFER_SUCCESS to XFER_RESULT_SUCCESS 2018-11-23 15:22:46 +07:00
hathach a619ff88a3
rename xfer complete enum 2018-11-23 15:17:43 +07:00
hathach cb8782e5f2
rename tusb_event_t to xfer_result_t 2018-11-23 15:14:47 +07:00
hathach e61e9d8b1b
nrf5x add DCD_EVENT_UNPLUGGED event 2018-11-23 15:05:40 +07:00
hathach 4e8400e6fb
more clean up 2018-11-22 21:58:06 +07:00
hathach a1faf5c9cb
clean up dcd lpc43xx 2018-11-22 21:37:23 +07:00
hathach 569e85a0c0
cdc work ok with lpc43xx 2018-11-22 17:40:20 +07:00
hathach 60d8cde695
rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTION 2018-11-22 17:21:07 +07:00
hathach b20cb8852a
build ok 2018-11-22 16:49:27 +07:00
hathach c3c446f7db
adding lpc43xx to ses 2018-11-22 16:28:01 +07:00
hathach 2edfd5b555
Merge pull request #12 from hathach/devlocal
tested samd21 and samd51 with msc ram disk
2018-11-22 12:16:26 +07:00
hathach 4314be9aeb
msc device block count and block num
- replace CFG_TUD_MSC_BLOCK_NUM & CFG_TUD_MSC_BLOCK_SZ by
tud_msc_capacity_cb() (mandatory callback)
2018-11-22 12:11:06 +07:00
hathach d7e48f307b
clean up msc example 2018-11-22 11:36:50 +07:00
hathach bdded75ad9
msc works well with samd51 2018-11-22 11:32:56 +07:00
hathach c93765c3bc
rename freertos example 2018-11-22 11:23:36 +07:00
hathach 42b97d3c25
rename example project 2018-11-22 11:18:10 +07:00
hathach d2d833c0ab
update freertos ses project 2018-11-22 01:04:18 +07:00
hathach 3fccd24854
refractor device composite freertos ses 2018-11-22 00:50:51 +07:00
hathach 1a91b5a62e
refractor device composite example 2018-11-22 00:25:03 +07:00
hathach 97f73eed5f
more clean up 2018-11-21 17:10:30 +07:00
hathach 2b84d7bb25
Merge pull request #11 from hathach/devlocal
fix samd51 & samd21 dcd setup packet prepare
2018-11-21 17:05:13 +07:00
hathach 1d6fc49fa9
clean up 2018-11-21 17:03:39 +07:00
hathach 3cad1d1134
samd21 work well with cdc 2018-11-21 15:00:36 +07:00
hathach a30dfa3324
clean up 2018-11-21 13:11:19 +07:00
hathach a0ce92bcfd
update dcd samd21 2018-11-21 13:01:39 +07:00
hathach 155edc7b00
fix ses irq vector 2018-11-21 12:36:28 +07:00
hathach 5bccb234ee
samd21 has usb traffic 2018-11-21 12:24:18 +07:00
hathach c5d9a477c0 samd21 metro m0 blink too fast, still have issue with clock init 2018-11-21 00:32:17 +07:00
hathach eadcba75a2 has issue with metro m0 clock init 2018-11-21 00:19:38 +07:00
hathach a46b42a54e move metro m4 clock init to board 2018-11-21 00:12:11 +07:00
hathach 867d3cb02d able to build and blink with metro m0 2018-11-20 23:49:37 +07:00
hathach 18f8217f4f adding samd21 metro m0 support 2018-11-20 23:19:59 +07:00
hathach d036f62b0e samd51 fix stable issue with dcd 2018-11-20 17:25:41 +07:00
hathach 4ded192080
clean up 2018-11-20 12:51:47 +07:00
hathach 0b722a4766
use correct samd51 startup
able to carry some usb transfer
2018-11-20 12:44:29 +07:00
hathach aa71b8fd87
Merge pull request #10 from hathach/devlocal
merge for local develop
2018-11-20 11:06:16 +07:00
hathach 5e65886fdd
samd51 metro m4 add init_mcu() and usb init
- device regconized on bus but doesnt response with setup packet.
- temp disable msc
2018-11-20 01:23:53 +07:00
hathach c503d48ec4 clean up 2018-11-20 01:20:39 +07:00
hathach 6c842338d6 remove samd-peripherals submodule 2018-11-20 00:57:34 +07:00
hathach 4e2c357579 clean up 2018-11-17 13:26:14 +07:00
hathach 99f758ecd9 samd51 project update 2018-11-17 12:58:27 +07:00
hathach 027d9ef4bd pass mcu option from compiler 2018-11-17 12:40:23 +07:00