I have generated mock_foo.h
and mock_foo.c
from my foo.h
header using Ceedling. The problem is that in generated file there are function names the same as in foo.c
. For example, foo_function()
is now in both foo.c
and mock_foo.c
, and I have to manually add __wrap
prefix so that linker doesn't complain about multiple definitions.
Is it possible to add some option in project.yml
in order to generate function which already have that prefix, ie. __wrap_foo_function()
?