Hi Jezus, Yes, I've been able to reproduce this and this indeed looks like false error message.
On Fri, 15 Nov 2019 at 23:13, J. Ipanienko <j.ipanie...@mexicomail.com> wrote: > Hi there, > > good new > > create-image does image, error printing but image creating > > command which no work is: > MYNEWT /home/ipan/dev/myproj> newt run bluepill_blinky 0 > Error: arm-none-eabi-objcopy: error: the input file > 'H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.img' > is empty > > I may load image with out error: > MYNEWT /home/ipan/dev/myproj> newt load bluepill_blinky 0 > Loading app image into slot 1 > MYNEWT /home/ipan/dev/myproj> > > then debug: > MYNEWT /home/ipan/dev/myproj> newt debug bluepill_blinky > > best lack > ipan > > > Sent: Thursday, November 14, 2019 at 11:13 PM > > From: "Jezus Ipanienko" <j.ipanie...@mexicomail.com> > > To: dev@mynewt.apache.org > > Subject: mynewt create-image no work at windows > > > > Welcome there, > > > > I have bluepill modul and I learned mynewt supporting it. > > I new at mynewt. > > I try newt release 1.7, work good. > > How I try build newt.exe at git master I have newt version 1.8.0-dev > > > > MYNEWT /home/ipan/dev/myproj> newt version > > Apache Newt > > Version: 1.8.0-dev > > Git Hash: unknown > > Build Date: unknown > > > > How I try do: > > newt.exe create-image bluepill_blinky 0.0.0 > > it do error: > > ... > > Linking > H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.elf > > Error: arm-none-eabi-objcopy: error: the input file > 'H:/msys64/home/ipan/dev/myproj/bin/targets/bluepill_blinky/app/apps/blinky/blinky.img' > is empty > > > > version 1.7 do image, version 1.8 do not image > > > > > > I am interesting if newt version 1.7 work on mynewt-core master (no 1.7 > release)? > > > > I have: > > MYNEWT /home/ipan/dev/myproj> go version > > go version go1.13.3 windows/amd64 > > MYNEWT /home/ipan/dev/myproj> arm-none-eabi-gcc --version > > arm-none-eabi-gcc.exe (GNU Tools for Arm Embedded Processors > 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] > > > > best luck > > ipan > > > -- pozdrawiam Szymon K. Janc