Commit Graph
100 Commits
Author SHA1 Message Date
hathach 9042e973d3 clean up _ff_push_n 2021-04-07 12:52:57 +07:00
hathach d6737fb5fe use tu_unaligned_write32() for _ff_push_const_addr 2021-04-07 12:34:00 +07:00
hathach d0fa4d5189 rename 2021-04-07 12:24:24 +07:00
hathach 8ac156622d fix cast-align warning 2021-04-07 00:38:12 +07:00
hathach a3c06aa7bc more clean up for _ff_pull_const_addr_in_full_words() 2021-04-06 23:39:39 +07:00
hathach d82ee2f8c0 refactor _ff_pull_n() with const addr 2021-04-06 23:12:04 +07:00
hathach 58bab86d79 minor clean up 2021-04-06 21:09:23 +07:00
hathach c5db2282ad Merge branch 'master' of github.com:hathach/tinyusb into edpt_ISO_xfer 2021-04-06 19:35:01 +07:00
Ha Thach 1d20c84798 add tu_unaligned_read32/write32 (#772)
* add tu_unaligned_read32/write32
* added tu_unaligned_read16/write16
* add TU_ATTR_ALWAYS_INLINE, add to most of simple inline function
2021-04-06 19:32:01 +07:00
hathach 8b79040c38 code format 2021-04-06 15:34:50 +07:00
hathach 68687ed0f4 fix build 2021-04-06 01:16:51 +07:00
hathach 7ab8da949e audio driver only use USE_LINEAR_BUFFER = 0 for stm32 synopsys driver 2021-04-06 01:07:32 +07:00
hathach 3acf0c2d73 revert dcd_edpt_xfer_fifo() implementation for esp32s2 2021-04-06 01:00:00 +07:00
hathach 69ad092fce revert dcd_edpt_xfer_fifo() implementation for nuc120 121 2021-04-06 00:13:12 +07:00
hathach 49b2d8f26c revert dcd_edpt_xfer_fifo() implementation for msp430 2021-04-06 00:07:17 +07:00
hathach 8d2dfe872c revert dcd_edpt_xfer_fifo() implementation for stm32_fsdev 2021-04-05 19:19:49 +07:00
hathach bebe2f0bbf revert dcd_edpt_xfer_fifo() implementation for nuc505 2021-04-04 22:50:26 +07:00
hathach 586a46c7d3 revert dcd_edpt_xfer_fifo() implementation for samg
samg fifo is accessed byte by byte (although the register is 32 bit).
2021-04-04 21:33:19 +07:00
Ha Thach ab4d30fd6b update readme and contributors for renesas rx63n and silabs efm32gg12 port (#767)
* update readme and contributors for renesas rx63n and silabs efm32gg12 port

also add some doc for changelog

* typo

* update more boards

* more typo

* typo 3
2021-04-02 16:32:48 +07:00
Ha Thach eb92986b88 Merge pull request #766 from hathach/enhance-midi
Enhance midi
2021-04-02 15:47:40 +07:00
hathach 7582528067 revert make optimize flag 2021-04-02 15:21:44 +07:00
hathach 48bb96f507 correct midi stream read behavior to read until user buffer is full or no more data from usb fifo 2021-04-02 15:08:36 +07:00
hathach 350eb11277 refactor midi read buffer to stream 2021-04-02 14:52:44 +07:00
hathach da59c4ad44 rename midi write()/read() to stream_write() stream_read()
also add deprecated for warning and rename hint
2021-04-02 14:43:38 +07:00
hathach 99b78e62f2 removed tud_midi_write24() 2021-04-02 14:34:13 +07:00
hathach 08fe16840f refactor midi write into stream 2021-04-02 14:26:55 +07:00
hathach 6b04efd443 refactor midi stream read 2021-04-02 13:55:51 +07:00
hathach 080b14b292 fix midi tx fifo overflow cause data corruption
rename
2021-04-02 13:26:55 +07:00
Ha Thach e4f5a5d7b3 Merge pull request #749 from perigoso/bsp-sltb009a
Add sltb009a BSP
2021-04-01 11:23:52 +07:00
Ha Thach 2f5dda90b7 Merge pull request #757 from kkitayam/add_support_for_gr_citrus
Add support for GR-CITRUS
2021-03-31 22:01:43 +07:00
hathach 1d8a79ef4f remove NVIC_SystemReset() in freertos examples 2021-03-31 20:50:08 +07:00
hathach 949ff791e0 code format 2021-03-31 00:34:09 +07:00
hathach b05084e406 remove tud_midi_read_flush() 2021-03-30 23:56:55 +07:00
hathach c5aa661c89 rename tud_midi_receive/send to tud_midi_packet_read/write 2021-03-30 23:54:17 +07:00
Ha Thach c5dfc54e54 Merge pull request #762 from hathach/add-more-hid-key
add hid keys from 0x6B to 0xA4
2021-03-30 21:38:24 +07:00
hathach 89a911ee43 correct hid key enter = 0x28, return = 0x9E 2021-03-30 21:26:35 +07:00
hathach d135825e9c add hid keys from 0x6B to 0xA4 2021-03-30 21:12:56 +07:00
Ha Thach e106e22bdd Merge pull request #760 from hathach/fix-755-same-name-c-s-file
add suffix _s to object of assembly file
2021-03-30 10:20:55 +07:00
hathach 2e4657d111 change suffix to _asm to be more explicit 2021-03-30 01:09:17 +07:00
hathach 94d29d8578 add build-renesas for rx63n 2021-03-30 00:06:06 +07:00
hathach 5a0c594c71 move rx63n into its own family 2021-03-29 23:54:44 +07:00
hathach ae98a12cff Merge branch 'add_support_for_gr_citrus' of https://github.com/kkitayam/tinyusb into kkitayam-add_support_for_gr_citrus 2021-03-29 22:53:23 +07:00
hathach ef73a9864f add suffix _s to object of assembly file 2021-03-29 22:51:11 +07:00
Ha Thach 05d6d7d8d1 Merge pull request #759 from sjanc/mynewt
Add releases to Mynewt repository.yml
2021-03-29 18:47:46 +07:00
Ha Thach aa1a5a11c7 Merge pull request #703 from perigoso/efm32gg
EFM32 Family Support
2021-03-25 23:21:34 +07:00
Ha Thach 59d0d255d8 Merge pull request #717 from jgressmann/feat/same54xplainedpro-free-pll1
SAM E54 XPlained Pro: free PLL1 for application
2021-03-23 20:39:20 +07:00
Ha Thach 60f3ea5e81 Merge pull request #747 from hathach/cleanup-examples
remove ses project since it is all broken and occupies space
2021-03-23 15:58:56 +07:00
hathach 567c6d437a remove ses project since it is all broken and occupies space 2021-03-23 15:19:53 +07:00
Ha Thach 42681edaf3 Merge pull request #736 from Product-Creation-Studio/ned-pcs/add-stm32f072-eval
Add stm32f072-eval board
2021-03-20 16:45:05 +07:00
Ha Thach 7cdeed54e0 Update bug_report.md 2021-03-19 11:17:38 +07:00
Ha Thach a22206b77a Update bug_report.md 2021-03-19 11:15:58 +07:00
Ha Thach 7503b9f18c Merge pull request #733 from hathach/fix-nrf-dcd-bulk-out-race
fix race condition that could cause drop packet of Bulk OUT transfer
2021-03-19 10:00:30 +07:00
Ha Thach 6cf110b5d0 Update README.md 2021-03-19 00:32:29 +07:00
Ha Thach c86e4c8bd3 Update boards.md 2021-03-18 20:56:26 +07:00
Ha Thach a380bbf4bf Merge pull request #734 from hathach/feather-rp2040-correct-bootstage2
use boot2_generic_03h for adafruit feather rp2040
2021-03-18 20:10:35 +07:00
hathach 249852d25c use boot2_generic_03h for adafruit feather rp2040
- also use boot2_generic_03h for now for itsy bitsy and qt rp2040
- change default flash target for rp2040 to flash-pyocd
2021-03-18 19:53:39 +07:00
Ha Thach e182bb2a5b Merge pull request #729 from hathach/cleanup-make
Cleanup make
2021-03-18 17:38:51 +07:00
hathach 253430a765 add example specific DEPS_SUBMODULES 2021-03-18 16:28:44 +07:00
hathach 2882390c82 clean up some examples 2021-03-18 15:23:08 +07:00
hathach 64f41dea62 fix race condition that could cause drop packet of Bulk OUT transfer
NRF_USBD->SIZE.EPOUT[epnum] only need to write once to enable
Bulk/Interrupt transfer. We only need to do it in dcd_edpt_open() and
dcd_edpt_clear_stall()
2021-03-18 15:07:07 +07:00
Ha Thach 881321e763 Merge pull request #724 from xmos-jmccarthy/master
USB TMC Updates
2021-03-18 11:17:43 +07:00
hathach b221cedf80 spaces 2021-03-17 21:36:52 +07:00
hathach e7e03db9f8 update issue template 2021-03-17 20:27:32 +07:00
hathach 2307fc3023 move esp32s2 and rp2040 target rule to its family.mk 2021-03-17 20:13:22 +07:00
hathach ed8f117dd1 explicitly add dcd source file without vendor/family 2021-03-17 16:52:07 +07:00
Ha Thach 8775e89a4f Merge pull request #722 from hathach/fix-build-lpc177x8x
fix build with OPT_MCU_LPC177X_8X
2021-03-16 16:33:52 +07:00
hathach 82e24306e2 fix build with OPT_MCU_LPC177X_8X 2021-03-16 15:49:09 +07:00
hathach db6242f076 move AUDIO_SAMPLE_RATE to example main.c 2021-03-13 00:23:13 +07:00
hathach 4ee1216aaf fix fifo unlock typo, also clean up a bit 2021-03-13 00:22:04 +07:00
Ha Thach 3a27a9405f Release 0.9.0 (#716)
* update change log for release
* move changelog into docs/
* more changelog
* increase macro version
2021-03-12 15:10:47 +07:00
Ha Thach d9f0475701 Merge pull request #713 from HiFiPhile/cdc_read
Call One time tu_fifo_write_n on cdcd_xfer_cb
2021-03-12 13:10:56 +07:00
hathach 31373fd55c use !tu_fifo_empty() instead of tu_fifo_count() 2021-03-12 12:55:18 +07:00
hathach 4310941daa Merge branch 'cdc_read' of https://github.com/HiFiPhile/tinyusb into HiFiPhile-cdc_read 2021-03-12 12:49:44 +07:00
hathach a397353916 fix ci build with rp2040 2021-03-10 17:58:39 +07:00
hathach e864bda627 fix build with freertos 2021-03-10 17:21:59 +07:00
hathach 794083b647 Merge branch 'master' into edpt_ISO_xfer 2021-03-10 17:10:49 +07:00
Ha Thach 1cdd1b0209 Update pico sdk 1.1.0 (#712)
* update pico-sdk to 1.1.0
also correct fetch_submodule_if_empty behavior
2021-03-10 13:26:14 +07:00
Ha Thach f9817da397 Merge pull request #711 from hathach/usbd-handle-set-interface
Usbd handle set interface
2021-03-10 12:10:52 +07:00
Ha Thach ccb599f84b Merge pull request #710 from hathach/update-doc
update doc for BOARD name, add note for udev on Linux
2021-03-10 11:37:07 +07:00
hathach eeea19c0ab usbd ack SET_INTERFACE if it is not implemented by class driver. 2021-03-10 11:33:03 +07:00
hathach 38ebb8502d clean up 2021-03-10 11:31:50 +07:00
hathach 4a73b6a219 update doc for BOARD name, add note for udev on Linux 2021-03-10 11:23:44 +07:00
Ha Thach 2adb7e7193 Merge pull request #708 from hathach/add-back-cmsis5
Add back cmsis5 as submodule
2021-03-05 23:01:10 +07:00
hathach 7afe1d9e16 clean up
some how lpc55 ci cannot build without pre-checkout lib/sct_neopixel
2021-03-05 22:49:29 +07:00
hathach ca6abea97d nrf add lib/CMSIS_5 to DEPS_SUBMODULES 2021-03-05 22:30:03 +07:00
hathach 7d877e286a update DEPS_SUBMODULES to optimize ci 2021-03-05 22:24:03 +07:00
hathach a64535f57d add back lib/CMSIS_5 submodule 2021-03-05 22:08:42 +07:00
hathach af81089225 remove local cmsis_5 2021-03-05 22:04:04 +07:00
Ha Thach b0ba105bd9 Merge pull request #702 from hathach/more-ci
More ci
2021-03-05 00:06:45 +07:00
hathach 590d8d4d5c rename FAMILY_SUBMODULES to DEPS_SUBMODULES 2021-03-04 22:53:02 +07:00
hathach b846ded487 merge no-family example build
specify FAMILY_SUBMODULES for all boards
2021-03-04 22:50:45 +07:00
Ha Thach 1b6bf796e1 Merge pull request #701 from hathach/ci-cache-toolchain
cache all toolchains to speed up ci
2021-03-04 22:04:25 +07:00
Ha Thach 5285548c75 Merge pull request #700 from hathach/fix-rp2040-bus-reset
fix enum walkaround forever check for SE0 when pull up is disabled
2021-03-04 21:01:39 +07:00
hathach ce4da82ce9 cache all toolchains to speed up ci 2021-03-04 20:22:16 +07:00
hathach 33a29c9e4c add midi comment 2021-03-04 19:30:08 +07:00
hathach 8cabbb28df fix enum walkaround forever check for SE0 when pull up is disabled 2021-03-04 18:36:18 +07:00
hathach 4c31a29ff0 update doc, skip board_test in esp32s2 ci 2021-03-04 12:35:43 +07:00
hathach a655a4169e add note for MIDI (audio v1.0) endpoint decriptor use 9 bytes instead of 7 2021-03-04 01:18:49 +07:00
Ha Thach 68db108b35 Merge pull request #688 from duddie/master
Fix Endpoint descriptor size for MIDI Device
2021-03-04 01:10:37 +07:00
Ha Thach 2d9896bf40 Merge pull request #695 from hathach/more-family-board
More family board
2021-03-03 20:59:07 +07:00