You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/16 04:15:13 UTC

[GitHub] [incubator-nuttx-apps] baggio63446333 opened a new pull request, #1278: nshlib: Change ELF priority and stack size based on builtin list

baggio63446333 opened a new pull request, #1278:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1278

   ## Summary
   When an application is used as a loadable ELF module like as `CONFIG_EXAMPLES_XXX=m`,
   the priority and stack size of that application task is always fixed at the default values.
   In other words, `CONFIG_EXAMPLES_XXX_PRIORITY` and `CONFIG_EXAMPLES_XXX_STACKSIZE`
   are not referenced at all.
   
   This commit changes to get the priority and stack size of the application from the bulitin list.
   
   If you change the name of the application offline, it will still work with the default values.
   If the application name is used as it was built, the priority and stack size set in Kconfig can be applied.
   
   ## Impact
   Loadable ELF application.
   
   ## Testing
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1278: nshlib: Change ELF priority and stack size based on builtin list

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #1278:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1278


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx-apps] pkarashchenko commented on a diff in pull request #1278: nshlib: Change ELF priority and stack size based on builtin list

Posted by GitBox <gi...@apache.org>.
pkarashchenko commented on code in PR #1278:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1278#discussion_r946544243


##########
nshlib/nsh_fileapps.c:
##########
@@ -73,6 +75,10 @@ int nsh_fileapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
   pid_t pid;
   int rc = 0;
   int ret;
+#ifdef CONFIG_BUILTIN
+  char *appname;

Review Comment:
   ```suggestion
     FAR char *appname;
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx-apps] baggio63446333 commented on a diff in pull request #1278: nshlib: Change ELF priority and stack size based on builtin list

Posted by GitBox <gi...@apache.org>.
baggio63446333 commented on code in PR #1278:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1278#discussion_r946580480


##########
nshlib/nsh_fileapps.c:
##########
@@ -73,6 +75,10 @@ int nsh_fileapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
   pid_t pid;
   int rc = 0;
   int ret;
+#ifdef CONFIG_BUILTIN
+  char *appname;

Review Comment:
   Fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org