Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERRORs with grlib.h #1

Open
1sorgen opened this issue Mar 10, 2018 · 1 comment
Open

ERRORs with grlib.h #1

1sorgen opened this issue Mar 10, 2018 · 1 comment

Comments

@1sorgen
Copy link

1sorgen commented Mar 10, 2018

Hi,

I am using CC3200 interfacing ili9341-LCD. I have copied your project files and i am stuck with below ERRORs. Please help me how to resolve these issues.

"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/grlib/grlib.h", line 59: error #20: identifier "int16_t" is undefined
"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/grlib/grlib.h", line 88: error #20: identifier "int32_t" is undefined
"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/grlib/grlib.h", line 180: error #20: identifier "uint8_t" is undefined
"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/grlib/grlib.h", line 793: error #20: identifier "bool" is undefined
"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/grlib/grlib.h", line 754: error #91: function returning function is not allowed
"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/grlib/grlib.h", line 754: error #170: a function type is not allowed here
"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/grlib/grlib.h", line 519: error #80: expected a type specifier

Thanks,
Kumar

@sal0w
Copy link
Owner

sal0w commented Mar 11, 2018

HI Kumar,

I believe you have linked the grlib library with the project.
In Texas Instruments microcontrollers are divided into two categories TivaWare™ and Stellaris®.
Data types are different for both the categories CC3200 is a Stellaris®based board.

DATA TYPE IN TivaWare

int32_t a = 3443 // 32 bit integer

DATA TYPE IN Stellaris

unsigned long a = 344 // 32 bit integer

Adding grlib for STELLARIS will resolve your issue.
The below link is the user manual for grlib for STELLARIS
http://www.ti.com/lit/ug/spmu018p/spmu018p.pdf

Thanks and Regards,
Akash Salow
http://www.salow.co/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants