avr32-gcc is a private port of the GNU Compiler Collection (GCC) for the AVR32 family of proprietary 32-bit microcontrollers.
Questions tagged [avr32-gcc]
9 questions
6
votes
2 answers
How do I change the avr32-gcc C compiler for the C++ in Atmel Studio 6 without having to create a new project?
I have been migrating an IAR project to Atmel Studio 6. It took me some time to create all the folders and getting the right structure as it is in the IAR project. Then I realized that I created a C project when actually I have C++ code too. So the…

Snake Sanders
- 2,641
- 2
- 31
- 42
4
votes
1 answer
How to know the final program size after compilation on avr32
I am using avr studio 5. My controller is AT32UC3A0512. I want to know my final program size which will be occupied on flash before burning the program. Please let me know how to know this?

Surjya Narayana Padhi
- 7,741
- 25
- 81
- 130
1
vote
0 answers
dereferncing type-punned pointer will break strict aliasing rules
I am using AVR32 Studio studio to compile my code for AVRUC3 controller.
When I switched to Optimization level -O2(optimization more) ,this pointer warnings " dereferncing type-punned pointer will break strict aliasing rules " started to appear.
I…

Nirmal Panchal
- 11
- 2
1
vote
1 answer
AVR32/GCC Linker warning: input is not relaxable
I am trying to compile an AVR32 program with GCC 3.4.2 and getting the following linker warning:
input is not relaxable
Could someone explain what that warning means?
Linker flags: -Wl,--start-group -Wl,--end-group -Wl,--gc-sections…

sergej
- 17,147
- 6
- 52
- 89
1
vote
5 answers
How to interpret avr32-size output?
I have C program running on a AVR32 microcontroller (UC3C0512C).
Issuing the avr32-size -A PROGRAM.elf command generates the following output:
PROGRAM.elf :
section size addr
.reset 8200 2147483648
.rela.got …

sergej
- 17,147
- 6
- 52
- 89
0
votes
2 answers
Memory access exception handling with MinGW on XP
I am trying to use the MinGW GCC toolchain on XP with some vendor code from an embedded project that accesses high memory (>0xFFFF0000) which is, I believe, beyond the virtual mem address space allowed in 'civilian' processes in XP.
I want to…

Ciel
- 11
- 2
0
votes
0 answers
I2C multi master mode in AVR32 board
Hi am working in Atmel studio v6.1 for AVR32 controller (AT32UC3A0512). I am working on I2C to communicate with a camera (NanoCam C1U) device. Please note that since the Camera sends out an I2C message automatically when data is ready for a…

Aphoorva A
- 1
- 3
0
votes
1 answer
avr32-gcc: Global variable not initialized with function output
I try to initialize a global variable with the output of a function. It works as expected for gnu-gcc, but when compiled with avr32-gcc, the variable is initialized with 0. I want the variable to be initialized by a function since in the real…

vipers36
- 300
- 1
- 11
0
votes
1 answer
Atmel 32 bit gcc (avr32-gcc) inline assembler documentations?
I need to implement a small fragment of code in assembly for an 32 bit AVR (memory test testing RAM under the running C program, no other way to solve it), however I can't find any documentation on the AVR-32 specifics of inline assembler, and trial…

Jubatian
- 2,171
- 16
- 22