diff --git a/sched/init/nx_bringup.c b/sched/init/nx_bringup.c index 63f703b1a83..04d9ed8d267 100644 --- a/sched/init/nx_bringup.c +++ b/sched/init/nx_bringup.c @@ -402,6 +402,10 @@ int nx_bringup(void) * by all of the threads created by the IDLE task. */ +#ifdef CONFIG_LIB_HOMEDIR + setenv("PWD", CONFIG_LIB_HOMEDIR, 1); +#endif + #ifdef CONFIG_PATH_INITIAL setenv("PATH", CONFIG_PATH_INITIAL, 1); #endif