Commit Graph
100 Commits
Author SHA1 Message Date
hathach 5108d76136 host msc: call read_capacity as part of enumeration
- add tuh_msc_get_block_count(), tuh_msc_get_block_size()
- rename tuh_msc_mounted_cb/tuh_msc_unmounted_cb to
tuh_msc_mount_cb/tuh_msc_unmount_cb to match device stack naming
- change tuh_msc_is_busy() to tuh_msc_ready()
- add CFG_TUH_MSC_MAXLUN (default to 4) to hold lun capacities
- add host msc configured to for state check.
2021-02-23 19:41:11 +07:00
hathach 386a386345 clean up host msc 2021-02-23 12:20:30 +07:00
Ha Thach cea31c346d Merge pull request #575 from nwlab/yaa/msc_read
Added MSC read10 and write10 function
2021-02-23 11:51:48 +07:00
hathach ade4bf74ea update function comment 2021-02-23 11:38:15 +07:00
hathach f2ed2ae09a rename tuh_msc_scsi_inquiry() to tuh_msc_inquiry() 2021-02-23 11:14:19 +07:00
hathach ebc6253bd4 rt1011 msc host work 2021-02-23 10:20:11 +07:00
hathach de95585258 nxp tdi: hcd_init() reset and set host mode 2021-02-23 01:27:52 +07:00
hathach c5b8980398 separate hcd_init from ehci 2021-02-22 22:40:51 +07:00
hathach 1e07fc024c add rhport to hcd_init() 2021-02-22 22:32:56 +07:00
hathach 8a2e4c79fd make hcd tdi more generic 2021-02-22 18:02:52 +07:00
hathach 00b4b74e82 rename hcd_lpc18_43 to hcd_transdimension 2021-02-22 17:15:06 +07:00
Ha Thach d3195414dc Merge pull request #657 from ndinsmore/RP2040_enable_isochronous_buffer_size
RP2040:Enable full size isochronous buffers
2021-02-22 12:47:48 +07:00
hathach 43ca626774 merge iso and cbi transaction size to max ep size 2021-02-22 12:27:02 +07:00
hathach 44916bcacf Merge branch 'RP2040_enable_isochronous_buffer_size' of https://github.com/ndinsmore/tinyusb into ndinsmore-RP2040_enable_isochronous_buffer_size 2021-02-22 12:21:52 +07:00
Ha Thach 30085592d4 Merge pull request #665 from jgressmann/same54xplainedpro
Adds support for Microchip SAM E54 Xplained Pro
2021-02-22 11:30:23 +07:00
Ha Thach 1bba2c0fc3 Update CONTRIBUTORS.md 2021-02-19 17:19:33 +07:00
Ha Thach 9067926a70 Merge pull request #661 from hathach/improve-fifo
improve tu fifo
2021-02-19 12:24:05 +07:00
hathach 2a04ee68b8 add TU_FIFO_INIT() to help with tu_fifo declaration
tu_fifo_clear() also reset max_pointer_idx and non_used_index_space
2021-02-19 11:57:56 +07:00
Ha Thach be9f86ca9e Merge pull request #660 from hathach/fix-typo-midi-write24
Fix typo midi write24
2021-02-19 11:22:21 +07:00
Ha Thach 044d29c927 Merge pull request #654 from xmos-jmccarthy/master
Add alternate bitfield padding option
2021-02-19 11:03:53 +07:00
hathach 8f3f21045b make midi example less ambigous for cable and channel 2021-02-19 10:57:20 +07:00
hathach aa85099171 fix tud_midi_write24 typo
rename jack_id to cable_num in function argument
2021-02-19 10:51:47 +07:00
hathach c245305f72 update adafruit rp2040 board define 2021-02-19 10:50:50 +07:00
Ha Thach f60380cdc8 Merge pull request #658 from lurch/patch-1
rp2040/family.c: allow LED_PIN to be undefined
2021-02-19 00:36:04 +07:00
Ha Thach 1b849fc70a Merge pull request #655 from ndinsmore/fifo_fix
Fix to fifo pointer overflow mathmatics
2021-02-17 14:07:29 +07:00
Ha Thach 04ab6b4082 Merge pull request #648 from hathach/rename-dfu-rt-to-runtime
Rename dfu rt to runtime
2021-02-11 15:29:55 +07:00
Ha Thach d4281291e5 Merge pull request #647 from hathach/correct-fs-bulk-epsize
more epsize checking per type
2021-02-11 12:36:19 +07:00
hathach d2f3e70b64 rename examples folder dfu_rt to dfu_runtime 2021-02-11 12:08:09 +07:00
hathach e12c25ec2c rename dfu_rt to dfu_runtime for easy reading
also rename tud_dfu_rt_reboot_to_dfu to tud_dfu_runtime_reboot_to_dfu_cb
2021-02-11 12:05:22 +07:00
Ha Thach 89fcaf1efd Merge pull request #646 from hathach/detect-clear-set-ep-status-from-class
remove the requirement of std SET/CLEAR_FEATURE must not return zlp status
2021-02-11 11:54:47 +07:00
hathach 9812cfc6c6 clean up 2021-02-11 11:48:34 +07:00
hathach 919bb9ce38 more epsize checking per type 2021-02-11 11:45:24 +07:00
Ha Thach dc64d6ad55 Merge pull request #645 from ipopov/webserial-fix
Fix unintended control transfers in webserial example.
2021-02-11 11:25:55 +07:00
hathach 49bc97b0ca remove the requirement of std SET/CLEAR_FEATURE must not return zlp status 2021-02-11 11:22:02 +07:00
Ha Thach ba11bb2b80 Merge pull request #644 from ipopov/master
Set -DCMAKE_BUILD_TYPE=Debug when building in debug for rp2040.
2021-02-10 21:52:28 +07:00
Ha Thach a96ee8f1d8 Merge pull request #641 from lurch/fix_capitalisation
Fix capitalisation of Raspberry Pi
2021-02-09 17:23:00 +07:00
Ha Thach 5d20b8f19b Merge pull request #640 from hathach/add-hid-complete-callback 2021-02-09 17:05:12 +07:00
hathach 9c3a44b6a3 update hid_composite_freertos example 2021-02-09 16:06:38 +07:00
hathach d2b8e591f6 tud_hid_report_complete_cb() API
update hid composite to make use of tud_hid_report_complete_cb() for
sending reports when possible.
2021-02-09 15:57:29 +07:00
Ha Thach ecd16cf24b Merge pull request #637 from tfx2001/master
add basic support for rt-thread
2021-02-08 20:10:07 +07:00
Ha Thach ac4555b361 Merge pull request #638 from hathach/add-gamepad
Enhance HID Gamepad with DPad/Hat
2021-02-08 19:40:18 +07:00
hathach 72bcc0685c add tud_hid_n_gamepad_report() helper for gamepad report
- Add gamepad to hid_composite example. Though it needs a bit of extra
work but it will come later as separated PR.
2021-02-08 19:08:16 +07:00
hathach b2019e4d71 enhance gampepad report with dpad/hat support
add hid_gamepad_report_t along with GAMEPAD_BUTTON_ and GAMEPAD_HAT_
enum
2021-02-08 16:10:13 +07:00
hathach bc80d686f5 clean up 2021-02-08 16:05:28 +07:00
Ha Thach f49d47a0aa Mirror sources only to hathach/tinyusb_src repo (#636)
Mirror sources only to hathach/tinyusb_src repo
2021-02-07 15:55:45 +07:00
Ha Thach be1bd74b4b Merge pull request #618 from homeodor/master
A CDC-like blocking behaviour for MIDI, incl. SysEx
2021-02-06 12:30:28 +07:00
Ha Thach 7b62c71dd5 Merge pull request #634 from hathach/release-0.8.0
Release 0.8.0
2021-02-05 23:00:02 +07:00
hathach 465ea7a66e increase TUSB_VERSION_ to 0.8.0 2021-02-05 22:37:22 +07:00
hathach 56b319d2d5 correct release asset 2021-02-05 21:53:33 +07:00
hathach 449bcc239f upload example as release assets 2021-02-05 21:24:46 +07:00
hathach bb2f93d427 prepare for release 2021-02-05 20:41:41 +07:00
hathach 42dad78dbc add samd11 to ci 2021-02-04 14:17:51 +07:00
Ha Thach 232c1e5915 Merge pull request #627 from ktemkin/luna_d11
Add support for SAMD11 variants of LUNA.
2021-02-04 14:14:09 +07:00
Ha Thach 148a5a9181 Merge pull request #626 from hathach/add-adafruit-samd51-boards
Add adafruit samd51 boards
2021-02-03 17:06:00 +07:00
Ha Thach 064dcb833d Merge pull request #625 from hathach/update-picosdk-1.0.1
update pico-sdk to 1.0.1
2021-02-03 14:51:29 +07:00
hathach a8bdfadfd0 Merge branch 'update-picosdk-1.0.1' into add-adafruit-samd51-boards 2021-02-03 13:37:20 +07:00
hathach a5403bdbe5 fix ci toolchain installation path 2021-02-03 13:29:59 +07:00
hathach 083621c8db update boards doc 2021-02-03 13:25:29 +07:00
hathach b739c5a837 added pyportal 2021-02-03 13:19:34 +07:00
hathach d24c702b63 add pybadge
also correct other samd51 tx,rx pin (not used yet)
2021-02-03 13:12:02 +07:00
hathach 4153d9e1b6 update pico-sdk to 1.0.1 2021-02-03 12:39:30 +07:00
Ha Thach fb53eb9a91 Merge pull request #624 from aslampr07/patch-1 2021-02-02 21:37:25 +07:00
Ha Thach 9aa9c7e968 Merge pull request #623 from hathach/add-adafruit-esp32s2-boards
add adafruit esp32s2 boards
2021-02-01 16:15:19 +07:00
hathach 098cf76be7 add adafruit boards to ci build 2021-02-01 15:23:21 +07:00
hathach b30b35bf08 update board list 2021-02-01 15:21:29 +07:00
Ha Thach f4e2f88e89 Merge pull request #622 from hathach/add-consume-control-to-hid-composite-example
add consumer control to hid_composite examples
2021-02-01 15:17:00 +07:00
hathach 8d973a36ed add adafruit esp32s2 boards
- metro esp32s2
- feather esp32s2
- magtag 29" gray
2021-02-01 15:16:38 +07:00
hathach 3d95835f22 add consumer control to hid_composite examples
both no OS and freeRTOS
2021-02-01 14:47:39 +07:00
Ha Thach 26caddae23 Merge pull request #621 from hathach/rp2040-logger-enumfix
Rp2040 logger and enum fix
2021-02-01 14:25:58 +07:00
hathach 0799a91073 Merge branch 'master' into rp2040-logger-enumfix 2021-02-01 13:41:20 +07:00
hathach 8e954a4391 added enumerate walkaround for RP2040-E5
- PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1
- target linke pico_fix_rp2040_usb_device_enumeration
2021-02-01 13:37:37 +07:00
Ha Thach 78f50518a4 Merge pull request #610 from hathach/rp2040-followup2
Rp2040 followup2
2021-02-01 12:44:53 +07:00
Ha Thach a044578a33 Merge pull request #601 from majbthrd/start_pi2tu
start the assimilation of Pi Pico into TU
2021-02-01 12:43:59 +07:00
Ha Thach 666a851a07 Merge pull request #612 from prplz/master
Fix midi sysex sending bug
2021-01-30 13:56:23 +07:00
Ha Thach 21df228634 Merge pull request #615 from charkster/usbtmc_fix_558
fix #558
2021-01-29 12:16:36 +07:00
Ha Thach 88fad0b42a Merge pull request #617 from hathach/fix-unittest-ci
specify ruby version for unit test
2021-01-29 12:12:54 +07:00
hathach 5734cf4bdd fix #614 typo 2021-01-29 11:36:45 +07:00
hathach f3477f87ac specify ruby version for unit test 2021-01-29 11:30:15 +07:00
hathach ba69da1d8f add support for LOG=2
LOGGER=rtt is not tested since jlink doesn't support rp2040 just yet
2021-01-29 11:24:05 +07:00
hathach 4fef2ddb4c rp2040 move uart id to board specific 2021-01-27 16:37:31 +07:00
hathach 1abf9eeb80 clean up rp2040 assigned_address, remove panic from remote_wakeup 2021-01-27 13:18:03 +07:00
hathach c3c4f65fea wrap rp2040_usb around opt mcu 2021-01-27 13:04:38 +07:00
Ha Thach 40870f9037 Merge pull request #606 from hathach/upload-binary-artifacts
Upload binary artifacts
2021-01-26 23:11:52 +07:00
hathach f1867b3d2c more rename 2021-01-26 22:34:29 +07:00
hathach ae43551a55 rename artifact to have tinyusb- prefix 2021-01-26 22:26:35 +07:00
hathach c2d8aa0584 limit artifact to only uf2 for now
due to the large size of combined binaries of all boards + all examples
2021-01-26 22:04:20 +07:00
hathach 0a673de78a test ci 2021-01-26 21:46:11 +07:00
hathach 032f55feb6 try upload build binaries artifacts 2021-01-26 21:23:51 +07:00
hathach e230d683ca add copy-artifact target, and add uf2 for all family board 2021-01-26 21:19:14 +07:00
hathach 4a0f5cbd63 change output filename to BOARD-Directory 2021-01-26 12:46:24 +07:00
hathach 0e585570a3 rename build output 2021-01-25 23:40:52 +07:00
Ha Thach 045674745a Merge pull request #604 from kamtom480/spresense-sdk-2.0.2
Update Spresense SDK and fix dcd issues
2021-01-25 22:55:46 +07:00
Ha Thach d489e9d422 Merge pull request #605 from hathach/add-adafruit-rp2040
add adafruit feather, itsy bitsy and qt rp2040
2021-01-25 22:33:22 +07:00
hathach aabf02fe29 add adafruit feather, itsy bitsy and qt rp2040
not tested, purely based on schematic
2021-01-25 17:23:33 +07:00
Ha Thach c43ac7f1d7 Merge pull request #603 from hathach/pico-followup
Pico followup for (ci) building examples
2021-01-25 17:18:24 +07:00
hathach 6e027b1c4b revert ci cache toolchain, use xpack for armgcc and risv
since there is only 30s in difference
2021-01-25 16:42:00 +07:00
hathach 314c82b2ec more with toolchain cache 2021-01-25 16:11:18 +07:00
hathach 2a3bb78679 change riscv toolchain to xpack 2021-01-25 15:55:58 +07:00
hathach 8820aa8715 fix ci 2021-01-25 15:42:06 +07:00
hathach 066d268007 try to cache all toolchains to speed up ci 2021-01-25 15:38:29 +07:00