Seems that things on the develop branch are not working as expected ... I'm 
tryin g build for the STMf32F3Discovery board using the develop branch of both 
apache-mynewt-core and mynewt_stm32f3 and neither the bootloader will nor the 
blinky app will build. 

DSimmons-Pro:air_quality dsimmons$ newt target show
targets/blink_f3
    app=apps/blinky
    bsp=@mynewt_stm32f3/hw/bsp/stm32f3discovery
    build_profile=debug
targets/boot_f3
    app=@apache-mynewt-core/apps/boot
    bsp=@mynewt_stm32f3/hw/bsp/stm32f3discovery
    build_profile=optimized
targets/my_blinky_sim
    app=apps/blinky
    bsp=@apache-mynewt-core/hw/bsp/native
    build_profile=debug
DSimmons-Pro:air_quality dsimmons$ newt build boot_f3
...
Linking boot.elf
Error: /Users/dsimmons/dev/air_quality/bin/boot_f3/apps/boot/boot.a(boot.o): In 
function `main':
/Users/dsimmons/dev/air_quality/repos/apache-mynewt-core/apps/boot/src/boot.c:73:
 undefined reference to `bsp_init'
/Users/dsimmons/dev/air_quality/bin/boot_f3/libs/os/os.a(os_fault.o): In 
function `__assert_func':
/Users/dsimmons/dev/air_quality/repos/apache-mynewt-core/libs/os/src/arch/cortex_m4/os_fault.c:121:
 undefined reference to `system_debugger_connected'
collect2: error: ld returned 1 exit status

DSimmons-Pro:air_quality dsimmons$ newt build blink_f3
...
Linking blinky.elf
Error: 
/Users/dsimmons/dev/air_quality/bin/blink_f3/libs/os/os.a(os_arch_arm.o): In 
function `os_arch_os_init':
/Users/dsimmons/dev/air_quality/repos/apache-mynewt-core/libs/os/src/arch/cortex_m4/os_arch_arm.c:214:
 undefined reference to `bsp_init'
/Users/dsimmons/dev/air_quality/bin/blink_f3/libs/os/os.a(os_fault.o): In 
function `__assert_func':
/Users/dsimmons/dev/air_quality/repos/apache-mynewt-core/libs/os/src/arch/cortex_m4/os_fault.c:121:
 undefined reference to `system_debugger_connected'
collect2: error: ld returned 1 exit status

dg
--
David G. Simmons
(919) 534-5099
Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin 
<http://linkedin.com/in/davidgsimmons> • Twitter 
<http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs>
/** Message digitally signed for security and authenticity.  
* If you cannot read the PGP.sig attachment, please go to 
 * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!!
 * Public key available at keyserver.pgp.com <http://keyserver.pgp.com/>
**/
♺ This email uses 100% recycled electrons. Don't blow it by printing!

There are only 2 hard things in computer science: Cache invalidation, naming 
things, and off-by-one errors.


Reply via email to