Where are the standard ints defined?
Hi,
Maybe the project is not correctly created.
I check one of my project and the defines are in header stdint.h and the location of this file is added when the project is created (AC6 project).
By pressing F3 on uint32_t identifier, stdint.h file should open.
In the “Include” section of the project in Project Explorer window should be this path (and another 2 created by default):
C:/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.3.0.201507241045/tools/compiler/arm-none-eabi/include
Check to see if you have this includes. Attached is a picture. Observe the red highlighted items.
If you did not create your project using the steps described in below links, do it and post the results:
Creating a new project:
http://www.openstm32.org/Creating+a+new+project?structure=Documentation
Importing a STCubeMX generated project:
http://www.openstm32.org/Importing+a+STCubeMX+generated+project?structure=Documentation
Maybe the easy way is to start with a CubeMX generated project. CubeMx is a graphical configuration tool that will generate all initialization code for the microcontroller. It is using ST HAL library. And the best, you could graphically select GPIO, configure clock, set all peripherals, etc.
If you have a L1 Nucleo board start CubeMX then select your board. Clock and GPIOs are already configured for this board.
Choose one director to generate the project and then import the project in System Workbench. It is important to follow the second link exactly.
If you need more help I have made a lot of screen captures while I generate the project then import under System Workbench, then compile, download and debug. I think I can make a zip with the screen shots - but I don’t think I have the time to add the description for the process.