Git Product home page Git Product logo

quantumleaps / qtools Goto Github PK

View Code? Open in Web Editor NEW
127.0 20.0 48.0 20.94 MB

QTools collection of open source tools for embedded systems development on Windows, Linux and MacOS

Home Page: https://www.state-machine.com/qtools

License: Other

Batchfile 0.61% C 74.20% Python 14.86% Makefile 3.90% MATLAB 1.14% Assembly 2.37% CMake 0.33% C++ 2.59%
arm arm-cortex toolbox qp samek qspy qcalc qwin qclean qutest

qtools's People

Contributors

quantum-leaps avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qtools's Issues

cmake support for `qtools`

Hi Miro,
the attached zip archive
adds CMakeLists.txt files to

  • qclean
  • qfsgen
  • qspy and
  • the qtoolsroot directory
    The distinction between win32 and posix is done automatically based on CMake variables describing the system (MSYS, UNIX or CMAKE_SYSTEM_NAME having a value of Linux, Darwin or MSYS).

With this you can build the tools independently by using cmake in the tool's directory like this:
cmake -B<Build Dir> && cmake --build <Build Dir>
e.g. (in qtools/qspy) - cmake -Bbuild && cmake --build build. This will build qspy in the directory .../qtools/qspy/build.
Or you can build all tools (qclean, qfsgen, qspy) at once from the qtoolsdirectory with exactly the same command line as above.
This will build the tools in build/qclean, build/qfsgen and build/qspy.

Use Tkinter frame object for custom GUI in QView

Hi, Currently QView supports a Tkinter Canvas object for provided custom application-specific UI in QView. It would be nice if we could instead use a Tkinter Frame object instead of a canvas. The frame object could use various layout managers, built-in tkinter widgets and even an embedded canvas (if required) to display custom UI.

Qspy.exe being quarantined by windows

I am unaware of any other reports but I am currently experiencing issues with Qspy where it is being removed and quarantined by windos malware detection system.
image

Qutest in pypi still not updated to 7.2.0

The qutest version available in pypi is still at versjon 7.1.2 (although a pre-release for 7.2.0 is available): https://pypi.org/project/qutest/#history

This caused some confusion for me as "assertion" tests where failing with qspy at version 7.2.1, and I did not realize that I had an older version of qutest.

The failure message in qutest is:
exp: end-of-test
got: "" (timeout)

Revert record name back to 64 bytes

In the newest version, QS_DNAME_LEN_MAX is 32 bytes where in previous versions it was (or other enum) 64. This changes causes my tests to fail since I have signals with names longer than 32 bytes.

Add Support for Target Link via UDP

Currently QSpy supports target link via serial communication, TCP and file input. I need QSpy to enable receiving output from target via UDP. I don't have implementation for TCP on target so I need to send QSpy output via UDP.

Also, is QSpy able to bind ip addresses other than localhost? Does it rely on port only?

Improve .gitignore on Linux

Building on Linux with:

make -C qspy/posix
make -C qfsgen/posix
make -C qclean/posix

results in untracked files under bin/:

mpoullet@ub-mpoullet:~/Documents/qtools (main % u=)$ git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	bin/qclean
	bin/qfsgen
	bin/qspy

nothing added to commit but untracked files present (use "git add" to track)

Please consider adding these files to .gitignore or simply ignore all of the bin/ directory instead:

mpoullet@ub-mpoullet:~/Documents/qtools (main * u=)$ git diff .gitignore
diff --git a/.gitignore b/.gitignore
index 4adb62f..7e41c05 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,9 +26,7 @@ version-*
 html/
 latex/
 test_priv/
-bin/*.exe
-bin/*.dll
-bin/*.conf
+bin/
 gnu_arm-eabi/
 /include/
 libexec/

Add Option to Run QSpy in Non-Interactive Mode (Linux)

As a part of my CI process I run QSpy in the background. It fails with error " ERROR getting terminal attributes".
I added the error message generated from the errno after executing the tcgetattr function and received the error "inappropriate ioctl for device". I ran QSpy on the same machine but from a user shell and it worked. Tried to redirect the input stream for QSpy to /dev/null and got the same message I got from the CI pipeline ("inappropriate ioctl for device").

Long story short - CI pipelines don't have an stdin, and QSpy always needs an input, so I need a new option from QSpy to run in non-interactive mode and not expect an input (add a "-ni" flag for example to state non-interactive mode).

Thank you.

direct.h missing?

Hi Miro,
I'm try building qclean using MSYS2.

C:\dev\qtools-master\qclean\win32>gcc -O2 -c -Wall -Wextra -I..\include -orel\filesearch.o filesearch.c
filesearch.c:43:20: schwerwiegender Fehler: direct.h: No such file or directory
 #include <direct.h>
                    ^
Kompilierung beendet.

direct.h is not part of qtools-master.

Stackoverflow related: Cannot find direct.h

You also say "QCLEAN is pre-compiled and ready to use on Windows and Linux/Unix.
Source code is also provided." but I cannot find the executable.

Thanks

cmake updates to qtools

cmake updates to...
... build centrally from the qtools directory. The separate build may be selected via the --target command line option to cmake
... install targets were added to help installing the binaries and accompanying files in an appropriate manner
... Readme.md updated with a cmake related section

@miro: please have a look at Readme.md, if the explanations fit into the environment - Thanks -
qtools-update.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.