Hi there,
I´m working on a custom firmware for the RAK811-H. Using Bootloader V3.0.2 and the example application provided on github as basis, I was able to write a simple script implementing the rui_gpio-API, which works perfectly well.
The next step was to make use of “rui_device_get_battery_level(float *voltage)” as defined in rui.h. Sadly though the Online Compiler returned this:
_build/app_RAK811.o: In function app_loop': /home/rui/vdb/rui_root/user/[email protected]/build/stm/RUI/build/..//Source/stm/STML151/application/app_RAK811.c:97: undefined reference to
rui_device_get_battery_level’
collect2: error: ld returned 1 exit status
stm/Makefile_stm32l151cb:254: recipe for target ‘_build/stm_xx.elf’ failed
make: *** [_build/stm_xx.elf] Error 1
Is there an issue with the RUI implementation for the RAK811-H or is this method deliberately not implemented as the RAK811 simply doesn´t support it?
Best,
Fredrik