Commit Graph
100 Commits
Author SHA1 Message Date
hathach 28610198df clean up 2019-03-29 17:42:10 +07:00
hathach 7d9b68a7b9 clean up control req a bit 2019-03-29 16:55:58 +07:00
hathach 3a38cde53d support set/clear feature Device_remote_wakeup 2019-03-29 16:37:08 +07:00
hathach 1c2beba85c working on suspend and resume
change dcd_init signature
2019-03-29 16:23:00 +07:00
hathach 0bdd4bd550 added Suspend and Resume event for nrf5x port
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
2019-03-29 01:34:53 +07:00
hathach 8fb9fbb0b1 add tud_mounted() check in tud_cdc_connected()
mark device as disconnected immed with DCD_EVENT_UNPLUGGED
2019-03-27 23:58:24 +07:00
hathach c09d754654 remove tud_msc_ready() 2019-03-27 23:47:59 +07:00
hathach 38f7d281d4 more board clean up 2019-03-27 21:06:44 +07:00
hathach 801f3c9d8d more clean up 2019-03-27 21:00:15 +07:00
hathach da452d4ba6 cleanup, remove the use of _TINY_USB_SOURCE_FILE_ 2019-03-27 17:48:42 +07:00
hathach 3dfb251c1e clean up 2019-03-27 16:32:07 +07:00
hathach f26fbaf404 clean up remove usbd_control_stall() 2019-03-27 16:26:52 +07:00
hathach 1e9848d917 replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stall
- remove dcd_edpt_stalled() from dcd porting
2019-03-27 16:09:49 +07:00
hathach 4722376654 remove dcd_get_frame_number() 2019-03-27 01:01:48 +07:00
hathach 852abba918 Merge branch 'master' into develop 2019-03-27 00:46:32 +07:00
hathach 89b9ee2f52 revert to use pending_read_from_host (temp) since 2019-03-27 00:39:14 +07:00
hathach aaf5714268 follow up to pr #46 2019-03-25 11:38:16 +07:00
hathach 315076375f fix timer prio for freertos to blink led 2019-03-25 00:40:51 +07:00
hathach 18f248b142 remove tusb_hal_millis() usage, less work for porting 2019-03-24 01:19:32 +07:00
hathach 29e075b8b9 clean up bsp, adde board_millis() 2019-03-23 22:31:07 +07:00
hathach d866999bf0 remove idle rate enforcement, should be done in application level 2019-03-23 21:46:51 +07:00
hathach df1aac44b8 add board_noos_millis() for blinky 2019-03-23 16:51:07 +07:00
hathach 43eb1a8b16 added stub for dcd_stm32f3 2019-03-22 23:57:56 +07:00
hathach ba1bea5d53 simplify board API, adding stm32f3 discovery
- remove board header since it is not used
2019-03-22 22:06:48 +07:00
hathach 2533f4004e adding stm32f3 support 2019-03-22 15:27:03 +07:00
hathach 8b7c4ade71 clean up 2019-03-22 14:55:00 +07:00
hathach a2a267ddfa correct mynewt version 2019-03-21 19:26:53 +07:00
hathach f8faf05e9e minor clean up 2019-03-21 19:01:04 +07:00
hathach 3574688d26 more with mynewt 2019-03-21 00:54:42 +07:00
hathach a37bc90ecc add readme url for mynewt example 2019-03-21 00:42:02 +07:00
hathach a1a6220ac8 update osal for mynewt 2019-03-21 00:36:52 +07:00
hathach 87962a222d clean up 2019-03-20 23:12:12 +07:00
hathach 20fb416783 clean board uart read & write 2019-03-20 20:58:27 +07:00
hathach da55610f43 clean up 2019-03-20 20:19:21 +07:00
hathach 2d4314dd2d update license badge 2019-03-20 16:12:38 +07:00
hathach c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach 4647ad8136 clean up 2019-03-20 14:41:35 +07:00
hathach 6787fbeff0 move lpcopen to its own repo (submodule) 2019-03-20 12:37:25 +07:00
hathach f2f3f5a772 fix pca10056 build error due to nrfx undef usage 2019-03-20 01:35:52 +07:00
hathach 1a0c4fbb9b add pca10056 to travis buidl 2019-03-20 01:23:59 +07:00
hathach e6612ab82c move -nostdlib (-nostartfiles) into board.mk
since nrf5x require the use of std startup. Add verbose mode to makefile
2019-03-20 01:23:49 +07:00
hathach d22dea4976 update nrfx to 1.6.2 2019-03-19 19:09:08 +07:00
hathach 2ad4751cf4 Merge branch 'master' of github.com:hathach/tinyusb into develop 2019-03-19 16:58:36 +07:00
hathach 1062910348 readme clean up 2019-03-19 16:51:41 +07:00
hathach 0fcd263df3 stm32f place startup*.o first in linking order due to gcc flto bug
ref: https://bugs.launchpad.net/gcc-arm-embedded/+bug/1747966
2019-03-19 16:41:00 +07:00
hathach 11eed2f026 update flash-jlink target for m0 and m4 board 2019-03-17 15:42:57 +07:00
hathach f932cf3854 stm32 update fifo in comment 2019-03-17 15:16:52 +07:00
hathach e39b4199b0 add stm32f4 board to travis build 2019-03-16 02:25:56 +07:00
hathach d56e7fd913 adding flash (jlink) 2019-03-16 01:34:26 +07:00
hathach e49efde730 update ses project file 2019-03-15 18:48:14 +07:00
hathach 5e92d67015 stm32 update TX Fifo for edpt IN, both CDC + MSC work great
- call dcd_event_xfer_complete() when enough bytes received
- add dcd_get_frame_number()
2019-03-15 18:43:09 +07:00
hathach eda56769b9 dcd_set_address include status response, usbd control stall both control in and out 2019-03-13 23:14:48 +07:00
hathach 195a44172a update stm32 dcd stall control endpoint 2019-03-13 16:54:10 +07:00
hathach ddfc32f5ec adding segger project for stm32f4 2019-03-10 01:24:13 +07:00
hathach 0ff7d609f0 add flash target for stm32 board using stm32cubeprogammger cli 2019-03-09 01:04:26 +07:00
hathach 57d069981f fix asm file .S (nrf) and .s (stm) 2019-03-05 23:24:33 +07:00
hathach a19455d1ff follow up to PR #39 2019-03-04 11:51:36 +07:00
hathach f2d76a39eb mscd: send scsi status before invoke read10/write10/scsi complete callback 2019-02-22 01:31:13 +07:00
hathach 1a84f5da54 nrf5x Let application decide USBD_IRQn priority 2019-01-29 19:42:31 +07:00
hathach 59c1b4b427 zero init internal class/device data 2019-01-29 19:39:34 +07:00
hathach e4e8413acc add tusb_inited() API, check for inited() before running device/host task 2019-01-29 19:05:07 +07:00
hathach 777f41a066 clean up 2019-01-29 18:47:29 +07:00
hathach 6752a71264 usb work when sd is init first 2019-01-29 18:02:25 +07:00
hathach ae560bd825 fix segger debug with SD
- Add macro NO_VTOR_CONFIG
- In Properties -> Debugger -> Debugger Options -> Start From Entry
Point Symbol, set to 'No.' This is because we should enter our
SoftDevice's ResetHandler(), not our applications. For more information,
see RK's comment below.
2019-01-29 17:31:32 +07:00
hathach c81b56eb45 nrf5x usb init before sd works 2019-01-29 17:05:53 +07:00
hathach d8b361fdaa add S140 v6 build config for nrf5x 2019-01-29 14:15:13 +07:00
hathach cff217fb47 Merge branch 'devlocal' into develop 2019-01-25 16:04:06 +07:00
hathach bd53256126 fix #32 2019-01-23 19:06:37 +07:00
hathach e6224bccf9 adding makefile support for nrf5x
got undefined reference to `_start'
2019-01-02 22:35:42 +07:00
hathach 4bcd3f9a8f more readme 2018-12-29 14:39:28 +07:00
hathach 4e2a79a8bb update makefile 2018-12-29 14:38:36 +07:00
hathach 6b0a747d28 update readme 2018-12-29 14:36:57 +07:00
hathach 257d60fe1a white spaces 2018-12-21 12:58:53 +07:00
hathach 6f17b4e019 change to dcd_get_frame_number 2018-12-21 12:46:20 +07:00
hathach 426064201a fix samd build 2018-12-19 13:16:42 +07:00
hathach 902697ca07 add dcd_get_microframe() 2018-12-17 12:14:11 +07:00
hathach 455da57f9d docs clean up 2018-12-17 12:08:11 +07:00
hathach 10021eda67 minor readme update 2018-12-15 13:13:22 +07:00
hathach 351f0d7d78 merge binary.h into tusb_common.h 2018-12-14 15:45:49 +07:00
hathach 2a60427bdc rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency 2018-12-14 15:30:54 +07:00
hathach a3713f801d clean up compiler attribute 2018-12-14 13:08:21 +07:00
hathach edf885ca46 white spaces 2018-12-13 15:25:43 +07:00
hathach 07bcc6ca91 clean up files 2018-12-13 15:20:28 +07:00
hathach a6b9432600 clean up error enum 2018-12-13 14:57:21 +07:00
hathach 1c49c479ca seperate tusb_task() to tud_task() and tuh_task()
tusb_task() still exists for backward compatible
2018-12-13 14:51:37 +07:00
hathach af1ffe4675 remove task void* param 2018-12-13 13:53:43 +07:00
hathach bc46dc6edf osal clean up
remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task
and call tinyusb_task(). This make API consistent with NO OS.
2018-12-13 13:49:09 +07:00
hathach b562fa741b Update readme.md 2018-12-12 23:08:08 +07:00
hathach fafef1aa17 Update LICENSE 2018-12-12 16:59:39 +07:00
hathach cb830a82e0 docs clean up 2018-12-12 16:57:10 +07:00
hathach aa17ec60d3 Merge branch 'develop' 2018-12-12 16:49:38 +07:00
hathach 142f274c1d docs update 2018-12-12 16:35:53 +07:00
hathach a76d3a8726 clean up 2018-12-12 14:53:11 +07:00
hathach bb544a0951 minor update 2018-12-12 14:43:45 +07:00
hathach c1c501e0c2 change usbd xfer_cb return type to bool 2018-12-12 13:12:06 +07:00
hathach b6cb4757d2 change class driver open return type to bool 2018-12-12 13:00:59 +07:00
hathach 5fd60e5761 clean up 2018-12-12 12:36:40 +07:00
hathach 6c0b0917e1 rename descriptor_* helper to tu_desc_* 2018-12-12 12:01:15 +07:00
hathach 6d86db3977 rename edpt_dir/number/addr to tu_edpt_* 2018-12-12 11:51:31 +07:00
hathach e3514b8054 rename hcd_device_remove to hcd_device_close 2018-12-12 11:34:09 +07:00