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 ...

learn more… | top users | synonyms

2
votes
2answers
585 views

Sublime Text editor to develop ARM-based software

Until this moment I used Atmel Studio to develop software for AVR-based devices. Now I'd like to go to ARM Cortext M. Additionally I'd like to try codesign and version control (I still not experienced ...
0
votes
1answer
118 views

STM32 PWM only works correctly when I leave in two unused variables: StartUpCounter and HSEStatus

I'm using the stm32f3discovery board to try and generate the signal for a ws2812 light strip. I've got src/system_stm32f30x.c, which I copied from the StdPeriph ...
0
votes
1answer
115 views

STM32F4xx input pin reads wrong state on first run but not subsequent

I am working on a program which reads the state of a pin at startup to determine an operational mode. When I run the code on first power up, it reads incorrectly, but subsequent resets without power ...
0
votes
0answers
50 views

gcc compatible USB stack for STM32F0x2

Is there a gcc-compatible USB device stack for this family? I'm embarking on a project, and I'm setting up my toolchain. I'd prefer something free that won't interfere with a license audit.
0
votes
0answers
44 views

Recommended setup for recording and processing 3 or more audio signals

I don't want to ask for specific products but the terminology in general: for a future experimental project I want to record multiple audio signals and I don't know yet which frequencies I'm ...
0
votes
0answers
214 views

How to config LAN8710A with PHY by STM32F4x7

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 ...
1
vote
0answers
386 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 ...
8
votes
2answers
2k views

Endian problem on STM32

I'm using arm gcc (CooCox) to program an STM32F4discovery, and I've been wrestling w/ an endian problem I'm sampling with a 24 bit ADC via SPI. Since three bytes are coming in, MSB first I had the ...
5
votes
2answers
785 views

Move embedded programming from Keil to Linux

I'm currently using Keil to develop for an STM32 discovery board. My project is close to finished, and I'd like to move to a Linux based building environment. I've been using the preconfigured ...
1
vote
0answers
186 views

Moving from AVR to ARM

I have a couple of LPC1114FN28s that I'd like to play with, with an aim to eventually moving from AVRs to ARM. They're DIP-28 ARM Cortex-M0 MCUs from NXP. I'd like to get one working without a ...
0
votes
2answers
2k views

STM32 crashing to Default_Handler

My STM32F4 Discovery is crashing when I try to run the sin or sinf function with the FPU enabled and with the FPU disabled. ...
1
vote
2answers
2k views

AVR GCC : Global / Static Array not getting initialized properly

Im having problem with global arrays in my C code. What i am trying to do is to use a display buffer (array of 8 uint8_t with each uint8_t representing a row) to light up the leds in 8x8 led matrix ...
4
votes
1answer
1k views

Unable to compile STM32F4 code sample with Eclipse

I'm trying to compile a simple STM32F4 sample using Eclipse with the GNU ARM Eclipse plugin from http://gnuarmeclipse.livius.net/blog/. I'm getting the following errors: and the structure is as ...
-1
votes
1answer
576 views

Merge 2 chars from UART and convert into HEX value [closed]

I receive two characters from the UART: char UD[2] = {'B','8'} I need convert this into a hexadecimal value, like: ...
5
votes
3answers
268 views

Digital signal controller with GNU toolchain?

Does any manufacturer offer a digital signal controller (which basically means a microcontroller with some DSP functionality like a MAC instruction and other stuff) to which I could compile software ...
0
votes
1answer
329 views

Yagarto: Do not include the standard header files

I am using a recompiled version of the GCC toolchain for the ARM platform, called Yagarto. The compiler comes with a "standard library" called Newlib, and "standard headers", such as ...
2
votes
2answers
618 views

Talking to the Cortex M3 (Stellaris EKS-LM3S1968) under linux

I've searched around quite a lot, but haven't found an easy(ish) way to load programs onto the Cortex M3 using Linux. I have tried using the summon-arm-toolchain ...
2
votes
1answer
209 views

Compiling MSP430 files linking problems

I'm trying to compile a simple C file to later upload to my MSP430 uC but when I try to compile I get something that looks like a linking problem: ...
6
votes
2answers
5k views

STM32F2: Makefile, linker script and start-up file combination without commercial IDE

I have been working with an STM32F2 (specifically, the STM32F217IGH6 on a development board) for about two months. By far my biggest problem had to do with the "setup", which includes makefile, linker ...
4
votes
1answer
296 views

Microcontroler with external bus

I am looking for some microcontroler with external bus for program memory, and witch is supported by GCC. I read this Atmel ATSam3U datasheet (I have no experience with this familly, yet) and there ...
12
votes
3answers
5k views

Is Code Sourcery G++ Lite still a viable project?

When I tried to download a newer version of Code Sourcery G++ Lite for ARM, I noticed that I was redirected to another company and it is really hard to find anything on that site about Sourcery G++ ...