298 Threads found on edaboard.com: Gcc And
hi all experts,
when i disable USART rx interrupt and enable again then DOR flag set in UCSRA reg. so please tell me how to clear this flag.i am using winavr gcc
Microcontrollers :: 02-11-2017 09:13 :: arun_190175 :: Replies: 3 :: Views: 384
If you're only using gcc because that's what you happen to have maybe looking at a different way of doing
it would be useful?
I think FPC/lazarus can cross compile to ARM (not really sure though) and has the ability to do
inline assembly. It does work and cross compile between linux/windows OS's.
Maybe that would be worth a look.
Microcontrollers :: 05-25-2016 07:24 :: 123jack :: Replies: 3 :: Views: 655
This is the code that is a result of you compilation process in Assembly.
So you wrote your C code, and passed it to the gcc, the gcc then made this assembly code out of your helloworld program.
Microcontrollers :: 03-31-2016 11:19 :: 153rd :: Replies: 1 :: Views: 575
Anyone could help me solve the following problem. I try to simulate time delay estimation in Simulink based on gcc-PHAT method (see Fig1 for explanation). My FFT is correct as I checked it but I'm not sure why I can't get the correct sample delay (in this case 15). My Simulink model is shown in Fig2.
Any advise and help will be highly
Digital Signal Processing :: 02-24-2016 05:04 :: helmi_mjd :: Replies: 0 :: Views: 686
I am totally new to the ARM cortex processors,and started setting up the environment for STM32F407VG discovery board.
The compiler i am using is CoIDE with gcc-arm-none-eabi-4_7-2012q4-20121208-win32
when building the program in the IDE an error showed up.
collect2.exe: error: ld returned 1 exit status
Is it somethi
Microcontrollers :: 12-23-2015 09:11 :: Ravindrakant Jha :: Replies: 1 :: Views: 542
When i import a design into SDK (ISE design suite 14.7) and create a board support package, i get the error below:
Staging source files.
Running include - 'make -s include "COMPILER=mb-gcc" "ARCHIVER=mb-ar"
"COMPILER_FLAGS=-mlittle-endian -mno-xl-soft-mul -mxl-barrel-
PLD, SPLD, GAL, CPLD, FPGA Design :: 11-23-2015 12:16 :: Zarrin :: Replies: 0 :: Views: 637
There i no way, you can use Atmel Studio 6 on Linux.
There are alternative IDE's (ie Eclipse, or Code::Blocks) that work on Linux.
and avr-gcc is working fine on linux (you can even download Atmels version for linux)
Debugging is going to be a challenge though.
Linux Software :: 09-27-2015 16:24 :: Bingo600 :: Replies: 4 :: Views: 3421
I want to convert 24Hr-to-12 mode in RTC DS1307 with atmega16(11.0592Mhz).
Its ok with 24Hr mode.
For its solution i had referred its datasheet....and
read about 24/12 hour bit but in my code i cant find that where i have to make that change so that i can convert that time in 12HR.
Compiler AVR gcc
Microcontrollers :: 07-29-2015 14:29 :: hardik.patel :: Replies: 1 :: Views: 545
Botha have support only for STM32. Atolic is gased on Eclipse & GNU gcc, Keil is using their own compiler. Both have free license with limit of 32K. But if you are using STM32F0, you can get free unlimited license for Keil. For STM8 you can use SDCC which is free.
Embedded Linux and Real-Time Operating Systems (RTOS) :: 07-21-2015 21:42 :: cfant :: Replies: 3 :: Views: 1034
I'm looking for a specific file used for compiling the SIM900 core for use with embeddedAT (using the arm-none-eabi toolchain rather than RVCT).
The file is called "embat.lds", and would normally be found in the ..\EmbatSIM\comptool\gcc\lib\ directory (according to the app_make_inc_s file).
Does anyone have this file?
Digital communication :: 06-16-2015 19:19 :: rdcorle :: Replies: 0 :: Views: 600
I remember pablin did pong & tetris in a TV with a pic16f...
I myself made some games with a GLCD with a PIC16F88 in Assembler and later ported them to Avr-gcc for a Atmega32... please note my implementation could be very diff
Microcontrollers :: 05-05-2015 17:48 :: Kurenai_ryu :: Replies: 2 :: Views: 699
Yep, both LPC and STM are nice micros for starters (like me) if you still work in a breadboard, take a look on the LPC1114, this dude explains everything to make it work with ARM gcc and the lpc' bootloader...
if you plan to buy a development board, I can sugge
Microcontrollers :: 04-02-2015 19:01 :: Kurenai_ryu :: Replies: 3 :: Views: 1151
I have used the library from ihsan Kehribar (which is made in avr-gcc) and it worked at the first try...
Microcontrollers :: 03-18-2015 03:43 :: Kurenai_ryu :: Replies: 3 :: Views: 900
I am trying to implement a GPS module with AVR Atmega32.
I am finding difficulty in splitting the text read from GPS module, namely the $GPGGA line.
I need to split segments of this line that are separated by commas and use the latitude, longitude and altitude for further processing.
Any help in few line code to split this line will be very us
Microcontrollers :: 03-13-2015 13:26 :: ark5230 :: Replies: 5 :: Views: 928
the most easiest way is to install the compiler on your target and compile your program directly on your target.
But this is not the normal way.
The correct way is that you have a development system on your PC.
The development system consists of three different parts.
1.) Crosscompiler like gcc, binutils and libc.
Linux Software :: 02-24-2015 15:54 :: messi1 :: Replies: 3 :: Views: 1943
Build target 'Target 1'
--- Error: failed to execute 'gcc'
Target not created
can anyone help me to remove this errror.
Microcontrollers :: 12-28-2014 07:34 :: kushal nandanwar :: Replies: 5 :: Views: 829
Best is a subjective term.
Try Code Blocks (a fork named em-IDE is also available) or Codelite gcc ARM Embedded
Software Links :: 12-05-2014 10:33 :: Ishaan Karnik :: Replies: 3 :: Views: 58
Thanks for the replies, I will look at the sample code.
I am using EmBlocks and the bare metal gcc compiler.
My core clock is 168MHz and the peripheral clock is 84MHz.
I have tried using the timer and also PWM.
The fastest I can go with these methods is ~2MHz?
Using C, if I just toggle the pin, I get < 2MHz. (...)
Microcontrollers :: 10-20-2014 10:30 :: btbass :: Replies: 4 :: Views: 791
while selecting Microchip Toolsuit
I have three options to choose from pic30-gcc.exe(C complier), pic30-ld.exe(object linker), pic-ar.exe(archiver)
Normally we select gcc, instead I selected pic-ar.exe and my program didn't build up and was prone to many errors.
My question is can we built any program using (...)
Microcontrollers :: 10-01-2014 06:07 :: Raady Here :: Replies: 3 :: Views: 791
I am trying to make simple Increment counter based on push switch. When i press switch the counter increments on LCD(16x2) but varialble(Incrementing) again goes to zero in next cycle. I have define that variable as Volatile so it won't be affected by Optimization of gcc compiler.
My Code and Proteus File Attached. Just when we press but
Microcontrollers :: 06-02-2014 17:14 :: asking :: Replies: 0 :: Views: 924
Were these errors solved?
I am getting the same error when I try to run a simple "Hello World" program.
I am using the Questa 10.0b version.
Tried to compile the C program using gcc and getting some compile errors.
---System Verilog program ---
// Named as
// Declare the DPI import function
import "DPI-C" funct
ASIC Design Methodologies and Tools (Digital) :: 04-10-2014 11:55 :: aptronics :: Replies: 19 :: Views: 10881
I want to connect micro2440 adc pin to external voltage(0v to 5v) and use
10-digit digital output. Can anyone help me with a sample code?
I use linux qtopia and compile source code in ubuntu 12.04, with
Finally, I want to send this 10-digit output(previous paragraph) to PC via
rs232 protocol.I need another (...)
Analog Circuit Design :: 04-03-2014 13:26 :: ehsanmpd :: Replies: 0 :: Views: 537
Hi guys, i have to do the code coverage measurement for a ARM Cortex-M3 project. The compiler used is ARM C compiler (from Keil MDK). I have look through the ARMCC compiler user manual and can't find something like GCOV in gcc which can help to do the Code coverage measurement. Does ARMCC compiler provide any source code instrumentation for code co
Embedded Linux and Real-Time Operating Systems (RTOS) :: 04-02-2014 14:46 :: ws0822 :: Replies: 0 :: Views: 928
no, no, no, no,
i can't use your make file
make: *** No rule to make target '../conns.c', needed by 'conns.o'. Stop.
when i use
code work well,ofcurse output seems be convert to inline(becuse output hex are incrase)
your code work well ,you&me use avr-gcc but what does linker
Microcontrollers :: 02-09-2014 16:30 :: firewhale :: Replies: 15 :: Views: 1024
You can certainly use SDCC - Small Device C Compiler which is based on Open Source gcc along with Code::Blocks IDE.
SDCC supports a number of microcontrollers including the 8051 family.
SDCC - Small Device C Compiler
The Code::Blocks IDE is quite good and I have used successfully in a few projects.
Software Recommendations :: 10-16-2013 23:10 :: bigdogguru :: Replies: 2 :: Views: 39
Wrong print format specifier? It's an implementation dependent thing, did you review the compiler manual?
With gcc, %llx would be right for long long.
Software Problems, Hints and Reviews :: 10-01-2013 06:20 :: FvM :: Replies: 2 :: Views: 947
I have a code written for 8051 and build using keil c51 compiler. But i want to create a graphical static call graph for this project. How do i do this? When i did a google search, i got the tool Egypt which makes use of gcc and graphviz to create call graph. Basically i need to compile this code using gcc for (...)
Microcontrollers :: 07-21-2013 11:45 :: *anita* :: Replies: 1 :: Views: 846
Since long time I am working on ARM controllers and habitual with Keil software to compile the applications.
But few months back I found that it is possible to compile the code for ARM in gcc with some toolchain.
With the help of edabord I am able to build bare bord toolchain. But still I am not able to compile code in gcc (...)
Microcontrollers :: 07-01-2013 10:12 :: shanky07 :: Replies: 0 :: Views: 990
I have used AVR microcontrollers before (using avr-gcc library) and the arduino platform. But for a project I have to use a PIC microcontroller for the first time. I have a few doubts:
1) I am planning to use pic32mx250f128b which has a built in USB. I wanted to know how easy will it to implement this USB functionality acr
Microcontrollers :: 07-01-2013 08:13 :: electrobuz :: Replies: 6 :: Views: 844
if u can't compile u self, try . it have precompiled binaries for win and mac.
if u need a ide, get and
for more info, google. if u need more help, just reply with questions.
Embedded Linux and Real-Time Operating Systems (RTOS) :: 05-18-2013 14:52 :: nohup :: Replies: 1 :: Views: 585
Does anyone know of good tutorial(s) on how to develop blackfin applications using the gnu toolchain?
Note I: I've installed eclipse juno and the blackfin-toolchain-win32-2012R2.exe on my Win7 PC
Note II: I'm interested in developing bare metal applications
Many thanks in advance,
Embedded Linux and Real-Time Operating Systems (RTOS) :: 04-09-2013 15:30 :: has981 :: Replies: 0 :: Views: 1030
As a method of further idiot-checking my work, I like to ensure that I receive no warnings or (obviously) errors when I attempt to simulate using ncverilog. Is there a flag or something that can be configured with it to make it act like the '-Werror' flag for gcc (which makes all warnings errors and causes compilation to fail)?
PLD, SPLD, GAL, CPLD, FPGA Design :: 04-08-2013 04:27 :: killersquirel11 :: Replies: 0 :: Views: 426
because that chip is very old and you will not find C compiler
or you need to learn DSP assempler
You can learn how to port gcc
Digital Signal Processing :: 03-01-2013 03:16 :: yura717 :: Replies: 7 :: Views: 1056
If you use AVR Studio or avr-gcc, it is much more simpler, and safer, to use for usart baud rate setting as it can handle the USE_2X bit automatically.
F_CPU MUST be defined before including , if you don't get any warnings at compile time, then it is defined somewhere else, thus (...)
Microcontrollers :: 02-03-2013 20:59 :: micro-hopless :: Replies: 34 :: Views: 2895
Spend some time learning C programming, then download a compiler and go from there. You can practice your C skills by using 'gcc'.
Once you've learnt how to program in C, you'll be able to control pins and read inputs very easily on the ATmega series.
Here is an example:
#include /* replace with the correct header file */
Microcontrollers :: 01-13-2013 15:34 :: sky_123 :: Replies: 1 :: Views: 479
I am using AVR gcc compiler which comes with AVR studio. I dont have any library for reading JPEG file. I am using ATmega32 Microcontroller.
Microcontrollers :: 12-18-2012 06:33 :: ravi1488 :: Replies: 4 :: Views: 3261
I just purchased a development board Ready for XMega from mikroelektronika and have to use this in my project.
I am not having that much knowledge of AVR Micro-Controller's.
But very good knowledge of PIC and 8051 Micro's.
Please suggest me some tutorials for AVR XMEGA128A1 micro-controller..
I have to use gcc Compiler as i am not (...)
Microcontrollers :: 12-07-2012 11:12 :: xpress_embedo :: Replies: 1 :: Views: 502
Download & compile QT everywhere by arm-gcc . Then copy some library to Kit
PC Programming and Interfacing :: 10-17-2012 04:15 :: thegioi21master :: Replies: 3 :: Views: 1272
How can we wrote programs for ARM LPC2148 and program our controller..
Are there any software like Keil for Ubuntu 12.04..
Yes, you can install the Eclipse IDE and ARM-gcc toolchain which provides C/C++ and Assembler development, example:
Using Eclipse to Cross-compile
Linux Software :: 10-05-2012 19:54 :: bigdogguru :: Replies: 8 :: Views: 2549
With WinAVR it stays in ROM because you are directing gcc to put it in ROM - not sure how AvrStudio handles it.
The PROGMEM attribute is always a source of confusion for those beginning with AVR-gcc. The PROGMEM attribute is a powerful one and holds the potential to save a lot of RAM, which is something of a limited (...)
Microcontrollers :: 10-01-2012 08:55 :: not-a-moderator :: Replies: 3 :: Views: 1600
I have generated an object file from a c++ file by using following command:
gcc -I path_of_header_file main.cpp
From above command I got main.o file.
When I tried to generate executable file using the following command it reports many errors:
gcc main.o -o main
Actually it is a system C file (...)
Microcontrollers :: 09-20-2012 11:18 :: er.akhilkumar :: Replies: 1 :: Views: 1396
LCD, I2C, UART
All it takes is a google search and then select the ones you like.
There is also a big library collection www.procyonengineering.
Software Problems, Hints and Reviews :: 09-19-2012 14:43 :: alexan_e :: Replies: 4 :: Views: 3258
I am currently trying to Build GHDL-0.29 on top of a newer gcc 4.6.3(fedora 16),
../gcc-4.6.3/configure --enable-languages=vhdl --disable-bootstrap configured successfully. and applied Kevin Steffensen patch
( ) and then
'make CFLAGS="-O"' Got below error
Linux Software :: 08-31-2012 12:14 :: harerama :: Replies: 0 :: Views: 1180
I have been planning to use the ov7670 with STM32F4 and was looking in for some reference source while I found your thread.
I took the liberty to download your code from the link you provided and have adapted it to be used with gcc and gcc makefile in a Linux environment.
This is going well (...)
Microcontrollers :: 08-23-2012 10:00 :: zainka :: Replies: 14 :: Views: 18421
This sounds like the compiler (gcc or whatever) was not properly installed : (
You might need to check, maybe gcc -print-search-dirs or some other command (type gcc --help).
If the features.h was your own header file that you included (and not a standard header file that
came with your (...)
ASIC Design Methodologies and Tools (Digital) :: 07-26-2012 13:12 :: sky_123 :: Replies: 1 :: Views: 2844
I have loaded the hex file of my .c code compiled in avr gcc into my atmega8.......But when the micro is inserted into the circuit board and circuit board switch is pressed random functions start happening without me pressing any key on my remote control.......only when i press the switch on and off many times the robot (...)
Robotics and Automation Forum :: 07-09-2012 10:35 :: nagsaver :: Replies: 0 :: Views: 643
Read this about macro
and this about headers
Microcontrollers :: 06-26-2012 17:11 :: alexan_e :: Replies: 5 :: Views: 1655
So I managed to compile the libusb-1.0.9 and the libusb-compat-0.1.4 to ARM and install in to my toolchain.
But I cannot cross compile the simple lsusb.c (in attach) program.
I am cross compiling using the following command:
arm-none-linux-gnueabi-gcc -Wall -W lsusb.c -o lsusb_exe -lusb-1.0
PC Programming and Interfacing :: 06-21-2012 15:19 :: priestnot :: Replies: 2 :: Views: 4039
how to interface t6963 based LCD in C18 Compiler, first i tried to port another codes (CSS and gcc-AVR) and it did not work, now im wondering if there are anybody faced this problem before and how did he solve it(library, code, xlcd.h , port....etc)
Microcontrollers :: 06-11-2012 23:10 :: max_evil :: Replies: 1 :: Views: 1295
I have to get ready with the following for a job interview... can someone help me?
1. Skills to be able to create a C compiler for Finisar custom microcontroller architecture.
2. Port gcc over or build a backend to LLVM; however open to other solutions.
3. Knowledge and experience with compiler backend development
Microcontrollers :: 05-31-2012 19:11 :: jaishankar :: Replies: 0 :: Views: 502