![]() |
mTower
|
Below is a table showing the platforms supported. In order to manage slight differences between platforms, a PLATFORM flag has been introduced.
| Platform | Composite PLATFORM flag | Maintained | Quick start guide doc |
|---|---|---|---|
| NuMaker-PFM-M2351 | PLATFORM=numaker_pfm_m2351 | v0.1 | ./numaker_pfm_m2351.md "numaker_pfm_m2351.md" |
Below we will describe the general way of getting the source, building the solution and how to run test on the device. For device specific instructions, see the respective [platform].md file in the docs folder.
We believe that you can use any Linux distribution to build mTower, but as maintainers of mTower we are mainly using Ubuntu-based distributions and to be able to build and run mTower there are a few packages that must be installed to start with. Therefore install the following packages regardless of what target you will use in the end.
Preparing kconfig-frontends for Linux is a fast and simple process, similar (if not identical) to preparation of any software using autotools. Typically the whole process will require you to only download the source tarball, extract it somewhere and run ./configure && make && sudo make install in extracted folder.
If your system has gperf 3.0.4 or earlier, you may safely skip this chapter.
gperf 3.1 (released on 5th January of 2017) changed the type used as length argument in generated functions from unsigned int to size_t. This will cause your build to fail with following error message:
The procedure to fix is below:
The recommended set of options to configure kconfig-frontends for use with distortos would be:
Full description How to install kconfig-frontends
Choose the PLATFORM corresponding to the platform you intend to use. For example, if you intend to use NuMaker-PFM-M2351, then PLATFORM should be numaker_pfm_m2351. After that, generate context using default configuration options.
In mTower different toolchains are used for different targets (depends on architecture 32-bit solutions). In any case start by downloading the toolchains by:
We've configured default .config and Make.defs for each platforms, so that configuration will always automatically to the correct device specific make, that means that you simply start the build by running:
This is device specific.
This is device specific.
1.8.13