From 3d5f7df1981647bdab919eb132324af58039d763 Mon Sep 17 00:00:00 2001 From: Gabryel Reyes Date: Thu, 26 Sep 2024 08:51:15 +0200 Subject: [PATCH] Added missing documentation --- scripts/create_binary.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/create_binary.py b/scripts/create_binary.py index e67b283..321efc8 100644 --- a/scripts/create_binary.py +++ b/scripts/create_binary.py @@ -53,8 +53,16 @@ ################################################################################ -def create_binary(source, target, env): - """Create a binary file from the .hex file.""" +def create_binary(source, target, env) -> None: + """Create a binary file from the .hex file. + Arguments: + source: Output binary of build process. + target: File that triggered this callback. INPUT_FILE in this case. + env: SCons build environment + + Return: + None. Exits on fail. + """ # pylint: disable=unused-argument # Convert .hex into .bin using objcopy.