cancel
Showing results for 
Search instead for 
Did you mean: 

Dual-Core project - how to add driver in project tree under CM7?

Jack3
Senior II

Hello,

I'm starting a dual-core project .
But how do I add a driver in project tree under CM7 in the directory MyProject\CM7\Drivers\STM32H7xx_HAL_Driver?

I have copied (manually) stm32h7xx_hal_pcd and stm32h7xx_ll_usb drivers into this directory MyProject\Drivers\STM32H7xx_HAL_Driver (Inc and Src).

So, on disk and in the Project Explorer, I can see those in MyProject\Drivers\STM32H7xx_HAL_Driver.

However, in de Project Explorer, in CM7, I find files in MyProject\CM7\Drivers\STM32H7xx_HAL_Driver, except the ones I added in the previous directory. On disk I see no files in MyProject\CM7\Drivers\STM32H7xx_HAL_Driver.

Are those somehow linked in the project?

How can I do that? I dragged the files from the first directory into the second and selected 'Link to files'.
But that doesn't work, the compiler complaines it misses the files.
Hard copying them on the disk to the second directory works, but it seem ugly.

Does anybody know the correct way to do it.

 

Is this the correct way?

0 REPLIES 0