diff --git a/.ci/USB/Device/RTE/USB/USBD_Config_0.h b/.ci/USB/Device/RTE/USB/USBD_Config_0.h index 0e941fbf..028f4d42 100644 --- a/.ci/USB/Device/RTE/USB/USBD_Config_0.h +++ b/.ci/USB/Device/RTE/USB/USBD_Config_0.h @@ -41,7 +41,7 @@ #define USBD0_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD0_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD0_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD0_BUF_MEM_RELOC 0 +#define USBD0_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD0_BUF_MEM_SECTION_NAME ".driver.usbd0" + // // diff --git a/.ci/USB/Device/RTE/USB/USBD_Config_0.h.base@8.0.0 b/.ci/USB/Device/RTE/USB/USBD_Config_0.h.base@8.0.0 index 0e941fbf..028f4d42 100644 --- a/.ci/USB/Device/RTE/USB/USBD_Config_0.h.base@8.0.0 +++ b/.ci/USB/Device/RTE/USB/USBD_Config_0.h.base@8.0.0 @@ -41,7 +41,7 @@ #define USBD0_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD0_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD0_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD0_BUF_MEM_RELOC 0 +#define USBD0_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD0_BUF_MEM_SECTION_NAME ".driver.usbd0" + // // diff --git a/.ci/USB/Device/RTE/USB/USBD_Config_1.h b/.ci/USB/Device/RTE/USB/USBD_Config_1.h index 57edf45b..c890f30c 100644 --- a/.ci/USB/Device/RTE/USB/USBD_Config_1.h +++ b/.ci/USB/Device/RTE/USB/USBD_Config_1.h @@ -41,7 +41,7 @@ #define USBD1_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD1_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD1_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD1_BUF_MEM_RELOC 0 +#define USBD1_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD1_BUF_MEM_SECTION_NAME ".driver.usbd1" + // // diff --git a/.ci/USB/Device/RTE/USB/USBD_Config_1.h.base@8.0.0 b/.ci/USB/Device/RTE/USB/USBD_Config_1.h.base@8.0.0 index 57edf45b..c890f30c 100644 --- a/.ci/USB/Device/RTE/USB/USBD_Config_1.h.base@8.0.0 +++ b/.ci/USB/Device/RTE/USB/USBD_Config_1.h.base@8.0.0 @@ -41,7 +41,7 @@ #define USBD1_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD1_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD1_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD1_BUF_MEM_RELOC 0 +#define USBD1_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD1_BUF_MEM_SECTION_NAME ".driver.usbd1" + // // diff --git a/.ci/USB/Device/RTE/USB/USBD_Config_2.h b/.ci/USB/Device/RTE/USB/USBD_Config_2.h index e99f4b22..c60730cc 100644 --- a/.ci/USB/Device/RTE/USB/USBD_Config_2.h +++ b/.ci/USB/Device/RTE/USB/USBD_Config_2.h @@ -41,7 +41,7 @@ #define USBD2_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD2_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD2_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD2_BUF_MEM_RELOC 0 +#define USBD2_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD2_BUF_MEM_SECTION_NAME ".driver.usbd2" + // // diff --git a/.ci/USB/Device/RTE/USB/USBD_Config_2.h.base@8.0.0 b/.ci/USB/Device/RTE/USB/USBD_Config_2.h.base@8.0.0 index e99f4b22..c60730cc 100644 --- a/.ci/USB/Device/RTE/USB/USBD_Config_2.h.base@8.0.0 +++ b/.ci/USB/Device/RTE/USB/USBD_Config_2.h.base@8.0.0 @@ -41,7 +41,7 @@ #define USBD2_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD2_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD2_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD2_BUF_MEM_RELOC 0 +#define USBD2_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD2_BUF_MEM_SECTION_NAME ".driver.usbd2" + // // diff --git a/.ci/USB/Device/RTE/USB/USBD_Config_3.h b/.ci/USB/Device/RTE/USB/USBD_Config_3.h index 73823a3b..1dcc0d1f 100644 --- a/.ci/USB/Device/RTE/USB/USBD_Config_3.h +++ b/.ci/USB/Device/RTE/USB/USBD_Config_3.h @@ -41,7 +41,7 @@ #define USBD3_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD3_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD3_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD3_BUF_MEM_RELOC 0 +#define USBD3_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD3_BUF_MEM_SECTION_NAME ".driver.usbd3" + // // diff --git a/.ci/USB/Device/RTE/USB/USBD_Config_3.h.base@8.0.0 b/.ci/USB/Device/RTE/USB/USBD_Config_3.h.base@8.0.0 index 73823a3b..1dcc0d1f 100644 --- a/.ci/USB/Device/RTE/USB/USBD_Config_3.h.base@8.0.0 +++ b/.ci/USB/Device/RTE/USB/USBD_Config_3.h.base@8.0.0 @@ -41,7 +41,7 @@ #define USBD3_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD3_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD3_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD3_BUF_MEM_RELOC 0 +#define USBD3_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD3_BUF_MEM_SECTION_NAME ".driver.usbd3" + // // diff --git a/Components/USB/Config/USBD_Config.h b/Components/USB/Config/USBD_Config.h index 3a689d45..c14274e2 100644 --- a/Components/USB/Config/USBD_Config.h +++ b/Components/USB/Config/USBD_Config.h @@ -41,7 +41,7 @@ #define USBD%Instance%_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD%Instance%_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD%Instance%_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD%Instance%_BUF_MEM_RELOC 0 +#define USBD%Instance%_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD%Instance%_BUF_MEM_SECTION_NAME ".driver.usbd%Instance%" + // // diff --git a/Components/USB/Source/usbd_compatibility.h b/Components/USB/Source/usbd_compatibility.h index c75f39dc..7d83bb01 100644 --- a/Components/USB/Source/usbd_compatibility.h +++ b/Components/USB/Source/usbd_compatibility.h @@ -40,8 +40,8 @@ #ifndef USBD0_EP0_BUF_SIZE #define USBD0_EP0_BUF_SIZE (USBD0_MAX_PACKET0) #endif -#ifndef USBD0_BUF_MEM_RELOC -#define USBD0_BUF_MEM_RELOC (0) +#ifndef USBD0_BUF_MEM_LOCATE +#define USBD0_BUF_MEM_LOCATE (0) #endif #ifndef USBD1_CORE_THREAD_STACK_SIZE @@ -62,8 +62,8 @@ #ifndef USBD1_EP0_BUF_SIZE #define USBD1_EP0_BUF_SIZE (USBD1_MAX_PACKET0) #endif -#ifndef USBD1_BUF_MEM_RELOC -#define USBD1_BUF_MEM_RELOC (0) +#ifndef USBD1_BUF_MEM_LOCATE +#define USBD1_BUF_MEM_LOCATE (0) #endif #ifndef USBD2_CORE_THREAD_STACK_SIZE @@ -84,8 +84,8 @@ #ifndef USBD2_EP0_BUF_SIZE #define USBD2_EP0_BUF_SIZE (USBD2_MAX_PACKET0) #endif -#ifndef USBD2_BUF_MEM_RELOC -#define USBD2_BUF_MEM_RELOC (0) +#ifndef USBD2_BUF_MEM_LOCATE +#define USBD2_BUF_MEM_LOCATE (0) #endif #ifndef USBD3_CORE_THREAD_STACK_SIZE @@ -106,8 +106,8 @@ #ifndef USBD3_EP0_BUF_SIZE #define USBD3_EP0_BUF_SIZE (USBD3_MAX_PACKET0) #endif -#ifndef USBD3_BUF_MEM_RELOC -#define USBD3_BUF_MEM_RELOC (0) +#ifndef USBD3_BUF_MEM_LOCATE +#define USBD3_BUF_MEM_LOCATE (0) #endif diff --git a/Components/USB/Source/usbd_section.h b/Components/USB/Source/usbd_section.h index 184848e0..97d628b5 100644 --- a/Components/USB/Source/usbd_section.h +++ b/Components/USB/Source/usbd_section.h @@ -16,7 +16,7 @@ #define USBDn_DEV_BUF_MEM_SECTION_(str) __attribute__((section(str))) #ifdef USBD0_PORT -#if (USBD0_BUF_MEM_RELOC == 1) +#if (USBD0_BUF_MEM_LOCATE == 1) #define USBD0_DEV_BUF_MEM_SECTION USBDn_DEV_BUF_MEM_SECTION_(USBD0_BUF_MEM_SECTION_NAME) #else #define USBD0_DEV_BUF_MEM_SECTION @@ -24,7 +24,7 @@ #endif #ifdef USBD1_PORT -#if (USBD1_BUF_MEM_RELOC == 1) +#if (USBD1_BUF_MEM_LOCATE == 1) #define USBD1_DEV_BUF_MEM_SECTION USBDn_DEV_BUF_MEM_SECTION_(USBD1_BUF_MEM_SECTION_NAME) #else #define USBD1_DEV_BUF_MEM_SECTION @@ -32,7 +32,7 @@ #endif #ifdef USBD2_PORT -#if (USBD2_BUF_MEM_RELOC == 1) +#if (USBD2_BUF_MEM_LOCATE == 1) #define USBD2_DEV_BUF_MEM_SECTION USBDn_DEV_BUF_MEM_SECTION_(USBD2_BUF_MEM_SECTION_NAME) #else #define USBD2_DEV_BUF_MEM_SECTION @@ -40,7 +40,7 @@ #endif #ifdef USBD3_PORT -#if (USBD3_BUF_MEM_RELOC == 1) +#if (USBD3_BUF_MEM_LOCATE == 1) #define USBD3_DEV_BUF_MEM_SECTION USBDn_DEV_BUF_MEM_SECTION_(USBD3_BUF_MEM_SECTION_NAME) #else #define USBD3_DEV_BUF_MEM_SECTION diff --git a/Documentation/Doxygen/USB/src/images/usbd_config_0_h.png b/Documentation/Doxygen/USB/src/images/usbd_config_0_h.png index 636fd945..ca7d8001 100644 Binary files a/Documentation/Doxygen/USB/src/images/usbd_config_0_h.png and b/Documentation/Doxygen/USB/src/images/usbd_config_0_h.png differ diff --git a/Documentation/Doxygen/USB/src/rl_usb.txt b/Documentation/Doxygen/USB/src/rl_usb.txt index 3b9d8068..54735a7e 100644 --- a/Documentation/Doxygen/USB/src/rl_usb.txt +++ b/Documentation/Doxygen/USB/src/rl_usb.txt @@ -638,8 +638,10 @@ The configuration file USBD_Config_n.h contains the following sett - Enable OS String for device to contain Microsoft OS string descriptor. - Vendor Code specifies the vendor code used to retrieve associated feature descriptors. - Control Transfer Buffer Size specifies the maximum size of control transfer. -- Data Buffers specifies the relocation of the USB data buffers in memory. - - Relocate specifies if the USB data buffers are relocated to a specific memory address (via the linker script). +- Data Buffers is used for locating the USB data buffers in memory. + - Locate specifies if the USB data buffers are located in a specific memory (via the linker script). + This is usually necessary in case that USB Controller has some specific requirements regarding memory for USB transfers. + For example if USB Controller can only access specific memory, or if this memory needs to be non-cacheable. - Section Name specifies the section name for the USB data buffers that is used by the linker script to position it in memory. Default section name is .driver.usbd, for example for USB Device 0 the default section name is .driver.usbd0. - Use the OS Resources Settings to optimize the usage of OS resources. diff --git a/Examples/USB/Device/HID/RTE/USB/USBD_Config_0.h b/Examples/USB/Device/HID/RTE/USB/USBD_Config_0.h index 6953d1a8..33b14950 100644 --- a/Examples/USB/Device/HID/RTE/USB/USBD_Config_0.h +++ b/Examples/USB/Device/HID/RTE/USB/USBD_Config_0.h @@ -47,7 +47,7 @@ #define USBD0_DEV_DESC_IDPRODUCT 0x5901 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD0_DEV_DESC_BCDDEVICE 0x0100 // @@ -119,15 +119,16 @@ #define USBD0_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD0_BUF_MEM_RELOC 0 +#define USBD0_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD0_BUF_MEM_SECTION_NAME ".driver.usbd0" + // // diff --git a/Examples/USB/Device/HID/RTE/USB/USBD_Config_0.h.base@8.0.0 b/Examples/USB/Device/HID/RTE/USB/USBD_Config_0.h.base@8.0.0 index 0e941fbf..028f4d42 100644 --- a/Examples/USB/Device/HID/RTE/USB/USBD_Config_0.h.base@8.0.0 +++ b/Examples/USB/Device/HID/RTE/USB/USBD_Config_0.h.base@8.0.0 @@ -41,7 +41,7 @@ #define USBD0_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD0_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD0_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD0_BUF_MEM_RELOC 0 +#define USBD0_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD0_BUF_MEM_SECTION_NAME ".driver.usbd0" + // // diff --git a/Examples/USB/Device/MassStorage/RTE/USB/USBD_Config_0.h b/Examples/USB/Device/MassStorage/RTE/USB/USBD_Config_0.h index 7adcfcb4..75f52811 100644 --- a/Examples/USB/Device/MassStorage/RTE/USB/USBD_Config_0.h +++ b/Examples/USB/Device/MassStorage/RTE/USB/USBD_Config_0.h @@ -47,7 +47,7 @@ #define USBD0_DEV_DESC_IDPRODUCT 0x5903 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD0_DEV_DESC_BCDDEVICE 0x0100 // @@ -119,15 +119,16 @@ #define USBD0_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD0_BUF_MEM_RELOC 0 +#define USBD0_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD0_BUF_MEM_SECTION_NAME ".driver.usbd0" + // // diff --git a/Examples/USB/Device/MassStorage/RTE/USB/USBD_Config_0.h.base@8.0.0 b/Examples/USB/Device/MassStorage/RTE/USB/USBD_Config_0.h.base@8.0.0 index 0e941fbf..028f4d42 100644 --- a/Examples/USB/Device/MassStorage/RTE/USB/USBD_Config_0.h.base@8.0.0 +++ b/Examples/USB/Device/MassStorage/RTE/USB/USBD_Config_0.h.base@8.0.0 @@ -41,7 +41,7 @@ #define USBD0_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD0_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD0_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD0_BUF_MEM_RELOC 0 +#define USBD0_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD0_BUF_MEM_SECTION_NAME ".driver.usbd0" + // // diff --git a/Examples/USB/Device/VirtualCOM/RTE/USB/USBD_Config_0.h b/Examples/USB/Device/VirtualCOM/RTE/USB/USBD_Config_0.h index 355f615a..bdb250a8 100644 --- a/Examples/USB/Device/VirtualCOM/RTE/USB/USBD_Config_0.h +++ b/Examples/USB/Device/VirtualCOM/RTE/USB/USBD_Config_0.h @@ -47,7 +47,7 @@ #define USBD0_DEV_DESC_IDPRODUCT 0x5905 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD0_DEV_DESC_BCDDEVICE 0x0100 // @@ -119,15 +119,16 @@ #define USBD0_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD0_BUF_MEM_RELOC 0 +#define USBD0_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD0_BUF_MEM_SECTION_NAME ".driver.usbd0" + // // diff --git a/Examples/USB/Device/VirtualCOM/RTE/USB/USBD_Config_0.h.base@8.0.0 b/Examples/USB/Device/VirtualCOM/RTE/USB/USBD_Config_0.h.base@8.0.0 index 0e941fbf..028f4d42 100644 --- a/Examples/USB/Device/VirtualCOM/RTE/USB/USBD_Config_0.h.base@8.0.0 +++ b/Examples/USB/Device/VirtualCOM/RTE/USB/USBD_Config_0.h.base@8.0.0 @@ -41,7 +41,7 @@ #define USBD0_DEV_DESC_IDPRODUCT 0x0000 // Device Release Number <0x0000-0xFFFF> -// Device Release Number in binary-coded decimal (bcdDevice) +// Device Release Number in binary-coded decimal (bcdDevice). #define USBD0_DEV_DESC_BCDDEVICE 0x0100 // @@ -113,15 +113,16 @@ #define USBD0_EP0_BUF_SIZE 128 // Data Buffers -// Relocate -// Specifies if the USB data buffers are located at a specific memory address +// Locate +// Specifies if the USB data buffers are located in a specific memory // (via the linker script). -#define USBD0_BUF_MEM_RELOC 0 +#define USBD0_BUF_MEM_LOCATE 0 // Section Name // Specifies the section name for the USB data buffers // (for positioning via the linker script). #define USBD0_BUF_MEM_SECTION_NAME ".driver.usbd0" + // //