codesourcery

CodeWarrior vs. CodeSourcery G++ for ColdFire Development

I am interested in any comparative analysis between Freescale's CodeWarrior tool chain and CodeSourcery G++ for developing embedded applications for the ColdFire family of processors. ...

GCC C++ (ARM) and const pointer to struct field

Let's say there is a simple test code typedef struct { int first; int second; int third; } type_t; #define ADDRESS 0x12345678 #define REGISTER ((type_t*)ADDRESS) const int data = (int)(&REGISTER->second)*2; int main(void) { volatile int data_copy; data_copy = data; while(1) {}; } Which is compiled in Code...

Linux USB debug connection to LuminaryMicro evaluation board

Hi, I am trying to connect a Stellaris LM3S8962 evaluation kit to a linux host machine. I am using the CodeSourcery G++ for the development toolchain. When I try to run a helloworld example the connection fails with this message: arm-stellaris-eabi-sprite: error: E104. I/O Error communicating with USB Device. arm-stellaris-eab...

CodeSourcery giving compilation error: missing bits/c++config.h

Hi Guys, in my project I'm making use of Eigen C++ library for linear algebra. ONLY when I turn on the vectorization flags (-mfpu=neon -mfloat-abi=softfp) for ARM NEON, I get a compiler error - c++config.h no such file or directory. I'm not able to understand whats going wrong, what is this bits/c++config.h? What should I do to fix thi...

Unknown GCC error, while compiling for ARM NEON (Critical)

Hi Guys, I have a ARM NEON Cortex-A8 based processor target. I was optimizing my code by making use of NEON. But when I compile my code I get this strange error. Don't know how to fix this. I'm trying to compile the following code (PART 1) using Code Sourcery (PART2) on my host. And I get this strange error (PART3). Am I doing somethi...