This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I exclude a Pack file from my build so I can replace with modified version in my folder?

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.

Parents
  • 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.

Reply
  • 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.

Children