thanks Chris @utzig: the mcuboot app part worked to build the tools. Here is what I did, adjusting the tutorial https://mynewt.apache.org/latest/tutorials/blinky/arduino_zero.html
newt target create arduino_boot newt target set arduino_boot bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero newt target set arduino_boot app=@mcuboot/boot/mynewt newt target set arduino_boot build_profile=optimized newt target set arduino_boot syscfg=BSP_ARDUINO_ZERO=1 newt target create arduino_blinky newt target set arduino_blinky app=apps/blinky newt target set arduino_blinky bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero newt target set arduino_blinky build_profile=debug newt target set arduino_blinky syscfg=BSP_ARDUINO_ZERO=1 Then to get the app running I follow these instructions https://cdn-learn.adafruit.com/downloads/pdf/debugging-the-samd21-with-gdb.pdf Since I have a Jlink, I start the JLINK server: JLinkGDBServer -if SWD -device ATSAMD21E18 Run GDB arm-none-eabi-gdb-py (gdb) target extended-remote :2331 (gdb) load bin/targets/arduino_boot/app/boot/mynewt/mynewt.elf Loading section .text, size 0x41fc lma 0x0 Loading section .ARM.exidx, size 0x18 lma 0x41fc Loading section .relocate, size 0x28 lma 0x4214 Start address 0xb8, load size 16956 Transfer rate: 2069 KB/sec, 4239 bytes/write. (gdb) load bin/targets/arduino_blinky/app/apps/blinky/blinky.elf Loading section .text, size 0x42a0 lma 0xc020 Loading section .ARM.exidx, size 0x18 lma 0x102c0 Loading section .relocate, size 0x38 lma 0x102d8 Start address 0xc0d8, load size 17136 Transfer rate: 16734 KB/sec, 4284 bytes/write. But I just can't seem to run the newt build apps. Any help? On Tue, Aug 6, 2019 at 1:50 PM Christopher Collins <ch...@runtime.io> wrote: > On Mon, Aug 05, 2019 at 02:13:54PM -0700, Christopher Collins wrote: > > I am not sure how the brew distribution gets updated, but it looks > > like we have fallen behind here. I will look into getting this > > updated today. > > FYI- I have updated brew with newt and newtmgr 1.7. > > Chris >