Thanks! That helped. I had to define few more pins and was able to build app. Now I'm trying to test it without SX1276 actually connected, but looks like app crashes:
000000 ICSR:0x00421002 000000 Assert @ 0xfb63 000000 Unhandled interrupt (2), exception sp 0x200013c0 000000 r0:0x00000000 r1:0x00016289 r2:0x80000000 r3:0xe000ed00 000000 r4:0x0000fb63 r5:0x00000008 r6:0x00000000 r7:0x2000268c 000000 r8:0xffffffff r9:0xffffffff r10:0xffffffff r11:0xffffffff 000000 r12:0x00000000 lr:0x00008dcf pc:0x000081bc psr:0x81000200 Is it expected behavior when no SX1276 is present? 29.11.2017, 16:20, "Fabio Utzig" <ut...@apache.org>: > 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!