Other Parts Discussed in Thread: CC2640
Tool/software: TI C/C++ Compiler
Hello,
Would appreciate your input on the following issue. I'm using nvsinternal driver example on CC2640R2 to test saving an array of measurements to the internal flash. I'm using 3.10.0.15 SDK
The driver implementation seems straight forward. I'm trying to save few hundred bytes on the internal flash that I will later need to broadcast. I was using the driver example to test writing to the memory and to make use of the UART as debugging terminal.
However as soon as I started using for loop for (uint8 i; i<sizeof(signature;){code}, I got the following annoying error. I spent quite a bit of time trying to fix it by following some of the recommendations from other posts but no luck.
compiler failure, below:
"../nvsinternal.c", line 85: error #20: identifier "uint8" is undefined
"../nvsinternal.c", line 85: error #66: expected a ";"
"../nvsinternal.c", line 85: error #20: identifier "i" is undefined
Any thoughts?