Skip to content

Commit

Permalink
scons: get_programmer(): clean code, add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Mar 3, 2024
1 parent 6eb9b87 commit e138587
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions apio/managers/scons.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,12 @@ def get_programmer(self, board: str, prog: dict) -> str:
# -- with the board an exception is raised
self.check_platform(board_data)

# Check pip packages
# -- Check pip packages. If the corresponding pip_packages
# -- is not installed, an exception is raised
self.check_pip_packages(board_data)

# -- DEBUG
print("-------> DEBUG: Traza 1")

# Serialize programmer command
# ---- DEBUG! CONTINUE REFACTORING HERE!!
programmer = self.serialize_programmer(
board_data, prog[SRAM], prog[FLASH]
)
Expand Down

0 comments on commit e138587

Please sign in to comment.