]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/commitdiff
Enable Ethernet on all boards
authorJakub NejedlĂ˝ <nejedjak@fel.cvut.cz>
Wed, 21 Aug 2019 07:18:40 +0000 (09:18 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Sat, 31 Aug 2019 21:16:08 +0000 (23:16 +0200)
Migration of Ethernet debugging tools from RPP board to all versions.

Michal Sojka updated .gitattributes to distribute the enabled commands
to EATON.

rpp-test-sw/Makefile.var
rpp-test-sw/commands/.gitattributes
rpp-test-sw/commands/cmd.c

index f61291f3a4c86ebf67039ed1730cbee181a8a963..841e25f1eb58c565267cc40bacc3692e1c2b6f2b 100644 (file)
@@ -13,12 +13,15 @@ SOURCES = \
        commands/cmd_can.c \
        commands/cmd_pin.c \
        commands/cmd_port.c \
+       commands/cmd_emac.c \
+       commands/cmd_nc.c \
+       commands/cmd_netstats.c \
+       commands/cmd_echoserver.c \
        commands/main.c
 
 SOURCES_tms570_rpp = \
        commands/cmd_dac.c \
        commands/cmd_din.c \
-       commands/cmd_emac.c \
        commands/cmd_fray.c \
        commands/cmd_fr_basic_test.c \
        commands/cmd_hbr.c \
@@ -27,12 +30,9 @@ SOURCES_tms570_rpp = \
        commands/cmd_lout.c \
        commands/cmd_mout.c \
        commands/cmd_motor_example.c \
-       commands/cmd_nc.c \
-       commands/cmd_netstats.c \
        commands/cmd_sdram.c \
        commands/cmd_spi.c \
        commands/cmd_vbat.c \
-       commands/cmd_echoserver.c \
        commands/spi_resp_transl.c
 
 
index 855f02581ded643f25f1d95444645070cc35c109..c0915cf5db9a71b53e72a8b53164791fcdb31f16 100644 (file)
@@ -4,6 +4,14 @@
 /cmd_adc.h     eaton
 /cmd_can.c     eaton
 /cmd_can.h     eaton
+/cmd_echoserver.c      eaton
+/cmd_echoserver.h      eaton
+/cmd_emac.c    eaton
+/cmd_emac.h    eaton
+/cmd_nc.c      eaton
+/cmd_nc.h      eaton
+/cmd_netstats.c        eaton
+/cmd_netstats.h        eaton
 /cmd_pin.c     eaton
 /cmd_pin.h     eaton
 /cmd_port.c    eaton
index 982d45401c5c49409e727b76098e04507f038fc9..008027a5f9319da9325c931587f319867b86db06 100644 (file)
 #include "cmd_can.h"
 #include "cmd_pin.h"
 #include "cmd_port.h"
+#include "cmd_nc.h"
+#include "cmd_netstats.h"
+#include "cmd_emac.h"
+#include "cmd_echoserver.h"
 
 #ifdef TARGET_TMS570_RPP
 #include "cmd_dac.h"
-#include "cmd_emac.h"
 #include "cmd_fray.h"
 #include "cmd_din.h"
 #include "cmd_hbr.h"
@@ -36,9 +39,6 @@
 #include "cmd_lin.h"
 #include "cmd_lout.h"
 #include "cmd_mout.h"
-#include "cmd_nc.h"
-#include "cmd_echoserver.h"
-#include "cmd_netstats.h"
 #include "cmd_sdram.h"
 #include "cmd_spi.h"
 #include "cmd_vbat.h"
@@ -147,10 +147,13 @@ cmd_des_t const *cmd_list_main[] = {
        &cmd_des_version,
        CMD_DES_INCLUDE_SUBLIST(cmd_list_adc),
        CMD_DES_INCLUDE_SUBLIST(cmd_list_can),
+       CMD_DES_INCLUDE_SUBLIST(cmd_list_emac),
+       CMD_DES_INCLUDE_SUBLIST(cmd_list_nc),
+       CMD_DES_INCLUDE_SUBLIST(cmd_list_es),
+       CMD_DES_INCLUDE_SUBLIST(cmd_list_netstats),
 #ifdef TARGET_TMS570_RPP
        CMD_DES_INCLUDE_SUBLIST(cmd_list_dac),
        CMD_DES_INCLUDE_SUBLIST(cmd_list_din),
-       CMD_DES_INCLUDE_SUBLIST(cmd_list_emac),
        CMD_DES_INCLUDE_SUBLIST(cmd_list_fr_basic_test),
        CMD_DES_INCLUDE_SUBLIST(cmd_list_fray),
        CMD_DES_INCLUDE_SUBLIST(cmd_list_hbr),
@@ -159,9 +162,6 @@ cmd_des_t const *cmd_list_main[] = {
        CMD_DES_INCLUDE_SUBLIST(cmd_list_lout),
        CMD_DES_INCLUDE_SUBLIST(cmd_list_mout),
        CMD_DES_INCLUDE_SUBLIST(cmd_list_motor_example),
-       CMD_DES_INCLUDE_SUBLIST(cmd_list_nc),
-       CMD_DES_INCLUDE_SUBLIST(cmd_list_es),
-       CMD_DES_INCLUDE_SUBLIST(cmd_list_netstats),
 #endif
        CMD_DES_INCLUDE_SUBLIST(cmd_list_pin),
        CMD_DES_INCLUDE_SUBLIST(cmd_list_port),