You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Compile successfully and get the two modules are available in standalone mode
The problem
I didn't searched exhaustively for the same problem with other modules, but with lf_em4100emul and lf_em4100rswb there are the same definitions of
so just deleting them in the second file works fine.
Since dankarmulti actually includes the C source files in its own file, the static keyword doesn't help. Possible solutions are moving those common functions into a single, separate file (for example, util) or renaming each function differently in every module (maybe setting the standard to append the module name to each function or something similar). I don't know which one is the clearest solution.
The text was updated successfully, but these errors were encountered:
Describe the bug
Some standalone modules are incompatible due to multiple definitions of the same functions, so we get compilation errors.
To Reproduce
Steps to reproduce the behavior:
STANDALONE=DANKARMULTI
inMakefile.platform
armsrc/Standalone/dankarmulti.c
similarly to the following:Expected behavior
Compile successfully and get the two modules are available in standalone mode
The problem
I didn't searched exhaustively for the same problem with other modules, but with
lf_em4100emul
andlf_em4100rswb
there are the same definitions ofso just deleting them in the second file works fine.
Since dankarmulti actually includes the C source files in its own file, the static keyword doesn't help. Possible solutions are moving those common functions into a single, separate file (for example,
util
) or renaming each function differently in every module (maybe setting the standard to append the module name to each function or something similar). I don't know which one is the clearest solution.The text was updated successfully, but these errors were encountered: