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:
and some more and more product practice source code for reference:

and an online compiler which you can get a account here by yourself freely:
You can use RUI online compiler according to this document:

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.


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:
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!

Hey All,
I am seeing this error when I include and when I omit the rui.h file. Additionally I do not have a board.h, where should that file come from. The links to customizing the firmware above do not point to anything talking about customizing firmware. The links only go to configuring the gateway and nodes.

What does it take to get the RAK811_app running? Thus far I have added the rui.h to the directory, zipped it and used the online compiler.


Hi @megaplow,

Sorry, these links are old, and i’ve just updated them.
In a word about how to do customization, you just need to do your customized Application (or use RAK811_app on Github directly), and compile it on RUI online compiler.

1 Like