Post Created date
fill hex file gaps
I don't know if such an option exists. srec however, can do this. If you use WinAVR to compile, srec is distributed with it. You'll have to call it from the command line.
Tuesday, 15 July 2008 - 12:30
[TUT][SOFT] RTOS for AVR
Femto OS is another RTOS for AVR architecture.
Monday, 14 July 2008 - 09:20
Not a cross post, but it is still about PGP_M
Quote:The output I received at the LCD is a whole bunch of zeros. I assumed that the pointer that points to a string stored at flash rom is somewhat different from a pointer that...
Tuesday, 24 June 2008 - 12:31
[Solved]Why rcall not run in interrupt routine?
zerop wrote:what's difference between task2() and asm volatile("rcall task2")In the first case the compiler knows you are doing a call, and will make certain actions, so registers...
Tuesday, 17 June 2008 - 16:59
How to inline functions
The compiler can't inline your 'SPI_ShiftBytePolled', because the body of the function is not known at compile time of Test.c. Only functions inside Test.c or in header files...
Thursday, 12 June 2008 - 12:38
Avr-libc FAQ small mistake
Created bug report: #23546
Thursday, 12 June 2008 - 10:59
Declaring EEMEM variables in header file
Neojag wrote:Hmm, isn't the extern atribute to make the variable available to other files in the project? Yes, but if you don't want them available in other c files, which include...
Thursday, 29 May 2008 - 12:21
Shift bits out
The if can be avoided, but I just tested it, and it just might be quicker. However, it's larger and harder to maintain. I didn't count how much cycles every instruction takes to...
Wednesday, 21 May 2008 - 13:14
Problem with PROGMEM
If I remember correctly, there are defines in AVR Libc to show it's a char pointer in flash. Found it: #define PGM_P const prog_char * ... typedef char PROGMEM prog_char...
Wednesday, 21 May 2008 - 09:04
Problem to keep the values of a global array
glitch wrote:Arrays, on the other hand, likely don't need to be declared as volatile, as the compiler is not likely going to cache the array in registers.I hope I don't confuse...
Friday, 9 May 2008 - 09:52
const variable
Variables are in RAM. When you want a constant only in ROM (Flash), you have to it manually. Take a look at the progmem documentation: http://www.nongnu.org/avr-libc/u... and the...
Monday, 28 April 2008 - 12:28
Ouput of files to a new folder
This can be done in the makefile. Open the makefile and search for "OBJDIR = ." Change the . into the directory name you want. for example: # Object files directory # To...
Tuesday, 15 April 2008 - 10:40

Pages