Commit Graph

840 Commits

Author SHA1 Message Date
hathach 20929f2ad9 clean up 2018-07-26 16:08:27 +07:00
hathach a9c04e9ff1 update main app for start stop unit 2018-07-26 15:59:35 +07:00
hathach 8694285ad2 add SCSI_CMD_REQUEST_SENSE into device msc built-in command 2018-07-25 23:56:06 +07:00
hathach 226a4f8816 clean up device msc 2018-07-25 22:51:43 +07:00
hathach 93db46292a update msc example 2018-07-25 22:35:02 +07:00
hathach 9365794623 clean up device msc API 2018-07-25 20:34:56 +07:00
hathach d2ab4db25e add scsi start stop unit struct, improve device msc, correctly stall unsupported scsi command 2018-07-25 16:56:57 +07:00
hathach 1982886f87 add control set boot protocol support and keyboard idle rate
- tud_hid_keyboard_is_boot_protocol()
- tud_hid_mouse_is_boot_protocol()
2018-07-25 15:58:52 +07:00
hathach c5a41ac9d8 enable both mouse & keyboard example 2018-07-25 12:13:40 +07:00
hathach 71934228d2 tested boot mouse working 2018-07-25 00:16:09 +07:00
hathach b370283174 rename tud_hid_mouse_busy to tud_hid_mouse_ready 2018-07-24 20:41:06 +07:00
hathach 17369cfda0 change tud_hid_keyboard_busy() to tud_hid_keyboard_ready() for positive meaning 2018-07-24 18:18:02 +07:00
hathach 255f832904 rename device mouse API 2018-07-24 16:55:30 +07:00
hathach 3400dfdf4e nrf52840 boot mouse does not work, need more work 2018-07-24 00:45:07 +07:00
hathach 546f2a1165 nrf52840 example work with boot keyboard 2018-07-24 00:10:22 +07:00
hathach 176607dbe1 rename tud_hid_mouse_is_busy to tud_hid_mouse_busy 2018-07-23 22:30:24 +07:00
hathach 3e209f9c20 enhance device hid
- add CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
- add tud_hid_keyboard_send_keycode(), tud_hid_keyboard_send_char(),
tud_hid_keyboard_send_string()
- add timeout_blocking_wait()
2018-07-23 17:46:07 +07:00
hathach 262be103e0 add descriptor string count for tud_desc_set_t 2018-07-23 16:12:14 +07:00
hathach 2bff2a7d97 fix descriptor minor issue 2018-07-23 16:01:02 +07:00
hathach 4342325ee1 reworking device hid class driver 2018-07-23 15:25:45 +07:00
hathach abb37e98ba rename tud_cdc_flush() to tud_cdc_write_flush(), add tud_cdc_read_flush() 2018-07-14 23:43:19 +07:00
hathach 584b6f716d more clean up 2018-07-13 14:44:44 +07:00
hathach ffdd925854 clean up 2018-07-13 00:34:32 +07:00
hathach 2d79023a5a update example 2018-07-12 22:15:22 +07:00
hathach 142300ca60 remove sdk, add nrfx as submodule
update segger project to work with nrfx
2018-07-02 11:00:05 +07:00
hathach a08cb6e727 clean up 2018-07-01 15:54:40 +07:00
hathach 19eb62ebe4 update auto descriptor 2018-07-01 15:45:04 +07:00
hathach 2deb0e9ae8 clean up 2018-07-01 15:15:47 +07:00
hathach ff219f1f01 add CFG_TUD_DESC_AUTO for auto descritpor (device, config) 2018-07-01 15:11:58 +07:00
hathach cfd5e1e6d1 clean up 2018-06-24 22:30:44 +07:00
hathach b9f8575e2d clean up device cdc
separate cdc tx & rx bufsize
2018-06-23 13:19:36 +07:00
hathach 38ac69b370 update build project for new folde struct 2018-06-18 14:23:14 +07:00
hathach 09b019f9c7 fix nrf52 example build error 2018-05-14 13:40:20 +07:00
hathach 14471f3154 update msc app 2018-04-20 21:18:59 +07:00
hathach 8c0a5f7d3b update nrf52840 examples 2018-04-18 18:05:08 +07:00
hathach 6f7c4346c3 add tud_set_descriptors 2018-04-16 13:46:28 +07:00
hathach 29071c10b1 rename CFG_TUSB_CONTROLLER_0_MODE to CFG_TUSB_RHPORT0_MODE 2018-04-14 14:08:48 +07:00
hathach e7d7cb222a rename CFG_TUSB_OS_TASK_PRIO to CFG_TUD_TASK_PRIO, TUC_DEVICE_STACKSIZE to CFG_TUD_TASK_STACKSIZE 2018-04-13 16:10:42 +07:00
hathach fa780edfb8 update project file 2018-04-12 13:32:27 +07:00
hathach 4b660175be rename CFG_TUSB_DEVICE_* to CFG_TUD_* 2018-04-12 13:23:52 +07:00
hathach 3d31f92106 rename OPT_MODE_ 2018-04-12 13:17:58 +07:00
hathach 08a24ee224 refactor nrf5x mcu macro 2018-04-12 13:14:59 +07:00
hathach e1272159d8 rename MCU_ to OPT_MCU 2018-04-12 13:04:48 +07:00
hathach 18f97fef7e rename TUSB_OS_NONE, TUSB_OS_FREERTOS to OPT_OS_NONE, OPT_OS_FREERTOS 2018-04-12 12:55:53 +07:00
hathach 7faceeb02d rename ATTR_USB_MIN_ALIGNMENT to CFG_TUSB_MEM_ALIGN 2018-04-10 19:49:00 +07:00
hathach fecef9ca42 minor clean up 2018-04-10 15:31:36 +07:00
hathach 33af6b6549 clean up remove CFG_TUSB_TICKS_HZ 2018-04-10 14:47:33 +07:00
hathach 81935c91e9 rename CFG_TUSB_DEVICE_CONTROL_ENDOINT_SIZE to CFG_TUSB_DEVICE_ENDOINT0_SIZE 2018-04-10 14:43:13 +07:00
hathach 3c24671960 mass rename TUSB_CFG to CFG_TUSB 2018-04-10 14:31:11 +07:00
hathach f1f7153b3b clean up nrf52 2018-03-31 13:23:23 +07:00
hathach 97db3c7c3d update nrf52 hal millis 2018-03-29 18:10:01 +07:00
hathach 981c241435 clean up segger file 2018-03-28 12:54:48 +07:00
hathach 0c09269fd4 clean up 2018-03-26 22:54:34 +07:00
hathach 63aa3ab2c9 add missing files 2018-03-23 14:23:39 +07:00
hathach e8b0500d40 MSC tested with nrf52840 2018-03-23 14:15:35 +07:00
hathach 3e5e1f70bf more shorten name 2018-03-23 12:42:30 +07:00
hathach 5f26c57b28 shorten descriptor type 2018-03-23 12:32:40 +07:00
hathach b4cedb8635 fix build error 2018-03-20 22:51:05 +07:00
hathach 45a12eaa9e more hw clean up 2018-03-20 22:48:41 +07:00
hathach 93ba27cc4a fix build issue 2018-03-20 22:45:56 +07:00
hathach 64c43634e2 adding toolchain file from sdk 2018-03-20 22:11:39 +07:00
hathach 7a628f4dfc adding bulk/int support
still does not work though
2018-03-17 02:17:40 +07:00
hathach 49a7f8c363 adding segger files 2018-03-14 22:03:32 +07:00
hathach 4a521711b9 add usbd_control_xfer_substak
seperate control xfer Data and Status phase
2018-03-14 22:01:16 +07:00
hathach 7c70b0d0eb remove segger session file 2018-03-14 15:23:35 +07:00
hathach fc82ab3c97 nrf52 finish usbd startup, able to got setup packet 2018-03-14 15:21:47 +07:00
hathach b33e89ac66 adding code for nrf52 usbd start-up sequence 2018-03-13 16:59:51 +07:00
hathach ffca1f5e64 working on nrf52 2018-03-13 16:30:53 +07:00
hathach 2435abb0a8 rename hal to tusb_port 2018-03-12 23:46:58 +07:00
hathach 34dbb3532c more rename 2018-03-12 22:45:35 +07:00
hathach c5d8d16858 house keeping 2018-03-11 21:19:27 +07:00
hathach e29409d4c8 clean up 2018-03-11 19:45:13 +07:00
hathach 08ea1c35cb create new name for multiple port API, to simplify API 2018-03-11 19:37:21 +07:00
hathach bf9fc1b318 update examples 2018-03-11 13:20:43 +07:00
hathach 717dd049d7 more rename 2018-03-11 13:05:00 +07:00
hathach 0384e40320 rename hal_* to tusb_hal_* 2018-03-11 13:01:57 +07:00
hathach 23caef859c adding nrf52840 port, able to blink led with pca10056 2018-03-11 00:16:10 +07:00
hathach 3e42845153 segger studio work with ea4357 2018-03-09 16:22:10 +07:00
hathach eaaebc2b88 rename coreid to port 2018-03-09 14:29:23 +07:00
hathach b608f8895a clean up virtual com example 2018-03-08 15:03:03 +07:00
hathach 4ddac8bc88 enhance cdc device API 2018-03-08 14:47:48 +07:00
hathach d28e7e3966 clean up virtual com example 2018-03-08 00:00:35 +07:00
hathach bd5f9ecdec rename tusb_tick_get to hal_tick_get 2018-03-07 23:40:54 +07:00
hathach d0312805ba rename tusb_task_runner() to tusb_task() 2018-03-07 22:59:57 +07:00
hathach 7092db264f update 2018-03-07 15:30:32 +07:00
hathach 889169d4d0 add new example device_virtual_com 2018-03-07 13:25:41 +07:00
hathach 271015a014 move old examples to obsolete folder 2018-03-07 11:09:59 +07:00
hathach 321324a485 enhance cdc implementation 2018-03-07 11:01:23 +07:00
hathach eac0b9ec78 rename tusb_port to simply hal 2018-03-06 19:16:23 +07:00
hathach 4dc917c9ba rename demo to examples 2018-03-06 19:14:01 +07:00