Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/Edgi_Talk_M55_WIFI/rtconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion projects/Edgi_Talk_M55_XiaoZhi/rtconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading