The guid of customizing a firmware based on RUI!

As you know, RAK has supplied an IoT SDK named RUI for users to customize their own firmware according to their personalized usecase, even they can make a personalized product easily based on RAK IoT modules like RAK811, RAK4200, RAK4600, RAK4400, RAK8212, and RAK5010.
RAK has supplied a set of RUI APIs which you can find here:
https://doc.rakwireless.com/developer-tools/developer-tools/-
and some more and more product practice source code for reference:


and an online compiler which you can get a account here freely:
https://forum.rakwireless.com/t/rak-online-compiler-for-you-to-compile-your-customized-firmware-based-on-rui/662/131

Now, we have prepared a set of guide for you, please check the following links:

  1. If you want to customize based on RAK5010:
    https://doc.rakwireless.com/rak5010-wistrio-nb-iot-tracker/firmware-customizing

  2. If you want to customize based on RAK8212:
    https://doc.rakwireless.com/rak8212---itracker-pro/firmware-customizing

  3. If you want to customize based on RAK811:
    https://doc.rakwireless.com/rak811-wisnode-lora-module/firmware-customizing

Actually, you can think that RAK7204, RAK5205 and RAK7205 are some customized products which are customized by us based on RAK811 module according to the above resource, and we’ve open source the customized source code of them on Github (The above product practice source code link). So, you can customize a personalized product according to your good idea based on RAK IoT module surely.
RAK sincerely hope that “RUI software platform” + “RAK IoT modules” can help you to create more and more amazing IoT products!

I’ll update more and more information in this topic about RUI.

2 Likes

Hello, everyone!

Thank you for using RAK products.
RAK team has developed a simple web version RUI online compiler which is much easier to use than the commandline compiler:
http://47.112.137.11:12090/#/user/login
You can create an account by yourself now. More details, please have a look at the document “How to use RUI online compiler”:

1 Like

Hi @Fomi
I think there is a problem with RAK RUI online compiler. It seems some files in its directory missing.
Below is the output log of online compiler:
mkdir _build
CC sx1276-board.c
CC gpio-board.c
CC rtc-board.c
CC timer-board.c
CC i2c-board.c
CC adc-board.c
CC spi-board.c
CC board.c
Copying file 20.00%
…//Source/stm/STML151/board/board.c:16:10: fatal error: rui.h: No such file or directory
#include “rui.h” ^~~~~~~
compilation terminated.
stm/Makefile_stm32l151cb:246: recipe for target ‘_build/board.o’ failed
make: *** [_build/board.o] Error 1
make: *** Waiting for unfinished jobs…
Copying file 30.00%
Copying file 40.00%
Copying file 50.00%
Copying file 60.00%
Copying file 70.00%
Copying file 80.00%
Copying file 90.00%
Copying file 100.00%

I used the source files from Products_practice_based_on_RUI-master in RAKWireless GitHub.

Hi @mojtabazare1371,

I think maybe you forget to copy rui.h to your project folder. rui.h is in this folder:

Hi @Fomi
Yes, It’s working now!
Thanks.