Others
Loading...
Loading...
Loading...
About Folder Structure
The TWELITE STAGE APP runs as a front-end application in the TWELITE STAGE SDK package. Here is its folder structure.
The MWSDK folder contains libraries for building software for the TWELITE wireless microcontroller, samples, and source code for the TWELITE APPS.
Records configuration information within the TWELITE Stage application.
The file name is the TWELITE_Stage app file name + .sav
.
see this for details.
MWSDK=
Edit to specify a different folder instead of the MWSDK/
folder. This is useful if you want to mix multiple library versions. The above example uses the MWSDK2020_10
folder.
LANG=
Specify LANG=en
to set the display language of TWELITE Stage to English.
Copy TWELITE_Stage.exe
(on Windows) with a different file name. For example, if you change it to TWS1.exe
, it refers to the configuration files TRS1.sav
and TRS1.ini
.
When you select the TWELITE STAGE APP's BINから選択 menu, the firmware files (.BIN) for the TWELITE radio microcontroller in this folder are enumerated.
Log files are stored in this folder when the serial port logging function is performed in the TWELITE STAGE APP.
This folder is also used to store databases when using the graphing function and to output csv files.
This folder contains toolchains for gcc, g++, and other cross-compilers.
Platform specific utilities are also stored in this folder. See Tools/reame-j.txt
for details.
This function is introduced as an extra function. It may work differently from what is described.
Search for build project folders (e.g., Act_samples) in the following order
the folder where the TWELITE STAGE app was launched
the folder where the TWELITE STAGE app executable is located
{MWSDK folder}/..
.
{MWSDK folder}/..
MWSDK searches starting from the folder where the TWELITE STAGE APP executable is located.
If the Wks_Acts
folder exists, this folder is referenced from the menu item Act Build & Rewrite
instead of the Act_samples
folder.
This folder is intended to be used to store build projects that you create yourself in Wks_Acts.
Command line arguments and ini file.
Command line arguments provides some minor settings of TWELITE Stage.
Arg | Desc. |
---|---|
The ini file is used to set some fundamental settings of TWELITE STAGE (like reference MWSDK folder).
The ini file name is {basename of TWELITE STAGE app executable} + .ini
, which is normally TWELITE_Stage.ini
.
The ini
file is described as a plain text file.
A key and value is stored in a single line separated with =
character (e.g. KEY=value
).
A key value string shall begin with line head. (No spaces or other character allowed before a key string.)
No space allowed between the =
character.
Comment line is started from ;
or #
characacter.
If you need to different setting type of TWELITE STAGE App, just copy an executable at same folder of the original TWELITE_Stage executable.
e.g. if you needs English interface vesion, you just copy TWELITE_Stage.exe
(Note: .exe is suffix of Windows executable) to TWELITE_Stage_en.exe
and create .ini
file with LANG=en
setting.
Key | Value. |
---|---|
-E 0
Disable graphical effect like fading out
-R {type}
Set rendering type by {type}
value:
0
: default
1
: OpenGL
2
: DirectX(Windows) Metal(macOS)
3
: Software.
-J
Enable game controller.
-x {x_pos}
, -y {y_pos}
Set position of TWELITE STAGE App graphical winodow at launch. The {x_pos}
and {y_pos}
is the screen coordinate of window top-left.
MWSDK
Change MWSDK folder to another one. The default folder is MWSDK
at the same folder where TWELITE STAGE App executable is located. If you need to use older or custom MWSDK, you can specify the name of its folder.
LANG
LANG=en
will change the user interface language from default(Japanese) to English.
GEOM_X
, GEOM_Y
Change the location of TWELITE STAGE App window is shown
000desc.txt
If 000desc.txt
is created in the project folder, TWELITE STAGE APP will display its contents in the list of project folders.
The file is written in UTF-8. There are two types of formats.
The first line is the title line.
The second and subsequent lines are descriptions of the details.
If the last line starts with http, it is a link to a website.
The format is like an ini file. The item name starting at the beginning of the line and up to the =
character is the item definition, and the rest is the content of the item.
Item Definition | Details |
---|---|
[JAPANESE]
, [ENGLISH]
block delimiter
title line
description of details.
DESC=
description of details. Can be multiple lines including line breaks.
URL=
Link to a website or file
URL=
Details
starting with https:
, http:
open that address
other than that
relative folder starting with {MWSDK_ROOT}/docs/
. If you specify a/b/c.html
, it will be converted to {MWSDK_ROOT}/docs/a/b/c.html
.