Commit Graph

2735 Commits

Author SHA1 Message Date
hathach fa96078882 clear data toggle in clear stall, also set config bit 2019-12-09 23:21:06 +07:00
hathach 75a2157715 fix samd using TUSB_REQ_SET_ADDRESS in dcd_edpt0_status_complete 2019-12-09 23:20:21 +07:00
hathach 0316e0ecd4 update descriptor, enhance ep in transfer 2019-12-09 22:48:35 +07:00
hathach 759fa76280 implementing dcd_edpt_open 2019-12-09 21:36:15 +07:00
hathach 988edce745 fix build 2019-12-09 18:49:38 +07:00
hathach 208a77678c clean up, switch and update submodule samd to circuitpython branch 2019-12-09 18:37:54 +07:00
hathach 9a8e6ed93b added microchip submodule 2019-12-09 18:18:01 +07:00
hathach 69a801c027 change the samd submodule 2019-12-09 17:59:30 +07:00
Ha Thach 88b9a6e84d
Merge pull request #233 from kasjer/kasjer/fix-ymnewt-osal
Fix mynewt osal queue definition
2019-12-09 15:32:21 +07:00
Jerzy Kasenberg 4a1f7d0243 Fix mynewt osal queue definition
Queue table has pointers instead of data os_event structs.
This resulted in crashes when elements were put to queue and
overwritten variables that were just after mpool desiged
for queue.
2019-12-01 12:38:36 +01:00
Ha Thach 97b90b6fc9
Merge pull request #231 from xobs/fix-fomu-out-rx
valentyusb: eptri: don't double-advance read buffer
2019-11-29 17:38:09 +07:00
Sean Cross 26dcc19b18 valentyusb: eptri: don't double-advance read buffer
Due to an error, we were double-advancing the FIFO buffer.  The end
result was that the second half of most reads were getting ignored.

This wasn't found during earlier testing because only 64-byte buffers
were tested.

This corrects this error by avoiding double-advancing the buffer.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-29 18:14:23 +08:00
Ha Thach acb80dec65
Merge pull request #228 from noebrun/patch-1
fix missing source file for cdc_msc to compile
2019-11-29 00:28:55 +07:00
hathach e9725dcdbe use dcd_edpt0_status_complete() to prepare for setup packet for samd21/samd51 2019-11-28 13:48:55 +07:00
hathach d7558e8a0f use dcd_edpt0_status_complete() to set address without blocking for samd21/samd51/stm32_fsdev 2019-11-28 13:39:29 +07:00
hathach ac701c398b clean up 2019-11-28 12:18:56 +07:00
hathach 552cc3ef33 implement dcd_edpt_stall 2019-11-28 11:56:35 +07:00
hathach 5dc04887e2 get passed set address 2019-11-28 11:48:08 +07:00
hathach 6bc245cb36 add dcd_edpt0_status_complete() which is useful for several mcu port 2019-11-28 11:46:36 +07:00
hathach 40b454cf28 get passed first get device descriptor 2019-11-27 23:20:48 +07:00
hathach 6225d5bcfd able to handle setup packet 2019-11-27 16:01:25 +07:00
hathach bc21714c7e detect bus reset 2019-11-27 14:49:19 +07:00
Ha Thach 2e0dcd50ea
Merge pull request #230 from hathach/develop
fix #229
2019-11-27 13:44:09 +07:00
hathach 302746d02c Merge branch 'develop' into port-samg55 2019-11-27 12:35:59 +07:00
hathach fe1eadf177 fix #229 2019-11-27 12:34:30 +07:00
hathach 8a1b6327ba extract code to invoke_class_control()
- also rename usbd_class_drivers to _usbd_driver
2019-11-27 12:12:52 +07:00
hathach 745f0b4521 clean up 2019-11-27 11:02:24 +07:00
Noe Brun d7228094fd
missing source file for cdc_msc to compile 2019-11-26 13:51:16 +01:00
hathach 4c9c13c767 add uart sync support 2019-11-26 18:21:46 +07:00
hathach 387384c0d9 fix samg55 with newlib missing end symbol 2019-11-26 17:39:51 +07:00
Ha Thach 6a6f3efd0f
Merge pull request #227 from hathach/develop
add CONTRIBUTORS.md
2019-11-25 23:25:20 +07:00
hathach 3a2d63613b logo design 2019-11-25 22:56:37 +07:00
hathach 13f4223517 add the most important contributor 2019-11-25 21:10:08 +07:00
hathach 7c606563ed lower case for arturo 2019-11-25 20:52:27 +07:00
hathach 0fccfc647f update 2019-11-25 13:37:55 +07:00
hathach 168f0cb471 update readme 2019-11-25 13:33:50 +07:00
hathach a91ac72dbd add the most important file of the project: CONTRIBUTORS.md 2019-11-25 13:29:42 +07:00
hathach c691dc4cb2 update 2019-11-25 10:42:32 +07:00
hathach 58e8265964 usb hw init OK 2019-11-24 23:46:28 +07:00
hathach 24b2cea139 Merge branch 'master' into port-samg55 2019-11-24 21:22:42 +07:00
Ha Thach 64b05a1d5f
Merge pull request #225 from xobs/fomu-offset-fix
bsp: fomu: fix rom address for example programs
2019-11-24 11:18:53 +07:00
Sean Cross a106c5114b bsp: fomu: fix rom address for example programs
During development, the ROM address was at offset 0x2001a000
(due to the fact that the test program was located immediately
following the bitstream).

In normal Fomus, the ROM address is at offset 0x20040000, in order
to take into account additional bitstreams and bootloaders.

Correct the address to the offset in order to get examples working
with existing Fomus.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-24 01:15:31 +00:00
hathach ac65e94b86 Merge branch 'develop' 2019-11-24 00:53:31 +07:00
hathach a3ed87972d more doc 2019-11-24 00:52:34 +07:00
hathach 2379ce8d65 update doc, RT1011 verified to work, thanks to @arturo182 2019-11-23 21:59:28 +07:00
Ha Thach 15d6f813c2
Merge pull request #224 from hathach/develop
added rt1010 board support
2019-11-23 21:53:58 +07:00
hathach 778cff19c1 added rt1010 board support
not tested on the actual hardware board though.
2019-11-23 21:18:40 +07:00
Ha Thach 0ee70512ac
Merge pull request #223 from hathach/develop
Added board RT1050 EVKB, RT1020 EVK, RT1015 EVK
2019-11-23 01:26:58 +07:00
hathach 9758f3e461 doc update 2019-11-23 01:11:37 +07:00
hathach a6b1289096 added rt1015 evk board 2019-11-23 01:09:39 +07:00