Atmel Studio - new project from Makefile error (shell related)

ChibiOS public support forum for topics related to the Atmel AVR family of micro-controllers.

Moderators: utzig, tfAteba

Dolence
Posts: 5
Joined: Tue Feb 02, 2016 6:53 pm

Atmel Studio - new project from Makefile error (shell related)

Postby Dolence » Fri Jun 30, 2017 6:59 pm

I'm trying to create a new project from Makefile on Atmel Studio 7 using avr demo NIL-ARDUINO-UNO. This is the output:

Code: Select all

------ Build started: Project: NIL-ARDUINO-UNO, Configuration: Debug AVR ------
Build started.
Project "NIL-ARDUINO-UNO.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "F:\ChibiOS\demos\AVR\NIL-ARDUINO-UNO\NIL-ARDUINO-UNO.cproj" (target "Build" depends on it):
   Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
   Task "RunCompilerTask"
      Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
      C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe -C "F:\ChibiOS\demos\AVR\NIL-ARDUINO-UNO" -f "Makefile" all
      make: Entering directory 'F:/ChibiOS/demos/AVR/NIL-ARDUINO-UNO'
      O sistema não pode encontrar o caminho especificado.
      O sistema não pode encontrar o caminho especificado.
      ECHO está desativado.
      -------- begin --------
      avr-gcc (AVR_8_bit_GNU_Toolchain_3.6.0_1734) 5.4.0
      Copyright (C) 2015 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      -f foi inesperado neste momento.
F:\ChibiOS\demos\AVR\NIL-ARDUINO-UNO\Makefile(397,1): error: recipe for target 'sizebefore' failed
      make: *** [sizebefore] Error 255
      make: Leaving directory 'F:/ChibiOS/demos/AVR/NIL-ARDUINO-UNO'
   Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "NIL-ARDUINO-UNO.cproj" -- FAILED.
Done building project "NIL-ARDUINO-UNO.cproj" -- FAILED.

Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========


"O sistema não pode encontrar o caminho especificado." means "The system cannot find the path specified." and "ECHO está desativado." is "ECHO is off."


Error:

Code: Select all

Severity   Code   Description   Project   File   Line
Error      recipe for target 'sizebefore' failed   NIL-ARDUINO-UNO   F:\ChibiOS\demos\AVR\NIL-ARDUINO-UNO\Makefile   397



Any thoughts on how to solve this? Thanks!

utzig
Posts: 336
Joined: Sat Jan 07, 2012 6:22 pm
Location: Brazil
Has thanked: 1 time
Been thanked: 9 times
Contact:

Re: Atmel Studio - new project from Makefile error (shell related)

Postby utzig » Fri Jun 30, 2017 8:47 pm

the sizebefore target uses a unix shell command, not sure how well (if at all) that would work on Windows. Apart from that, it would be a good idea to run with some debugging to see what's not being found in those two "path not found" issues.


Return to “AVR Support”

Who is online

Users browsing this forum: No registered users and 1 guest