sebastianene07 commented on a change in pull request #1009:
URL: https://github.com/apache/incubator-nuttx/pull/1009#discussion_r422860409



##########
File path: arch/sim/src/Makefile
##########
@@ -71,10 +71,16 @@ CSRCS += up_unblocktask.c up_blocktask.c up_releasepending.c
 CSRCS += up_reprioritizertr.c up_exit.c up_schedulesigaction.c
 CSRCS += up_allocateheap.c
 
+ifeq ($(CONFIG_SIM_PREEMPTIBLE),y)
+  CSRCS += up_tick_me.c
+  STDLIBS += -lpthread
+endif
+
 VPATH = sim
 DEPPATH = $(patsubst %,--dep-path %,$(subst :, ,$(VPATH)))
 
 HOSTSRCS = up_hosttime.c
+HOSTCFLAGS += 
-DCONFIG_SIM_PREEMPTIBLE_TICK_DURATION_MS=$(CONFIG_SIM_PREEMPTIBLE_TICK_DURATION_MS)

Review comment:
       I will update my patch




----------------------------------------------------------------
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.

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


Reply via email to