-
-
Notifications
You must be signed in to change notification settings - Fork 208
Description
Hi!
I see type uint8_t in your code, but some DSPs and MCUs have size of byte bigger then 8 bit. There are examples of stdint.h file (C/C++, no type uint8_t ):
// -------------------------------------- ADSP TS-201 compiler:
typedef unsigned int uint32_t;
typedef uint32_t uint_least8_t;
typedef uint32_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint32_t uint_fast8_t;
typedef uint32_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
// -------------------------------------- TMS320C2804 compiler:
typedef unsigned int uint16_t;
typedef unsigned long uint32_t;
typedef uint16_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint16_t uint_fast8_t;
typedef uint16_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
I think you should use uint8_least_t/uint8_fast_t instead of uint8_t etc.
I'm wrong?