Albarran, Josue
2016-08-09 15:29:51 UTC
Hi,
Is there a way to override the constants or variables that are in the python code from the job definition or device dictionary? For example, the UBOOT_AUTOBOOT_PROMPT has the default value of 'Hit any key to stop autoboot' but my board displays 'Press SPACE to abort autoboot in 2 seconds'. Changing it in the code works but I was wondering if there is a more generic way of doing it. Perhaps a parameter I can send to the boot action from the job definition?
Thanks,
Josue
Is there a way to override the constants or variables that are in the python code from the job definition or device dictionary? For example, the UBOOT_AUTOBOOT_PROMPT has the default value of 'Hit any key to stop autoboot' but my board displays 'Press SPACE to abort autoboot in 2 seconds'. Changing it in the code works but I was wondering if there is a more generic way of doing it. Perhaps a parameter I can send to the boot action from the job definition?
Thanks,
Josue