summaryrefslogtreecommitdiff
path: root/tinyusb/common/assertion.h
AgeCommit message (Collapse)Author
2018-03-29rename ASSERT_STATUS to ASSERT_ERR, merge assertion.h to verify.hhathach
2018-03-29more verify and assert clean uphathach
2018-03-29assert clean uphathach
2018-03-29clean up assert and verifyhathach
2018-03-28add verify_breakpoint hw independencehathach
2018-03-28rename ASSERT to TU_ASSERT to avoid name conflicthathach
2018-03-28more error string clean uphathach
2018-03-28repo cleanuphathach
2018-03-28more renamehathach
2018-03-11rename hal_* to tusb_hal_*hathach
2018-03-02rename hal.h to tusb_hal.hhathach
2015-05-01replace ATTR_PACKED_STRUCT by simply ATTR_PACKED (drop IAR support)hathach
remove "primitive_types.h" by simply include stdbool.h, stdint.h
2014-04-25cdc device app rename CDCD_APP_BUFFER_SIZE to SERIAL_BUFFER_SIZEhathach
cdc host app add SERIAL_BUFFER_SIZE for buffer constant, add cdc data receive if cb with TUSB_EVENT_XFER_ERROR minor change to keyboard & mouse host app add ASSERT_FAILED & ASSERT_FAILED_MSG add cast to fix IAR build error with dcd_lpc43xx.c FreeRTOS - merge FreeRTOSConfig for m0, m3, m4 - re-implement application hook - support portmacro.h for m0
2014-04-17move STRING & XSTRING & STATIC_ASSERT to compiler.hhathach
disable test for a class of cdc host temporarily disable test for test_osal_none.c change include in some core files remove osal.h from common.h
2014-04-17change default TUSB_CFG_DEBUG to 0hathach
change meaning of TUSB_CFG_DEBUG
2014-03-25update keil & iar device project to add lpcxpresso11u14 supporthathach
2014-03-24doxygen documentinghathach
2014-03-12fix iar warninghathach
2013-12-12implement inline bit manipulation functionhathach
2013-09-19starting to add support for IAR workbenchhathach
2013-05-06change format of file header & license spacinghathach
2013-04-25finally able to get freeRTOS run with current mouse + keyboard examplehathach
NOTES: print_greeting if is executed before the start of freeRTOS scheduler --> hardfault - print_greeting->vsprintf->systick -> bunch of ISR --> hardfault. printf using serial after the start of scheduler is ok though
2013-04-09adding code to allow configure MIC2555 to pull down D+/D- (still need bit ↵hathach
bangding I2C on PB_0 PB_1) add back port reset after get 8 bytes of device descriptor
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-22- fix bug when unplugged unmounted-already device (mostly plugged when power on)hathach
- add hal_debugger_is_attached & hal_debugger_breakpoint - assert will suspend (place breakpoint) if the condition is failed and debugger is attached. Otherwise, a message to uart is printed - fix get control qhd function when dev_addr is not zero (shifted 1) - fix wrong logic for unsupported class
2013-03-04add alignof to compilier specifichathach
add static_assert support for IAR (built-in support)
2013-03-04add test for hcd/host inithathach
- TT control - usb cmd complete hcd/host initialization code
2013-02-28strengthen include policy. Only limited headers are allowed to included from ↵hathach
a header file. Missing needed to be included in *.c
2013-02-26add osal subtask supporthathach
add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
2013-02-06fix TASK_ASSERT for osal_none.hhathach
add TASK_ASSERT test for osal_none integrate test project better with eclipse - assert message--> info windows - test fail --> error windows
2013-02-06refractor move test enum to its own filehathach
add assert with handler add task assert with error catcher
2013-02-04refine ASSERT_DEFINE to allow special error_handler for os taskhathach
add device_addr0 for enumeration task start to add osal port for freeRTOS
2013-02-02refine OSAL_TASK_LOOP_BEGIN & OSAL_TASK_LOOP_ENDhathach
- add TASK_ASSERT & TASK_ASSERT_STATUS add more code for enumerate task add control requests & its type def add API for HCD - hcd_pipe_addr0_open - hcd_pipe_control_open - hcd_pipe_control_xfer - hcd_pipe_open - hcd_port_speed
2013-02-01house keepinghathach
add some more logic for enum task
2013-01-31change cmock ignore to args onlyhathach
implementing usbh_host.c
2013-01-31add ASSERT_BIN8 and its test codehathach
add some common api for task in osal.h for mocking
2013-01-27update license year from 2012 to 2013hathach
2013-01-22start to supporthathach
- usbd host - osal some global define #define TUSB_CFG_HOST_CONTROLLER_NUM #define TUSB_CFG_HOST_DEVICE_MAX #define TUSB_CFG_CONFIGURATION_MAX rename & refractor HID type structure & enum use CException to test asssertion library add test for hid_host_keyboard with usbd configure get & osal queue get stubs update test for assertion library refractor ASSERT_STATUS in assertion library update tusb_error_t values rename usb basic type & enum in tusb_types.h and std_descriptors.h
2013-01-19change error type to lower case for more consistencyhathach
change Error Enum to TUSB prefix for more consistency start to add check for OS configure
2013-01-18add ASSERT POINTER supporthathach
add hid host and separate hid host & device update host project setting with EA4357 board add para checking test for hid host
2013-01-14refractor to remove duplicate code between ASSERT_HEX and ASSERT_INThathach
use static inline min_of and max_of instead of macro
2013-01-13add assert_hex & assert_hex_withinhathach
2013-01-13add ASSERT_INT_WITHIN and its test codehathach
2013-01-13add ASSERT_INT, ASSERT_INT_EQUAL and test code for ithathach
2013-01-13rename ASSERT_ERROR to ASSERT_STATUShathach
add binary const support @ common/binary.h enhance assert support @ common/assertion.h add test code for assertion.h