STMicroelectronics / STM32CubeH7

STM32Cube MCU Full Package for the STM32H7 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
https://www.st.com/en/embedded-software/stm32cubeh7.html
Other
495 stars 303 forks source link

Error on include. #188

Closed georthom closed 2 years ago

georthom commented 2 years ago

https://github.com/STMicroelectronics/STM32CubeH7/blob/5975bffae9358bc2b2890a35a203d940a395efef/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_lcd.h#L32

Shouldn't it be :

include "stm32h743i_eval_conf_template.h" ?

ALABSTM commented 2 years ago

Hi @georthom,

This is #include "stm32h743i_eval_conf.h" indeed. Actually, *_template.h files are generic files that are intended to be:

For instance, you can notice how this same file has been customized differently for two different applications.

https://github.com/STMicroelectronics/STM32CubeH7/blob/5975bffae9358bc2b2890a35a203d940a395efef/Projects/STM32H743I-EVAL/Applications/Audio/Audio_playback_and_record/Inc/stm32h743i_eval_conf.h#L31-L33

https://github.com/STMicroelectronics/STM32CubeH7/blob/5975bffae9358bc2b2890a35a203d940a395efef/Projects/STM32H743I-EVAL/Applications/Display/LTDC_PicturesFromSDCard/Inc/stm32h743i_eval_conf.h#L31-L33

I hope this point is clearer now. Please allow me to close this issue.

With regards,