Development Environment
To build the development environment, you need to install software packages and agree to their licenses. Additionally, security settings may be required on your PC or workstation.
- Although we take great care during distribution, please also ensure to check for viruses and other threats on your side.
- Please consult your environment administrator regarding your security policies and operations (e.g., whether external applications can be installed).
Furthermore, when installing or running the development environment, the OS may be involved and require configuration (e.g., running applications from unknown developers. Many of the development environment tools or introduced tools do not have mechanisms to verify the developer). Please refer to general information for configuration methods.
To write applications using the MWX library, the following are required:
- MWSDK (Software Development Kit)
- Development editor (We recommend Microsoft Visual Studio Code)
Windows
The compiler toolchain is relatively less dependent on the environment, so it is expected to work on many systems; however, we recommend currently supported Windows 10 and 11 versions. If your environment differs and causes issues, please prepare an environment based on the ones we have verified.
Below are the versions used in development:
- Windows 11 21H2 (Visual Studio 2019)
- FTDI driver installed and working (required for MONOSTICK, TWELITE R operation)
You can run the compiler in WSL (Windows Subsystem for Linux) environments. However, writing firmware and similar operations should be done using utilities on Windows 10.
WSL environment is not mandatory.
Linux
The compiler toolchain is relatively less dependent on the environment, so it is expected to work on many systems; however, we recommend currently supported distributions. If your environment differs and causes issues, please prepare an environment based on the ones we have verified.
Below are the versions used in development:
- Ubuntu 18.04 LTS 64bit
- Ubuntu 20.04 LTS 64bit
macOS
The compiler toolchain is relatively less dependent on the environment, so it is expected to work on many systems; however, we recommend currently supported macOS versions. If your environment differs and causes issues, please prepare an environment based on the ones we have verified.
Below are the versions used in development:
- macOS 10.14 Mojave (Intel)
- macOS 12 Monterey (Apple Silicon)
Development Tools such as Visual Studio Code
For tools and usage to run the development environment, please refer to information from the developers or communities.
For efficient code writing, we recommend using Visual Studio Code (VSCode).
Since the MWX library requires more header files than typical C development, VSCode demands more PC resources for code interpretation.
VSCode is not mandatory. You may use any editor you are comfortable with.
If your environment supports LSP (Language Server Protocol), it can generally provide efficiency comparable to VSCode.
Differences Due to Build Environments
Build results on Linux/WSL/macOS differ from those on Windows 10. Although we have not observed differences affecting normal operation, disabling gcc’s LTO tends to increase binary size by a few percent.
If you have doubts about operation, please always build and verify reproduction on Windows 10 or 11 before contacting us.