Hi All
After some fiddling I managed to get a project building with AVR32 studio 2.5 (see https://www.avrfreaks.net/index.p...).
After upgrading to AVR32 studio 2.6 the same project has stopped building (it builds with the same GCC binaries when called from a make file) but it looks as though the compiler (!) encounters an error when the build is controlled by studio:
avr32-gcc -D_HW_AVR32 -D_GNU -Iproject -O0 -march=ucr2 -Wall -Wstrict-prototypes -g -c -Os -mpart=uc3a0512 -oHardware\AVR32\AVR32.o ..\Hardware\AVR32\AVR32.c
..\Hardware\AVR32\AVR32.c: In function 'fnConfigSCI':
..\Hardware\AVR32\AVR32.c:1280: error: insn does not satisfy its constraints:
(insn 56 366 57 14 ..\Hardware\AVR32\AVR32.c:1146 (set (mem:SI (reg:SI 7 r8) [7 S4 A32])
(ior:SI (mem:SI (reg:SI 7 r8) [7 S4 A32])
(const_int 256 [0x100]))) 98 {iorsi3} (nil))
..\Hardware\AVR32\AVR32.c:1280: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395
There have been no configuration changes - the same project builds when commanded from V2.5 but fails with V2.6 (the same error is encountered in various files and the project does build if optimisation is disabled).
What I would really like to know is how the IDE can cause a build to fail when the same GCC binaries work fine otherwise. It must somehow be manipulating the GCC commands but I don't actually see any difference in the command in the Console view.
Does anyone know how to simply force studio to work with an external make file???
Regards
Mark