Skip to main content
salmmike
Associate
January 14, 2024
Solved

Automated unit testing for Yocto builds

  • January 14, 2024
  • 1 reply
  • 1130 views

Hi!

 

Is there a way to run unit tests automatically on the STM32MP157-DK2 board? I've managed to flash the device using the STM32 Programmer CLI, but after flashing, I need to manually switch the bootmode to boot from the SD-card.

It would be great if the flash and boot could be triggered completely automatically, e.g. by a Jenkins script. If the device could flash and boot without any manual steps, it would make it possible to run various test scripts completely automatically on the real hardware. Is this in any way possible?

This topic has been closed for replies.
Best answer by Olivier GALLIEN

Hi @salmmike ,

 

There's no SW tricks that could enable this. 

For automation you target you have to consider usage of remote-controlled relay/switch you connect to boot pin. 

 

Hope it help 

 

Olivier 

 

1 reply

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
January 23, 2024

Hi @salmmike ,

 

There's no SW tricks that could enable this. 

For automation you target you have to consider usage of remote-controlled relay/switch you connect to boot pin. 

 

Hope it help 

 

Olivier 

 

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.