Hello,
The telee02 has a dependency on one of the LoRa drivers. If you look at
"hw/bsp/telee02/pkg.yml" you'll see:
pkg.deps.LORA_NODE:
- hw/drivers/lora/sx1276
the nrf51dk doesn't have this dependency. You would need to add it
yourself to satisfy the api requirements.
On Wed, Nov 29, 2017, at 10:20 AM, K Dmitry wrote:
> Hello!
>
> I'm trying to build lora_app_shell using tutorial
> (https://mynewt.apache.org/latest/os/tutorials/lora/lorawanapp/) but
> build fails:
>
> $ newt build nrf51lora_app
> Building target targets/nrf51lora_app
> Error: Unsatisfied APIs detected:
> * lora_node_driver, required by: net/lora/node
>
> Driver is presented in repos:
> $ rgrep lora_node_driver ./
> ./repos/apache-mynewt-core/net/lora/node/pkg.yml: - lora_node_driver
> ./repos/apache-mynewt-core/hw/drivers/lora/sx1276/pkg.yml: -
> lora_node_driver
>
> Here are my targets:
> $ newt target show
> targets/nrf51lora_app
> app=@apache-mynewt-core/apps/lora_app_shell
> bsp=@apache-mynewt-core/hw/bsp/nrf51dk
> build_profile=optimized
> syscfg=LORA_MAC_TIMER_NUM=4:SHELL_CMD_ARGC_MAX=20:TIMER_4=1
> targets/nrf51lora_boot
> app=@apache-mynewt-core/apps/boot
> bsp=@apache-mynewt-core/hw/bsp/nrf51dk
> build_profile=optimized
>
> What am I doing wrong?
>
> Thank you!