Commit graph

247 commits

Author SHA1 Message Date
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
陈湛明
3013343e19 Partially translated README to Simplified Chinese 2024-03-24 18:46:11 +00:00
Lephenixnoir
85d7fcf9e9
libfxlink: fix race condition leading to lost messages
Basically if the calculator sends two messages in a row, it is possible
for a single libusb_handle_events() to get both. And the comm structure
wasn't designed for that, because it could buffer only one message at a
time, which the user needed to read after event handling.

The comm structure now has a 16-message buffer, which should be more
than enough for any single event handling loop. On the user level this
has implications in that fxlink_device_finish_bulk_IN() must be called
*in a loop* after each event handling cycle.

Reported in https://git.planet-casio.com/Lephenixnoir/gint/pulls/27
2024-03-24 19:25:35 +01:00
Lephenixnoir
2d293eeb35
libfxlink: remove confusingly unused IN message 2024-03-24 18:17:18 +01:00
Lephenixnoir
8d8fca3ea2
fxsdk: add build-fxg3a -s (send) option
Note that this only makes sense if there is only one .g3a in the current
folder. If both the cg and the fxg3a targets are used, this will send
both g3a files, which is a waste of time.
2024-03-24 11:12:11 +01:00
Lephenixnoir
8092621967
fxsdk: better defaults for build-fxg3a projects 2024-03-24 10:45:19 +01:00
Lephenixnoir
519b4201fc
fxsdk: cleanup for building fx code as g3a (#11)
- Feature name: "fx g3a" or "fx as g3a"
- No need for a special send function
- Remove leftover bld file
2024-03-21 08:51:49 +01:00
Slyvtt
883ca77167
corrected typo for send option 2024-03-21 08:30:00 +01:00
Slyvtt
8574824b31
removed build-fxascg-push target due to possible RAM allocation issues 2024-03-21 08:30:00 +01:00
Slyvtt
45b207b150
'fxsdk build-fx-as-cg' working and added send command line option 2024-03-21 08:30:00 +01:00
Slyvtt
a3aa537e84
Start working on a build target FX9860G_AS_CG for fxSDK & gint 2024-03-21 08:30:00 +01:00
Lephenixnoir
4c307af02b
fxconv: preliminary support for fonts in PythonExtra 2024-03-21 08:29:06 +01:00
Lephenixnoir
2acc439ed4
fxsdk: add TARGET_FXCG50_FASTLOAD macro for add-in push builds 2024-02-03 19:45:15 +01:00
Lephenixnoir
8030d6bdc6
fxconv: PythonExtra support for bopti-cg 2024-02-03 16:00:05 +01:00
Lephenixnoir
4a84bfdcd4
fxconv: fix stupid compact mode bug 2024-02-03 16:00:05 +01:00
Lephenixnoir
6e62fb7d6d
fxconv: PythonExtra support for bopti-fx 2024-02-01 17:48:45 +01:00
Lephenixnoir
975f29a471
fxconv: (fix indent) 2024-01-31 23:28:49 +01:00
Lephenixnoir
da79a6a0e8
fxlink: add --folder option to fxlink -s to select output folder 2024-01-30 22:19:19 +01:00