soc: nxp: Add define needed by the SDK USB driver
1. Add USB_STACK_USE_DEDICATED_RAM=1 define that is used by the SDK USB driver 2. Delete unused "config USB_DEDICATED_MEMORY" Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
9966181510
commit
9619b02f9b
6 changed files with 6 additions and 12 deletions
|
@ -15,6 +15,8 @@ zephyr_library_include_directories(
|
|||
zephyr_linker_sources_ifdef(CONFIG_USB_DEVICE_DRIVER
|
||||
SECTIONS usb.ld)
|
||||
|
||||
zephyr_compile_definitions_ifdef(CONFIG_USB_DEVICE_DRIVER USB_STACK_USE_DEDICATED_RAM=1)
|
||||
|
||||
if (CONFIG_SECOND_CORE_MCUX)
|
||||
set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
|
||||
string(CONFIGURE ${CONFIG_SECOND_IMAGE_MCUX} second_core_image)
|
||||
|
|
|
@ -68,7 +68,6 @@ config SOC_LPC55S69_CPU0
|
|||
select HAS_MCUX_LPADC
|
||||
select HAS_MCUX_LPC_DMA
|
||||
select HAS_MCUX_USB_LPCIP3511
|
||||
select USB_DEDICATED_MEMORY if USB_DEVICE_DRIVER
|
||||
select HAS_MCUX_CTIMER
|
||||
select HAS_MCUX_SCTIMER
|
||||
select HAS_MCUX_RNG
|
||||
|
@ -129,9 +128,6 @@ config SECOND_IMAGE_MCUX
|
|||
This points to the image file for the the binary code that will be
|
||||
used by the second core.
|
||||
|
||||
config USB_DEDICATED_MEMORY
|
||||
bool "Dedicated memory for USB transfer buffer and controller operation buffers"
|
||||
|
||||
# Workaround for not being able to have commas in macro arguments
|
||||
DT_CHOSEN_Z_CODE_CPU1_PARTITION := zephyr,code-cpu1-partition
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue