From 6280837d2daa468b29a81aa101118712f440f387 Mon Sep 17 00:00:00 2001 From: Manfred Steiner Date: Fri, 2 Dec 2022 13:29:23 +0100 Subject: [PATCH] simuc V0.0.3 --- examples/simuc/.gitignore | 1 + examples/simuc/Makefile | 8 ++++---- examples/simuc/src/main.cpp | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/simuc/.gitignore b/examples/simuc/.gitignore index b0d2201..b9ed985 100644 --- a/examples/simuc/.gitignore +++ b/examples/simuc/.gitignore @@ -4,3 +4,4 @@ build/** **/.simucinit **/.gdbinit **/.gdb_history +dpkg/htl-simuc_version_arch/usr/share/htl-simuc diff --git a/examples/simuc/Makefile b/examples/simuc/Makefile index 01a98a0..91501cb 100644 --- a/examples/simuc/Makefile +++ b/examples/simuc/Makefile @@ -7,8 +7,8 @@ $(PRJ): dist/simuc start: $(PRJ) dist/simuc -CFLAGS = -O0 -g -Wall -#CFLAGS = -Os -g -Wall +#CFLAGS = -O0 -g -Wall +CFLAGS = -Os -g -Wall CFLAGS += -isystem ./include #CFLAGS += -isystem ./include/parts @@ -51,7 +51,7 @@ ifeq ($(ARCH), arm-linux-gnueabihf) DEBARCH="armhf" endif -DEBVERSION := 0.0.2~1 +DEBVERSION := 0.0.3~1 DEBNAME := dpkg/htl-simuc_version_arch DEBSRC := dpkg/htl-simuc_version_arch DEBARCH := $(shell dpkg --print-architecture) @@ -66,7 +66,7 @@ LIBELF_VERSION := $(shell dpkg --list | grep ${LIBELF_NAME}:${DEBARCH} | tr -s ' deb: dpkg $(DEBSRC)/DEBIAN/control $(DEBSRC)/usr/share/doc/htl-simuc/readme - @dpkg-deb --root-owner-group --build $(DEBSRC) ${DEB} + @dpkg-deb -Z xz --root-owner-group --build $(DEBSRC) ${DEB} @mv $(DEBSRC)/*.deb dpkg/ @chmod 644 dpkg/*.deb diff --git a/examples/simuc/src/main.cpp b/examples/simuc/src/main.cpp index 161957c..2da3f34 100644 --- a/examples/simuc/src/main.cpp +++ b/examples/simuc/src/main.cpp @@ -13,7 +13,7 @@ void printHelp () { printf(" available options (you can use file .simucinit instead):\n"); printf(" --port ... listining port for gdb (default 1234)\n"); printf(" --board ... set board (arduino, sure, evws1)\n"); - printf(" --nosync do not sync elapsed µC-time with real time\n\n"); + printf(" --nosync do not sync elapsed µC-time with real time\n"); printf(" --mmcu ... set target device type\n"); printf(" --frequency ... set target frequency in Hz\n"); printf(" --pc ... set start program counter (default is 0)\n"); @@ -21,7 +21,7 @@ void printHelp () { printf(" --avcc ... set voltage AVCC in Volt\n"); printf(" --aref ... set voltage AREF in Volt\n\n"); printf(" example:\n"); - printf(" simuc --mmcu atmega328p --frequency 16000000 --pc 0x7000 a.out\n\n"); + printf(" simuc --mmcu atmega328p --frequency 16000000 --pc 0x7000 a.out\n"); printf(" simuc --board arduino a.out\n\n"); } -- 2.39.5