cancel
Showing results for 
Search instead for 
Did you mean: 

Automated unit testing for Yocto builds

salmmike
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

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.

View solution in original post

1 REPLY 1
Olivier GALLIEN
ST Employee

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.