Folder Structure
TWELITE STAGE APP operates as the frontend application of TWELITE STAGE SDK.
Here, we explain its folder structure.
MWSTAGE/ : TWELITE STAGE SDK installation
TWELITE_Stage.??? : Executable (Windows .exe, macOS .command, Linux .run)
TWELITE_Stage.sav : Configuration file
TWELITE_Stage.ini : Other settings
TWELITE_Stage/ : Related files of TWELITE STAGE APP
MWSDK/ : MWSDK libraries etc.
BIN/ : Storage destination when [Select BIN file] is used
log/ : Log and database storage destination
Tools/ : A set of tools including gcc compiler
flask_wsns_db/ : Simple server using Python, Flask, sqlite3
MWSDK
folder
MWSDK/
Act_samples/ : Sample code using mwx library
Wks_TweApps/ : Source code of TWELITE APPS
Act_extras/ : More specialized samples using mwx library, and those referencing other libraries
TWENET/ : TWENET library (mwx library etc.)
ChipLib/ : Semiconductor library
MkFiles/ : Core processing part of Makefile
docs/ : Library manuals etc.
LICENSE : License description of MWSDK
000manifest : Version information of MWSDK
ReleaseNotes.md : Update history (top page)
ReleaseNotes_en.md : Update history (English)
ReleaseNotes_jp.md : Update history (Japanese)
The MWSDK folder contains libraries for building TWELITE software, samples, and source code of TWELITE APPS.
TWELITE_Stage.sav
Stores the configuration information of TWELITE STAGE APP.
The file name is the TWELITE STAGE APP executable name + .sav
.
TWELITE_Stage.ini
Details of .ini
file are here.
MWSDK=
Edit this when you want to specify a different folder instead of theMWSDK/
folder. This is useful when mixing multiple library versions. In the above example, theMWSDK2020_10
folder is used.LANG=
SpecifyLANG=en
to set the display language of TWELITE STAGE APP to English.
Running TWELITE STAGE APP with different settings
Copy TWELITE_Stage.exe
(for Windows) with a different file name. For example, if changed to TWS1.exe
, it refers to configuration files named TRS1.sav
and TRS1.ini
.
BIN
folder
When selecting the [Select from BIN] menu in TWELITE STAGE APP, firmware files (.BIN
) in this folder are used.
log
folder
When running the serial port logging function in TWELITE STAGE APP, log files are stored in this folder.
This folder is also the storage destination for database files when using the graph function and for outputting csv files.
Tools
folder
Contains cross-compiler toolchains such as gcc
, g++
.
Platform-specific utilities are also stored in this folder. For details, see Tools/readme.txt
.
flask_wsns_db
folder
Python sample script to access the database created by the sensor graph viewer of TWELITE STAGE APP. This sample allows viewing tables and graphs in a web browser.
For details, see flask_wsns_db/README.html
.
Build project folder
Folder search order
TWELITE STAGE APP searches build project folders (Act_samples
etc.) in the following order:
- The folder where TWELITE STAGE APP was started
- The folder where the TWELITE STAGE APP executable is located
{MWSDK folder}/..
{MWSDK folder}
Wks_Acts
If you create a Wks_Acts
folder, this folder is referenced from the [act Build & Rewrite] menu instead of the Act_samples
folder.
Wks_Acts
is intended to store projects you create yourself.