commit
8cd6b6818e
|
@ -265,7 +265,7 @@ static void rt_thread_idle_entry(void *parameter)
|
||||||
*/
|
*/
|
||||||
void rt_thread_idle_init(void)
|
void rt_thread_idle_init(void)
|
||||||
{
|
{
|
||||||
int i;
|
rt_ubase_t i;
|
||||||
char tidle_name[RT_NAME_MAX];
|
char tidle_name[RT_NAME_MAX];
|
||||||
|
|
||||||
for (i = 0; i < _CPUS_NR; i++)
|
for (i = 0; i < _CPUS_NR; i++)
|
||||||
|
|
|
@ -105,8 +105,11 @@ class Win32Spawn:
|
||||||
try:
|
try:
|
||||||
proc = subprocess.Popen(cmdline, env=_e, shell=False)
|
proc = subprocess.Popen(cmdline, env=_e, shell=False)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print ('Error in calling:\n' + cmdline)
|
print ('Error in calling command:' + cmdline.split(' ')[0])
|
||||||
print ('Exception: ' + e + ': ' + os.strerror(e.errno))
|
print ('Exception: ' + os.strerror(e.errno))
|
||||||
|
if (os.strerror(e.errno) == "No such file or directory"):
|
||||||
|
print ("\nPlease check Toolchains PATH setting.\n")
|
||||||
|
|
||||||
return e.errno
|
return e.errno
|
||||||
finally:
|
finally:
|
||||||
os.environ['PATH'] = old_path
|
os.environ['PATH'] = old_path
|
||||||
|
|
Loading…
Reference in New Issue