Post Created date
Simple way to decode ESP8266 / UART incoming transmission?
// with automatic termination void append(char* s, char c) { uint8_t len = strlen(s); s[len] = c; s[len+1] = '\0'; }sorry I was sure I've posted it.
Saturday, 13 July 2019 - 16:15
Simple way to decode ESP8266 / UART incoming transmission?
OK I have went over the code and corrected the mistakes you had pointed out and now it seems to be working fine! while (!(RingBuffer_IsEmpty(&RXBuffer))) { tempChar =...
Saturday, 13 July 2019 - 15:50
Simple way to decode ESP8266 / UART incoming transmission?
while (!(RingBuffer_IsEmpty(&RXBuffer))) { tempChar = RingBuffer_Remove(&RXBuffer); append (lineBuffer, tempChar); // terminating char if (tempChar == '\...
Saturday, 13 July 2019 - 14:24
Simple way to decode ESP8266 / UART incoming transmission?
The incoming data is always terminated by the new line character (0xa), so I can "wait" for that. However, in general, I would like to save the incoming characters into a...
Saturday, 13 July 2019 - 12:25
Why PROGMEM attribute ignored?
meolsen wrote: If you want your  UARTSendString to work on both __flash and ram strings, add __memx to it. This pointer type can distinguish between the two types....
Friday, 12 July 2019 - 16:13
Why PROGMEM attribute ignored?
OK so now I should have a bunch of strings that are held in flash and an array of pointers, also stored in flash. So far this is good, just what I wanted.   I have the...
Friday, 12 July 2019 - 16:07
Problems after upgrading GCC compiler to 9.1.0
clawson wrote: Why does it matter WHERE this const, fixed, flash based data is actually defined - the only important thing surely is that there's one copy of it in the flash?...
Friday, 12 July 2019 - 15:34
Problems after upgrading GCC compiler to 9.1.0
This also seems to work when adding static, however what would I do for the array of pointers for the stings? Is it possible to "bypass" the global attribute requirement? static...
Friday, 12 July 2019 - 15:25
Problems after upgrading GCC compiler to 9.1.0
OK so this takes me back to the original question (in a different forum).... let's say I want to use the __flash attribute but my strings are automatic variables so I make them...
Friday, 12 July 2019 - 15:17
Problems after upgrading GCC compiler to 9.1.0
clawson wrote: I would stick with the Atmel built and approved 5.4.0 for now. No point trying an experimental 9.1 at this stage.   I was started to think the same thing. I...
Friday, 12 July 2019 - 15:04
Problems after upgrading GCC compiler to 9.1.0
The project compiled without any problem using GCC 5.4.0 and nothing else was changed other than the compiler.   avr-gcc options / flags from the project properties:   -...
Friday, 12 July 2019 - 14:59
Problems after upgrading GCC compiler to 9.1.0
So ATtiny816 is not supported? Should I copy the same file from the older GCC folder?  
Friday, 12 July 2019 - 13:41

Pages