Skip to content

Commit

Permalink
Added missing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Sep 26, 2024
1 parent 9f22942 commit 3d5f7df
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions scripts/create_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3d5f7df

Please sign in to comment.