summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2021-06-02fixed net_lwip_webserver cmake buildgraham sanderson
2021-06-02move core definition of source file includes from SDK into family.cmakegraham sanderson
only build webserver example if lwip submodule initialized
2021-05-31Fix up build_family style builds:graham sanderson
- added back pre-existing board directories which now just select PICO_BOARD - added boards/pico_sdk which just uses the pre-existing PICO_BOARD setting - fixed rp2040/family.cmake to include the magic string "CFG_TUSB_MCU=OPT_MCU_RP2040" expected by build_family.py
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-30don't override CFG_TUSB_OS in cdc_dual_ports examplegraham sanderson
2021-05-26fix dfu example buildhathach
2021-05-26Merge branch 'master' into xmos-jmccarthy-masterhathach
2021-05-26Merge pull request #850 from hathach/fix-warningsHa Thach
fix warnings
2021-05-26fix uac2_headset examplenoodlefighter
tud_audio_rx_done_cb() is departed, replace with tud_audio_rx_done_pre_read_cb()
2021-05-25fix warnings cast function type for nrf, fix pico osal warninghathach
add TODO for overflow in tusb_fifo.c
2021-05-25Merge remote-tracking branch 'official/master'Jeremiah McCarthy
2021-05-22Merge pull request #834 from hathach/host-hidHa Thach
Rework Host hid
2021-05-22add tuh_hid_report_sent_cb()hathach
2021-05-22rename tuh_hid_get_report_cb to tuh_hid_report_received_cb()hathach
2021-05-22implement hid host set report with control transferhathach
rename mount, umount callback
2021-05-22clean phathach
2021-05-22improve hid parserhathach
2021-05-22more hid api renamehathach
2021-05-22update apphathach
2021-05-22simplify hid apihathach
add hid set_protocol() and set_protocol_complete_cb()
2021-05-20fix uac2_headset example: type of bRequest should be uint8_t, not enumeratenoodlefighter
2021-05-19fix build for rp2040hathach
2021-05-18Merge branch 'master' into host-hidhathach
2021-05-18move report_info to applicationhathach
update API accordingly, update hid parser for usage, and usage_page.
2021-05-18more API updatehathach
- remove tuh_n_hid_n_get_report() - usbh auto queue get report and invoke callback when received data
2021-05-18adding hid parserhathach
2021-05-18more host hid APIhathach
adding hid parser
2021-05-18remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSEhathach
2021-05-18more hid host API reworkhathach
2021-05-18rename tuh_device_is_configured() to tuh_device_configured()hathach
- remove tuh_device_get_state() - more hid mouse clean up
2021-05-18correct hid host mount/unmount callbackhathach
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18reworking host hid APIhathach
2021-05-18rename CFG_TUSB_HOST_ENUM_BUFFER_SIZE to CFG_TUH_ENUMERATION_BUFSZIEhathach
add usbh_get_enum_buf
2021-05-18reworking hid hosthathach
2021-05-18minor clean uphathach
2021-05-18more API renamehathach
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-05-09Update main.ccorvus-ossifragus
Fix code where HID keyboard was being stuffed into the HID mouse buffer.
2021-05-07Update main.ccorvus-ossifragus
Added new RTOS names to the name string array in print_greeting() in the host example program. The program seemed to hang when a new RTOS was indexed in CFG_TUSB_OS.
2021-05-06Merge branch 'master' of github.com:xmos-jmccarthy/tinyusbJeremiah McCarthy
2021-05-05Fix typoJeremiah McCarthy
2021-05-05Add example to be testedJeremiah McCarthy
Update API description.
2021-04-22USBTMC: remove reference to visa DLL (which only was for windows, and ↵Nathan Conrad
auto-select instead.
2021-04-19cmake cleanuphathach
2021-04-18update per reviewhathach
2021-04-18Merge branch 'master' into alisitsyn-esp-based_on_334e95fhathach
2021-04-16espressif: group boards using target name as a familyAlex Lisitsyn
`hw\bsp` separate one family folder to esp32s2, esp32s3 add board specific board.cmake file to override board specific options(features) fix examples and test scripts to use new family approach
2021-04-16Added support for Black Magic Probe (#787)Dima Barsky
* Added flash-bmp and debug-bmp targets; added .gdb_history to .gitignore * Added the BMP variable, defaults to /dev/ttyBmpGdb The name of the BMP device is different on different systems. On Linux (after installing the recommended udev rules) it'll be /dev/ttyBmpGdb, but the user should be able to override it. * Update rules.mk
2021-04-16tinyusb: add support of esp32s3 targetAlex Lisitsyn
add support of new esp32s3 target and the board update the roles.mk wrapper to allow dfu flashing of espressif chip update examples to allow compilation for esp32s3_addax_1 board once the code is tested the PR to original tinyusb repo will be submitted
2021-04-15Fix bug in audio_4_channel_mic.cReinhard Panhuber