Commit graph

13 commits

Author SHA1 Message Date
Lephenixnoir
c3d7fd6efa
fxlink: find SDL2 without -mwindows to stay in console [Windows]
When loading SDL2 with pkg-config the -mwindows flag is added, which
instructs the loader to load the program through WinMain() and not
create a console for it. This is intended for GUI programs. However,
fxlink is a CLI program with just occasionally an SDL window on top of
it. Disable -mwindows to keep the console and terminal output. I don't
know how to do that with the pkg-config CMake module, so use the SDL2
module for the Windows build instead.
2024-09-14 07:26:56 +02:00
Lephenixnoir
50997a8b75
very crude Windows build (WIP): disable fxlink TUI, gdb bridge
There is no direct replacement for poll() in the Windows API, so I'm
gonna disable the fxlink TUI for now and maybe later figure out how to
do something equivalent, even if more brute-forcey.
2024-09-14 07:26:56 +02:00
Lephenixnoir
da79a6a0e8
fxlink: add --folder option to fxlink -s to select output folder 2024-01-30 22:19:19 +01:00
Lephenixnoir
9d30377d90
fxlink: full rewrite; deeper device management and TUI
This commit rewrites the entire device management layer of fxlink on the
libusb side, providing new abstractions that support live/async device
management, including communication.

This system is put to use in a new TUI interactive mode (fxlink -t)
which can run in the background, connects to calculators automatically
without interfering with file transfer tools, and is much more detailed
in its interface than the previous interactive mode (fxlink -i).

The TUI mode will also soon be extended to support sending data.
2023-03-03 00:29:00 +01:00
Heath123
6849c1624e Add push mode 2023-01-17 23:05:38 +00:00
Lephenixnoir
ebfde1f13d
fxlink: add reconnecting interactive mode (-ir)
This exposes how terrible the libusb code is. Future problem for now.
2022-12-03 13:34:06 +01:00
Lephenixnoir
5e004f989e
Cleanup for PR#8 2022-05-01 16:20:47 +01:00
Slyvtt
6103d852d5 added -u, --unmount option to force unmounting the disk after end of operations 2022-04-20 18:07:58 +02:00
Slyvtt
85314f8310 change option name to -q, --quiet and improved code layout 2022-04-20 13:07:30 +02:00
Slyvtt
89ca11678c added --silent-mode and --fxlink-log options 2022-04-19 18:36:09 +02:00
Lephenixnoir
d2b6da5122
fxlink: add interactive mode to exchange data with gint 2021-05-25 20:57:22 +02:00
Lephenixnoir
654ea8fa26
fxlink: basic implementation of the bulk transfer mode 2021-04-27 15:42:02 +02:00
Lephenixnoir
c059e2395d
fxlink: new tool with features from libusb and (optionally) UDisks2 2021-04-03 11:58:30 +02:00