Commit Graph
9 Commits
Author SHA1 Message Date
Arnaud Pouliquen a659210c47 apps: add missing license information
Add BSD license when missing.
Copyright has also been added for files when possible.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-12-01 10:14:00 +01:00
Ben Levinsky 59eaa4847b apps: demos: update to hand rproc for cleanup
As rproc is needed to remove virtio device from remoteproc_virtio device
make sure this is handed off too

Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
2020-10-26 16:37:15 -07:00
Xiang Xiao 347bf7c394 apps: replace all zero address to RPMSG_ADDR_ANY
the example should demo the best practice for the endpoint creation

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-29 15:38:29 +02:00
Xiang Xiao dd17c5aae0 change all \n to \r\n
make the line ending consistent in the whole project

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2019-02-26 22:20:02 -08:00
Ben Levinsky 93d9246561 apps: remove unused functions
Previously, init_system and cleanup_system were used within the
applications. Remove as they are no longer called in the application
files.

Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
2018-08-14 10:39:59 -07:00
Kumar Gala b1bd454cf3 apps: rpmsg_sample_echo: Rename rpmsg_new_endpoint_cb
Rename rpmsg_new_endpoint_cb to rpmsg_name_service_bind_cb to be
consistent with all the other apps.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-08-02 17:30:23 -07:00
Kumar Gala 62a3599d80 apps: Rename 'src' to 'dest' in ns_bind_cb
In the ns_bind_cb the param should be called 'dest' not 'src', as
its the destination address that the callback will be called with.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-08-02 17:30:23 -07:00
Arnaud Pouliquen 703eba29c6 app: update to adapt on ns_unbind_cb
Rework of the endpoint management based on new ns_unbind callback.
slave core destroys its endpoint when receive rpmsg shutdown message.
Master core destroys its endpoint when receive ns unbind callback.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2018-07-30 17:24:27 -07:00
Arnaud Pouliquen 7d44e3bd4b apps: add rpmsg_sample test
This test corresponds to the behaviour of the linux
rpmsg sample driver. master send 100 messages to the slave,
expecting echo.
At least the echo part running on slave
can be implemented to respond to the linux driver.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
2018-07-30 17:24:27 -07:00