Hi,

I am trying to build the bootloader for Arduino 101, following the instructions 
on https://www.zephyrproject.org/doc/board/arduino_101_ble.html.

The target creation seems to have worked ok.

$ newt target show
targets/blehci
    app=@apache-mynewt-core/apps/blehci
    bsp=@apache-mynewt-core/hw/bsp/nrf51-arduino_101
    build_profile=optimized
targets/boot
    app=@apache-mynewt-core/apps/boot
    bsp=@apache-mynewt-core/hw/bsp/nrf51-arduino_101
    build_profile=optimized
targets/my_blinky_sim
    app=apps/blinky
    bsp=@apache-mynewt-core/hw/bsp/native
    build_profile=debug

But when I try to build the bootloader i get a linker error
$ newt build boot
Compiling base64.c
Compiling cbmem.c
....
Compiling fs_mount.c
Compiling fsutil.c
Archiving fs.a
Linking boot.elf
/home/ubjorken/projects/mynewt/mynewt-projects/arduino101_controllerfw/bin/boot/libs/os/os.a(os_arch_arm.o):
 In function `os_arch_os_init':
/home/ubjorken/projects/mynewt/mynewt-projects/arduino101_controllerfw/repos/apache-mynewt-core/libs/os/src/arch/cortex_m0/os_arch_arm.c:218:
 undefined reference to `bsp_init'
collect2: error: ld returned 1 exit status
Error: exit status 1

I get the same error when trying to build the blehci app. 

I am running Ubuntu 12.04

Best regards,
Ulf
----------------------------------------------------------------------
Intel Sweden AB
Registered Office: Isafjordsgatan 30B, 164 40 Kista, Stockholm, Sweden
Registration Number: 556189-6027

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Reply via email to