-
Install a rootstrap of your target Tizen version (e.g.
IOT-Headed-6.0-NativeAppDevelopment-CLI
) using Tizen Package Manager. -
Run scripts in this directory as follows, passing the version number as an argument.
scripts/copy_rootstrap.sh <version> scripts/generate_bindings.sh <version>
-
Create a copy of any existing config in the
configs
directory with the new version number as the directory name. -
Manually update
entrypoints.h
andsymgen.yaml
by referring to the official API docs and the rootstrap. (Runsymgen_helper.sh
to find out what to add tosymgen.yaml
. (scripts/symgen_helper.sh <version>
)) -
Run
ffigen_helper.sh
to generate the contents of theffigen.yaml
file.scripts/ffigen_helper.sh <version>
-
Update callbacks data.
- Run
./generate_callbacks.sh verify
to check type substitution. Build errors will have to be addressed by editinggen_callbacks.py
. If substitution is not found or assert fails - edit the type mapping (seeCallbackDataCollector.type_substitute()
and maps used there:KNOWN_TYPES
,SPECIAL_TYPES
). - Run
./generate_callbacks.sh
to updatecallbacks.cc
with callbacks data.
- Run