Problem with ASF-2.11.1 into AVR32 studio 2.6

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello, I am new into AVR32 2.6 Studio and I'm trying to include projects from ASF-2.11.1 as described in the AVR32769 application note.

I have search the forum and found a couple of hiccups in the proccess regarding the linked forums but that doesn't solve my problem either.

Thing is that I am able to build projects from the included ASF but not from an external one and if I try to make the project through a DOS command I get the same errors as in AVR32 Studio.

For example if I try to build the ADC project into EVK1104 as per the tutorial I get the following errors:

Description Resource Path Location Type
make: *** No rule to make target `../../../../../../../../avr32/utils/linker_scripts/at32uc3a3/256/gcc/link_uc3a3256.lds', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `../../../../../../../../avr32/utils/make/Makefile.avr32program.in'. test3 line 0 C/C++ Problem
make: *** No rule to make target `../../../../../../../../avr32/utils/make/Makefile.in', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/adc/adc.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/adc/example/adc_example.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/flashc/flashc.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/gpio/gpio.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/intc/exception.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/intc/intc.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/pm/pm_conf_clocks.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/pm/pm.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/pm/power_clocks_lib.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/drivers/usart/usart.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/services/delay/delay.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/utils/debug/print_funcs.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/utils/startup/startup_uc3.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
make: *** No rule to make target `avr32/utils/startup/trampoline_uc3.o', needed by `avr32_drivers_adc_example_evk1104.elf'. test3 line 0 C/C++ Problem
No such file or directory Makefile.in /test3/asf-2.11.1/avr32/utils/make line 456 C/C++ Problem

I'll be very grateful if someone could point me into a possible solution

cheers
Santiago

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

santiall wrote:
No such file or directory Makefile.in

:roll:

so you want to build with "make" but without the most important file of the build system? I'm really not surprised that you definitely don't have any rule to make targets!

-sb

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

don't roll eyes that fast...
the file is there and the paths are defined. THere must be a screw up with the path definitions though but probably too blind now to see it. Anyway, just don't understand why if importing example it builds properly but following Atmel's application note it doesn't...

thanks for the answer anyway

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

as long as you're not exactly explaining what you're doing, nobody here can help you

-sb

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sam, I am just trying to build the ADC project from the ASF 2.11.1 into AVR32 studio 2.6 as per AVR32769.
I'm sure there must be a path missing somewhere... doesn't make sense otherwise.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

what does Help -> AVR32 Studio -> Check Environment say?

do you use the avr32 studio internal toolchain?

you can set paths under Window -> Preferences -> Tool Paths
e.g. to use a standalone toolchain set a new path to the toolchain's bin folder

-sb

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

make sure that make get's called exactly at the location where your Makefile is stored (gcc folder, the samples use relative paths):
Project -> Properties ->C/C++ Make Project
-> Build command: make -C path_to_gcc_folder

-sb

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

spent whole weekend on this and still nothing... frustrating.

The environment is:

AVR32 Studio has checked your system to ensure the proper versions of required utilities are in place.

The built in distribution of "AVR Toolchain" is being used.
avr32-gdb: Found version 6.7.1.atmel.1.0.4
avr32-g++: Found version 4.3.3
avr32-gcc: Found version 4.3.3
avr32-as: Found version 2.20.1.20100303
avr32-nm: Found version 2.20.1.20100303
The built in version of "AVR Utilities" is being used.
avr32program: Found version 4.2.1
avr32gdbproxy: Found version 4.2.0
avrfwupgrade: Found version 2.1.0

You are using the MinGW version of the AVR Utilities and AVR Toolchains.

Have fun!

actually I just installed AVR32 and extracted the ASF, then followed the tutorial... I'll keep investigating.

Vielen Dank, Sam

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Your environment looks ok. I assume MinGW works, so you should be fine (I can't tell since I never build my projects on windows machines).

I have removed native windows build suport from our build system and force our windows guys to use cygwin.

Once again, make sure that you call make from your gcc folder (where Makefile and config.mk is present) -> use -C path_to_gcc_folder or try to build on the command line (then you need to set the path to your toolchain's bin folder inside the shell)

Quote:
No such file or directory Makefile.in /test3/asf-2.11.1/avr32/utils/make
let's me assume that the correct make get's called (make is not available on windows machines out of the box) but the relative path to the Makefile.in file seems not work.

-sb