Commit Graph

41 Commits

Author SHA1 Message Date
Lephenixnoir e847ad3f6e
gdb: provide [fxsdk gdb] wrapper 2024-03-30 11:47:04 +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 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 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 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 c517447a02
fxsdk: finally implement the send-fx and send-cg commands 2022-04-15 10:53:56 +01: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 1a295958ee
use CMake to build the fxSDK 2021-04-03 11:39:26 +02:00
Lephenixnoir c3d9b53758
fxsdk: forward errors during make 2021-01-31 19:06:21 +01:00
Lephenixnoir 8eed69b7a0
fxsdk: do not build if CMake fails 2021-01-28 22:15:41 +01:00
Lephenixnoir 4a6bc4724d
fxsdk: expose CMake module folder for library installs
Adds a new CMake variable FXSDK_CMAKE_MODULE_PATH where libraries can
install CMake module files.

Also remove FindGint.cmake which is now in gint.
2021-01-27 08:46:57 +01:00
Lephenixnoir ad5d9bdb4c
fxsdk: update Makefile-based build system for fxconv
* Use [find] for sources since it's used for dependency files...
* Get fxconv parameters from fxconv-metadata.txt
* Approximate dependencies: every asset depends on every metadata file
* Update location of example image
2021-01-26 09:47:16 +01:00
Lephenixnoir 53ea134c62
fxsdk: add options to fxsdk build 2021-01-25 10:40:55 +01:00
Lephenixnoir fe36c99f98
cmake: reconfigure based on Makefile, not folder
This way [fxsdk build-*] will reconfigure if CMake fails the first time.
2021-01-22 16:12:06 +01:00
Lephenixnoir 6e24074688
remove the update command for Makefile build systems 2021-01-21 11:56:38 +01:00
Lephenixnoir e2ba617405
fxsdk: command-line interface for fxSDK 2.3
* Add the CMake build system
* Use CMake as the default for new projects
* Change [fxsdk new] but continue supporting the previous signature
* Automatically configure in [fxsdk build-fx] and [fxsdk build-cg]
* Improve help screen
2021-01-14 11:07:06 +01:00
Lephenixnoir 7a4e5cde3b
fxsdk: move default project.cfg out of fxsdk.sh 2021-01-11 21:49:14 +01:00
Lephenixnoir c9b1db8221
fxsdk: remove the WIP command-line interface
The fxSDK will no longer specify the final values for these parameters,
leaving them to the user in CMakeLists.txt or project.cfg, as reasonable
defaults are good enough.
2021-01-11 21:29:04 +01:00
Lephenixnoir 0d6a7728a1
fix return code for build-* and -s option
No idea how that slipped in there, damn.
2021-01-07 11:50:01 +01:00
Lephenixnoir 203572b2af
fxsdk: add a sensible .gitignore when creating projects 2020-12-30 20:58:37 +01:00
Lephenixnoir f11c70aac4
fxsdk: change INCLUDE flags to support folders inside GCC
Useful for OpenLibm as it is installed inside an [openlibm] folder but
needs to be included directly as it uses #include without the openlibm/
part.
2020-10-24 18:54:16 +02:00
Lephenixnoir cf12d5cfd1
fxsdk: disable warning about missing field initializers 2020-08-14 18:48:58 +02:00
Lephenixnoir b86b96aa4a
fxsdk: split additional libs into LIBS_FX and LIBS_CG
This is because several libraries have separate binaries, and so are
linked with different command-line arguments, just like gint is linked
with -lgint-fx on one side and -lgint-cg on the other.
2020-03-10 22:39:25 +01:00
Lephenixnoir 7d31294dc6
build: rewrite PREFIX in fxsdk.sh at compile-time
This makes it possible to change PREFIX at the last minute when running
install, effectively installing the files into a false packaging root
while retaining the same contents as if installed normally.
2020-02-19 22:26:29 +01:00
Lephenixnoir e66035da44 fxsdk: use sh-elf by default in project.cfg 2019-11-29 10:46:22 +01:00
Lephenixnoir 15712b4f5b
fxsdk: add an option to choose add-in output path 2019-09-12 15:38:15 +02:00
Lephenixnoir 46b19bab62
fxsdk: new build system 2019-09-12 14:34:26 +02:00
Lephe 627fe14290
fxsdk: add update command and fix LD flag order 2019-09-03 23:23:24 +02:00
Lephe 14bef439ab fxsdk fxconv: various improvements 2019-07-03 13:49:48 -04:00
Lephe abcc5f07c9 fxsdk: add shortcuts and update help message (#1) 2019-06-16 19:47:19 -04:00
Lephe eb6644b00b fxsdk: add smarter install commands (#1) 2019-06-16 19:32:32 -04:00
Lephe c4f659071c fxsdk: add smart build commands (#1) 2019-06-16 19:21:07 -04:00
Lephe 32239c3dfe fxsdk: basic script, project creation and build (#1) 2019-06-16 11:58:30 -04:00