Commit graph

264 commits

Author SHA1 Message Date
Sylvain PILLOT
207cff6a10 Secured the output for font in PythonExtra for monospaced fonts - WIP 2025-04-05 12:32:48 +02:00
Sylvain PILLOT
79d2fc63a4 Secured the output for font in PythonExtra - WIP 2025-04-05 11:56:01 +02:00
Sylvain PILLOT
bf21598ea6 Preparation for font-support in PythonExtra - WIP 2025-04-04 22:09:11 +02:00
Lephenixnoir
b1a696b996
cmake: work around a missing LINK_DEPENDS bug 2025-03-24 21:11:32 +01:00
Lephenixnoir
25794c505d
cmake: add to LINK_DEPENDS in generate_g1a/g3a, don't override it 2025-03-24 16:09:44 +01:00
Lephenixnoir
b7803a6aed
libfxlink: add some sync-like transfer functions 2025-03-08 23:25:40 +01:00
Lephenixnoir
a98bbff1c9
fxlink: don't list non-CASIO devices in TUI 2025-03-08 23:25:23 +01:00
Lephenixnoir
f1721186bb
fxsdk: disable -ffreestanding, keep only -fno-builtin
We don't need -ffreestanding anymore, and it gets in the way of the more
complex headers in libstdc++. However, due to an LD bug regarding
re-scanning of LTO archives we still have to keep -fno-builtin. This may
be fixed in future binutils versions (I haven't tested in a while).
2024-12-31 16:28:22 +01:00
Lephenixnoir
6d75c3aa82
gdb-bridge: add missing include
Appears to be transitively included on your usual Linux distros but
not on MacOS.
2024-09-23 11:22:28 +02:00
Lephenixnoir
1ceeabdc36
fxconv: recognize the new line-distance param for fonts 2024-09-14 07:29:47 +02:00
Lephenixnoir
92a95e0090
libfxlink: no-colors option + don't always enumerate devices [Windows]
Enumerating devices constantly caused some sort of error/crash that
would stop the monitor after just one frame or so.
2024-09-14 07:29:15 +02:00
Lephenixnoir
efcd6ec241
libfxlink, fxlink: install rules for MinGW build [Windows] 2024-09-14 07:29:10 +02:00
Lephenixnoir
9de441d0f4
libfxlink: basic device enumeration without hotplug [Windows] 2024-09-14 07:26:56 +02:00
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
b83796a382
fxgxa: use standard fopen() for reading files [Windows] 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
e201304423
fxsdk: use -flto=auto by default to avoid lto-wrapper warning 2024-07-09 21:13:31 +02:00
Lephenixnoir
09e2cf5fda
bump version to 2.11.0 2024-07-06 10:00:25 +02:00
Lephenixnoir
82c0e0ed67
fxsdk: add file size sanity check before sending 2024-07-06 09:59:39 +02:00
Lephenixnoir
181ed5cccd
fxsdk: add ELF patch mechanism for HH2 to specify filename for stage-2 2024-06-05 10:49:48 +02:00
Lephenixnoir
69f70eac10
fxsdk: enable LTO by default on new projects 2024-06-02 16:10:13 +02:00
Lephenixnoir
8d6bc9c14f
fxconv: add new return type convention for custom converters
Previously converters had to return:
- 0 on success, having called fxconv.elf() themselves
- 1 on failure

Now they also have the (preferred option) to return:
- a bytes or ObjectData on success, without calling fxconv.elf()
- None of failure
2024-06-02 16:10:13 +02:00
Lephenixnoir
96c035ff4a
fxsdk: add an [fxsdk script] command for misc. functions 2024-06-02 16:10:13 +02:00
Lephenixnoir
b8f546c67e
fxsdk: basic fx-CP support using HH2 as a loader 2024-06-02 16:10:13 +02:00
Lephenixnoir
a443fa59e1
fxconv: don't require py param to be set in manual calls 2024-04-21 12:13:44 +02:00
Lephenixnoir
ccbe0e594a
gdb: packet and bridge logging 2024-04-13 09:21:26 +02:00
Lephenixnoir
8b09299c3a
gdb: interpret client disconnect as W00 (normal exit) 2024-04-06 22:55:43 +02:00
Lephenixnoir
5acef051f1
gdb: use sh4al-dsp target
Also switch the order of -ex for a slightly cleaner output
2024-04-01 00:48:58 +02:00
Lephenixnoir
5fe02b055b
fxsdk: add -g by default for new projects 2024-03-31 19:54:17 +02:00
Lephenixnoir
76c23b88ac Merge pull request 'A few fixes for the new bridge that make using the builtin GDB invocation a bit nicer' (#13) from redoste/fxsdk:gdb-bridge-fixes into dev
Reviewed-on: https://git.planet-casio.com/Lephenixnoir/fxsdk/pulls/13
2024-03-31 18:32:46 +02:00
redoste
4d664f9e05
gdb: ignore SIGINT from the bridge when gdb is in foreground
^C can be used within gdb to break a running target, handeling it from
the bridge would kill the connection
2024-03-31 18:31:27 +02:00
redoste
d5697e6add
gdb: set architecture to sh4a-nofpu when starting gdb 2024-03-31 18:31:27 +02:00
Lephenixnoir
e847ad3f6e
gdb: provide [fxsdk gdb] wrapper 2024-03-30 11:47:04 +01:00
Lephenixnoir
056ce41c9e
gdb: style, messages, add option to wait for gdb:start 2024-03-30 10:52:10 +01:00
Lephenixnoir
87a2feff15
gdb: add original gdb bridge by @redoste
Authored-by: redoste <redoste@redoste.xyz>
2024-03-30 09:29:28 +01:00
Lephenixnoir
0134f37f7d
Merge remote-tracking branch 'czm/master' into dev (#12) 2024-03-27 19:17:17 +01:00
陈湛明
0e2379ea51 Improve the wording in README_zh.md 2024-03-26 21:40:11 +00:00
陈湛明
aeb8dda6c8 Add support for VSCode 2024-03-26 11:51:51 +00:00
陈湛明
cf0aea6c4c Remove redundant explanation about macro 2024-03-26 11:47:42 +00:00
陈湛明
daf69d1898 Add the date of translation for README_zh.md 2024-03-26 09:55:37 +00:00
陈湛明
bc8157c385 Fix several issues in VSCode_zh.md 2024-03-26 09:39:49 +00:00
陈湛明
df05f68c65 Change language suffix to "zh" 2024-03-26 08:45:57 +00:00
陈湛明
7e519f9f22 Merge branch 'master' of https://git.planet-casio.com/Chen-Zhanming/fxsdk 2024-03-25 21:10:34 +00:00
陈湛明
ea871becf5 Fix a typo in README 2024-03-25 21:08:55 +00:00
陈湛明
8e2b1d58b2 Translate README into Simplified Chinese
Add a tutorial on how to use fxSDK with VSCode.
2024-03-25 21:08:32 +00:00
陈湛明
eec1455bfd Change the link back 2024-03-25 15:12:46 +00:00
陈湛明
274f6aa8c2 Use Forgeio style link 2024-03-25 11:35:49 +00:00
陈湛明
6632c37e45 Use relative path 2024-03-25 11:23:46 +00:00
陈湛明
06d5b6f852 Add a tutorial on using fxSDK in VSCode 2024-03-25 11:20:47 +00:00
陈湛明
82fb8d2716 Add more translation to README_zhCN.md 2024-03-25 11:18:11 +00:00