Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9d32f26

Browse files
committedMar 12, 2024
QoL improvements
1 parent 8662df0 commit 9d32f26

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎tools/config_editor/app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
This is a simple application to configure the static libraries for the ESP32 Arduino core.
77
It allows the user to select the targets to compile, change the configuration options and compile the libraries.
88
9+
Requires Python 3.9 or later.
10+
911
The application is built using the "textual" library, which is a Python library for building text-based user interfaces.
1012
1113
Note that this application still needs the requirements from esp32-arduino-lib-builder to be installed.
@@ -114,6 +116,9 @@ def arduino_default_path():
114116
return os.path.join(home, "Documents", "Arduino", "hardware", "espressif", "esp32")
115117

116118
def main() -> None:
119+
# Set the PYTHONUNBUFFERED environment variable to "1" to disable the output buffering
120+
os.environ['PYTHONUNBUFFERED'] = "1"
121+
117122
app = ConfigEditorApp()
118123

119124
parser = argparse.ArgumentParser(description="Configure and compile the ESP32 Arduino static libraries")

0 commit comments

Comments
 (0)
Please sign in to comment.