Commit Graph

239 Commits

Author SHA1 Message Date
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: #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 Lephenixnoir/gint#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
Sylvain PILLOT 883ca77167
corrected typo for send option 2024-03-21 08:30:00 +01:00
Sylvain PILLOT 8574824b31
removed build-fxascg-push target due to possible RAM allocation issues 2024-03-21 08:30:00 +01:00
Sylvain PILLOT 45b207b150
'fxsdk build-fx-as-cg' working and added send command line option 2024-03-21 08:30:00 +01:00
Sylvain PILLOT 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
Lephenixnoir ecf04cb634
fxconv: make bopti-fx image data a pointer 2024-01-21 21:06:01 +01:00
Lephenixnoir 45fd52444f
fxlink: add (unused) scale parameter to SDL2 video capture 2024-01-21 21:05:36 +01:00
Lephenixnoir 9f4d17ca4f
fxlink: don't free glib pointer apparently not malloc'ed 2023-12-03 16:08:58 +01:00
Lephenixnoir 8f50f7694a
fxconv: fix c-c/c-v in range error messages 2023-10-17 21:56:38 +02:00
Lephenixnoir 88235041a3
fxconv: add i8/i16/i32, with range checks 2023-10-17 20:18:09 +02:00
Lephenixnoir be8c1f0d94
fxconv: alignment parameter in fxconv.ptr() (default 4) 2023-08-20 10:41:53 +02:00
Lephenixnoir 11e3b614c2
fxconv: add an elf_multi() function to produce multiple variables 2023-08-15 21:59:17 +02:00
Lephenixnoir cf3ab5d5e0
fxconv: copy elements in += ObjectData instead of referencing subobject
This way, after o1 += o2, when o1 is linked all the outer data of o2 is
linked alongside the outer data of o1, and the inner data remains
contiguous. This is important for arrays, where we don't want the outer
data of o2 to appear before the next inner field of o1.

With this commit, an update to o2 after o1 += o2 no longer updates o1.
This wasn't a feature in the first place.
2023-08-08 20:26:37 +02:00