Forum : ST7/STM8
Original Post
| Post Information | Post |
|---|---|
|
March 23, 2009 - 6:28am
|
I use Rkit-STM8 BN46 build the following code and the compiler occurs a error that is "Operand is not an lvalue" eeprom unsigned char eepdata; |
Hi Rod,
Thanks for this problem report. We have succesfully reproduced the problem here, and we will fix it in the next RKit-STM8 release. This should be available this week from our Web site.
In the meanwhile, here is a workaround that you can use:
at 0x4000 data char EEbyte; // Type in an actual EEPROM address that fits your specific device void main(void) { EEbyte = 3; }I hope this helps,
Bruno