If I include types.h it isn't found. stdint.h is found but makes no difference.
With uint8_t I get the following error,
invalid conversion from 'uint8_t* {aka unsigned char*}' to 'char*' [-fpermissive]
With int8_t I get the following error,
invalid conversion from 'int8_t* {aka signed char*}' to 'char*' [-fpermissive]
How is signed char* different to char*? It's as though there is a third kind of char.
If I include a cast, strcpy((char)buff,"Hello World!");
The error is "
error: cast from 'uint8_t* {aka unsigned char*}' to 'char' loses precision [-fpermissive]
strcpy((char)buff,"Hello World!");
I just don't understand what's going on.
I can work around it but would prefer to understand it.
Mike.