Skip to main content
NBlac
Associate III
Aug 3, 2018 8:26 PM UTC
Question

I need to: Uncomment the line below according to the target STM32H7 device used in your application... [Solved]

However the .h file is read only. What is going on? What have i done wrong? I've attached the tree from IAR.

thanks

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
Aug 3, 2018 8:40 PM UTC

Sorry, what line? For images just inline using the Mountain/Sun Icon.

If you need to edit a file, make a localized copy in your own project directory, and clear the read-only attribute. For Include files, make sure the project directory holding them is the first in the 'Include Paths' settings passed to the compiler.

Some features may be overridden with settings in the project's stm32h7xx_hal_conf.h file

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
NBlac
NBlacAuthor
Associate III
Aug 3, 2018 9:12 PM UTC

I just cleared the read only attribute and it works... thanks

I am trying to use cmsis without HAL for this project and i get the following error from the compiler (IAR): Fatal Error[Pe035]: #error directive: "Please select first the target STM32H7xx device used in your application. So i needed to uncomment the chip i'm using.