diff --git a/demos/device/device_os_none/device_os_none.ewp b/demos/device/device_os_none/device_os_none.ewp index 28fe4126..73f2d002 100644 --- a/demos/device/device_os_none/device_os_none.ewp +++ b/demos/device/device_os_none/device_os_none.ewp @@ -4796,7 +4796,7 @@ common - $PROJ_DIR$\..\..\..\tinyusb\common\errors.c + $PROJ_DIR$\..\..\..\tinyusb\common\tusb_errors.c $PROJ_DIR$\..\..\..\tinyusb\common\fifo.c diff --git a/demos/device/device_os_none/device_os_none.uvopt b/demos/device/device_os_none/device_os_none.uvopt index f522d8bc..e51ad3d7 100644 --- a/demos/device/device_os_none/device_os_none.uvopt +++ b/demos/device/device_os_none/device_os_none.uvopt @@ -489,7 +489,7 @@ 1 0 - 0 + 1 8 @@ -630,7 +630,7 @@ 1 0 - 1 + 0 8 @@ -1231,8 +1231,8 @@ 0 0 0 - ..\..\..\tinyusb\common\errors.c - errors.c + ..\..\..\tinyusb\common\tusb_errors.c + tusb_errors.c 0 0 diff --git a/demos/device/device_os_none/device_os_none.uvproj b/demos/device/device_os_none/device_os_none.uvproj index d1be63cb..97a1b9e7 100644 --- a/demos/device/device_os_none/device_os_none.uvproj +++ b/demos/device/device_os_none/device_os_none.uvproj @@ -487,9 +487,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -1394,9 +1394,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -2341,9 +2341,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -3248,9 +3248,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -4155,9 +4155,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -5102,9 +5102,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c diff --git a/demos/host/host_freertos/host_freertos.ewp b/demos/host/host_freertos/host_freertos.ewp index a2c0fc67..efcdffe2 100644 --- a/demos/host/host_freertos/host_freertos.ewp +++ b/demos/host/host_freertos/host_freertos.ewp @@ -2961,7 +2961,7 @@ common - $PROJ_DIR$\..\..\..\tinyusb\common\errors.c + $PROJ_DIR$\..\..\..\tinyusb\common\tusb_errors.c diff --git a/demos/host/host_freertos/host_freertos.uvproj b/demos/host/host_freertos/host_freertos.uvproj index e53f8964..ad1a3dd9 100644 --- a/demos/host/host_freertos/host_freertos.uvproj +++ b/demos/host/host_freertos/host_freertos.uvproj @@ -482,9 +482,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -1312,9 +1312,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -2142,9 +2142,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -2972,9 +2972,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c diff --git a/demos/host/host_os_none/host_os_none.ewp b/demos/host/host_os_none/host_os_none.ewp index c0515d83..281b906c 100644 --- a/demos/host/host_os_none/host_os_none.ewp +++ b/demos/host/host_os_none/host_os_none.ewp @@ -2903,7 +2903,7 @@ common - $PROJ_DIR$\..\..\..\tinyusb\common\errors.c + $PROJ_DIR$\..\..\..\tinyusb\common\tusb_errors.c diff --git a/demos/host/host_os_none/host_os_none.uvopt b/demos/host/host_os_none/host_os_none.uvopt index 083fddd6..439ae827 100644 --- a/demos/host/host_os_none/host_os_none.uvopt +++ b/demos/host/host_os_none/host_os_none.uvopt @@ -1114,7 +1114,7 @@ 0 0 0 - 32 + 33 38 0 ..\..\..\tinyusb\hal\hal_lpc175x_6x.c @@ -1133,8 +1133,8 @@ 0 0 0 - ..\..\..\tinyusb\common\errors.c - errors.c + ..\..\..\tinyusb\common\tusb_errors.c + tusb_errors.c 0 0 @@ -1162,7 +1162,7 @@ 0 0 0 - 15 + 16 34 0 ..\..\..\tinyusb\class\cdc_host.c @@ -1306,7 +1306,7 @@ 0 15 0 - 3 + 4 10 0 ..\..\..\tinyusb\host\ohci\ohci.c @@ -1754,7 +1754,7 @@ 0 35 0 - 74 + 75 86 0 ..\..\..\mcu\lpc175x_6x\LPC17xx_DriverLib\source\lpc17xx_clkpwr.c diff --git a/demos/host/host_os_none/host_os_none.uvproj b/demos/host/host_os_none/host_os_none.uvproj index 734b6bbf..ed010829 100644 --- a/demos/host/host_os_none/host_os_none.uvproj +++ b/demos/host/host_os_none/host_os_none.uvproj @@ -482,9 +482,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -1247,9 +1247,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -2012,9 +2012,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c @@ -2777,9 +2777,9 @@ ..\..\..\tinyusb\hal\hal_lpc175x_6x.c - errors.c + tusb_errors.c 1 - ..\..\..\tinyusb\common\errors.c + ..\..\..\tinyusb\common\tusb_errors.c fifo.c diff --git a/tinyusb/common/common.h b/tinyusb/common/common.h index a24887b2..b63593ac 100644 --- a/tinyusb/common/common.h +++ b/tinyusb/common/common.h @@ -73,7 +73,7 @@ #include "compiler/compiler.h" #include "assertion.h" #include "binary.h" -#include "errors.h" +#include "tusb_errors.h" //------------- TUSB Header -------------// #include "tusb_types.h" diff --git a/tinyusb/common/errors.c b/tinyusb/common/tusb_errors.c similarity index 96% rename from tinyusb/common/errors.c rename to tinyusb/common/tusb_errors.c index 00fc5784..e0848a96 100644 --- a/tinyusb/common/errors.c +++ b/tinyusb/common/tusb_errors.c @@ -36,7 +36,7 @@ */ /**************************************************************************/ -#include "errors.h" +#include "tusb_errors.h" #if TUSB_CFG_DEBUG == 3 diff --git a/tinyusb/common/errors.h b/tinyusb/common/tusb_errors.h similarity index 96% rename from tinyusb/common/errors.h rename to tinyusb/common/tusb_errors.h index c4314370..1d1424fd 100644 --- a/tinyusb/common/errors.h +++ b/tinyusb/common/tusb_errors.h @@ -1,6 +1,6 @@ /**************************************************************************/ /*! - @file errors.h + @file tusb_errors.h @author hathach (tinyusb.org) @section LICENSE diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h index e2090765..9170f3f5 100644 --- a/tinyusb/hal/hal.h +++ b/tinyusb/hal/hal.h @@ -53,7 +53,7 @@ //--------------------------------------------------------------------+ #include "tusb_option.h" #include "common/primitive_types.h" -#include "common/errors.h" +#include "common/tusb_errors.h" #include "common/compiler/compiler.h" //--------------------------------------------------------------------+