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
|
6b2b6aaa3f
|
fix msc device with transfer len > 65k bytes
|
2018-06-24 00:16:22 +07:00 |
|
hathach
|
84ef486418
|
enhance and fix bug with dcd for nrf5x
fix issue with large enough bulk out.
|
2018-06-23 13:20:07 +07:00 |
|
hathach
|
b9f8575e2d
|
clean up device cdc
separate cdc tx & rx bufsize
|
2018-06-23 13:19:36 +07:00 |
|
hathach
|
d438000b99
|
clean up
|
2018-06-22 16:01:55 +07:00 |
|
hathach
|
e3591ac682
|
enhance usbd: add usbd_defer_func()
|
2018-06-22 12:53:13 +07:00 |
|
hathach
|
af268ce951
|
clean up
|
2018-06-22 00:43:41 +07:00 |
|
hathach
|
5f1bec943b
|
fix msc block count get
|
2018-06-21 12:20:21 +07:00 |
|
hathach
|
a6a06bca69
|
update msc device adjust lba for read10, write10 callback
|
2018-06-19 22:59:54 +07:00 |
|
hathach
|
19807f0c07
|
clean up
|
2018-06-19 22:59:16 +07:00 |
|
hathach
|
3ace03cbc7
|
re-increase cdc buffer for nrf52840 due to bulk out issue
|
2018-06-19 15:16:26 +07:00 |
|
hathach
|
19963ca611
|
clean up
|
2018-06-19 15:08:31 +07:00 |
|
hathach
|
f8e7695fe9
|
clean up
|
2018-06-18 14:31:15 +07:00 |
|
hathach
|
38ac69b370
|
update build project for new folde struct
|
2018-06-18 14:23:14 +07:00 |
|
hathach
|
424735d440
|
rename subfolder source to src
|
2018-06-18 14:05:24 +07:00 |
|
hathach
|
b96e8c6cef
|
move files
|
2018-06-17 14:21:37 +07:00 |
|
hathach
|
bd8fc5a112
|
clean up
|
2018-06-17 14:21:26 +07:00 |
|
hathach
|
5692b84ddf
|
adding device custom class support
add usbd_open_edpt_pair
|
2018-06-16 12:32:07 +07:00 |
|
hathach
|
2b85a8fd46
|
improve nrf52 dcd, add fix for hw ACK issue with bulk
|
2018-06-13 17:14:12 +07:00 |
|
hathach
|
d1ecef4fc3
|
correct errata check for nrf52840 first production
|
2018-06-13 14:25:33 +07:00 |
|
hathach
|
d6cb34ff22
|
clean up
|
2018-06-12 23:08:03 +07:00 |
|
hathach
|
fa2e043126
|
msc device: correct handling tud_msc_write10_cb returned value
separate proc write10 and read10
|
2018-06-07 12:10:07 +07:00 |
|
hathach
|
8f810cece9
|
extract rdwr10_get_lba, rdwr10_get_blockcount
|
2018-06-06 17:36:10 +07:00 |
|
hathach
|
a439392385
|
fix errata 187 check failed for nrf52840 1st production chip
|
2018-06-06 16:04:26 +07:00 |
|
hathach
|
5677258782
|
clean up
|
2018-06-06 13:40:02 +07:00 |
|
hathach
|
3a64acaa28
|
complete enhancing osal with static memory
|
2018-05-17 20:04:52 +07:00 |
|
hathach
|
ea7efb0fd6
|
freeRTOS osal task use static API
|
2018-05-17 19:57:51 +07:00 |
|
hathach
|
61cc8666fc
|
complete osal queue, semaphore static API
|
2018-05-17 19:19:55 +07:00 |
|
hathach
|
d6794074e1
|
osal_none remove tu_malloc in queue API
|
2018-05-17 19:13:07 +07:00 |
|
hathach
|
ca4d64caf6
|
switch osal freeRTOS port to use static semaphore & queue
|
2018-05-17 18:22:30 +07:00 |
|
hathach
|
cb40a7bfd0
|
adding static API for freeRTOS
add vApplicationGetIdleTaskMemory(), vApplicationGetTimerTaskMemory()
|
2018-05-17 17:30:19 +07:00 |
|
hathach
|
6528460563
|
update freeRTOS to v10.0.1
|
2018-05-17 16:06:57 +07:00 |
|
hathach
|
7030d64a95
|
rename vendor to lib
|
2018-05-17 16:04:15 +07:00 |
|
hathach
|
b5de2595d3
|
add os FromISR support for freeRTOS
|
2018-05-17 15:07:53 +07:00 |
|
hathach
|
013bd621f5
|
add osal_queue_send_isr/osal_semaphore_post_isr for better support freeRTOS
|
2018-05-17 13:49:38 +07:00 |
|
hathach
|
b253291314
|
update xferred bytes of control xfer for nrf5x
|
2018-05-15 22:24:26 +07:00 |
|
hathach
|
d96abdb0ad
|
add xferred bytes for device control
|
2018-05-15 22:06:49 +07:00 |
|
hathach
|
1d428b7fef
|
get nrf5x hal work with SD and non_SD configure
|
2018-05-15 12:37:48 +07:00 |
|
hathach
|
03d442a861
|
clean up
|
2018-05-14 14:19:33 +07:00 |
|
hathach
|
3b423f3901
|
refactor nrf5x hal
|
2018-05-14 13:40:41 +07:00 |
|
hathach
|
09b019f9c7
|
fix nrf52 example build error
|
2018-05-14 13:40:20 +07:00 |
|
hathach
|
3c1bbcf077
|
refactor usbd class drivers hanlding class/interface
|
2018-05-14 13:02:01 +07:00 |
|
hathach
|
e13550c4dd
|
fix build error
|
2018-05-12 12:33:53 +07:00 |
|
hathach
|
f25cf35634
|
fix msc device driver logic
|
2018-05-08 16:30:07 +07:00 |
|
hathach
|
14471f3154
|
update msc app
|
2018-04-20 21:18:59 +07:00 |
|
hathach
|
a9d4c1e339
|
enhance msc device driver
|
2018-04-20 20:23:22 +07:00 |
|
hathach
|
ec28d0d0da
|
clean up warnings
|
2018-04-20 13:42:06 +07:00 |
|
hathach
|
ba223b2a05
|
temporarily disable no SD on nrf5x
|
2018-04-19 16:55:54 +07:00 |
|
hathach
|
ea0cb6d5e5
|
update code
|
2018-04-19 16:46:31 +07:00 |
|
hathach
|
4bb00f04bb
|
msc device, fix potential mis algin access
|
2018-04-19 16:44:02 +07:00 |
|
hathach
|
f4b940f2e9
|
rename and clean up
|
2018-04-19 16:35:58 +07:00 |
|
hathach
|
3742d6fabc
|
clean up msc device driver
|
2018-04-19 16:26:18 +07:00 |
|
hathach
|
c7e924b4be
|
finalize msc cb API with tud_msc_read10_cb and tud_msc_write10_cb
|
2018-04-19 16:10:52 +07:00 |
|
hathach
|
8c0a5f7d3b
|
update nrf52840 examples
|
2018-04-18 18:05:08 +07:00 |
|
hathach
|
a9ada8ea5e
|
add msc device optional callbacks
- tud_msc_read10_complete_cb()
- tud_msc_write10_complete_cb()
- tud_msc_scsi_complete_cb()
|
2018-04-18 17:12:58 +07:00 |
|
hathach
|
9aaf86bffd
|
improve msc device
- change tud_msc_scsi_cb return type to simply bool
- change tud_msc_write10_cb, tud_msc_read10_cb params order
|
2018-04-18 16:55:44 +07:00 |
|
hathach
|
6280c50ad7
|
improve scsi: support non read10, write10 out data
|
2018-04-18 13:46:05 +07:00 |
|
hathach
|
e872962b25
|
improving msc device driver
|
2018-04-18 13:20:31 +07:00 |
|
hathach
|
a18f47353c
|
clean up
|
2018-04-17 22:16:26 +07:00 |
|
hathach
|
0e62cb1425
|
correct cdc connected
|
2018-04-17 17:06:40 +07:00 |
|
hathach
|
2def363e49
|
add license file
|
2018-04-17 16:08:48 +07:00 |
|
hathach
|
1b15449db6
|
add tud_n_cdc_get_line_state and tud_n_cdc_get_line_coding
|
2018-04-17 10:46:20 +07:00 |
|
hathach
|
8c79073fa6
|
nrf5x clean up
|
2018-04-16 18:42:29 +07:00 |
|
hathach
|
1954a73536
|
make dcd_connect/dcd_disconnect optional with attr weak
|
2018-04-16 17:35:05 +07:00 |
|
hathach
|
6e9bed69ce
|
add macro for errata 104 fix
|
2018-04-16 17:33:15 +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
|
92b306d9bc
|
house keeping
|
2018-04-14 14:05:07 +07:00 |
|
hathach
|
b9b92dd27b
|
clean up
|
2018-04-14 12:25:06 +07:00 |
|
hathach
|
8af60fded3
|
add Errata 104 for out transfer, seems to work with cdc bootloader
|
2018-04-14 03:39:01 +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
|
a24615bffc
|
add OSAL_TIMEOUT_CONTROL_XFER = OSAL_TIMEOUT_WAIT_FOREVER
|
2018-04-12 18:10:35 +07:00 |
|
hathach
|
752a9f45d7
|
rename ASSERT_ERR to TU_ASSERT_ERR to prevent conflict with user code
|
2018-04-12 17:55:15 +07:00 |
|
hathach
|
6d8f4bca47
|
clean up
|
2018-04-12 13:35:45 +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
|
df367bac54
|
minor update dcd nrf5x
add walkaround CDC buffer for nrf52 (due to not able to NAK OUT packet)
|
2018-04-12 00:33:31 +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
|
3473c71a6a
|
enhance cdc add tud_cdc_line_state_cb(), tud_cdc_line_coding_cb()
|
2018-04-10 02:16:48 +07:00 |
|
hathach
|
166982bd9e
|
clean up
|
2018-04-10 00:09:24 +07:00 |
|
hathach
|
a74b2d34e5
|
fix cdc driver for connected state.
|
2018-04-09 18:48:38 +07:00 |
|
hathach
|
fb27ae96b0
|
fix cdc_device flush send zero bytes
|
2018-04-07 15:04:01 +07:00 |
|
hathach
|
9be8e7bef6
|
add nrf52 walkaround for errata 104, 171, 187.
clean up osal_none
|
2018-04-07 15:03:56 +07:00 |
|
hathach
|
b9fc708e41
|
improve nrf52 port
|
2018-04-05 18:36:59 +07:00 |
|
hathach
|
b6accc622b
|
getting nrf5x to work with S140 6.0.0
|
2018-04-04 20:02:54 +07:00 |
|
hathach
|
4bb1553d5c
|
minor clean up
|
2018-04-04 16:48:52 +07:00 |
|
hathach
|
7a77aed8fa
|
change usbd_control_xfer_st from function to macro to prevent compiler issue with substask
|
2018-03-31 14:09:48 +07:00 |
|