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
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
陈湛明
aeb8dda6c8
Add support for VSCode
2024-03-26 11:51:51 +00: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
2acc439ed4
fxsdk: add TARGET_FXCG50_FASTLOAD macro for add-in push builds
2024-02-03 19:45:15 +01:00
Lephenixnoir
f83ea7e3d3
fxsdk: restore almost-original CG icon, but with the GIMP template
2023-03-12 22:07:30 +01:00
Lephenixnoir
4b980d949b
fxsdk: another failed attempt at a better CG icon
2023-03-12 20:55:48 +01:00
Lephenixnoir
d6ed47b133
fxsdk: add build-cg-push to default .gitignore
2023-01-19 21:35:22 +01:00
Lephenixnoir
7b2294d8c0
fxsdk: don't generate G3A in fastload, use bin
2023-01-17 10:13:11 +01:00
Lephenixnoir
d91e6b7497
fxsdk: add build-cg-push command (no send yet)
2023-01-17 09:58:16 +01:00
Lephenixnoir
c9e9f347e4
fxsdk: GIMP icon template and new default icon
2023-01-02 17:56:25 +01:00
Lephenixnoir
e31d053a08
fxsdk: handle parentheses in paths for fxgxa
...
Quotes are still impossible because CMake is unredeemable in that
regard.
2022-11-25 10:56:59 +01:00
Lephenixnoir
1a443454c9
fxsdk: provide an FXSDK_TOOLCHAIN variable (= "sh-elf-")
2022-10-29 14:37:28 +02:00
Lephenixnoir
b8e2897560
fxsdk: add an OTHER_MACROS argument to find_simple_library()
2022-08-29 21:20:12 +02:00
Lephenixnoir
223cd31b6c
fxsdk: compatibility with CMake 3.24
2022-08-29 00:34:55 +02:00
Lephenixnoir
aae8b951c0
fxsdk: add --no-warn-rwx-segments in linker options
2022-08-21 09:40:29 +02:00
Lephenixnoir
147ff08869
fxsdk: add sysroot, support for listdc++, README tutorial, LICENSE
...
This commit mainly introduces an almost-normal sysroot where the
compiler and libs will be installed. This is done in order to properly
build libstdc++-v3 from the GCC tree while also cleaning up the
slightly chaotic current install system.
* Add an `fxsdk --version` command
* Redo the README like a translation of the French topic
* Up default project to gint 2.9 to help get migrations right
* Add new `fxsdk path` command reporting important folders
* Add new CMake variables FXSDK_SYSROOT, FXSDK_INCLUDE, FXSDK_LIB so
CMake can access the information of `fxsdk path`
* fxSDK is now in charge of removing the entire sysroot including the
cross-compiler
* Add a LICENSE file
2022-08-19 14:38:19 +02:00
Lephenixnoir
1a7939bbb9
fxsdk: fix long-standing typo in default .gitignore
2022-07-16 18:18:57 +01:00
Lephenixnoir
c517447a02
fxsdk: finally implement the send-fx and send-cg commands
2022-04-15 10:53:56 +01:00
Lephenixnoir
2cc5d7ac5b
implement fxgxa and use it in both build systems
2022-03-20 19:58:11 +00:00
Lephenixnoir
5feca5d2e1
cmake: allow single quotes in paths for generate_g3a()
2022-03-19 19:32:57 +00:00
Lephenixnoir
e8c7084942
fxsdk: avoid quote in heredoc for Mac OS
...
Not sure what's happening here.
2022-02-18 10:47:25 +01:00
Lephenixnoir
9e097109bc
cmake: allow assets at root of project in fxconv_declare_assets()
2022-01-05 19:15:35 +01:00
Lephenixnoir
afc6d51217
fxsdk: add more fxg1a/mkg3a flags in generate_{g1a,g3a}()
2021-11-18 23:16:17 +01:00
Lephenixnoir
30befdd2cf
cmake: automatically find libraries in FXSDK_PREFIX
...
This paves the way for out-of-compiler installs which might become a
relevant thing for packaging and dual gint/PrizmSDK users (if it ever
happens).
2021-05-25 20:57:22 +02:00
Lephenixnoir
55ed08abe5
cmake: lower minimum required version to 3.15
...
Version 3.15 introduces the <PREFIX>_KEYWORDS_MISSING_VALUES of the
cmake_parse_arguments() function, which is used in generate_g1a() and
generate_g3a(), so there is no way to bring it further down for free.
2021-05-10 15:25:47 +02:00
Lephenixnoir
ed10e727df
fxconv: enable custom types in the fxconv-metadata.txt system
...
Set the custom type with "custom-type: your_type_name" (instead of using
--custom on the command-line).
The converter.py in the current directory is still auto-detected as a
custom converter, but that won't work with CMake (which builds with the
build folder as current directory). Instead, a new option --converters=
with a semicolon-separated of Python files has been added. Use
fxconv_declare_converters() from the fxSDK-provided Fxconv module to
declare them programatically in CMake.
2021-05-04 17:38:28 +02:00
Lephenixnoir
d09ad9dd17
cmake: fix replacement pattern that finds sh-elf-objcopy
...
The previous one would fail if "gcc" was in the install path.
2021-04-17 15:59:35 +02:00
Lephenixnoir
1ad9079d90
fxg1a, mkg3a: change argument order for musl compatibility
...
The musl getopt does not swap arguments and requires every option to
precede every non-option. Do that in the CMake functions generate_g1a()
and generate_g3a().
2021-04-10 07:42:31 +02:00
Lephenixnoir
1a295958ee
use CMake to build the fxSDK
2021-04-03 11:39:26 +02:00
Lephenixnoir
6415476fe3
cmake: disable default x86/x64 flags on OSes that provide them
2021-03-06 11:50:52 +01:00
Lephenixnoir
c3d9b53758
fxsdk: forward errors during make
2021-01-31 19:06:21 +01:00
Lephenixnoir
0db7ae9e2b
cmake: detect compiler install path in a LANG-agnostic way
2021-01-30 23:01:28 +01:00
Lephenixnoir
8eed69b7a0
fxsdk: do not build if CMake fails
2021-01-28 22:15:41 +01:00
Lephenixnoir
51e60fcf06
cmake: add a utility to find simple libraries
2021-01-28 22:15:41 +01:00
Lephenixnoir
74766f381b
fxsdk: enable missing options on new projects
2021-01-27 22:21:39 +01:00