• Warning when declaring variable: 'Variable not used'
    I'm trying to initialize I2C peripherals on my STM32 Discovery board and this is the function I've created to do so - void I2C2_Initialize(void) { NVIC_InitTypeDef NVIC_InitStructure; I2C_InitTypeDef...
  • Warning when declaring variable: 'Variable not used'
    I'm trying to initialize I2C peripherals on my STM32 Discovery board and this is the function I've created to do so - void I2C2_Initialize(void) { NVIC_InitTypeDef NVIC_InitStructure; I2C_InitTypeDef...
  • Definition of variables, an operation of variables with different data types and casting
    Dear all, I have an experience to develop C code for different microcontrollers and DSPs. However, this is first time to develop code for Arm Core microcontrollers. I am using STM32F334 and STM32F745...
  • Definition of variables, an operation of variables with different data types and casting
    Dear all, I have an experience to develop C code for different microcontrollers and DSPs. However, this is first time to develop code for Arm Core microcontrollers. I am using STM32F334 and STM32F745...
  • Global variables and local variables misbehaving in KEIL uvision 5 when using with STMCUBEMX
    Hi, I am working on STM32F407 discovery board . I am using STMCUBEMX for using the HAL drivers. It is working fine. I am working on ADC to read the battery voltage . I have used STMCUBEMX for creating...