summaryrefslogtreecommitdiff
path: root/examples/device/hid_generic_inout
AgeCommit message (Collapse)Author
2021-05-30Rework rp2040 examples and CMake build:graham sanderson
- Examples should be CMake buildable from their own subdirectory; such a build will error out based on matching .skip.MCU_xxx or a mismatched .only.MCU_ - It should be possible to build from a higher level and use .skip.MCU_ and .only.MCU_ to filter which examples get built - The intention is for the CMakeLists.txts in the examples to be non family specific and without MCU based IFs. I have started this work, but am not really sure the state of the esp32 stuff; in any case the plan is to have everything encapsulated in the FAMILY/family.cmake - pico_examples now just includes examples/device/CMakeLists.txt and examples/host/CMakeLists.txt directly, as they also build correctly when included from there. Note that .skip.MCU_ for esp32 in the directories it wasn't previously avaiable has not been added, as the .skip is common to the regular Makefile builds also. It isn't clear whether these examples should build for esp32, but if not .skip should be added.
2021-05-18clean up, rename some HID device symbol/APIhathach
- add tud_hid_n_interface_protocol() - rename tud_hid_n_boot_mode() to tud_hid_n_get_protocol() - rename tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb() - add HID_PROTOCOL_BOOT/REPORT to avoid magic number 0,1 - rename HID_PROTOCOL_NONE/KEYBOARD/MOUSE to HID_ITF_PROTOCOL_ to avoid confusion
2021-04-19cmake cleanuphathach
2021-04-11update rp2040 to use pico-sdk externallyhathach
also try to update ci
2021-03-18use boot2_generic_03h for adafruit feather rp2040hathach
- also use boot2_generic_03h for now for itsy bitsy and qt rp2040 - change default flash target for rp2040 to flash-pyocd
2021-03-02update pico-sdk to more recent commithathach
- move target_link_libraries() to family.cmake - enable pico_bootsel_via_double_reset
2021-02-24add itf argument to hid API to support multiple instanceshathach
following API signature is changed: - tud_hid_descriptor_report_cb() - tud_hid_get_report_cb() - tud_hid_set_report_cb() - tud_hid_boot_mode_cb() - tud_hid_set_idle_cb()
2021-02-02Typo fixedMohammed Aslam
2021-02-01added enumerate walkaround for RP2040-E5hathach
- PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1 - target linke pico_fix_rp2040_usb_device_enumeration
2021-01-26change output filename to BOARD-Directoryhathach
2021-01-25get all device example build with rp2040 (except freeRTOS)hathach
2020-07-21add note for MS OS 1.0 Descriptor at 0xEEhathach
2020-07-16rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZEhathach
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-06-15update example config and descriptor with better Highspeed supporthathach
2020-04-17update example to include CXD56 for highspeed modehathach
2020-03-31revise argument order for TUD_CONFIG_DESCRIPTOR macroPeter Lawrence
2020-03-30add provision for multiple configurationsPeter Lawrence
2020-03-03Merge pull request #280 from majbthrd/nuc505Ha Thach
add Nuvoton NUC505
2020-02-26Add langid to examples.Chang Feng
Signed-off-by: Chang Feng <[email protected]>
2020-02-07add Nuvoton NUC505Peter Lawrence
2019-11-22rename OPT_MCU_IMXRT10XX to OPT_MCU_MIMXRT10XXhathach
2019-11-22rename OPT_MCU_RT10XX to OPT_MCU_IMXRT10XXhathach
2019-11-22config clean uphathach
2019-09-27Fix typo of CFG_TUD_ENDOINT0_SIZE.Nathan Conrad
2019-09-23examples: Allow user to override EP0 size.William D. Jones
2019-09-11added new example hid_compositehathach
2019-08-01clean uphathach
- remove TUD_WEBUSB_URL_DESCRIPTOR to avoid flexible array member (C++ forbid in strict mode) - remove unused TUD_DESC_STRLEN/TUD_DESC_STR_HEADER/TUD_DESC_STR_HEADER
2019-07-25more webusb + vendorhathach
2019-07-19rename CFG_TUD_CUSTOM_CLASS to CFG_TUD_VENDORhathach
2019-07-12updating webusb with cdchathach
2019-07-12clean up usb descriptors in examplehathach
2019-07-12change TUD_HID_INOUT_DESCRIPTOR epout & epin orderhathach
clean up, adding template for BOS & BOS platform descriptor
2019-07-11clean uphathach
2019-07-11clean up demo confighathach
2019-07-11revert 2.1 to 2.0, only needed for webusb exmample (BOS needed)hathach
2019-07-11increase usb bcd from 2.0 to 2.1 for webusb supporthathach
2019-07-03example clean uphathach
2019-07-03tested midi examplehathach
2019-07-01improving midi support, adding midi exmaplehathach
rename TUSB_DESC_CLASS_SPECIFIC to TUSB_DESC_CS_INTERFACE
2019-06-10Merge pull request #80 from hathach/develophathach
added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-29Modified example to use list of supported boardsTimon Skerutsch
2019-05-29add node hid installation instructionhathach
2019-05-26changed node.js hid example to be more user friendlyPTS93
2019-05-24make hid_generic_inout tester have reportLength-sized buffer, since some ↵Tod E. Kurt
OSes need that
2019-05-24should fix and work with #58hathach
- add hid_test_js
2019-05-21better fix for #72 millis overthrowhathach
2019-05-14enable CFG_TUSB_DEBUG on DEBUG buildhathach
2019-05-14makefile clean uphathach
2019-05-14update license year to 2019hathach