Просмотр исходного кода

fixing test
- rename errors.h to tusb_errors.h

hathach 12 лет назад
Родитель
Сommit
f1ea1ce52e
27 измененных файлов с 29 добавлено и 29 удалено
  1. 1 1
      tests/lpc175x_6x/test/test_dcd_lpc175x_6x.c
  2. 1 1
      tests/lpc175x_6x/test/test_usbd.c
  3. 3 3
      tests/lpc18xx_43xx/project.yml
  4. 1 1
      tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c
  5. 1 1
      tests/lpc18xx_43xx/test/host/cdc/test_cdc_rndis_host.c
  6. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_ehci_init.c
  7. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_ehci_isr.c
  8. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_ehci_structure.c
  9. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_ehci_usbh_hcd_integration.c
  10. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_pipe_bulk_open.c
  11. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_pipe_bulk_xfer.c
  12. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_pipe_control_open.c
  13. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_pipe_control_xfer.c
  14. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_pipe_interrupt_open.c
  15. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_pipe_interrupt_xfer.c
  16. 1 1
      tests/lpc18xx_43xx/test/host/ehci/test_pipe_isochronous_open.c
  17. 1 1
      tests/lpc18xx_43xx/test/host/hid/test_hid_host.c
  18. 1 1
      tests/lpc18xx_43xx/test/host/hid/test_hidh_generic.c
  19. 1 1
      tests/lpc18xx_43xx/test/host/hid/test_hidh_keyboard.c
  20. 1 1
      tests/lpc18xx_43xx/test/host/hid/test_hidh_mouse.c
  21. 1 1
      tests/lpc18xx_43xx/test/host/integration/test_hidh_keyboard_integrate.c
  22. 1 1
      tests/lpc18xx_43xx/test/host/msc/test_msc_host.c
  23. 1 1
      tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c
  24. 1 1
      tests/lpc18xx_43xx/test/host/usbh/test_usbh.c
  25. 1 1
      tests/lpc18xx_43xx/test/test_assertion.c
  26. 1 1
      tests/lpc18xx_43xx/test/test_osal_freeRTOS.c
  27. 1 1
      tests/lpc18xx_43xx/test/test_osal_none.c

+ 1 - 1
tests/lpc175x_6x/test/test_dcd_lpc175x_6x.c

@@ -38,7 +38,7 @@
 
 #include <stdlib.h>
 #include "unity.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "type_helper.h"
 
 #include "mock_usbd_dcd.h"

+ 1 - 1
tests/lpc175x_6x/test/test_usbd.c

@@ -38,7 +38,7 @@
 
 #include <stdlib.h>
 #include "unity.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "type_helper.h"
 
 #include "tusb_descriptors.h"

+ 3 - 3
tests/lpc18xx_43xx/project.yml

