This repository contain the list of tests for comparing real time operating systems.
At the research comparing FreeRTOS and Mongoose OS by this parameters:
- Processes speed
- Interrupts
- Semaphores
- Messages
- Firmware size
As a hardware using ESP32 microprocessor. Testing board was IoTik 32A v2.0 of MGBot company.
To download esp32
toolchain for FreeRTOS, use the script:
$ ./scripts/freeRTOS.sh
At the next step install mos
the Mongoose OS tool:
$ ./scripts/mongoose.sh
Now you can automatically configure minicom
, use the line:
$ sudo echo -e 'pu port /dev/ttyUSB0\npu rtscts No' > ~/.minirc.esp32
After this you should restart your user session to complete installation. You can use this command:
$ pkill -KILL -u $USER
If you want to check research results follow the next instructions to build & flash tests.
Enter at the ./freeRTOS
folder first time and set sdkconfig as a defaults by:
$ cd freeRTOS
$ make defconfig
To build & flash your test at the controller use:
$ make flash
Here you should first build your firmware form ./mongoose
folder:
$ cd mongoose
$ mos build --platform esp32
And then flash it at the board:
$ mos flash