2017-07-07 10:35 AM
I'm trying to implement a FreeRTOS program on an STM32F429I-Disco (first rev.) using the examples in STM32CubeF4 (V1.16.0).
Neither the 'Demonstration' project not the 'FreeRTOS_ThreadCreation' project will run. They both fail the clock configuration routine. Some of the 'Examples' projects ('RCC_ClockConfig', 'LTDC_Display...') run without problem. the difference seems to be in the __HAL_RCC_PWR_CLK_ENABLE() and the __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1) macros. In the FreeRTOS projects, the macros are optimized away, even though the projects have the same optimization as the projects that run correctly.Does anyone have some insight into this?#clock-configuration2017-07-07 10:39 AM
I'm using IAR EWARM 7.5