Skip to main content
Visitor II
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

    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