Questions tagged [gcc]

The GNU Compiler Collection (GCC) is a collection of open source compilers. Originally it only supported the C programming language but now also supports C++, Objective-C, Java and several other languages. The C and C++ compilers are popular for embedded development and support cross-compiling to many popular target processors.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
432 views

Atmel Studio: redefine weak function

I want to write my own implementation of SERCOM3_Handler. I put its definition in my main.c, try to compile it and get "multiple definition of SERCOM3_Handler" error. Why is this happening? The ...
1
vote
0answers
87 views

How to create address independent code for STM32F746?

I need to create an address independent, dynamically reallocable code for STM32F746: a code (program) that I will store in one place (i.e. external Flash), than load it into the RAM (internal or ...
1
vote
0answers
3k views

What shall be changed about stm32f4x7_eth_bsp.c

I am using STM32f407ZGT6. FreeRTOS is running perfectly on Board! I have included Ethernet files. According compilation of Windows Commander stating that it was compiled lacked free. But if one ...
0
votes
0answers
123 views

Bus fault when accessing mcu internal peripheral

I am struggling with a bus fault error on my samg55 µC based on arm cortex m4 architecture. The issue occurs sporadically and is not 100% reproductible. Let me give some details. Application code ...
0
votes
1answer
38 views

will i need header file “atxmega128.h” for porting from IAR to GCC?

i have a code for avr that write with iar, and have a header file,"ATxmega128A3.h. if i want to port this code to GCC (i am working with atmel studio),will i need to call this header file, or this ...
0
votes
0answers
247 views

How to share function or variable address between c and assembly filese in same project using GCC compiler on ARM Cortex M4

I am using a micro-controller with ARM Cortex M4 processor and GCC - GNU ARM compiler. Some functions are written in c in .c file and in assembly in .asm file. My questions are as follows : How can ...