2020-02-01 12:54 PM
2020-02-03 05:34 PM
Thank you for your help. I will continue trying to get the IDE to load properly to the correct version. I did find that AHBP table was not defined in version 1.24.2 of the .c file. The v1242 zip has the .c file with AHBP and APBP defined. I keep trying to get it to install this version but having a hard time getting it to select that .c file. I will keep trying.
2020-02-17 07:30 AM
I have added this to system_stm32f4xx.c
/** @addtogroup STM32F4xx_System_Private_Variables
* @{
*/
/* This variable is updated in three ways:
1) by calling CMSIS function SystemCoreClockUpdate()
2) by calling HAL API function HAL_RCC_GetHCLKFreq()
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
Note: If you use this function to configure the system clock; then there
is no need to call the 2 first functions listed above, since SystemCoreClock
variable is updated automatically.
*/
uint32_t SystemCoreClock = 16000000;
const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
//Iam
const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
2024-01-11 07:55 AM
creating new project helped. i also copied:
uint32_t SystemCoreClock = 16000000;
const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
to system_stm32f7xx.c (or system_stm32f4xx.c in your case)