use r5fss0_core1 and endpoint 27, in sync with the firmware
authorSubhajit Paul <subhajit_paul@ti.com>
Thu, 4 Jul 2019 10:15:07 +0000 (15:45 +0530)
committerSubhajit Paul <subhajit_paul@ti.com>
Thu, 4 Jul 2019 10:15:07 +0000 (15:45 +0530)
Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
needle.c

index fcb65abebbb25700f30e51f9c240aa396446fa85..4c73ea2d0202fdfedc9bdfdbd68c929d2c09291b 100644 (file)
--- a/needle.c
+++ b/needle.c
@@ -20,7 +20,7 @@
 #include <math.h>
 
 #if defined (CONFIG_RPMSG_CHAR_CAN_EMULATION)
-#define CONFIG_REMOTE_SERVICE_ENDPOINT (13) 
+#define CONFIG_REMOTE_SERVICE_ENDPOINT (27)
 #define CONFIG_LOCAL_SERVICE_ENDPOINT (8192) 
 #include <rpmsg_char_helper.h>
 #endif
@@ -631,7 +631,7 @@ void needle_start(struct biqueue *bq)
        pthread_t tid;
 
 #if defined(CONFIG_RPMSG_CHAR_CAN_EMULATION)
-       char *remote_core_name = "r5f-main-0-core-0";
+       char *remote_core_name = "r5f-main-0-core-1";
        int remote_service_endpt = CONFIG_REMOTE_SERVICE_ENDPOINT;
        int local_endpt = CONFIG_LOCAL_SERVICE_ENDPOINT;
        char *local_name = "can-virtual";