Files
Lu Dai 644ab1f178 ci: after script: avoid log fetching via serial
low speed serial is not appropriate for big chunk transfering
some commands generate huge output in regard to 115200 baudps
for example, `log read` can output 60MBytes in some cases

this change moves log fetching from serial to ethernet;
only basic ip reachablity logs were left;
removed an obsolete log, which terminates the script when `set -e`;
specify output file name for getdebuginformation;
remove a sendline in the loop which breaks the expect;
add a flush method in serialDevice class to flush read buffer;

Signed-off-by: Lu Dai <lu.dai@mind.be>
2026-01-06 10:52:56 +01:00
..
2024-09-06 16:05:30 +02:00
2022-06-03 15:03:40 +02:00
2025-12-10 09:45:39 +01:00
2025-02-27 12:27:36 +00:00
2021-01-08 10:17:33 +01:00

MultiAP Tools

This project contains maptools.py, a utility for building and deploying multiap SW components. The directory hirerchy expected by maptools.py is as follows:

multiap
└───framework
└───common
└───controller
└───agent
└───tools
│   │   maptools.py

Building and installing create build and install directories:

multiap
└───build
|   └───install
└───tools
│   │   maptools.py

Prerequisites

Install dependencies listed in requirements.txt:

pip install -r requirements.txt

None sudo users can add --user to the command

maptools build & install

By default, maptools build command uses ../build folder for building and installing. Therefore in order to run multiap binaries/libs, need to add LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<...>/build/install/lib to the command.

get a list of all supported subcommands:

./maptools.py --help

subcommand help:

./maptools.py <subcommand> --help

Examples

build map (default):

./maptools.py build

build only dep modules(nng, safeclib, dwpal):

./maptools.py build dep -n

Build map with nng messaging library (needs to have nng installed):

./maptools.py build map

Clean and rebuild controller only:

./maptools.py build map -c clean make

Distclean (removes ../build folder):

./maptools.py build map -c clean

To build with ninja (need to install the ninja tool in your distro first):

./maptools.py build map -G Ninja

Other generators (eclipse, codeblocks, ...) are available as well. Use cmake -G to list them. Note that the --make-verbose option only works with the Unix Makefiles generator.

Versioning

1.5.0

Authors

License

This project is licensed under the BSD+Pantet License - see the LICENSE file for details