File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717 PLATFORM = 'gcc'
1818 EXEC_PATH = r'E:\work\env\tools\gnu_gcc\arm_gcc\mingw\bin'
1919else :
20- print 'Please make sure your toolchains is GNU GCC!'
20+ print ( 'Please make sure your toolchains is GNU GCC!' )
2121 exit (0 )
2222
2323if os .getenv ('RTT_EXEC_PATH' ):
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ if rtconfig.CROSS_TOOL == 'gcc':
3030 print ('build M0 code first' )
3131 if sys .platform .startswith ('linux' ):
3232 import glob
33- ocwd = os .getcwdu ()
33+ ocwd = os .getcwd ()
3434 os .chdir ('../M0' )
3535 res = os .system ('scons' )
3636 if res :
@@ -41,7 +41,7 @@ if rtconfig.CROSS_TOOL == 'gcc':
4141 os .chdir (ocwd )
4242 else :
4343 # Assume Windows.
44- ocwd = os .getcwdu ()
44+ ocwd = os .getcwd ()
4545 os .chdir ('..\M0' )
4646 os .system ('scons.bat' )
4747 os .chdir (ocwd )
You can’t perform that action at this time.
0 commit comments