Post Created date
Have the progmem and 64kb ptr problems been fixed or shall I stay with BASCOM?
Foxcat385 wrote: I downloaded LunaAVR. I don't know will it count as commercial use if my software is free and open source, but running on my hardware and PCB which I will make...
Friday, 8 May 2015 - 03:12
uint8_t indexing in 256b ring buffer. What are disadvantages to using int overflow?
clawson wrote: idx = ++idx & 0x0F; This statement has undefined behavior.
Thursday, 7 May 2015 - 14:05
Suppress warning : Warning 5 initialization discards 'const' qualifier from pointer target type [enabled by default] ct3A
Wouldn't it be better to fix the code so that it doesn't discard the const qualifier in the first place? If the code actually does legitimately discard the const qualifier (I can...
Wednesday, 29 April 2015 - 20:16
Error 1, please explane
  Is that the AVR Plugin for Eclipse? It looks like a known issue: #65 Build fails if project name include a space.
Sunday, 26 April 2015 - 23:33
Trouble detecting End of Line using SoftwareSerial on ATTiny85
ThomasTesla wrote: From http://www.arduino.cc/en/Reference/SoftwareSerial "This hardware allows the Atmega chip to receive serial communication even while working on other tasks,...
Wednesday, 22 April 2015 - 16:40
porting from AVR Gcc compiler to IAR compiler
inigo77 wrote: myprintf_P(str,...) {static const __farflash char string[] = str; printf_P(string,##__VA_ARGS__:)} The ## preprocessor operator is used to join two tokens into...
Wednesday, 22 April 2015 - 15:03
Compiler bug!
I suppose a system with UCHAR_MAX == 666 would give a result of 112: 3447 % 667 == 112  
Thursday, 16 April 2015 - 20:27
GCC vs ASM code size - Help me close the gap
I copied your latest code to a standalone C source file (with a few missing definitions added to make it compile). That code is at http://pastebin.com/DKin9rVS.   Try as I...
Thursday, 16 April 2015 - 16:40
Multi threading and timers in ATmega128
I see a few issues with your new code: TASK_NUM can go up to 3, but the TASK_DURATION array goes up to index 2. Index 3 doesn't exist in that array. I would renumber TASK_NUM so...
Thursday, 16 April 2015 - 15:12
GCC vs ASM code size - Help me close the gap
Have you tried using any optimization level besides -O0? With this test program:   extern int8_t x; extern uint8_t y; int8_t mul(void) { return (x * y) >> 8; } and...
Thursday, 16 April 2015 - 04:18
Xmega 128A3U - Uart ISR Buffer receive string
What is sending data to the AVR? Is it actually sending a null character to terminate the string?
Wednesday, 15 April 2015 - 15:30
Compiler bug!
david.prentice wrote: What value do you get on a STM32?   3447.0 % 256 = 119   However,   the conversion function from float to integer might have a slight...
Tuesday, 14 April 2015 - 18:58

Pages