summaryrefslogtreecommitdiff
path: root/examples/device/hid_multiple_interface
AgeCommit message (Collapse)Author
2021-12-08Add FT9xx to more examples which support High-SpeedGordon McNab
2021-06-10Make examples standalone buildable via CMakegraham sanderson
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-08add tud_hid_n_gamepad_report() helper for gamepad reporthathach
- Add gamepad to hid_composite example. Though it needs a bit of extra work but it will come later as separated PR.
2021-02-08clean uphathach
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-10-09rename multiple hid callbackhathach
2020-10-09clean up examplehathach
2020-10-09rename hid multiple interfacehathach