RAK online compiler for you to compile your customized firmware based on RUI

Hi @JohnW,

I’ve just sent an email to you, please check.

Also, we’ve shared a simple web compiler yesterday, and you can use it too. You can create an account by yourself. You can have a look at this topic for more details:

Prince [email protected]

Please Assist

Im getting this Error -> mkdir _build
CC gpio-board.c
CC board.c
CC i2c-board.c
CC adc-board.c
CC spi-board.c
CC timer-board.c
CC rtc-board.c
CC sx1276-board.c
…//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 20.00%
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%

Rui.h should be compiled in a zip package.

Hi @princerwsc,

Please update the source code of RUI product practice from Github, including rui.h, and try again.

Hi @Fomi,

I just compile a firmware 5205 from product practice applications by using Online compiler.

Then, I flashing this firmware into my 5205 module and it was successful. But the problem is the all readings from gps, LIS3DH and BME680 are zero.

Am I missing something here?
Thanks and regards
John
.

You need to update the code? Because the previous code has been modified. This may be the cause of the problem.

Hi @JohnW,

Please reset RAK5205 and have a look, then share me the log again.

I have try to flash the latest code but it is still the same

Serial port display after reset.

Yes, it works well now. The current error message 82 is because that you haven’t set DEV_EUI, APP_EUI, and APP_KEY.

About the issue “LIS3DH and BME680 are zero”, i’ve ever met too, it only occur at the first time after you compile a new firmware. So if you meet it, just reset.

After I reset the module, I try enter the command at+get_config=device:status and the LIS3DH and BME680 still gave an error data.

Hi @JohnW,

Can you send your compiled firmware to me please so that we can have a test too.
My email is [email protected]

I’ve sent you the compiled firmware.

Hi @JohnW,

We’ve got it, and we’ll update the source code on Github later, then you can use the new source code to compile and work.
Wait our news, thank you!

Okay noted…I will waiting for the updated source code…Thanks :slight_smile:

@JohnW hi!we have updated the source code on Github ,then you can use the new source code to compile and work. thank you!

Hi,

If the firmware with additional user-control is compiled to the device does it lose its LoRaWAN compliance?

Or is the online compiler using RUI API commands sandboxed from the LoRaWAN stack (like a VM etc)?

Thanks

Rob

Hi @robshep,

Actually, there is a standard LoRaWAN 1.0.2 stack in RUI SDK, and when you compile, it will be compiled into your firmware automatically. It will not lose its LoRaWAN compliance.

1 Like

Thanks for the updated source code. I will try to compile it.