Skip to content

Commit e5aad45

Browse files
henrikbrixandersenaescolar
authored andcommitted
west: commands: runners: canopen: increase default SDO timeout
Increase the default SDO timeout for the CANopen program download west runner from 0.3 seconds to 1 second. Depending on the flash size and speed, a full erase may take slightly longer than 300 ms. The timeout can be customized by using the --sdo-timeout runner parameter. Fixes: #73987 Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 94815e7 commit e5aad45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/west_commands/runners/canopen_program.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# Default timeouts and retries
3333
DEFAULT_TIMEOUT = 10.0 # seconds
34-
DEFAULT_SDO_TIMEOUT = 0.3 # seconds
34+
DEFAULT_SDO_TIMEOUT = 1 # seconds
3535
DEFAULT_SDO_RETRIES = 1
3636

3737
# Object dictionary indexes

0 commit comments

Comments
 (0)