From 208912fc4ef09a7c73f27fe7434f27eca7de5303 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jakub=20Nejedl=C3=BD?= Date: Wed, 21 Aug 2019 09:18:40 +0200 Subject: [PATCH] Enable Ethernet on all boards 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 | 8 ++++---- rpp-test-sw/commands/.gitattributes | 8 ++++++++ rpp-test-sw/commands/cmd.c | 16 ++++++++-------- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/rpp-test-sw/Makefile.var b/rpp-test-sw/Makefile.var index f61291f..841e25f 100644 --- a/rpp-test-sw/Makefile.var +++ b/rpp-test-sw/Makefile.var @@ -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 diff --git a/rpp-test-sw/commands/.gitattributes b/rpp-test-sw/commands/.gitattributes index 855f025..c0915cf 100644 --- a/rpp-test-sw/commands/.gitattributes +++ b/rpp-test-sw/commands/.gitattributes @@ -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 diff --git a/rpp-test-sw/commands/cmd.c b/rpp-test-sw/commands/cmd.c index 982d454..008027a 100644 --- a/rpp-test-sw/commands/cmd.c +++ b/rpp-test-sw/commands/cmd.c @@ -25,10 +25,13 @@ #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), -- 2.39.2