Commit Graph

4525 Commits

Author SHA1 Message Date
graham sanderson de436e1f76 undo search replace error 2021-06-02 11:30:42 -05:00
graham sanderson 1fb211f390 minor comment change to force rebuild 2021-06-02 09:52:49 -05:00
graham sanderson bef33d108a move core definition of source file includes from SDK into family.cmake
only build webserver example if lwip submodule initialized
2021-06-02 09:33:23 -05:00
graham sanderson 109d02531e remove TINYUSB_FAMILT_PROJECT_NAME_INCLUDES_BOARD setting 2021-06-01 11:21:19 -05:00
graham sanderson ebf6461c42 damn submodules! 2021-06-01 10:58:44 -05:00
graham sanderson 6e29bf6e54 rename family.cmake to family_common.cmake 2021-06-01 09:09:25 -05:00
graham sanderson 8782d0b8df fix rp2040 examples build from local tinyusb tree 2021-06-01 09:04:08 -05:00
graham sanderson f5572e24b2 restore unintentionally modified submodules 2021-05-31 11:49:15 -05:00
graham sanderson 9b17acd168 actually fix pico-sdk checkout to checkout the right branch 2021-05-31 11:23:14 -05:00
graham sanderson 90d7483d92 guard stdio_uart_init_full with LIB_PICO_STDUI_UART as the function doesn't exist otherwise 2021-05-31 11:18:26 -05:00
graham sanderson db138a530c Switch checks to use tinyusb-0.10.0 branch of pico-sdk due to circular dependency 2021-05-31 11:10:55 -05:00
graham sanderson 13951b43c2 set PICO_TINYUSB_PATH for when building from within tinyusb without pico-sdk/tinyusb submodule 2021-05-31 10:58:14 -05:00
graham sanderson 5d161b79bb Fix up build_family style builds:
- 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-31 10:06:12 -05:00
graham sanderson 95f2478146 Rework rp2040 examples and CMake build:
- 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-30 20:13:47 -05:00
graham sanderson edbccb5e19 don't override CFG_TUSB_OS in cdc_dual_ports example 2021-05-30 18:38:01 -05:00
graham sanderson 3973ec4b5e rp2040: fix debug compilation error 2021-05-30 08:16:15 -05:00
hathach e9c22e4a5c increase version for release 2021-05-28 17:24:35 +07:00
Ha Thach 81d238bd46
Merge pull request #854 from hathach/more-housekeeping
More housekeeping
2021-05-27 19:44:10 +07:00
hathach 7c66c5121b
update doc 2021-05-27 19:31:55 +07:00
hathach 9ad6fadf6a
more include clean up 2021-05-27 18:34:07 +07:00
hathach f384d6f67e
more with clean up 2021-05-27 18:11:12 +07:00
hathach b36b211c26
clean up tusb_fifo.h include 2021-05-27 17:58:42 +07:00
hathach 9736e54734
include clean up 2021-05-27 17:40:39 +07:00
hathach c7cecf28c8
clean up 2021-05-27 00:16:45 +07:00
hathach 814edec89f clean up 2021-05-26 20:34:06 +07:00
hathach faa31152b4 rename usbd_edpt_iso_xfer to usbd_edpt_xfer_fifo 2021-05-26 20:34:06 +07:00
Ha Thach 4e2684f23a
Merge pull request #825 from ogatatsu/hid_desc
fix hid report descriptor
2021-05-26 20:33:45 +07:00
Ha Thach ac47a3360e
Update README.md 2021-05-26 20:21:15 +07:00
Ha Thach 85186ab136
Merge pull request #754 from xmos-jmccarthy/master
Add DFU Class per Version 1.1 Spec
2021-05-26 20:17:01 +07:00
hathach f9c542aa52
fix dfu example build 2021-05-26 18:16:56 +07:00
hathach dbef50f8ff Merge branch 'master' into xmos-jmccarthy-master 2021-05-26 17:32:49 +07:00
Ha Thach 220f441048
Merge pull request #850 from hathach/fix-warnings
fix warnings
2021-05-26 17:26:50 +07:00
hathach f8e9c6ddbb
separate ci workflow, remove artifact & release upload 2021-05-26 17:12:26 +07:00
hathach 9fa9b67895
test separate ci workflow for msp430 2021-05-26 16:53:35 +07:00
hathach 689d74a595
fix board test example build with nrf 2021-05-26 16:41:17 +07:00
Ha Thach e411ce1937
Merge pull request #849 from noodlefighter/fix-uac2_headset
fix uac2_headset example
2021-05-26 13:21:17 +07:00
noodlefighter aca2320075 fix uac2_headset example
tud_audio_rx_done_cb() is departed, replace with
tud_audio_rx_done_pre_read_cb()
2021-05-26 11:45:45 +08:00
hathach 954056da0c
fix warnings cast function type for nrf, fix pico osal warning
add TODO for overflow in tusb_fifo.c
2021-05-25 21:02:40 +07:00
Jeremiah McCarthy ce59d69520 Merge remote-tracking branch 'official/master' 2021-05-25 09:27:35 -04:00
Ha Thach ca8724ee08
Merge pull request #846 from hathach/house-keeping
House keeping
2021-05-24 12:07:33 +07:00
hathach 4f03332118 clean up 2021-05-23 20:14:01 +07:00
hathach 3654d96e07 only invoke tuh_msc_umount_cb() if needed 2021-05-23 14:11:12 +07:00
hathach 8cffe4897e change hid device internal boot_mode to protocol_mode 2021-05-23 13:56:32 +07:00
Ha Thach 056cd6b229
Merge pull request #845 from hathach/hid-host-get-protocol-when-enum
get protocol when enum with hid boot interface
2021-05-22 23:42:10 +07:00
hathach a1dab1611b get protocol when enum with hid boot interface 2021-05-22 23:30:41 +07:00
Ha Thach 56577d9fca
Merge pull request #834 from hathach/host-hid
Rework Host hid
2021-05-22 22:56:17 +07:00
hathach f13a3c04f7 fix missing report in tuh_hid_set_report() 2021-05-22 22:43:55 +07:00
hathach a2c4a48dd6 add tuh_hid_report_sent_cb() 2021-05-22 22:03:21 +07:00
hathach b8e019da32 rename tuh_hid_get_report_cb to tuh_hid_report_received_cb() 2021-05-22 21:51:30 +07:00
hathach df65c35b31 implement hid host set report with control transfer
rename mount, umount callback
2021-05-22 21:48:42 +07:00