Skip to main content
ST Employee
August 28, 2026
Question

stedgeai-dc How to set the right target mcu?

  • August 28, 2026
  • 1 reply
  • 37 views

Hello expert, I’m using the latest version of stedgeai-dc.st.com (online) to compile my CNN model but by default, choosing the STM32 MCUs, the target is F4 family while I’d compile and optimize my  code for H723ZG board. It seems there is no way to change the target board…. why? and how can I do it? indeed If I see the stdout.txt generated at the end I see:
>>> stedgeai generate --model tiny_resistor_cnn.onnx --optimization balanced --target stm32f4 --name network --workspace workspace --output output
ST Edge AI Core v4.0.1-20581 7ed50de05


so it’s not optimized for my board.

Could someone help me please?

 

Many thanks and regards

Lorenzo

1 reply

hamitiya
ST Technical Moderator
September 1, 2026

Hello ​@loarri 

During this step, the target does not matter a lot, however, if you want to override it, you can go in the “Optimize” step, and write in “extra CLI arguments” settings you want to override:

 

 

Best regards,

Yanis

​In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.