Commit Graph

2496 Commits

Author SHA1 Message Date
hathach d65bc34bfe added and tested nRF52833DK (pca10100) 2019-11-11 00:11:49 +07:00
hathach 4008f0d1e6 update dcd nrf5x to be indepent from nrf_usbd.h
fix build error with nrfx 2.0
2019-11-11 00:01:12 +07:00
hathach 2f19b9c100 update submodule nrfx to 2.0.0 for nrf52833 support 2019-11-10 21:04:55 +07:00
hathach a19db3bdd2 added board nrf52840 mdk dongle 2019-11-10 20:07:43 +07:00
hathach 943b7467d8 correct LED, button and uart for feather_stm32f405 2019-11-09 00:08:32 +07:00
hathach 3c49ff153e
Merge pull request #149 from pigrew/ZLP_Request2
Zlp request2
2019-11-05 00:05:21 +07:00
hathach e43e3e9f10
Merge pull request #212 from hathach/develop
fix #211
2019-11-04 23:34:19 +07:00
Nathan Conrad 8d0fa158d7 Change one more TU_ASSERT to TU_VERIFY in usbd. 2019-11-04 11:33:14 -05:00
hathach 2727983a2d fix #211 2019-11-04 22:52:29 +07:00
Nathan Conrad a94fe05ecb usbd: Change TU_ASSERT to TU_VERIFY as the assertion can be hit when bad data is sent from host. 2019-11-04 08:59:29 -05:00
Nathan Conrad c98acd3873 Use control transfer function to send control data (in usbtmc) 2019-11-04 08:54:18 -05:00
Nathan Conrad 0d856b7116
Merge pull request #3 from hathach/pigrew-ZLP_Request2
fix tud_control_status() didn't update request
2019-11-04 08:09:24 -05:00
hathach 44ad683bd6 fix tud_control_status() didn't update request 2019-11-04 11:21:57 +07:00
Nathan Conrad 68a53e05fc
Merge pull request #2 from hathach/pigrew-ZLP_Request2
zlp request2. PR for PR (has issues with STM32F0 FSDEV)
2019-11-03 17:50:41 -05:00
Nathan Conrad cebc066813 Add UART HAL source file to stm32f070 makefile. 2019-11-03 15:25:55 -05:00
Nathan Conrad 5839159742 Enable UART debugging on F070. 2019-11-03 09:54:02 -05:00
hathach 62f8c14fae add a bit of log1 for debugging 2019-11-03 14:08:38 +07:00
hathach 5ca75eb84c seperate DEBUG from LOG 2019-11-03 13:18:02 +07:00
hathach 585aebeb12 add uart support for stm32f072disco 2019-11-03 12:54:05 +07:00
hathach 7bf01e218d make control buf static 2019-11-03 11:43:07 +07:00
hathach 164d0db825
Merge branch 'ZLP_Request2' into pigrew-ZLP_Request2 2019-11-01 10:16:59 +07:00
hathach ac0203b42f
update doc 2019-11-01 10:13:19 +07:00
hathach 981e64d8a1
implement pigrew review 2019-11-01 10:07:56 +07:00
Nathan Conrad d35f86993f Merge remote-tracking branch 'origin/master' into ZLP_Request2 2019-10-31 12:23:54 -04:00
hathach bd8b4e48dc
rename zlp test 2019-10-31 21:55:01 +07:00
hathach f58726887a
update doc, hid set report 2019-10-31 21:28:46 +07:00
hathach cacbb80a90
zlp should work with control in, tested with Unity framework 2019-10-31 21:14:06 +07:00
hathach 6067adcd08
adeded tests for zlp 2019-10-31 16:42:51 +07:00
hathach 6de9eb4b1a
add more tests, fix an issue with tud_descriptor_configuration_cb() return NULL 2019-10-31 13:06:57 +07:00
hathach d9ba4d90a8
move function around, more rename 2019-10-31 12:26:36 +07:00
hathach 0029b58417
rename 2019-10-31 12:18:41 +07:00
hathach e6857d8ee0
clean up 2019-10-31 11:25:41 +07:00
hathach 8a57997c0f Merge branch 'master' into pigrew-ZLP_Request2 2019-10-31 09:57:52 +07:00
hathach 4d329d46cc
Merge pull request #206 from hathach/develop
Added a couple of unit testing with Ceedling/Cmock/Unity
2019-10-31 08:29:11 +07:00
hathach e69d2a4a83
move test_usbd around 2019-10-30 23:41:42 +07:00
hathach 0653e1d1f5
fix 2nd test when tud_descriptor_device_cb() return NULL 2019-10-30 23:34:09 +07:00
hathach a0002cc709
rename usbd_init() to tud_init() 2019-10-30 23:26:34 +07:00
hathach 5808993402 add 2nd test, but failed due to lack of tusb_teardown() 2019-10-30 23:22:07 +07:00
hathach 8f2e70756b added firs usbd test with get device descriptor 2019-10-30 16:19:47 +07:00
hathach 16665672a4 initally adding test_usbd.c 2019-10-30 12:24:07 +07:00
hathach 880ac1e398 move dcd event helper to be dcd.h as inline function 2019-10-30 11:35:25 +07:00
hathach a29eb87c38 Merge branch 'ZLP_Request2' of https://github.com/pigrew/tinyusb into pigrew-ZLP_Request2 2019-10-29 18:19:10 +07:00
hathach 78523301bb
Merge pull request #202 from smunaut/dfu-rt
Add support for DFU Runtime class for devices
2019-10-28 22:56:14 +07:00
Sylvain Munaut 03f1a6d926 Add example of usage for the DFU Runtime support
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-10-28 16:11:08 +01:00
Sylvain Munaut ec4ecfa817 Add support for DFU Runtime class for devices
This is really just a few descriptors and then answering to the
request from the host to reboot into DFU mode.

That latter part is delegated to the app since this is platform
specific.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-10-28 16:11:08 +01:00
hathach 5d975d9313
Merge pull request #203 from hathach/develop
add log support using uart with CFG_TUSB_DEBUG >= 2, close #200
2019-10-24 13:17:01 +07:00
hathach 6f952a8e84 fix missing board uart read/write() 2019-10-24 12:20:06 +07:00
hathach 33e3bf001c update boards doc 2019-10-24 12:07:37 +07:00
hathach 6ab0663c1a adding more log 2019-10-24 12:00:06 +07:00
hathach 661515a807 adding debug log function 2019-10-23 21:18:46 +07:00