cancel
Showing results for 
Search instead for 
Did you mean: 

Error in code generation for LwIP

Alex_Doc
Associate

Hi!

I generate the CubeIDE project (FW v 1.3.0) for STM32H743ZI, but have an error. See full in "ethernetif.c"

FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> SWIPdatas [in template "ethernetif_h7.ftl" at line 13, column 8]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #list SWIPdatas as SWIP [in template "ethernetif_h7.ftl" at line 13, column 1]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.Expression.assertNonNull(Expression.java:249)

IOC on attach.

Any ideas?

0 REPLIES 0