This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error: L6218E: Undefined symbol uesb_flush_tx (referred from main.o) when compiling the uesb on Keil

I have two nrf51822AC mcu chips that are integrated on custom boards, and I need to communicate between those two chips (one set as a transmitter and the other as the receiver). I wanted to use simple shock-burst protocol but since it's discontinued I searched around and found out that I can use the micro uesb example and just set the protocol to SB. When I copied the code from github for the PRX and the PTX into keil and ran the compiler I got the following errors:

linking... .\Objects\uesb_rx.axf: Error: L6218E: Undefined symbol uesb_flush_tx (referred from main.o). .\Objects\uesb_rx.axf: Error: L6218E: Undefined symbol uesb_get_clear_interrupts (referred from main.o). .\Objects\uesb_rx.axf: Error: L6218E: Undefined symbol uesb_init (referred from main.o). .\Objects\uesb_rx.axf: Error: L6218E: Undefined symbol uesb_read_rx_payload (referred from main.o). .\Objects\uesb_rx.axf: Error: L6218E: Undefined symbol uesb_set_address (referred from main.o). .\Objects\uesb_rx.axf: Error: L6218E: Undefined symbol uesb_start_rx (referred from main.o). Not enough information to list image symbols.

I need to know how to fix those errors, or if there is a simpler way to communicate between the two nrf51822 mcus using SB with no ACK

Related