SDK Generation from Tizen RT Source Code
The SDKs used by the ARTIK IDE are created from Tizen RT source code and made available to the IDE through the Package Manager. You can create your own custom SDK that can be brought in through Package Manager in the same way, using the
You might use this program with a new release or alternative branch of the Tizen RT you cloned from GitHub as shown here, for example. Alternatively, you can just use it with an SDK already loaded to the ARTIK IDE to make a custom configuration (the modules included for build).
You'll first need to install a few dependencies. Use this command.
sudo apt-get install libncurses5-dev
Once you are ready, you use the command line to generate the SDK. There are two forms:
tizenrt-system-config.py -s SOURCE -e IDE [options] to generate a new SDK
tizenrt-system-config.py -p SDK_PATH [options] to add a custom configuration to an existing SDK
SOURCE is the path of the Tizen RT source code
IDE is the path of the ARTIK IDE
SDK_PATH is the path of the existing SDK
and options are:
--nconfig is the new configuration name (default: 'custom')
-t is the toolchain path (needed if not already in
--description is a descriptive phrase for the configuration
--nsdk is the new SDK name, not used if
-p is specified (default: 'custom')
--arch is the architecture of the board (default:
--sconfig is the start configuration (default: 'typical').
Creating New SDK
You create a new SDK from Tizen RT source code by configuring and building it, then choosing it for a project. Pull up the MQTT Example article for a good companion procedure to try out.
Configure and build the SDK
Follow these steps.
Go to the directory containing the tool.
tizenrt-system-config.py -s SOURCE -e IDE [options]
to start the program, which will launch the
kconfigtool. For example, if you installed your IDE under
./tizenrt-system-config.py -s ~/ARTIK/SDK/A053/v1.2/source/tinyara -e ~/ARTIK
If you wanted to additionally specify a description for the user:
./tizenrt-system-config.py -s ~/ARTIK/SDK/A053/v1.2/source/tinyara -e ~/ARTIK -d "this is a new SDK created by the command line tool"
Make changes to the configuration as described in the Kconfig tools article.
Save your changes to the default
.configfile as always, then exit.
Wait for the program to build the new SDK.
Select Created SDK
Once you have created or updated an SDK, it will be available when starting a new project.
The image below shows an added SDK in the selector. The name defaults to 'custom' unless you changed it using the
-b option when running
Be sure you restart the ARTIK IDE to see any added SDKs.
Creating New Configuration in Existing SDK
To simply bring a new configuration into the existing SDK, the procedure is similar to that above, except that you'll use a different form of the command line:
tizenrt-system-config.py -p SDK_PATH [options]
./tizenrt-system-config.py -p ~/ARTIK/SDK/A053/v1.2