On Sun, 30 Oct 2016 20:17:51 +0100
Georg-Johann Lay wrote:
> Well, code like
>
> i2c_write (
> #include "data.def"
> );
>
> where data.def contains
>
> 4, (const uint8_t[]){0x10, 0x20, 0x30, 0x40}
>
> might be in order for auto generated code, but solutions that first
>
Paul "LeoNerd" Evans schrieb:
((TLDR: PROGMEM on compound-literal arrays is silently ignored.
Please either implement or make it a noisy warning/error.))
If I define a function that takes a byte array, e.g.
void i2c_write(size_t len, const uint8_t *data);
I find it nice to be able to