Error with on line compiler

Hi,
I was trying to compile the last github code app_RAK811.c but I can’t compile I have this error

Blockquote
_build/startup_stm32l151xba.o: In function LoopFillZerobss': /root/tmp_vdb/rak10004/RUI_V2.0-master/RUI/build/..//Source/stm/STML151/board/cmsis/startup_stm32l151xba.s:97: undefined reference to main’
_build/board.o: In function uart_data_recv_process': /root/tmp_vdb/rak10004/RUI_V2.0-master/RUI/build/..//Source/stm/STML151/board/board.c:537: undefined reference to rui_uart_recv’
collect2: error: ld returned 1 exit status
stm/Makefile_stm32l151cb:255: recipe for target ‘_build/stm_xx.elf’ failed
make: *** [_build/stm_xx.elf] Error 1

Blockquote

in the log

I just pulled the latest code from git and compiled it successfully.

RAK811 code url: https://github.com/RAKWireless/Products_practice_based_on_RUI
commit : 165f50823c82e84fc072f9fb9072b3059d4e1cf3

RAK811 code in dir Products_practice_based_on_RUI/based on RAK811/app_RAK811.
Compile command:
2019-09-26%2009%3A49%3A07

Hi @ZhuQI,

Thanks for you reply but I have the problem I dowload today the file app_RAK811.c and I have the same error

I put this

and in the folder only have the .log file with the error

Thanksand sorry for my english

Please put app_RAK811.c in the application folder and compile it.
2019-09-27%2009%3A01%3A35

Hi, @ZhuQI

Thanks it compiles now

Hi, @ZhuQI,
I am able to compile 811-H app file.
After Flashing Bin file using

Flash Loader Demostrator Version 2.8.0

I am not able to see any debug print in serial port.

Thanks,

Hi,@urvil
Please update newest bootloader first,then flash the 811-H app file.
newest bootloader:https://downloads.rakwireless.com/en/LoRa/RAK811/Firmware/RUI_RAK811_BOOT_Version3_0_1.rar
flash bootloader tool:https://downloads.rakwireless.com/en/LoRa/RAK811/Tools/SetupSTM32CubeProgrammer-2.1.0.rar
Flashing Bin file tool:https://downloads.rakwireless.com/en/LoRa/RAK811/Tools/Flash%20Loader%20Demonstrator.zip
operate step refer:https://downloads.rakwireless.com/en/LoRa/RAK811/Application_Notes/Get_Start_with_RAK811_WisNode-LoRa.pdf