zephyr/samples
Kumar Gala 12ca04b31f ipc: openamp: Expose config options for MASTER/SLAVE builds
We can build the openamp library configured with VirtIO master
support, VirtIO slave support, or both.  By default both master
and slave code is enabled.  We can reduce code footprint by only
build master or slave as needed.

Expose Kconfig options for Master & Slave and set them accordingly in
the sample.

Here's the code reduction we see:

For the total image we see as 1260 byte reduction:
Memory region         Used Size  Region Size  %age Used
 FLASH [Master & Slave]:       30308 B       256 KB     11.56%
 FLASH [Master only]   :       29048 B       256 KB     11.08%

On the remote side we see a 828 byte reduction:

Memory region         Used Size  Region Size  %age Used
 FLASH [Master & Slave]:       11564 B        64 KB     17.65%
 FLASH [Slave only]    :       10736 B        64 KB     16.38%

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-03-27 15:20:25 -05:00
..
application_development cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
basic cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
bluetooth cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
boards samples: boards: nrf: battery: Convert to new DT macros 2020-03-27 11:41:04 -05:00
cpp_synchronization cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
display cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
drivers cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
hello_world cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
mpu cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
net cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
nfc/nfc_hello cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
philosophers cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
portability cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
posix cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
scheduler cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
sensor cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
shields cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
smp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
subsys ipc: openamp: Expose config options for MASTER/SLAVE builds 2020-03-27 15:20:25 -05:00
synchronization cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
testing/integration cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
userspace cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
video cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
classic.rst doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
index.rst samples: Add MetaIRQ dispatch sample 2020-02-06 23:06:28 -05:00