I am trying to generate C code from Matlab for the STM32 series of MCUs. Specifically for the edge detect function in the image processing toolbox. I was able to generate generic x86 code for this function, but I noticed that Embedded Coder supports STM32 as a target. Since this would save me the trouble of porting x86 code to STM32 ARM M3 code, I was wondering is there a way for me to generate code directly for this?
Most of the examples for this target show that compiling from Simulink is supported. But I just want to do a one-shot compile of the function to STM32 code. I dont need to use PIL or anything like that. I already have the code on STM32 to load my code and perform the other functions I need. I just need the bit of the code that does the edge detection itself.