@@ -32,11 +32,11 @@
     
   :source:
     - ../../tinyusb/**
-    - +:../../demos/bsp/lpc43xx/**
+    - +:../../mcu/lpc43xx/**
     #- +:../../demos/device/keyboard/*
     - -:../../demos/
-    - ../../vendor/freertos/freertos/Source/*
-    - ../../vendor/freertos/freertos/Source/portable/MSVC-MingW/*
+    #- ../../vendor/freertos/freertos/Source/*
+    #- ../../vendor/freertos/freertos/Source/portable/MSVC-MingW/*
 
 :defines:
   # in order to add common defines:

+ 1 - 1
tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c

@@ -39,7 +39,7 @@
 #include "stdlib.h"
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/cdc/test_cdc_rndis_host.c

@@ -39,7 +39,7 @@
 #include "stdlib.h"
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_ehci_init.c

@@ -40,7 +40,7 @@
 #include "unity.h"
 #include "type_helper.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 
 #include "hal.h"

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_ehci_isr.c

@@ -39,7 +39,7 @@
 #include <stdlib.h>
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_ehci_structure.c

@@ -39,7 +39,7 @@
 #include <stdlib.h>
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_ehci_usbh_hcd_integration.c

@@ -39,7 +39,7 @@
 #include <stdlib.h>
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_pipe_bulk_open.c

@@ -39,7 +39,7 @@
 #include <stdlib.h>
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_pipe_bulk_xfer.c

@@ -39,7 +39,7 @@
 #include <stdlib.h>
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_pipe_control_open.c

@@ -39,7 +39,7 @@
 #include <stdlib.h>
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_pipe_control_xfer.c

@@ -39,7 +39,7 @@
 #include <stdlib.h>
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_pipe_interrupt_open.c

@@ -38,7 +38,7 @@
 
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_pipe_interrupt_xfer.c

@@ -39,7 +39,7 @@
 #include <stdlib.h>
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/ehci/test_pipe_isochronous_open.c

@@ -38,7 +38,7 @@
 
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/hid/test_hid_host.c

@@ -39,7 +39,7 @@
 #include "stdlib.h"
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 #include "common/common.h"

+ 1 - 1
tests/lpc18xx_43xx/test/host/hid/test_hidh_generic.c

@@ -38,7 +38,7 @@
 #include "stdlib.h"
 #include "unity.h"
 #include "type_helper.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "common/common.h"
 
 #include "hid_host.h"

+ 1 - 1
tests/lpc18xx_43xx/test/host/hid/test_hidh_keyboard.c

@@ -39,7 +39,7 @@
 #include "stdlib.h"
 #include "unity.h"
 #include "type_helper.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "common/common.h"
 #include "hid_host.h"
 #include "mock_osal.h"

+ 1 - 1
tests/lpc18xx_43xx/test/host/hid/test_hidh_mouse.c

@@ -39,7 +39,7 @@
 #include "stdlib.h"
 #include "unity.h"
 #include "type_helper.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "common/common.h"
 
 #include "hid_host.h"

+ 1 - 1
tests/lpc18xx_43xx/test/host/integration/test_hidh_keyboard_integrate.c

@@ -40,7 +40,7 @@
 //#include "unity.h"
 //#include "type_helper.h"
 //#include "tusb_option.h"
-//#include "errors.h"
+//#include "tusb_errors.h"
 //
 //#include "mock_osal.h"
 //#include "hcd.h"

+ 1 - 1
tests/lpc18xx_43xx/test/host/msc/test_msc_host.c

@@ -39,7 +39,7 @@
 #include "stdlib.h"
 #include "unity.h"
 #include "tusb_option.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "binary.h"
 #include "type_helper.h"
 

+ 1 - 1
tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c

@@ -37,7 +37,7 @@
 /**************************************************************************/
 
 #include "unity.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "descriptor_test.h"
 
 #include "mock_osal.h"

+ 1 - 1
tests/lpc18xx_43xx/test/host/usbh/test_usbh.c

@@ -38,7 +38,7 @@
 
 #include <stdlib.h>
 #include "unity.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "type_helper.h"
 
 #include "mock_osal.h"

+ 1 - 1
tests/lpc18xx_43xx/test/test_assertion.c

@@ -45,7 +45,7 @@
 #include "CException.h"
 #include "binary.h"
 #include "common/assertion.h"
-#include "errors.h"
+#include "tusb_errors.h"
 
 CEXCEPTION_T e;
 

+ 1 - 1
tests/lpc18xx_43xx/test/test_osal_freeRTOS.c

@@ -37,7 +37,7 @@
 /**************************************************************************/
 
 #include "unity.h"
-#include "errors.h"
+#include "tusb_errors.h"
 //#include "freeRTOS.h"
 //#include "osal_freeRTOS.h"
 //#include "mock_task.h"

+ 1 - 1
tests/lpc18xx_43xx/test/test_osal_none.c

@@ -41,7 +41,7 @@
 #endif
 
 #include "unity.h"
-#include "errors.h"
+#include "tusb_errors.h"
 #include "osal_none.h"
 
 #define QUEUE_DEPTH 10