STM32CubeMX not working to switch to another MCU
I am following the instructions in the 'UM1718 User manual", section 10.9, "Switching to another MCU".
In STM32CubeMX I opened a new project and chose the F303RETx MCU option. Then I imported a working .ioc file into STM32CubeMX that was originally set for the F303RCTx, then, as described in the instructions, did Try Import, which worked, then named the project, and clicked Generate Code, for the STM32CubeIDE, which worked, no errors reported.
But, when I open the project in STM32CubeIDE, and try to compile, I get the error about missing files as follows:
compilation terminated.
make: *** [Drivers/STM32F3xx_HAL_Driver/Src/subdir.mk:81: Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal.o] Error 1
In file included from ../Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal.h:46:0,
from ../Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_adc_ex.c:55:
../Inc/stm32f3xx_hal_conf.h:206:12: fatal error: stm32f3xx_hal_exti.h: No such file or directory
#include "stm32f3xx_hal_exti.h"
Any ideas?
Not only do I not see the file stm32f3xx_hal_exti.h, but I don't see either the ../Inc/stm32f3xx_hal_conf.h file (maybe it's somewhere else).
Thanks for any info.
