Thanks for looking into this Will. I'm also seeing some misbehavior on the NRF52DK board and the bletiny app.
0:Unhandled interrupt (3), exception sp 0x20007f38 0: r0:0x00000000 r1:0x00000000 r2:0xdeadbeef r3:0x00000000 0: r4:0x20001538 r5:0x08000008 r6:0x00000200 r7:0x20001558 0: r8:0xffffffff r9:0x00022792 r10:0x0000db19 r11:0x00000000 0:r12:0x200009ec lr:0x0000d75b pc:0x0000d3b6 psr:0x81000000 0:ICSR:0x00000803 HFSR:0x40000000 CFSR:0x00008200 0:BFAR:0x08000008 MMFAR:0x08000008 Which causes the board to reset, and repeat ad infinitum. dg > On Oct 24, 2016, at 12:28 PM, will sanfilippo <[email protected]> wrote: > > I am not sure if the stm32f3 directories have been updated for the new system > configuration code. Develop is still not quite there yet (as you can see) so > we will take a look at this and get it worked out. Sorry about the > inconvenience. > > >> On Oct 24, 2016, at 6:51 AM, David G. Simmons <[email protected]> wrote: >> >> >> 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. >> >> > -- 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.
