adding TEST_FAIL() for TU_ASSERT()

This commit is contained in:
hathach
2019-11-01 17:50:40 +07:00
parent ab84731f2a
commit 5b68cc91ad
2 changed files with 15 additions and 4 deletions

View File

@@ -26,6 +26,9 @@
#ifndef _TUSB_CONFIG_H_
#define _TUSB_CONFIG_H_
// testing framework
#include "unity.h"
#ifdef __cplusplus
extern "C" {
#endif
@@ -49,7 +52,7 @@
#define CFG_TUSB_OS OPT_OS_NONE
// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
// #define CFG_TUSB_DEBUG 0
#define CFG_TUSB_DEBUG 0
/* USB DMA on some MCUs can only access a specific SRAM region with restriction on alignment.
* Tinyusb use follows macros to declare transferring memory so that they can be put