From 4850dd17694a9976f47775971220e90a04a76e31 Mon Sep 17 00:00:00 2001 From: CXSforHPU <19511928573@163.com> Date: Sat, 29 Aug 2026 23:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=91=E4=B8=8B=E5=85=BC=E5=AE=B9python?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- projects/Edgi_Talk_M55_WIFI/rtconfig.py | 2 +- projects/Edgi_Talk_M55_XiaoZhi/rtconfig.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/Edgi_Talk_M55_WIFI/rtconfig.py b/projects/Edgi_Talk_M55_WIFI/rtconfig.py index 0a34f5cc..e1595069 100644 --- a/projects/Edgi_Talk_M55_WIFI/rtconfig.py +++ b/projects/Edgi_Talk_M55_WIFI/rtconfig.py @@ -59,7 +59,7 @@ CXXFLAGS = CFLAGS - POST_ACTION = 'python -c "import os; os.makedirs(\'Debug\', exist_ok=True)"\n' + OBJCPY + ' -O ihex $TARGET Debug/rtthread.hex\n' + SIZE + ' $TARGET \n' + POST_ACTION = 'python -c "import os;os.path.exists(\'Debug\') or os.makedirs(\'Debug\')"\n' + OBJCPY + ' -O ihex $TARGET Debug/rtthread.hex\n' + SIZE + ' $TARGET \n' elif PLATFORM == 'armclang': # toolchains diff --git a/projects/Edgi_Talk_M55_XiaoZhi/rtconfig.py b/projects/Edgi_Talk_M55_XiaoZhi/rtconfig.py index b1a4fe14..f1ca7269 100644 --- a/projects/Edgi_Talk_M55_XiaoZhi/rtconfig.py +++ b/projects/Edgi_Talk_M55_XiaoZhi/rtconfig.py @@ -60,7 +60,7 @@ # CXXFLAGS = CFLAGS CXXFLAGS = CFLAGS + ' -std=c++17' - POST_ACTION = 'python -c "import os; os.makedirs(\'Debug\', exist_ok=True)"\n' + OBJCPY + ' -O ihex $TARGET Debug/rtthread.hex\n' + SIZE + ' $TARGET \n' + POST_ACTION = 'python -c "import os;os.path.exists(\'Debug\') or os.makedirs(\'Debug\')"\n' + OBJCPY + ' -O ihex $TARGET Debug/rtthread.hex\n' + SIZE + ' $TARGET \n' elif PLATFORM == 'armclang': # toolchains