From 44c65fec885958e57f34711d12fe275e6bc9802a Mon Sep 17 00:00:00 2001 From: zhanglinjing Date: Fri, 29 Nov 2024 10:36:16 +0100 Subject: [PATCH] feature: update unity test and reference command --- tests/Makefile.test | 25 ++----------------------- tests/unity | 2 +- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/tests/Makefile.test b/tests/Makefile.test index 2f1d2367..794242ca 100644 --- a/tests/Makefile.test +++ b/tests/Makefile.test @@ -1,27 +1,6 @@ ### Build commands ### ! Please note that you need to change the port and path of Unity as appropriate ! -### Example program - -## XMC4700_Relax_Kit -make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM20 CANReceiver flash monitor # CAN Receive has some problem for XMC4700. - -make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM20 CANReceiverCallback flash monitor # CAN Receive has some problem for XMC4700. - -make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM24 CANSender flash monitor - -make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM24 CANLoopBack flash monitor - -## XMC1400_XMC2GO -make FQBN=Infineon:xmc:XMC1400_XMC2GO BAUD_RATE=9600 PORT=COM41 CANReceiver flash monitor - -make FQBN=Infineon:xmc:XMC1400_XMC2GO BAUD_RATE=9600 PORT=COM41 CANReceiverCallback flash monitor - -make FQBN=Infineon:xmc:XMC1400_XMC2GO BAUD_RATE=9600 PORT=COM42 CANSender flash monitor - -make FQBN=Infineon:xmc:XMC1400_XMC2GO BAUD_RATE=9600 PORT=COM42 CANLoopBack flash monitor - - ### Unit tests ##CAN @@ -40,5 +19,5 @@ make FQBN=Infineon:xmc:XMC1400_XMC2GO PORT=COM41 UNITY_PATH=\Unity test_can_conn make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM28 UNITY_PATH=\Unity test_wire_connected1_pingpong monitor # 2 boards -make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM85 UNITY_PATH=\Unity test_wire_connected2_masterpingpong monitor -make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM28 UNITY_PATH=\Unity test_wire_connected2_slavepingpong monitor +make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM85 test_wire_connected2_masterpingpong monitor +make FQBN=Infineon:xmc:XMC4700_Relax_Kit PORT=COM28 UNITY_ \ No newline at end of file diff --git a/tests/unity b/tests/unity index 2c051238..6f62097d 160000 --- a/tests/unity +++ b/tests/unity @@ -1 +1 @@ -Subproject commit 2c05123896bbbcd200553b70cf3743f0353e6526 +Subproject commit 6f62097d72522b52848e3f24d01220afcbfae1cc