Why I use opt for non GCC

Started by Sandy in AT91SAM ARM13 years ago 1 reply

Trent - Here are some of there reasons I like non-GCC compilers '-' Cumbersom with the 'zillion files that...

Trent - Here are some of there reasons I like non-GCC compilers '-' Cumbersom with the 'zillion files that accompany a GCC install. '-' GCC Sub optimal code generation, most (


GCC

Started by chipburnssc in AT91SAM ARM12 years ago 1 reply

I own both the IAR & Keil toolchains and am interested in GCC. Is there a coherent road-map anywhere for implementing GCC? Thanks, ...

I own both the IAR & Keil toolchains and am interested in GCC. Is there a coherent road-map anywhere for implementing GCC? Thanks, Chip Burns


How to use IAR source in a arm-elf-gcc project

Started by in AT91SAM ARM12 years ago 4 replies

Hi, I have a project in arm-elf-gcc (ported from avr-gcc), works well. I have an usb mass storage source in IAR, i want use this in my project...

Hi, I have a project in arm-elf-gcc (ported from avr-gcc), works well. I have an usb mass storage source in IAR, i want use this in my project with an SD card. How can I use this from arm-gcc, which is the simplest way? ( I have never used IAR EWBARM (only in z80 :), and all my projects are in gcc from embedded linux to the OS-less microcontroller systems ) Thanks Andras


please help in building a arm7/9 toolchain

Started by Rafael Dias Menezes in AT91SAM ARM8 years ago

Hi people, I'm trying to build a arm7/9 toolchain in my linux 2.6 (debian 5.0) machine.. The compilers version is gcc-4.3.2. I got the...

Hi people, I'm trying to build a arm7/9 toolchain in my linux 2.6 (debian 5.0) machine.. The compilers version is gcc-4.3.2. I got the gcc-4.4.0, binutils-2.20 and newlib-1.17. I'm using the tutorials http://elua.berlios.de/en_tc_arm.html to help-me. Basically, following the tutorial I stopped in the compilation of newlib. During the compilation I got this error: ?arm-elf-gcc -B/...


sprintf with gcc arm-elf

Started by eric_pasquier in AT91SAM ARM11 years ago 5 replies

I am porting an AVR ATMega32 application to AT91SAM7S256, using WinARM (but the problem is the same with YAGARTO). When I try to use the...

I am porting an AVR ATMega32 application to AT91SAM7S256, using WinARM (but the problem is the same with YAGARTO). When I try to use the sprintf function, I get lots of unresolved references (see below). In fact, this function is working well in WinAVR (gcc 3.4.6) and is using the following functions : C:/Avredit/WinAVR/bin/../lib/gcc/avr/3.4.6/../../../../avr/lib/avr5\libc.a: (spri...


AT91SAM7xek UC/OS-II port

Started by boerrick in AT91SAM ARM11 years ago 1 reply

I'm using the AT91SAM7x-ek evaluation board, and I like to run Uc/os- II. I work with GCC, now I am looking for uc/os port for the GCC.

I'm using the AT91SAM7x-ek evaluation board, and I like to run Uc/os- II. I work with GCC, now I am looking for uc/os port for the GCC.


GCC linker script options

Started by anand_pavaskar in AT91SAM ARM12 years ago 1 reply

HI, Is there any GCC Linker script option for loading the program in FLASH but running it on RAM for ARM processors. Regards ...

HI, Is there any GCC Linker script option for loading the program in FLASH but running it on RAM for ARM processors. Regards Anand


From GCC to code warrior

Started by Anand Pavaskar in AT91SAM ARM12 years ago 1 reply

Hi, I am moving my project from GCC to Codewarrior IDE for ARM, But it gave a lot of errors. Dose any one have any info for the settings...

Hi, I am moving my project from GCC to Codewarrior IDE for ARM, But it gave a lot of errors. Dose any one have any info for the settings in Codewarrior needed to do so. So that I can crack this problem. -- Have A Nice Day, Anand Pavaskar Ph: 91- 9886001512 Off: 91-51197300 (ext-7053)


AT91SAM7S64 Gcc project

Started by daufoo in AT91SAM ARM12 years ago 4 replies

Hi all, I have the atmel dev kit with j-link and I would like to shift the development platform from IAR to Gcc. I would like to know if...

Hi all, I have the atmel dev kit with j-link and I would like to shift the development platform from IAR to Gcc. I would like to know if where can I find more information. I have tried to build a sample project using WinARM, however what's the best way to load the binary file using the j-link? Any other resouces for doing that? (prefer not usi


AT91 USART Interrupt Source Code GCC

Started by jannethgil in AT91SAM ARM12 years ago 2 replies

Hi Does anybody has an simple example on using usart interrupts using the GCC compiler for an AT91 ARM7 microcontroller?. I just...

Hi Does anybody has an simple example on using usart interrupts using the GCC compiler for an AT91 ARM7 microcontroller?. I just need to get started. Any links, sugestions or source code will be appreciated Thanks :)


About the keyword "ramfunc"

Started by "sgimin.tw" in AT91SAM ARM11 years ago 2 replies

Dear sirs, I am the new user for the GCC. When I use the GCC to compile the code, there will show the error message because it can't parse...

Dear sirs, I am the new user for the GCC. When I use the GCC to compile the code, there will show the error message because it can't parse the keyword "__ramfunc". Could you tell me why the code use this keyword ? And if I remove all these keywords in codes, will any problem happen ? Or please tell me how to prevent this error message. Thanks for your help. ------------------------...


