Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipc: openamp: Expose config options for MASTER/SLAVE builds #14750

Merged
merged 1 commit into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions modules/Kconfig.open-amp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,25 @@ config OPENAMP
help
This option enables the OpenAMP IPC library

if OPENAMP

config OPENAMP_SRC_PATH
string "OpenAMP library source path"
default "open-amp"
depends on OPENAMP
help
This option specifies the path to the source for the open-amp library

config OPENAMP_MASTER
bool "OpenAMP Master Support"
default y
help
This option enables support for OpenAMP VirtIO Master

config OPENAMP_SLAVE
bool "OpenAMP Slave Support"
default y
help
This option enables support for OpenAMP VirtIO Slave

endif # OPENAMP
1 change: 1 addition & 0 deletions samples/subsys/ipc/openamp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_TIMESLICE_SIZE=1
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_OPENAMP=y
CONFIG_OPENAMP_SLAVE=n
1 change: 1 addition & 0 deletions samples/subsys/ipc/openamp/remote/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_PLATFORM_SPECIFIC_INIT=n
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_OPENAMP=y
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=4096
CONFIG_OPENAMP_MASTER=n
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ manifest:
revision: 2f896f74a5fc7220546cc23b50351506cd72ea96
path: modules/hal/nxp
- name: open-amp
revision: 68c18eae2e619ab161a217b1ce86e7ff37391a15
revision: 697716812a38fc05c1689cb9c6768bd412bf7153
path: modules/lib/open-amp
- name: loramac-node
revision: 29e516ec585b1a909af2b5f1c60d83e7d4d563e3
Expand Down