Lephenixnoir
959cd2975c
bump version to 2.6.0
1 year ago
Lephenixnoir
942c39be4e
fxconv: allow any tree of referencing structures
1 year ago
Lephenixnoir
bc7cd928f4
fxconv: add synonyms Structure=ObjectData and ptr=ref
1 year ago
Lephenixnoir
0fc48f3c4d
fxlink: avoid log spam when receiving video frames
1 year ago
Lephenixnoir
c81f9cdba4
fxlink: add video capture with frames displayed in an SDL2 window
2 years ago
Lephenixnoir
05d35eb642
bump version to 2.5.2
2 years ago
Lephenixnoir
a17eaabbd8
fxconv: allow adding symbols and ObjectData to ObjectData
2 years ago
Lephenixnoir
fcc6f33f9b
fxconv: expose standard converters
2 years ago
Lephenixnoir
c53a3fcdec
fxconv: return data in standard conversions
...
Instead of generating the ELF file right away. This makes these
functions brilliantly reusable.
2 years ago
Lephenixnoir
0acea3baf6
fxconv: allow output with assembly but no data
2 years ago
Lephenixnoir
d24ae5eef9
bump version to 2.5.1
2 years ago
Lephenixnoir
64ebb69f9b
fxconv: import specifically importlib.util
2 years ago
Lephenixnoir
ddf05cfadb
fxconv: allow adding bytearray to ObjectData
2 years ago
Lephenixnoir
d0d71b2889
fxlink: do not show every bulk transfer
2 years ago
Lephenixnoir
33fb115ab7
bump version to 2.5.0
2 years ago
Lephenixnoir
d2b6da5122
fxlink: add interactive mode to exchange data with gint
2 years ago
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).
2 years ago
Lephenixnoir
6383e1a30e
README: ah, yes, the famous apt setup on Arch Linux
2 years ago
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.
2 years ago
Lephenixnoir
29c7d46817
README.md: replace old command name for project creation
2 years ago
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.
2 years ago
Lephenixnoir
ff6d3c2199
cmake: provide the noudisks2 configuration
2 years ago
Lephenixnoir
7804ccf000
bump version number
2 years ago
Lephenixnoir
3322b18ccd
update README
2 years ago
Lephenixnoir
654ea8fa26
fxlink: basic implementation of the bulk transfer mode
2 years ago
Lephenixnoir
d09ad9dd17
cmake: fix replacement pattern that finds sh-elf-objcopy
...
The previous one would fail if "gcc" was in the install path.
2 years ago
Lephenixnoir
42bc49b89a
cmake: use PkgConfig to find libpng
...
The FindPNG module fails catastrophically on Mac OS because it searches
for the library and header independently, and ends up pulling a
completely unrelated header from a random framework.
2 years ago
Lephenixnoir
2c6a46963d
fxlink: replace __VA_OPT__ with the ugly paste hack
...
Good job Clang, you really messed up that one.
2 years ago
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().
2 years ago
Lephenixnoir
c059e2395d
fxlink: new tool with features from libusb and (optionally) UDisks2
2 years ago
Lephenixnoir
1a295958ee
use CMake to build the fxSDK
2 years ago
Lephenixnoir
6415476fe3
cmake: disable default x86/x64 flags on OSes that provide them
2 years ago
Lephenixnoir
c3d9b53758
fxsdk: forward errors during make
2 years ago
Lephenixnoir
0db7ae9e2b
cmake: detect compiler install path in a LANG-agnostic way
2 years ago
Lephenixnoir
8259e2dfc8
fxconv: add a generic name_regex parameter to simplify naming
2 years ago
Lephenixnoir
2596a53c6b
(irrelevant fixes)
2 years ago
Lephenixnoir
8eed69b7a0
fxsdk: do not build if CMake fails
2 years ago
Lephenixnoir
51e60fcf06
cmake: add a utility to find simple libraries
2 years ago
Lephenixnoir
74766f381b
fxsdk: enable missing options on new projects
2 years ago
Lephenixnoir
0902fdc904
cmake: provide a function to set up assets' language and dependencies
2 years ago
Lephenixnoir
4e1e3c86b4
avoid warnings when FXSDK_CMAKE_MODULE_PATH is unused
2 years ago
Lephenixnoir
70ff9ba6b8
fxsdk: define TARGET_FX9860G and TARGET_FXCG50 in Makefiles
...
The older FX9860G and FXCG50 are still supported for backwards
compatibility, but are deprecated.
2 years ago
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.
2 years ago
Lephenixnoir
f5085e693d
fxsdk: add DSP assemblers flags
2 years ago
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
2 years ago
Lephenixnoir
e8bbf63d95
update README
2 years ago
Lephenixnoir
47504ff179
fxconv: replace _encode_{word,long} with u16, u32
2 years ago
Lephenixnoir
53ea134c62
fxsdk: add options to fxsdk build
2 years ago
Lephenixnoir
1992aac4bd
cmake: define FXSDK_COMPILER_INSTALL for library installs
2 years ago
Lephenixnoir
fe36c99f98
cmake: reconfigure based on Makefile, not folder
...
This way [fxsdk build-*] will reconfigure if CMake fails the first time.
2 years ago