mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-23 13:20:54 +00:00
fixing test
- rename errors.h to tusb_errors.h
This commit is contained in:
parent
44b36d74f2
commit
f1ea1ce52e
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
#include "mock_usbd_dcd.h"
|
#include "mock_usbd_dcd.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
#include "tusb_descriptors.h"
|
#include "tusb_descriptors.h"
|
||||||
|
@ -32,11 +32,11 @@
|
|||||||
|
|
||||||
:source:
|
:source:
|
||||||
- ../../tinyusb/**
|
- ../../tinyusb/**
|
||||||
- +:../../demos/bsp/lpc43xx/**
|
- +:../../mcu/lpc43xx/**
|
||||||
#- +:../../demos/device/keyboard/*
|
#- +:../../demos/device/keyboard/*
|
||||||
- -:../../demos/
|
- -:../../demos/
|
||||||
- ../../vendor/freertos/freertos/Source/*
|
#- ../../vendor/freertos/freertos/Source/*
|
||||||
- ../../vendor/freertos/freertos/Source/portable/MSVC-MingW/*
|
#- ../../vendor/freertos/freertos/Source/portable/MSVC-MingW/*
|
||||||
|
|
||||||
:defines:
|
:defines:
|
||||||
# in order to add common defines:
|
# in order to add common defines:
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
|
|
||||||
#include "hal.h"
|
#include "hal.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
#include "common/common.h"
|
#include "common/common.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "common/common.h"
|
#include "common/common.h"
|
||||||
|
|
||||||
#include "hid_host.h"
|
#include "hid_host.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "common/common.h"
|
#include "common/common.h"
|
||||||
#include "hid_host.h"
|
#include "hid_host.h"
|
||||||
#include "mock_osal.h"
|
#include "mock_osal.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "common/common.h"
|
#include "common/common.h"
|
||||||
|
|
||||||
#include "hid_host.h"
|
#include "hid_host.h"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
//#include "unity.h"
|
//#include "unity.h"
|
||||||
//#include "type_helper.h"
|
//#include "type_helper.h"
|
||||||
//#include "tusb_option.h"
|
//#include "tusb_option.h"
|
||||||
//#include "errors.h"
|
//#include "tusb_errors.h"
|
||||||
//
|
//
|
||||||
//#include "mock_osal.h"
|
//#include "mock_osal.h"
|
||||||
//#include "hcd.h"
|
//#include "hcd.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "descriptor_test.h"
|
#include "descriptor_test.h"
|
||||||
|
|
||||||
#include "mock_osal.h"
|
#include "mock_osal.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "type_helper.h"
|
#include "type_helper.h"
|
||||||
|
|
||||||
#include "mock_osal.h"
|
#include "mock_osal.h"
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#include "CException.h"
|
#include "CException.h"
|
||||||
#include "binary.h"
|
#include "binary.h"
|
||||||
#include "common/assertion.h"
|
#include "common/assertion.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
|
|
||||||
CEXCEPTION_T e;
|
CEXCEPTION_T e;
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
//#include "freeRTOS.h"
|
//#include "freeRTOS.h"
|
||||||
//#include "osal_freeRTOS.h"
|
//#include "osal_freeRTOS.h"
|
||||||
//#include "mock_task.h"
|
//#include "mock_task.h"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "errors.h"
|
#include "tusb_errors.h"
|
||||||
#include "osal_none.h"
|
#include "osal_none.h"
|
||||||
|
|
||||||
#define QUEUE_DEPTH 10
|
#define QUEUE_DEPTH 10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user