Commit 6280837d2daa468b29a81aa101118712f440f387
receivedFri, 2. Dec 2022, 13:29:35 (by user sx)
Fri, 2 Dec 2022 12:29:35 +0000 (13:29 +0100)
authorManfred Steiner <sx@htl-kaindorf.at>
Fri, 2 Dec 2022 12:29:23 +0000 (13:29 +0100)
committerManfred Steiner <sx@htl-kaindorf.at>
Fri, 2 Dec 2022 12:29:23 +0000 (13:29 +0100)
3 files changed:
examples/simuc/.gitignore
examples/simuc/Makefile
examples/simuc/src/main.cpp

index b0d2201a5a0a3e274a64963459a90188ba7888d3..b9ed9856ab7603a5ae97148fbfa594d8a1feb3d2 100644 (file)
@@ -4,3 +4,4 @@ build/**
 **/.simucinit
 **/.gdbinit
 **/.gdb_history
+dpkg/htl-simuc_version_arch/usr/share/htl-simuc
index 01a98a04100a6fb31dc3ec6dc4d6f10a01924154..91501cb158552edeca94e69934f81a62df4eb00f 100644 (file)
@@ -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
 
index 161957cca603bde01e1f6d29a935b626e2d0d12e..2da3f340902ca18b0ca36bf0e0097d62f6a3cac3 100644 (file)
@@ -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");
 }