From f925a3fd170b5e0c601daa277f35aa37d638d566 Mon Sep 17 00:00:00 2001 From: aaaakshat <33050725+aaaakshat@users.noreply.github.com> Date: Sun, 20 Feb 2022 13:41:42 -0500 Subject: [PATCH] Gitignore MacOS trash and debug files --- .gitignore | 15 ++++++++++++ src/ti_comm/src/test/Makefile | 22 ++++++++++++++++++ .../src/test/debug_amp_serial_jetson_ECU_TEST | Bin 0 -> 56605 bytes 3 files changed, 37 insertions(+) create mode 100644 src/ti_comm/src/test/Makefile create mode 100755 src/ti_comm/src/test/debug_amp_serial_jetson_ECU_TEST diff --git a/.gitignore b/.gitignore index 7adc7d3..bc60f11 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,18 @@ /src/ti_comm/src/test/amp_serial_jetson_ECU_TEST /src/ti_comm/src/test/amp_serial_jetson_SERIAL_TEST +# Debug files +/src/ti_comm/src/test/debug.txt +/src/ti_comm/src/test/debug_tx.txt +/src/ti_comm/src/test/debug_rx.txt + +# MacOS +.DS_STORE +.DS_STORE? +.Spotlight-V100 +.Trashes +*.dSYM +*.xml + +# Intellij +*.iml diff --git a/src/ti_comm/src/test/Makefile b/src/ti_comm/src/test/Makefile new file mode 100644 index 0000000..e7fb32b --- /dev/null +++ b/src/ti_comm/src/test/Makefile @@ -0,0 +1,22 @@ +WARNING = -Wall -Wshadow --pedantic +ERROR = -Wvla -Werror +GCC = g++ -std=c++11 -lstdc++ -lm +PKG_CONFIG = pkg-config +CFLAGS = -g $(WARNING) $(ERROR) $(shell $(PKG_CONFIG) --cflags libserialport) +LIBS = $(shell $(PKG_CONFIG) --libs libserialport) + +TESTFLAGS = -DDEBUG=1 -DDEBUG_TX=1 -DDEBUG_RX=1 +SOURCES = $(wildcard *.cpp) + +BINARIES = $(SOURCES:.cpp=) + +%: %.cpp + $(GCC) $(CFLAGS) $< $(LIBS) -o $@ + +debug_%: %.cpp + $(GCC) $(CFLAGS) $(TESTFLAGS) $< $(LIBS) -o $@ + +all: $(BINARIES) + +clean: + rm $(BINARIES) diff --git a/src/ti_comm/src/test/debug_amp_serial_jetson_ECU_TEST b/src/ti_comm/src/test/debug_amp_serial_jetson_ECU_TEST new file mode 100755 index 0000000000000000000000000000000000000000..4fe5dc94a6b09c64cd058f074edf3b49490f90f9 GIT binary patch literal 56605 zcmeHQeRx#Gxu4z5$0h**1)&PbMx`V`^FjCsh;=c5LHURY3RUE|$(|%jlHIs_5R&KTRqtM!?8@#tot9?wY)U=@$t8IZkRrJ!{gtnTfwe@Oy6Kl-n)glfwqE zeV*$dcaG1yGw;m%zVps+X5N`IHP`o!EMtO)D@+neXqusKF(_v~c6)m- zGdt5W$*d=y`Ze?OZxg{rF~ zx&gCxd+%Is+Dj7h#9QrMD9UA`X;l#;90=Bk0=vDx3VXX6M~=sqD^34)3nRqaZHOwK(6~Mf(zK;Z)-KUX)~v2DN7rlGVMzI7OUYd#f^|Gd z(`rJNVI9?;TZ{wQ6QuO5);m!%?V^9wwGyk;W(l6}@Rzt8ZQb@V%$ zJ+~Bzj`T|w%M{}oYG?=rhk3$Ha*Vm7rhjF_MI-ttyDzJU*XPO=tFK+QbcI}79kzag zr)SzUGbKA#TXPwU(m1dV;D*i@3BKp2SpNWp@R$Nx|8vH^fwc4(W4qHB%RpZG>PMdF zBG7H1Y|v;==~2eK2`bM+nFmDcDZeQa&aV$t=KHtSlU;f)29Y1Xd3gV#Yo-@{@2h`* z=VbH73I8((Wgd{(CyHoec;1{NFF0qSj`t5KJvrzf*`fGgeW=|65Yy)5Kssx1QY@a z0fm4hapb$_9CDJ=u8lo>Pkk|?Q*lVr-VF%eAfl+kOOwQC$mGpgw3uCyob6cdk=N3VeO}&dxXla zW$n}k>$oHn2)44;f>_r$*5Bh|G5ndpz!#DsGtS#jZIO&DuRwWki6hoKnf2#nM$3CD zSbHh@)>GkF*fYc1pK~4S!@v6Tp|Q3S*a|9)BiLUPN;6&oMqPljUS* zb^)9A!NJL7gX~lPhU$Rnlc23@XW1KTrN20EQF?kmP`$k$s6V;Rux$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