Question
Simulation error: *** missing separator. Stop.
Hello,
i know the problem of the error "*** missing separator. Stop." from the build, but i do not understand why it happen here. What i know is that it should have Tab instead of spaces, but line 4 does not have multiple spaces.
I created a simple simulation.h file which content is:
#ifndef INC_SIMULATION_H_
#define INC_SIMULATION_H_
typedef enum{
TEST,
TEST2
};
#endif /* INC_SIMULATION_H_ */Makefile with this iclude:
ADDITIONAL_SOURCES := ../Core/Inc/simulation.hAnd the error output when i start the simulator is:
Run Simulator
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
Writing STM32CubeIDE project file: ../.cproject
Done
Compile
make -f simulator/gcc/Makefile -j8
Reading ./application.config
Reading ./target.config
../Core/Inc/simulation.h:4: *** missing separator. Stop.
generated/simulator/gcc/Makefile:155: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
make: *** [all] Error 2
simulator/gcc/Makefile:32: recipe for target 'all' failed
Failed
FailedWhat can i do here?
Thank you.
