casaroli commented on code in PR #3667:
URL: https://github.com/apache/nuttx-apps/pull/3667#discussion_r3653958746
##########
Application.mk:
##########
@@ -146,10 +146,9 @@ ifneq ($(strip $(PROGNAME)),)
# CONFIG_SCHED_USER_IDENTITY) so the binary loader can recover them.
# Per-target so each PROGLIST entry picks up its own STACKSIZE_/PRIORITY_.
- $(PROGLIST): SYM_PRIORITY = $(if $(filter
SCHED_PRIORITY_DEFAULT,$(PRIORITY_$@)),0,$(PRIORITY_$@))
$(PROGLIST): MODLDFLAGS += \
$(if $(STACKSIZE_$@),--defsym nx_stacksize=$(STACKSIZE_$@)) \
- $(if $(PRIORITY_$@),--defsym nx_priority=$(SYM_PRIORITY))
+ $(if $(filter-out SCHED_PRIORITY_DEFAULT,$(PRIORITY_$@)),--defsym
nx_priority=$(PRIORITY_$@))
Review Comment:
Yes, I think so. I will push the fix here.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]