Where are the valid variable types defined?

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

rcooke88
Posts: 5
Joined: Wed Oct 25, 2017 10:07 pm

Where are the valid variable types defined?

Postby rcooke88 » Wed Oct 25, 2017 10:15 pm

Hi Folks,

I'm new to the Atollic universe so please be easy on me. I'm working on a C project for the Nucleo32L031 board and I can't seem to find where valid variable types are defined. Can some kind person point me in the proper direction?

Thanks in advance,

Richard
Denver, CO, USA

frank_ee
Posts: 52
Joined: Wed Apr 05, 2017 5:08 pm
Location: USA

Re: Where are the valid variable types defined?

Postby frank_ee » Thu Oct 26, 2017 5:28 pm

Hello,

Are you looking for C data types? Are you using STMCube libraries?

rcooke88
Posts: 5
Joined: Wed Oct 25, 2017 10:07 pm

Re: Where are the valid variable types defined?

Postby rcooke88 » Thu Oct 26, 2017 6:07 pm

Frank,

Yes to both questions. I'm staying with C and for this project I used the STMCubeMX to setup the code.

Thanks,

Richard

frank_ee
Posts: 52
Joined: Wed Apr 05, 2017 5:08 pm
Location: USA

Re: Where are the valid variable types defined?

Postby frank_ee » Thu Oct 26, 2017 6:47 pm

Richard,

If you are using C, then all C variable types are acceptable. Are you asking how the compiler handles C variable types? The file "_default_types.h" is supplied by Atollic and describes the various data types.

rcooke88
Posts: 5
Joined: Wed Oct 25, 2017 10:07 pm

Re: Where are the valid variable types defined?

Postby rcooke88 » Thu Oct 26, 2017 6:54 pm

Thanks Frank. You saved me a bunch of time.

Richard


Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 2 guests