I recommend never using the "packed" attribute. It rarely helps (and
Thanks, I will consider it. In general, I know this, I'm just
experimenting :)
PROGMEM tells the compiler to put the data (bw_tab here) in flash
memory. On the AVR, flash is accessed with different instructions from
ram (a
On 17/06/2019 09:38, avr-libc-devel wrote:
You certainly can use PROGMEM (or the newer __flash) on structs in
program memory. But you need to use the right methods to access the
data. Can you post a short sample code that you tried but which did
not work?
typedef struct {
uint16_t
You certainly can use PROGMEM (or the newer __flash) on structs in
program memory. But you need to use the right methods to access the
data. Can you post a short sample code that you tried but which did not
work?
typedef struct {
uint16_t int_part;
uint8_t frac_part;
You certainly can use PROGMEM (or the newer __flash) on structs in
program memory. But you need to use the right methods to access the
data. Can you post a short sample code that you tried but which did not
work?
On 17/06/2019 07:08, avr-libc-devel wrote:
Hello friends.
Tell me, please, c