Enable Camera clock on Arduino Portenta H7 #184
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We need to start the clock in the same way as we do for the Arduino GIGA.
As without the clock started, most cameras will not even make the camera visible to I2C
This unrelated change was in the branch of #165
And has now been pulled out of it.
This PR is only a change of a #if statement that adds the Portenta H7 to the line that enables the clock for the Giga.
And only if Video (Camera) is configured in the .conf files.
Currently the overlay for the PortentaH7 is setup with the configuration to run on the Mid Carrier board, which is
different than the Portenta Vision shield. At some point probably need to configure it for either. Not sure
what Arduino wishes to do for this. Define them as Shields in Zephyr and have multiple variants? But that
is beyond the scope of this simple change.