rtel wrote on Sunday, March 08, 2015:
I assume you don’t have any solution for me?
We can’t offer solutions if we don’t know what the problem is. For
I solved the last problem, with the error Undefined reference to
by adding the source files queue.c list.c task.c and port.c
As your first post referenced a documentation page that tells you to add
(http://www.freertos.org/Creating-a-new-FreeRTOS-project.html), it would
not occur to a responder on the forum that in fact you had not included
the files - but were trying to call functions in them - hence they would
not offer that as a potential solution.
it seems that in win32 simulator
there are some functions defined at main.c
that some source files defined them as external function.
Therefore when creating new project, at the main file these functions
have to appear(and defined correctly).
…except that is not the case. The Windows port has no more
dependencies than any other port. It looks like your FreeRTOSConfig.h
file is defining macros that call functions that are not part of the
FreeRTOS code - that does not mean you have to define the functions to
use the Windows port - just that you have to define any function that
you actually try calling. In particular in this case I think your
configASSERT() function is calling vAssertCalled(). configASSERT() is
an application definition, it is not defined by FreeRTOS.