Upgrading to SDK v2.12.1 for the RT1176, i've discovered that similar bugs as reported for v2.12.0 in a previous ticket still exist:
- In file MIMXRT1176_cm7_features.h line 430: The define FSL_FEATURE_FLEXRAM_HAS_ECC should be set to 1, not 0. The RT1176 FlexRAM does support ECC. Having the define set to 0 does break previous code that uses the ECC support, as the corresponding access functions in fsl_flexram.c won't be compiled..
- When fixing 1. (setting FSL_FEATURE_FLEXRAM_HAS_ECC to 1) the compilation of fsl_flexram.c does fail. The defines used in function FLEXRAM_ErrorInjection() do not exist. The function also tries to access a register, that according to the i.MX RT1170 Processor Reference Manual Rev.1 does not exist on that processor.
This is a major bug, that was already reported for v2.12.0 of the SDK. The workaround is to set the define FSL_FEATURE_FLEXRAM_HAS_ECC manually to 1 and to remove the function FLEXRAM_ErrorInjection() from fsl_flexram.c.