quantumleaps / qtools Goto Github PK
View Code? Open in Web Editor NEWQTools collection of open source tools for embedded systems development on Windows, Linux and MacOS
Home Page: https://www.state-machine.com/qtools
License: Other
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
Hi Miro,
the attached zip archive
adds CMakeLists.txt
files to
qclean
qfsgen
qspy
andqtools
root directorywin32
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 qtools
directory with exactly the same command line as above.
This will build the tools in build/qclean
, build/qfsgen
and build/qspy
.
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.
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)
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.
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?
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/
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.
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...
... 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
I want to use it on Ubuntu 18. How to install it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.