Top "Avr-gcc" questions

avr-gcc is a suite of executable software development tools for Atmel AVR RISC processors

Is there an alternative for flex/bison that is usable on 8-bit embedded systems?

I'm writing a small interpreter for a simple BASIC like language as an exercise on an AVR microcontroller in C …

parsing embedded bison flex-lexer avr-gcc
How can I unit test Arduino code?

I'd like to be able to unit test my Arduino code. Ideally, I would be able to run any tests …

unit-testing embedded arduino avr avr-gcc
How to prevent GCC from optimizing out a busy wait loop?

I want to write a C code firmware for Atmel AVR microcontrollers. I will compile it using GCC. Also, I …

c optimization gcc avr-gcc
Undefined reference to 'operator delete(void*)'

I'm new to C++ programming, but have been working in C and Java for a long time. I'm trying to …

c++ embedded destructor avr avr-gcc
What is the purpose of __cxa_pure_virtual?

Whilst compiling with avr-gcc I have encountered linker errors such as the following: undefined reference to `__cxa_pure_virtual' I've …

c++ avr-gcc pure-virtual
Convert two ASCII Hexadecimal Characters (Two ASCII bytes) in one byte

I want to convert two ASCII bytes to one hexadecimal byte. eg. 0x30 0x43 => 0x0C , 0x34 0x46 => 0…

c ascii hex avr-gcc
cast unsigned char * (uint8_t *) to const char *

I've a function which take an uint8_t * argument : uint8_t* ihex_decode(uint8_t *in, size_t len, uint8_…

c casting constants avr-gcc
How can I visualise the memory (SRAM) usage of an AVR program?

I have encountered a problem in a C program running on an AVR microcontroller (ATMega328P). I believe it is …

debugging memory embedded avr avr-gcc
Running an Arduino sketch with Fritzing

I am trying to learn programming on hardware, and have ordered an Arduino for that. While I wait for it …

embedded arduino avr-gcc
crt0.o and crt1.o -- What's the difference?

Recently I've been trying to debug some low-level work and I could not find the crt0.S for the compiler (…

c gcc linker crt avr-gcc