Skip to content

Commit

Permalink
add_swo_viewer.py: export PYTHONUNBUFFERED to 1 to fix flushing the p…
Browse files Browse the repository at this point in the history
…ipe when data is not printed.
  • Loading branch information
Corentin de Massol committed Oct 18, 2023
1 parent 4b42aac commit ed3edb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions add_swo_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Import("env")

def swo_viewer_task(*args, **kwargs):
os.environ['PYTHONUNBUFFERED'] = '1'
print("Entrypoint")
board = env.BoardConfig()
platform = env.PioPlatform()
Expand Down

0 comments on commit ed3edb5

Please sign in to comment.