Member | Action | Date |
---|---|---|
|
Voted up hi_nikola_in_thesamedirectorythatcontainsth-KrF6 Show more |
38 days ago |
|
Voted up hi_nikola_in_thesamedirectorythatcontainsth-KrF6 Show more |
38 days ago |
|
Replied
to
U8 U16 variable make compilation error C129
Hi Jpitt,
Show more
thank you, your explanation helped me a lot. My problem is solved. Regards, Nikola |
38 days ago |
|
Replied
to
U8 U16 variable make compilation error C129
Dear Jpitt, thank you for your answer, it help me a lot.
The MCU used for this project is : C8051F380 Maybe the best way to solve this compilation error for this project is to download and configure "older" C compiler/SDK... Regards, |
43 days ago |
|
Updated
to
U8 U16 variable make compilation error C129
Dear Jpitt, thank you for your answer, it help me a lot.
The MCU used for this project is : C8051F380 Maybe the best way to solve this compilation error for this project is to download and configure "older" C compiler/SDK... Regards, |
43 days ago |
|
Posted
U8 U16 variable make compilation error C129 on
Simplicity Studio Forum
Dear all,
When I open a C example code (blinking) for MCU C8051F38x from simplicity studio and compile this example code I have no error and it compile correctly. I wanted to add U8 and U16 variable in this C example code and I got error C129 I think that the compiler don't know what is U8 and U16... But in some other C code that I created long time ago, I know that all my C code compiled with U8 and U16 var. I will try to describe my problem with a example, I will use the blinking example C code provided by simplicity studio for MCU C8051F38x : When I create a new blinking example C code, and, I change nothing, it compile correctly. After, I add variable "U8 tmp = 5;" for example, I try to compile and I got compilation error. When I replace "U8 tmp = 5;" by "uint8_t tmp = 5;", I try to compile and it compile correctly. When I want to add for example variable "U16 tmp = 10;" I have compilation error too. What can be the problem ? Why U8 and U16 is an error for this C compiler ? Is U8 and uint8_t same/equivalent ?
Regards, Nikola |
45 days ago |