2018-12-19 12:15 AM
Well, the generated LWIP/ethernetif.c contains the following (after the header):
Expression SWIPdatas is undefined on line 13, column 8 in ethernetif_h7.ftl.
The problematic instruction:
----------
==> list SWIPdatas as SWIP [on line 13, column 1 in ethernetif_h7.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression SWIPdatas is undefined on line 13, column 8 in ethernetif_h7.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:100)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.visit(Environment.java:297)
at freemarker.core.CompressedBlock.accept(CompressedBlock.java:73)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:237)
at com.st.microxplorer.codegenerator.CodeEngine.freemarkerDo(CodeEngine.java:269)
at com.st.microxplorer.codegenerator.CodeEngine.genCode(CodeEngine.java:190)
at com.st.microxplorer.codegenerator.CodeGenerator.generateOutputCode(CodeGenerator.java:3134)
at com.st.microxplorer.codegenerator.CodeGenerator.generateSpecificCode(CodeGenerator.java:2923)
at com.st.microxplorer.codegenerator.CodeGenerator.generateSpecificCodeFile(CodeGenerator.java:1141)
at com.st.microxplorer.codegenerator.CodeGenerator.generateCodeFiles(CodeGenerator.java:1286)
at com.st.microxplorer.codegenerator.CodeGenerator.generateCode(CodeGenerator.java:1038)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.generateCode(ProjectBuilder.java:1207)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createCode(ProjectBuilder.java:1089)
at com.st.microxplorer.plugins.projectmanager.engine.ProjectBuilder.createProject(ProjectBuilder.java:468)
at com.st.microxplorer.plugins.projectmanager.engine.GenerateProjectThread.run(GenerateProjectThread.java:41)
So some error in configuration files of CubeMX, Anyone idea to solve this?
Using the Nucleo-H743ZI
2019-01-01 10:23 AM
How is the workflow or which IDE do you use?
2019-01-01 10:30 PM
The generated code is done by a Makefile project, so no specific IDE environment required.