Commit Graph

39 Commits

Author SHA1 Message Date
hathach
4012e15075 move core init code to dwc2 common. update/correct build for esppressif 2024-10-15 17:55:24 +07:00
hathach
92602b9de3 change tusb_init(), tusb_rhport_init() to use init struct for expandability 2024-10-11 13:41:53 +07:00
hathach
57aac432b5 add new tusb_int_handler(rhport, in_isr) as common irq handler
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
hathach
6fb6602a09 - add tud_cdc_n_ready() though not used
- usbd now change _usbd_dev.cfg_num before calling driver's open()
2024-07-19 18:08:04 +07:00
hathach
ea3f1d39e8 add cmake for pi zero (renamed from pi zero_w), build but the flash size seem wrong (only 24 bytes for text) 2024-05-02 13:29:29 +07:00
hathach
223ce56625 - add esp32 c3, c6 mcu option
- skip breakpoint for espressif riscv
2024-04-26 00:10:57 +07:00
HiFiPhile
5f473d51cf Fix IAR breakpoint test. 2024-04-25 11:51:04 +07:00
YixingShen
9a1559a356 add __ARM_ARCH_8_1M_MAIN__ for M55 2023-12-28 00:28:24 +08:00
hathach
3b0ffd0f48 change hcd_int_handler(rhport, in_isr) signature: add in_isr
change tuh_int_handler() to take in_isr as optional parameter (default =
true)
2023-09-27 15:51:03 +07:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
Jerzy Kasenberg
d51743a21c Add TU_BREAKPOINT for mips architecture
_mips is provided by xc32-gcc
2022-05-01 14:05:49 +02:00
hathach
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
hathach
708f05668d add tusb_debug.h remove tusb_error.h
move debug utils to new header
2022-03-09 16:44:19 +07:00
EmergReanimator
44406a8940 Enable breakpoints for ARM8M (e.g. cortex-m33) 2022-01-06 09:56:45 +01:00
hathach
a4ad064e63 increase example CFG_TUH_HID from 2 to 4 2021-06-12 14:20:09 +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
Niklas Hauser
e41d9202b8 Allow overwriting TU_ASSERT etc macros 2020-10-03 20:17:53 +02:00
Niklas Hauser
51fb659533 Use tu_printf instead of printf 2020-10-03 20:17:53 +02:00
hathach
017c95037f add usbd edpt open
- RTT mode is blocking to prevent log lost
- Improve logging message
2020-04-26 14:51:44 +07:00
Nathan Conrad
84a9715958 tu_verify: Change some define functions use do-while statement. 2020-04-02 23:22:48 -04:00
Nathan Conrad
7f6316dbe1 Use CRLF on UART. 2020-03-14 14:26:14 -04:00
hathach
c2fb813658 Merge pull request #217 from xobs/valentyusb-eptri
WIP: Add Valentyusb eptri
2019-11-18 12:37:34 +07:00
Sean Cross
359189ea2d tusb_verify: add riscv assert support
This simply executes an "ebreak" instruction.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:01 -08:00
hathach
838173efc3 remove TEST_FAIL() from TU_ASSERT, since it prevents we testing how stack response with failed assert 2019-11-01 18:27:15 +07:00
hathach
5b68cc91ad adding TEST_FAIL() for TU_ASSERT() 2019-11-01 17:50:40 +07:00
hathach
90b6b5d137 clean up tusb_verify 2019-10-18 16:38:02 +07:00
Nathan Conrad
21ba37aec6 Interpretation of assert vs verify. 2019-09-14 11:25:40 -04:00
Nathan Conrad
96bead4b2a Add dummy arguments to GET_NTH_ARG to make GCC happy (removes pedantic warnings) 2019-09-09 13:24:08 -04:00
hathach
2d041aaa1d clean up 2019-09-01 08:11:22 +07:00
hathach
3b6013e78f clean up 2019-07-12 14:43:01 +07:00
hathach
6e443d1918 enable CFG_TUSB_DEBUG on DEBUG build 2019-05-14 17:36:03 +07:00
hathach
61ec407752 update license year to 2019 2019-05-14 11:48:05 +07:00
hathach
6135019230 clean up 2019-05-14 11:46:22 +07:00
hathach
c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach
bfa10016ae rename verify_breakpoint to TU_BREAKPOINT 2018-10-24 12:37:43 +07:00
hathach
e07b1acbed rename VERIFY to TU_VERIFY to avoid conflict with application 2018-08-13 18:10:23 +07:00
hathach
5dd02cbdd3 house keeping 2018-07-27 16:59:57 +07:00
hathach
abb37e98ba rename tud_cdc_flush() to tud_cdc_write_flush(), add tud_cdc_read_flush() 2018-07-14 23:43:19 +07:00
hathach
424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00