Commit Graph

4564 Commits

Author SHA1 Message Date
hathach dca9bc97d6 miss a helper 2021-06-09 10:45:37 +07:00
hathach 2c0947ebb6 update gamepad helper 2021-06-09 10:33:57 +07:00
Marcelo Bezerra e393fb32a0 re-adding ifdef removed accidentally 2021-06-09 10:33:57 +07:00
Marcelo Bezerra d3b6e28387 indent fix 2021-06-09 10:33:57 +07:00
Marcelo Bezerra de71e72e31 Fix comment in hid.h 2021-06-09 10:33:57 +07:00
Marcelo Bezerra e12195705c Pull request changes
Remove configuration options and just bump number of buttons to 32
Fix button numbereing and comments in
2021-06-09 10:33:57 +07:00
Marcelo Bezerra f37c8ed749 Add CFG_TUD_MAX_BUTTONS to the example 2021-06-09 10:33:57 +07:00
Marcelo Bezerra ce634f226e remove excess empty lines 2021-06-09 10:33:57 +07:00
Marcelo Bezerra 3842c806a6 clean up 2021-06-09 10:33:57 +07:00
Marcelo Bezerra d5f8da44d1 Add optional support for 32 gamepad buttons 2021-06-09 10:33:57 +07:00
Ha Thach 1b8473902f
Merge pull request #881 from hathach/mindmotion-followup
follow up to pr869
2021-06-07 19:18:37 +07:00
hathach c2b85c8d6d add OPT_MCU_MM32F327X
move dcd_mm32f into mindmotion folder
2021-06-07 18:51:44 +07:00
zhangslice 26b9fc38ed
Add MM32 SDK and USB driver (#869)
* Add MM32 SDK and USB driver
* add mindmotion mm32sdk as submodule
remove the local copy of mm32
* mit  license
Signed-off-by: zhangslice <1304224508@qq.com>
Co-authored-by: hathach <thach@tinyusb.org>
2021-06-07 17:32:46 +07:00
Ha Thach ce30109b5b
Merge pull request #873 from kilograham/fix_log_warning
Add __unused to variables that are only used if TU_LOG does something
2021-06-03 22:53:49 +07:00
graham sanderson c81bc38d42 Add __unused to variables that are only used if TU_LOG does something 2021-06-03 10:10:44 -05:00
Ha Thach d49938d0f5
change ci to pico-sdk develop 2021-06-03 01:16:27 +07:00
hathach a50fd963f5 increase version for release, update changelog 2021-06-03 01:13:22 +07:00
Ha Thach 8ea0dfba68
Merge pull request #865 from kilograham/pico-0.10.0
Pico 0.10.0
2021-06-03 01:02:54 +07:00
graham sanderson fea5cbaf74 fixed net_lwip_webserver cmake build 2021-06-02 12:37:12 -05:00
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
Ha Thach ff1a1122ed
Merge pull request #868 from hathach/host-hcd
Clean up Host HCD API
2021-06-02 00:39:53 +07:00
hathach 54107100bb fix missing TU_LOG symbol 2021-06-02 00:26:50 +07:00
hathach 6e2cf2a3ee clean up log 2021-06-02 00:10:35 +07:00
Ha Thach a6b5e207b2
Merge pull request #862 from hathach/host-rp2040
Fix host rp2040 with low speed device
2021-06-01 23:59:03 +07: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
Ha Thach abf83c6985
add note for custom class driver 2021-06-01 13:36:19 +07: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
hathach bc0a0386e9
clean up 2021-05-31 18:41:08 +07:00
hathach 31077f48d2
correct ohci endpoint address in xfer complete 2021-05-31 18:16:07 +07:00
hathach 4e98ce9147
use hcd_frame_number() instead of uframe 2021-05-31 18:15:47 +07:00
hathach da8000d42d
clean up ohci, remove obsolete api 2021-05-31 16:34:16 +07:00
hathach 04797bc5a5
clean up 2021-05-31 16:05:55 +07:00
hathach 4b2f32b778
update hub 2021-05-31 15:47:37 +07:00
hathach 65e5872d81
add hub_port_set_feature() 2021-05-31 15:19:07 +07:00
hathach 3fb80e76ce remove obsolete hcd_pipe_queue_xfer()/hcd_pipe_xfer() 2021-05-31 12:08:37 +07:00
hathach 5cf930d78a fix cast-align warning in msc host 2021-05-31 11:11:00 +07: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
hathach c2a0c1507b add more comment 2021-05-30 23:44:29 +07:00
hathach 54c9150574 add errata number 2021-05-30 23:41:59 +07:00