Struct alignment problem (GCC)

Started by "ICLI, Bekir (EXT)" in AT91SAM ARM9 years ago 38 replies

Hi all, I am generating my code with GNU-ARM.. I have searched and found that the solution to this struct mis-alignment problem...

Hi all, I am generating my code with GNU-ARM.. I have searched and found that the solution to this struct mis-alignment problem is: __attribute__((__packed__)) Is there any compiler option, that would do the same for all structs I define? Or do I have to write this attribute to all of them? I found in gcc.pdf -fpack-struct Pack all structure members together without holes. Warning...


GCC and AT91SAM7 USB CDC Core Example

Started by Ralph Hempel in AT91SAM ARM10 years ago 20 replies

All, I've hit a bit of a roadblock with the Atmel USB-CDC Core implementation using GCC 4.1.1 Specifically, everything else I've tested is...

All, I've hit a bit of a roadblock with the Atmel USB-CDC Core implementation using GCC 4.1.1 Specifically, everything else I've tested is working fine except the OUT Endpoint Interrupt Handler. No matter what I tweak, it loses packets, messes up the input buffers and generally causes me grief. I've improved things by going to a strict POLLED implementation for reading the OUT Endp...


Interrupt example that compiles with GNU tool chain for AT91SAM7S256 (on Olimex SAM7P256 board)

Started by "Jesper K. Pedersen" in AT91SAM ARM7 years ago 2 replies

I am very much interested in an example software showing the workings of even just a "simple" (massive understatement) interrupt. As I can...

I am very much interested in an example software showing the workings of even just a "simple" (massive understatement) interrupt. As I can only access my board via the Samba it must be either running from ram or able to be programmed in flash via Samba (I do not have any jtag connection available). My system consist of : Developement server running : Debian 5.0 arm-elf-gcc (GCC...


Re: Struct alignment problem (GCC)

Started by 42Bastian in AT91SAM ARM10 years ago 1 reply

Hi > I am generating my code with GNU-ARM.. > I have searched and found that the solution to this struct mis-alignment problem is: > ...

Hi > I am generating my code with GNU-ARM.. > I have searched and found that the solution to this struct mis-alignment problem is: > __attribute__((__packed__)) > > Is there any compiler option, that would do the same for all structs I define? > Or do I have to write this attribute to all of them? > I found in gcc.pdf > > -fpack-struct I strongly advise not to use a general option.


How do I get gcc to not treat warnings as errors ??

Started by jpepe333 in AT91SAM ARM10 years ago 1 reply

Hello, I'm using the Eclipse / Yagarto / gcc toolchain (as distributed by Atmel with their Evaluation Kit) to build a target, and generate...

Hello, I'm using the Eclipse / Yagarto / gcc toolchain (as distributed by Atmel with their Evaluation Kit) to build a target, and generate a .bin file for a AT91SAM7X256-EK (evaluation board). The following is the console output dialogue: make -C nutapp/httpd USE_UROM=yes USE_MMC=yes all make: Entering directory `/cygdrive/c/SAM Studio 0.2/workspace/NutOS/nutapp/httpd' make...


Posted new GCC project for SAM7S64

Started by embeddedjanitor in AT91SAM ARM12 years ago

Hi folks I have replaced the GCC project I posted a few days ago with a new one that has the following improvements: 1) It adds...

Hi folks I have replaced the GCC project I posted a few days ago with a new one that has the following improvements: 1) It adds support for the PIT. 2) It uses Thumb mode code (better fit for the device). 3) It does --gc-sections to strip out unused code/data. Since it uses -ffunction-sections and -fdata-sections, it will also strip out unused


Has anyone heard about a possible "SAM Studio", in the flavor of "AVR Studio"?

Started by Eric Engler in AT91SAM ARM11 years ago 7 replies

Those of us who use AVR devices are well aware of the terrific support for gcc that was added to the Atmel AVR Studio IDE over a year ago....

Those of us who use AVR devices are well aware of the terrific support for gcc that was added to the Atmel AVR Studio IDE over a year ago. It has excellent integrated debugging and a strong professional feel. It's free, but not open source. Many people use Eclipse with gcc for SAM devices, but I've not been happy with it. I'd love to see something like "AVR Studio" that targets the SAM dev...


console is not working on touch screen

Started by rohith S in AT91SAM ARM9 years ago 8 replies

hi i have done the porting kernel?successfully to at91sam9261ek but the the console is not?displaying ?on the touch screen it is only coming on...

hi i have done the porting kernel?successfully to at91sam9261ek but the the console is not?displaying ?on the touch screen it is only coming on hyper terminal please reply me wt might be the error is there any driver we need to include when we are configuring linux kernel through menuconfig ?if so which driver we need to include please reply ? kernel :linux2.6.20 uboot-1.5 gcc arm-linux-gcc-3...


AT91SAM7X256 internal flash read write with Rowley's CrossStudio

Started by ckchan_4 in AT91SAM ARM9 years ago 12 replies

Hi guys, Anybody have done the internal flash read & write from CrossStudio project ? I've downloaded Atmel's internal flash project, but...

Hi guys, Anybody have done the internal flash read & write from CrossStudio project ? I've downloaded Atmel's internal flash project, but those are for gcc and IAR compiler.. i tried to port over to CrossStudio, but i'm stuck at setting the function to run in RAM for IAR, it's __ramfunc for gcc, it's __attribute__ ((section (".ramfunc"))) what is for CrossStudio ? Thanks fo...