summaryrefslogtreecommitdiff
path: root/examples/device/usbtmc/src/usbtmc_app.c
AgeCommit message (Collapse)Author
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-10-14improve cmake warning flags, fix various warnings in exampleshathach
2025-09-12fix warnings, update docshathach
2023-08-03rename hw/bsp/board.h to board_api.hhathach
2023-03-18minor clean uphathach
2023-03-17Merge branch 'master' into portabilityhathach
2023-01-18dont use non-std strncasecmphathach
2023-01-18get most examples build with iarhathach
2022-09-13Remove unused static dataBen Avison
This affects struct rspMsg in usbtmc_app.c (unconditionally) and uint8_t termChar in usbtmc_device.c (when NDEBUG is defined). IAR generates warning Pe550 'variable was set but never used'.
2022-09-13Remove unreachable codeBen Avison
IAR generates warning Pe111 'statement is unreachable'. In a couple of cases, replace return statements with TU_ATTR_FALLTHROUGH; because some compilers apparently can't figure out that the return statements are unreachable but do whinge about an imagined fall-through without them!
2022-09-12IAR declares strncasecmp in string.h not strings.hBen Avison
strings.h is not an ISO header file, so IAR generates fatal error Pe1696 'cannot open source file "strings.h"'. Even though strncasecmp isn't an ISO C library function, IAR's runtime library defines it, though it declares it in string.h instead.
2020-04-02Typo of usbtmc.Nathan Conrad
2019-09-25Remove _app from callback function names.Nathan Conrad
2019-09-25Change getting the capabilities structure to a callback instead of an extern ↵Nathan Conrad
struct.
2019-09-25Rename USBTMC functions.Nathan Conrad
2019-09-24Remove rhport from app code. If anything, it should be the interface_id. ↵Nathan Conrad
Assume a single interface, for now.
2019-09-24Let application control interface latency...Nathan Conrad
2019-09-21Lots of updates (especially error handling)Nathan Conrad
2019-09-19Rename functions to include tud_ and _cbNathan Conrad
2019-09-19Rename USBTMC_CFG_ENABLE_488, and fix build with it off.Nathan Conrad
2019-09-19Add testcase for aborting bulk in with no data queued (and fix aborting bulk in)Nathan Conrad
2019-09-19Add trigger test code.Nathan Conrad
2019-09-19Remove debug printf.Nathan Conrad
2019-09-19Fix more TX bugs... and add variable response delay to the example project.Nathan Conrad
2019-09-18More fixes, and a bit of SRQ.Nathan Conrad
2019-09-18small fixesNathan Conrad
2019-09-18usbtmc updates....Nathan Conrad
2019-09-17changes 2Nathan Conrad
2019-09-17More proper handling of clear.Nathan Conrad
2019-09-17ClearNathan Conrad
2019-09-14Simulate query delay; getting to a point where implementing clear/aborts makesNathan Conrad
sense. Probably adding too many concurance issues; need to figure out semaphores.
2019-09-14Change requset type parameter back to uint8_t (fix type cast), support USB ↵Nathan Conrad
indicator pulse
2019-09-14(and update the example to match)Nathan Conrad
2019-09-14Add usbtmc class driver.Nathan Conrad