Commit Graph

29 Commits

Author SHA1 Message Date
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