7e4c0f64cd
abtract attribute fallthrough
2022-07-14 18:39:47 +07:00
ec6f56768a
mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
...
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
60c1750a9b
mimxrt: Add/change definitions for MIMXRT11XX boards.
...
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-30 22:21:31 +02:00
4f6e770eda
add more warning option, also fix -Wconversion with rp2040
...
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-24 19:46:19 +07:00
dd035b0eb2
make all hcd/dcd function used in isr into ram with __no_inline_not_in_flash_func() for faster irq handling
...
result is 1KB of code moved from rom -> ram
2022-06-08 16:08:53 +07:00
8b9cf152a0
rhport argument in usbd_ API() is not used (always use the initialized port)
...
remove the usage of TUD_OPT_RHPORT in class driver
2022-06-02 16:51:17 +07:00
fdeac8508b
Merge pull request #1381 from hathach/add-sof-isr
...
Add SOF IRQ Handler
2022-05-31 22:25:14 +07:00
0a4a28a90c
Merge pull request #1451 from kasjer/kasjer/pic32-sanity-fixes
...
pic32 sanity fixes
2022-05-24 20:42:06 +07:00
c5ba1ea8c1
changes proposal to audio feedback computation
2022-05-13 22:54:47 +07:00
d51743a21c
Add TU_BREAKPOINT for mips architecture
...
_mips is provided by xc32-gcc
2022-05-01 14:05:49 +02:00
ae5490e5a5
clean up
2022-04-27 20:52:56 +07:00
4a661dead0
add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section
2022-04-27 17:57:52 +07:00
12debd7763
keep up with pio usb
2022-04-22 01:06:17 +07:00
b034c18077
add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout and in_isr
...
also allow exit tud_task,tuh_task after processing all events for
running other background task for user
2022-04-20 18:29:41 +07:00
fdfde8883f
Implement power of two, shift, and float calculation
2022-03-19 13:37:54 +01:00
2929afe2fa
add synchronous (blocking) support for usbh control transfer
...
- add synchronous version of all get descriptor API
- update bare example to use sync API for string descriptor
- change order of index, language_id in tuh_descriptor_get_string() to
match similar API of libusb
- add index to tuh_descriptor_get_hid_report()
2022-03-13 17:45:46 +07:00
b9ca301527
remove obsolete device state
2022-03-10 13:19:15 +07:00
b05401a5ab
merge control stage host and device value
2022-03-10 11:59:51 +07:00
110879074f
implement tu_edpt_release()
2022-03-09 17:26:55 +07:00
a5fb20533c
adding tusb_private.h to implement common edpt claim
2022-03-09 17:17:36 +07:00
708f05668d
add tusb_debug.h remove tusb_error.h
...
move debug utils to new header
2022-03-09 16:44:19 +07:00
1bd31c22e1
Merge pull request #1374 from kasjer/kasjer/stm32wb55
...
stm32wb55 support
2022-03-07 16:09:06 +07:00
a18ac84229
Add support for STM32WB mcu
2022-03-07 09:35:12 +01:00
e08a875d52
add tuh_descriptor_get() and tuh_descriptor_device_get()
2022-03-04 19:26:54 +07:00
2cd73ca602
Add host string descriptor functions
...
Plus typo fixes, GCC11 array bounds fix, snprintf for malloc-free
debug and pragmas for alignment checks.
2022-03-03 21:53:12 -08:00
8e84529c8d
Merge pull request #1345 from alexandre-perrin/iar-cpp-verify-static
...
Fix CPP compilation with IAR
2022-02-28 17:02:33 +07:00
2fe3a925fb
add highspeed detect for f723/730/733
2022-02-26 17:34:29 +07:00
a4ba3f2891
add TUP_USBIP_DWC2
2022-02-26 17:13:06 +07:00
11c89d43ab
more internal rename
2022-02-26 17:06:50 +07:00
bc63f59af2
mcu specific rename
2022-02-26 15:23:29 +07:00
244154e087
Merge pull request #1311 from Wini-Buh/CCRX_Ext
...
Solve problems with CCRX toolchain
2022-02-26 14:34:18 +07:00
0997589c45
more symbol rename
2022-02-25 23:05:15 +07:00
89115253da
internal symbol rename
2022-02-25 22:45:05 +07:00
309540473b
minor house keeping
2022-02-25 22:26:35 +07:00
99ad3ae2ca
rename and move dcd_attr.h to tusb_mcu_attr.h
2022-02-25 18:35:21 +07:00
81e33477ea
Fix CPP compilation with IAR
...
IAR defines __STDC_VERSION__ in cpp as well.
Which causes TU_VERIFY_STATIC to be defined as _Static_assert
instead of cpp's static_assert.
This reorders __cplusplus__ to be first, then to fallback to
__STDC_VERSION__ if not CPP.
2022-02-23 18:27:52 +01:00
e1f0c484c6
Modifications for CCRX toolchain
2022-02-01 23:45:52 +01:00
7de166390e
Merge branch 'master' into master
2022-01-25 22:29:05 +07:00
af9a3f646c
fix idfgh-6508: return type in tu_fifo_peek_n()
...
https://github.com/espressif/esp-idf/issues/8161
2022-01-19 09:00:43 +01:00
161ba73c8b
fix locked mutex when fifo is full
2022-01-19 10:17:39 +07:00
44406a8940
Enable breakpoints for ARM8M (e.g. cortex-m33)
2022-01-06 09:56:45 +01:00
ac20605e3f
Ignore certain compiler options on ARMCC
...
ARMCC also sets __GNU__ macro, but doesn't support
GCC diagnostic pragmas.
2021-11-30 17:19:11 +08:00
660e8b8c88
skip snpsid check for gd32, abstract phyfs turnaround, set max timeout calibration.
...
still has issue with gd32 with msc (does work with running with rtt as
log).
2021-10-29 16:08:19 +07:00
6c67fc4125
correctly init hs phy for bcm
2021-10-29 00:53:30 +07:00
bb5dab5c2e
add hw config struct
2021-10-26 22:48:01 +07:00
dbd31895bc
change usage of TU_CHECK_MCU() to prevent macro conflict
2021-10-25 17:04:03 +07:00
a0202df920
add TU_ARGS_APPLY(), TU_CHECK_MCU() now could check list of mcus
2021-10-25 13:49:59 +07:00
5af989384b
remove ep descriptor wMaxPacketSize bitfield due to endian issue
2021-10-24 13:11:21 +07:00
0b249618b0
fix -Wcast-qual
2021-10-15 23:54:31 +07:00
033d6b28ff
moved ISO attributes from audio to common
2021-09-29 21:23:14 +09:00