2017-09-17 08:46 AM
Hi,
The HAL_NAND_MspInit() is not generated in the stm32f4xx_hal_msp.c when the attached .ioc is used. Therefore the NAND pins are not driven by the MCU and NAND driver is not working at all. How can I enable generation of GPIO initialization code? Or is it a bug?
Thanks,
Peter
2017-09-18 09:11 AM
Hello
Ivanov.Peter
,After check in your project, I found the generation of GPIO initialized in
stm32f4xx_hal_msp.c and called by HAL_FSMC_MspInit () function
Kind Regards
Imen
2017-09-18 12:02 PM
Hi Imen,
Interesting. Thanks for checking. Maybe it is because I'm running CubeMX on Arch Linux?
I've tried this .ioc on a Windows machine and the FSMC initialization code is generated.
Best regards,
Peter
2017-09-18 12:09 PM
Hi
Ivanov.Peter
,I raised your feedback internally to CubeMx team for more check this case, specially on Arch Linux.
Best Regards
Imen