X-Cube-AI Not generating application for F302R8 but works for G070RB
I've been working on a project that involves classifying accelerometer data for activity detection. I have some python code that generates a trained model in both keras and tflite formats.
Initially I was developing with a NUCLEO-G070RB board. With that board I can open up the .ioc file, select X-CUBE-AI Core as well as the application for validation.

With this I can add a network with my .tflite model. Upon saving the .ioc file and selecting yes to generating code, I get a main that calls MX_X_CUBE_AI_Init(); at startup and in the while loop it calls MX_X_CUBE_AI_Process();
When i try the same process with a project created for the NUCLEO-F302R8 or a project created for a custom board with a STM32F302K8 and go through the same steps I run in to some problems.
The first problem I run in to is that it says i don't have enough Flash or Ram. It's weird because it reports needing 4.37KiB of RAM and 35.85KiB of flash and this board has 64K flash and 16K RAM. Well ok maybe the flash is used up for other stuff in the validation application template so maybe its not so weird.
Since this one has a floating point unit i tried with the Keras not quantized model. With medium compression It seems happy about the flash requirement and the Analyze step completes successfully. Next I close the .ioc file. It asks me if I want to save it and i select yes. There is no popup about generating code and my main is left with the default stuff with no calls to the MX_X_CUBE_AI functions. Right clicking on the .ioc file shows the generate code option is grayed out.
Any advice about how i might be able to get this code generation to work on this hardware would be greatly appreciated.