hathach
dcfaec9efc
add HID_ASCII_TO_KEYCODE
2019-06-06 18:06:24 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application
2019-06-06 10:39:37 +07:00
hathach
90fea785c6
use adafruit-nrfutil dfu as default flash target for feather nrf52840
2019-05-29 16:56:26 +07:00
hathach
a619511631
run tud_task() in board_delay()
2019-05-29 16:55:54 +07:00
hathach
a0307bafda
added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()
...
- improve fifo write/read_n with only one lock
- use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver
- replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-29 16:55:15 +07:00
hathach
dfdae7a4d2
add node hid installation instruction
2019-05-29 15:58:01 +07:00
hathach
5f34c63660
should fix and work with #58
...
- add hid_test_js
2019-05-24 12:33:56 +07:00
hathach
231773cae9
move all build into folder _build
2019-05-24 12:04:47 +07:00
hathach
f4762ff012
host fix address alloc when it reach max devices
2019-05-23 10:59:43 +07:00
hathach
3846645a28
fix tud_cdc_read_char()/tud_cdc_peek() to return signed char
...
- depending on compiler option "char" can be intepreted as unsigned char
2019-05-22 00:54:21 +07:00
hathach
ce6976f400
better fix for #72 millis overthrow
2019-05-21 13:31:02 +07:00
hathach
73c7db38f7
fix #72 address overflow with board_delay
2019-05-21 11:38:46 +07:00
hathach
6861b670fc
add uf2 target for uf2 bootloader board: metro m0/m4 feather nrf52840
2019-05-20 12:35:33 +07:00
hathach
9cc5708467
Merge branch 'master' into develop
2019-05-20 12:03:42 +07:00
hathach
e090cd2b6f
Merge pull request #68 from zardam/binary_output
...
Fix missing section in binary output
2019-05-20 11:53:29 +07:00
hathach
bcf9718f9a
clean up
2019-05-15 22:51:49 +07:00
hathach
c4b1539250
Merge pull request #66 from hathach/develop
...
support makefile device example for all boards
2019-05-15 18:21:41 +07:00
hathach
6e9324e29c
clean up
2019-05-15 18:16:48 +07:00
hathach
22d8479299
update travis build script
2019-05-15 18:11:08 +07:00
hathach
3278a9765b
ea4357 build with makefile, add to travis
2019-05-15 18:01:58 +07:00
hathach
7bd16aaf9b
add button for ea4357
2019-05-15 17:52:29 +07:00
hathach
15076006ca
ea4088 quickstart build with makefile
2019-05-15 17:24:21 +07:00
hathach
6e6f470b58
board clean up, add button for ea4088
2019-05-15 17:15:02 +07:00
hathach
b73047e350
change stm32lib submodule to our folk for now for flexibility
2019-05-15 16:58:08 +07:00
hathach
1491274cb4
mcb1800 work with makefile, add to travis build
2019-05-15 16:20:43 +07:00
hathach
9863230a8d
update button for mcb1800
2019-05-15 16:17:46 +07:00
hathach
2d58f3118e
mcb1800 build and blinky with makefile
2019-05-15 16:09:44 +07:00
hathach
352a02c305
add lpc1769 to travis device example build
2019-05-15 12:58:59 +07:00
hathach
8ccecde18e
lpc1769 work with makefile
2019-05-15 12:57:31 +07:00
hathach
2582dfb3af
lpcxpresso 1769 build with makefile but not blinky yet
2019-05-15 11:34:40 +07:00
hathach
2e07a09b0d
add makefile support for lpcxpresso1347
2019-05-14 18:34:57 +07:00
hathach
b55c34564e
add lpcxpresso11u68 to travis build
2019-05-14 17:53:00 +07:00
hathach
3e1897b943
makefile work with lpc11u68
2019-05-14 17:51:05 +07:00
hathach
b1f8aa175e
add linker and startup for lpcxpresso11u68 board
...
able to build and blink LED
2019-05-14 17:37:11 +07:00
hathach
6e443d1918
enable CFG_TUSB_DEBUG on DEBUG build
2019-05-14 17:36:03 +07:00
hathach
851cf5426a
more makefile clean up
2019-05-14 14:07:06 +07:00
hathach
8094bdce23
makefile clean up
2019-05-14 13:59:45 +07:00
hathach
62f0eb16d6
clean up
2019-05-14 13:31:12 +07:00
hathach
910a94e9ca
clean up
2019-05-14 13:12:16 +07:00
hathach
454496316f
more endian convert
2019-05-14 13:06:38 +07:00
hathach
3e6d911ce9
more clean up use inline bit funciton instead of macros
2019-05-14 12:54:29 +07:00
hathach
81fc7b7e2b
clean up endian convert function
2019-05-14 12:14:51 +07:00
hathach
3e24daac79
remove deprecated tusb_task, clean up tusb compiler
2019-05-14 12:03:06 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6135019230
clean up
2019-05-14 11:46:22 +07:00
hathach
449a631a4a
Merge pull request #65 from hathach/develop
...
clean up
2019-05-13 11:52:42 +07:00
hathach
fdc12db431
clean up
2019-05-13 11:33:50 +07:00
hathach
f3a5ea65a9
add index to tud_descriptor_configuration_cb()
2019-05-12 19:55:15 +07:00
hathach
aaf5848ce1
Merge pull request #64 from hathach/develop
...
add callback for descriptors device/configuration/string/hid
2019-05-12 15:54:11 +07:00
hathach
1174949308
change tud_descriptor_string_cb() to be consistent with other descriptor callback
2019-05-12 15:38:15 +07:00
hathach
ba2136486c
add tud_hid_descriptor_report_cb()
...
- remove tud_desc_set.hid_report
- remove tud_desc_set_t
2019-05-12 14:09:35 +07:00
hathach
de56a0ca89
add tud_descriptor_string_cb() for getting string descriptor from application
...
- remove tud_desc_set.string_arr/string_count
2019-05-11 16:31:52 +07:00
hathach
bfa073818c
Merge pull request #63 from hathach/develop
...
enhance msc device
2019-05-10 23:46:26 +07:00
hathach
667133304b
fix samd dcd_clear_stall also reset data toggle
2019-05-10 00:10:18 +07:00
hathach
7063a0dd03
msc device will stall READ_CAPACITY & READ_FORMAT_CAPACITY if tud_msc_capacity_cb() get zero size
2019-05-09 23:33:55 +07:00
hathach
77bc421359
fix clear stall usage, fix reset data toggle with dcd_clear_stall for nrf52
2019-05-09 23:31:18 +07:00
hathach
81cb1c9510
clean up
2019-05-07 00:03:42 +07:00
hathach
6e4dc2f23d
adding msc Start Stop to buitin command, but not complate yet
...
add tud_msc_start_stop_cb() as optional callback
2019-05-06 16:48:50 +07:00
hathach
efefbd3a4e
add Test Unit Ready to builtin command, add tud_msc_test_unit_ready_cb()
...
- rename tud_msc_maxlun_cb to tud_msc_get_maxlun_cb
2019-05-06 15:01:38 +07:00
hathach
13c1bd762e
Update boards.md
2019-05-04 15:10:16 +07:00
hathach
fae9aba68f
add tud_msc_inquiry_cb() remove CFG_TUD_MSC_VENDOR/PRODUCT/PRODUCT_REV
2019-05-03 23:46:01 +07:00
hathach
49ad6fe0ac
update travis build, make with 4 thread
2019-05-03 14:02:22 +07:00
hathach
a55875522c
reduce travis make thread to 2
2019-05-03 13:56:52 +07:00
hathach
a8d98d09ca
clean up
2019-05-03 13:44:50 +07:00
hathach
867e69ed9d
Merge pull request #61 from hathach/develop
...
enhance HID, add HID out endpoint support
2019-05-02 20:30:44 +07:00
hathach
7e2088765d
Merge branch 'master' into develop
2019-05-02 20:24:45 +07:00
hathach
3290e009df
update travis build
2019-05-02 19:01:25 +07:00
hathach
6446b02ae7
add hid_test.py for testing #58
...
add feather nrf52840 express to supported board
2019-05-02 18:10:06 +07:00
hathach
a9ef8c9e9d
hid generic example echo back received
2019-05-02 14:45:54 +07:00
hathach
d6a47a89f2
clean up
2019-05-02 14:41:21 +07:00
hathach
f9d9eebfe1
support hid generic inout #58
...
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT
- add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN
- add hid_generic_inout example
2019-05-02 14:30:49 +07:00
hathach
45b856e03b
rename hid generic example
2019-05-02 13:28:23 +07:00
hathach
3387b9fca5
use tud_hid_set_report_cb for hid epout
2019-05-02 13:27:32 +07:00
hathach
353d415d3f
clean up
2019-05-02 13:27:00 +07:00
hathach
1c0ec61aa1
add tud_hid_out_report_cb() for hid epout
2019-05-02 00:08:39 +07:00
hathach
a25ca701cd
text clean up
2019-05-01 23:26:52 +07:00
hathach
c8b9293d68
rename hid report_buf to epin_buf
...
add epout_buf and use it for SET_REPORT request buffer
2019-05-01 20:45:05 +07:00
hathach
2050778763
clean up
2019-05-01 20:41:26 +07:00
hathach
c006f3dbce
adding optional ep out for hid
...
refactor usbd_open_edpt_pair
2019-05-01 19:29:56 +07:00
hathach
90fdae94f8
clean up
2019-05-01 18:21:08 +07:00
hathach
9fa5c8025f
clean up
2019-05-01 17:07:33 +07:00
hathach
84f81f6b21
simplify hid keyboard & mouse report to one API each
2019-05-01 17:06:18 +07:00
hathach
0b6999a28e
add tud_hid_set_idle_cb
...
- rename tud_hid_mode_changed_cb to tud_hid_mode_changed_cb
- add mouse ac pan descriptor template support
2019-05-01 16:53:35 +07:00
hathach
79b636bf63
clean up freertos hook
2019-05-01 16:07:08 +07:00
hathach
d204ae27fa
update build script
2019-05-01 16:04:41 +07:00
hathach
8a5bd30fa6
freertos cdc_msc_hid makefile compile
2019-05-01 16:01:44 +07:00
hathach
6b5a0237d8
adding makefile for freertos example
2019-05-01 14:30:48 +07:00
hathach
0f3da42db8
add make.mk and rules.mk to help new makefile example
2019-05-01 14:27:17 +07:00
hathach
4d29decafc
upgrade nrfx to 1.7
2019-05-01 13:52:21 +07:00
hathach
0ef7edb446
osal clean up
2019-05-01 01:46:39 +07:00
hathach
89ace295ba
add TUD_ to HID_REPORT_DESC_* template
2019-04-28 00:43:36 +07:00
hathach
e4be6dd95e
Merge pull request #59 from hathach/develop
...
add multiple Lun support along with msc_dual_lun example
2019-04-26 16:21:39 +07:00
hathach
25bd3fef47
clean up disk image
2019-04-26 16:03:30 +07:00
hathach
30cc042f6e
include msc_dual_lun example to travis
2019-04-26 15:55:00 +07:00
hathach
b74eca4f12
add msc multiple lun support
...
- remove CFG_TUD_MSC_MAXLUN
- add tud_msc_maxlun_cb()
- add msc_dual_lun exmaple
2019-04-26 15:54:42 +07:00
hathach
99f4c06197
adding msc dual lun example
2019-04-26 15:05:58 +07:00
hathach
67aa45f75f
remove CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
2019-04-25 21:41:21 +07:00
hathach
ff8fe28c98
move interface descriptor template to usbd.h, update exmaple
2019-04-19 13:16:06 +07:00
hathach
6796026476
clean up
2019-04-19 00:33:33 +07:00
hathach
3e4bb141ce
update device freeRTOS exmaple
2019-04-19 00:23:15 +07:00