stm32h7xx_hal_rcc.c has an error that I need to fix. I prefer not to modify the file in the Keil/Pack tree. I can find no way to make not compile E:\Reader\ReaderReceiverH7\Src\stm32h7xx_hal_rcc.c and use my modified file instead.
Hi,
try to right-click on the file in the project window, select "options for component" and disable "include in target build".
Then add a local copy of the file to your project and make the required corrections.
You can use local pack repositories:
www.keil.com/.../uv4_ca_packinst_repo.htm
That is not allowed for files inside the Device component.
"Copy Repository Link" or "Copy Repository Tag" don't appear in my context menu.
Why do you think this is not allowed?
I removed the "include in target build", added the two files (copy from pack) to the project and set the define "RTE_DEVICE_HAL_RCC" in tab C/C++
The project compiles with 0 errors/0 warnings
I got it to work.
Thanks for the help.