Loading...
 
Skip to main content

System Workbench for STM32


Where are the standard ints defined?

Hi

Thanks for the reply... I have found the IDE to be very inconsistant, some bits work other dont. Removing the declarations of uint32_t in the code below gives an unable to resolve but F3 on the declaration of u32_i shows it is declared in the sdtint.h file as you described.However system_stm32l1xx.c compiles and it also has varibles declared as std ints.

  1. include "stm32l1xx.h"
  2. include "stm32l1xx_nucleo.h"



int main(void)
{
uint32_t u32_i;

}

I have all the includes fro C:/Ac6... in the includes list.

I built the project using the described sequence, but if it has the correct includes it should compile and as it clearly knows where the include is I suspect there is a problem with the IDE.

I had also moved on to produce my unit test project where I include the files from the main project, now in that it seems to get very confused with some defines (enums) being resolved and others in the same enum not, and those it does resolve being old values.

I dont like using imported code from code engines as the code I write requires a strict safety standard so I would have to rewrite it to that standard anyway so I might as well code it and understand it myself.


I have given up on this IDE and moved to keil.

Robert