Errors in official example

cancel
Showing results for 
Search instead for 
Did you mean: 

Errors in official example

500 Views
1040180003
Contributor III

Hello!

It turns out to be many errors when I was building the official example "freertos_s32k126" of "SDK v3.0.0 Example Projects".

The version of my S32DS is:

S32DS_ARM_v2018.R1_UP11.zip

S32DS_ARM_Win32_v2018.R1_b180326.exe

This is the example I choose:

pastedImage_1.png

These are the errors:

pastedImage_8.png

I have attached my project below.

Please give me some guidance.

Thanks!

4 Replies

274 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

I imported your project and there is no issue on my side. Can you please share output from your build console? You can also try refresh your project: 

pastedImage_1.png

and rebuild index: 

pastedImage_2.png

Jiri

0 Kudos

274 Views
1040180003
Contributor III

Thank you, Jiri.

I I just did what you said.  Refresh the project and rebuild the index.

There are still many errors.

Below is the output of the console(The log is too long, I copied the log twice):

19:35:22 **** Build of configuration Debug_FLASH for project freertos_s32k146_SDK_v3_0_0 ****
make -j8 all
Building file: ../Generated_Code/Cpu.c
Building file: ../Generated_Code/clockMan1.c
Building file: ../Generated_Code/pin_mux.c
Executing target #1 ../Generated_Code/Cpu.c
Executing target #2 ../Generated_Code/clockMan1.c
Executing target #3 ../Generated_Code/pin_mux.c
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Generated_Code/Cpu.args" -MMD -MP -MF"Generated_Code/Cpu.d" -MT"Generated_Code/Cpu.o" -o "Generated_Code/Cpu.o" "../Generated_Code/Cpu.c"
arm-none-eabi-gcc "@Generated_Code/clockMan1.args" -MMD -MP -MF"Generated_Code/clockMan1.d" -MT"Generated_Code/clockMan1.o" -o "Generated_Code/clockMan1.o" "../Generated_Code/clockMan1.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Generated_Code/pin_mux.args" -MMD -MP -MF"Generated_Code/pin_mux.d" -MT"Generated_Code/pin_mux.o" -o "Generated_Code/pin_mux.o" "../Generated_Code/pin_mux.c"
Building file: C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/platform/devices/S32K146/startup/gcc/startup_S32K146.S
Building file: C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/platform/devices/S32K146/startup/system_S32K146.c
Building file: C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/platform/devices/startup.c
In file included from ../Generated_Code/Cpu.h:65:0,
from ../Generated_Code/Cpu.c:53:
../Generated_Code/clockMan1.h:74:8: error: unknown type name 'clock_manager_user_config_t'
extern clock_manager_user_config_t clockMan1_InitConfig0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/clockMan1.h:80:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
extern clock_manager_user_config_t const *g_clockManConfigsArr[];
^~~~~
../Generated_Code/clockMan1.h:83:8: error: unknown type name 'peripheral_clock_config_t'
extern peripheral_clock_config_t peripheralClockConfig0[];
^~~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/clockMan1.h:93:8: error: unknown type name 'clock_manager_callback_user_config_t'
extern clock_manager_callback_user_config_t *g_clockManCallbacksArr[];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Generated_Code/Cpu.h:66:0,
from ../Generated_Code/Cpu.c:53:
../Generated_Code/pin_mux.h:2135:8: error: unknown type name 'pin_settings_config_t'
Executing target #4 C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/platform/devices/S32K146/startup/gcc/startup_S32K146.S
extern pin_settings_config_t g_pin_mux_InitConfigArr[NUM_OF_CONFIGURED_PINS];
^~~~~~~~~~~~~~~~~~~~~
Executing target #5 C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/platform/devices/S32K146/startup/system_S32K146.c
In file included from ../Generated_Code/pin_mux.c:43:0:
../Generated_Code/pin_mux.h:2135:8: error: unknown type name 'pin_settings_config_t'
extern pin_settings_config_t g_pin_mux_InitConfigArr[NUM_OF_CONFIGURED_PINS];
^~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:76:1: error: unknown type name 'pin_settings_config_t'
pin_settings_config_t g_pin_mux_InitConfigArr[NUM_OF_CONFIGURED_PINS] =
^~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:78:5: warning: braces around scalar initializer
{
^
../Generated_Code/pin_mux.c:78:5: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:79:9: error: field name not in record or union initializer
.base = PORTD,
^
../Generated_Code/pin_mux.c:79:9: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:79:26: error: 'PORTD' undeclared here (not in a function)
.base = PORTD,
^~~~~
../Generated_Code/pin_mux.c:80:9: error: field name not in record or union initializer
.pinPortIdx = 0u,
^
../Generated_Code/pin_mux.c:80:9: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:80:26: warning: excess elements in scalar initializer
.pinPortIdx = 0u,
^~
../Generated_Code/pin_mux.c:80:26: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:81:9: error: field name not in record or union initializer
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
^
../Generated_Code/pin_mux.c:81:9: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:81:26: error: 'PORT_INTERNAL_PULL_NOT_ENABLED' undeclared here (not in a function)
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:81:26: warning: excess elements in scalar initializer
../Generated_Code/pin_mux.c:81:26: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:82:9: error: field name not in record or union initializer
.passiveFilter = false,
^
../Generated_Code/pin_mux.c:82:9: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:82:26: error: 'false' undeclared here (not in a function)
.passiveFilter = false,
^~~~~
Executing target #6 C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/platform/devices/startup.c
make: *** [Generated_Code/subdir.mk:49: Generated_Code/Cpu.o] Error 1
../Generated_Code/pin_mux.c:82:26: warning: excess elements in scalar initializer
../Generated_Code/pin_mux.c:82:26: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
make: *** Waiting for unfinished jobs....
../Generated_Code/pin_mux.c:83:9: error: field name not in record or union initializer
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
^
../Generated_Code/pin_mux.c:83:9: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:83:26: error: 'PORT_LOW_DRIVE_STRENGTH' undeclared here (not in a function)
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
^~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:83:26: warning: excess elements in scalar initializer
../Generated_Code/pin_mux.c:83:26: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
Invoking: Standard S32DS Assembler
../Generated_Code/pin_mux.c:84:9: error: field name not in record or union initializer
.mux = PORT_MUX_AS_GPIO,
^
../Generated_Code/pin_mux.c:84:9: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:84:26: error: 'PORT_MUX_AS_GPIO' undeclared here (not in a function)
.mux = PORT_MUX_AS_GPIO,
^~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:84:26: warning: excess elements in scalar initializer
../Generated_Code/pin_mux.c:84:26: note: (near initialization for 'g_pin_mux_InitConfigArr[0]')
../Generated_Code/pin_mux.c:85:9: error: field name not in record or union initializer
.pinLock = false,
^

。。。。。。(the log is too long)

../Generated_Code/pin_mux.c:197:9: error: field name not in record or union initializer
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
^
../Generated_Code/pin_mux.c:197:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:198:5: error: field name not in record or union initializer
.simConfig =
^
../Generated_Code/clockMan1.c:198:5: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:197:26: warning: excess elements in scalar initializer
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:197:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:199:5: warning: braces around scalar initializer
{
^
../Generated_Code/pin_mux.c:198:9: error: field name not in record or union initializer
.passiveFilter = false,
^
../Generated_Code/clockMan1.c:199:5: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:198:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:200:9: error: field name not in record or union initializer
.clockOutConfig = /*!< Clock Out configuration. */
^
../Generated_Code/pin_mux.c:198:26: warning: excess elements in scalar initializer
.passiveFilter = false,
^~~~~
../Generated_Code/clockMan1.c:200:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:198:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:201:9: warning: braces around scalar initializer
{
^
../Generated_Code/pin_mux.c:199:9: error: field name not in record or union initializer
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
^
../Generated_Code/clockMan1.c:201:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:199:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:202:13: error: field name not in record or union initializer
.initialize = true, /*!< Initialize */
^
../Generated_Code/pin_mux.c:199:26: warning: excess elements in scalar initializer
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
^~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/clockMan1.c:202:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:199:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/pin_mux.c:200:9: error: field name not in record or union initializer
.mux = PORT_MUX_AS_GPIO,
^
../Generated_Code/pin_mux.c:200:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:203:13: error: field name not in record or union initializer
.enable = false, /*!< CLKOUTEN */
^
../Generated_Code/pin_mux.c:200:26: warning: excess elements in scalar initializer
.mux = PORT_MUX_AS_GPIO,
^~~~~~~~~~~~~~~~
../Generated_Code/clockMan1.c:203:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:200:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/pin_mux.c:201:9: error: field name not in record or union initializer
.pinLock = false,
^
../Generated_Code/pin_mux.c:201:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:203:33: warning: excess elements in scalar initializer
.enable = false, /*!< CLKOUTEN */
^~~~~
../Generated_Code/clockMan1.c:203:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:201:26: warning: excess elements in scalar initializer
.pinLock = false,
^~~~~
../Generated_Code/pin_mux.c:201:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:204:13: error: field name not in record or union initializer
.source = SIM_CLKOUT_SEL_SYSTEM_SCG_CLKOUT, /*!< CLKOUTSEL */
^
../Generated_Code/pin_mux.c:202:9: error: field name not in record or union initializer
.intConfig = PORT_DMA_INT_DISABLED,
^
../Generated_Code/clockMan1.c:204:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:202:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:204:33: error: 'SIM_CLKOUT_SEL_SYSTEM_SCG_CLKOUT' undeclared here (not in a function)
.source = SIM_CLKOUT_SEL_SYSTEM_SCG_CLKOUT, /*!< CLKOUTSEL */
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:202:26: warning: excess elements in scalar initializer
.intConfig = PORT_DMA_INT_DISABLED,
^~~~~~~~~~~~~~~~~~~~~
../Generated_Code/clockMan1.c:204:33: warning: excess elements in scalar initializer
../Generated_Code/pin_mux.c:202:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:204:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:203:9: error: field name not in record or union initializer
.clearIntFlag = false,
^
../Generated_Code/clockMan1.c:205:13: error: field name not in record or union initializer
.divider = SIM_CLKOUT_DIV_BY_1, /*!< CLKOUTDIV */
^
../Generated_Code/pin_mux.c:203:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:205:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:203:26: warning: excess elements in scalar initializer
.clearIntFlag = false,
^~~~~
../Generated_Code/clockMan1.c:205:33: error: 'SIM_CLKOUT_DIV_BY_1' undeclared here (not in a function)
.divider = SIM_CLKOUT_DIV_BY_1, /*!< CLKOUTDIV */
^~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:203:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:205:33: warning: excess elements in scalar initializer
../Generated_Code/clockMan1.c:205:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:204:9: error: field name not in record or union initializer
.gpioBase = PTC,
^
../Generated_Code/pin_mux.c:204:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:207:9: error: field name not in record or union initializer
.lpoClockConfig = /*!< Low Power Clock configuration. */
^
../Generated_Code/clockMan1.c:207:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:204:26: warning: excess elements in scalar initializer
.gpioBase = PTC,
^~~
../Generated_Code/clockMan1.c:208:9: warning: braces around scalar initializer
{
^
../Generated_Code/clockMan1.c:208:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:204:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:209:13: error: field name not in record or union initializer
.initialize = true, /*!< Initialize */
^
../Generated_Code/clockMan1.c:209:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:205:9: error: field name not in record or union initializer
.direction = GPIO_OUTPUT_DIRECTION,
^
../Generated_Code/pin_mux.c:205:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:210:13: error: field name not in record or union initializer
.enableLpo1k = true, /*!< LPO1KCLKEN */
^
../Generated_Code/clockMan1.c:210:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:205:26: warning: excess elements in scalar initializer
.direction = GPIO_OUTPUT_DIRECTION,
^~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:205:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:210:33: warning: excess elements in scalar initializer
.enableLpo1k = true, /*!< LPO1KCLKEN */
^~~~
../Generated_Code/pin_mux.c:206:9: error: field name not in record or union initializer
.digitalFilter = false,
^
../Generated_Code/clockMan1.c:210:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:206:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:211:13: error: field name not in record or union initializer
.enableLpo32k = true, /*!< LPO32KCLKEN */
^
../Generated_Code/pin_mux.c:206:26: warning: excess elements in scalar initializer
.digitalFilter = false,
^~~~~
../Generated_Code/clockMan1.c:211:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:206:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/pin_mux.c:207:9: error: field name not in record or union initializer
.initValue = 0u,
^
../Generated_Code/clockMan1.c:211:33: warning: excess elements in scalar initializer
.enableLpo32k = true, /*!< LPO32KCLKEN */
^~~~
../Generated_Code/pin_mux.c:207:9: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:211:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:207:26: warning: excess elements in scalar initializer
.initValue = 0u,
^~
../Generated_Code/pin_mux.c:207:26: note: (near initialization for 'g_pin_mux_InitConfigArr[8]')
../Generated_Code/clockMan1.c:212:13: error: field name not in record or union initializer
.sourceLpoClk = SIM_LPO_CLK_SEL_LPO_128K, /*!< LPOCLKSEL */
^
../Generated_Code/clockMan1.c:212:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:209:5: warning: braces around scalar initializer
{
^
../Generated_Code/pin_mux.c:209:5: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:212:33: error: 'SIM_LPO_CLK_SEL_LPO_128K' undeclared here (not in a function)
.sourceLpoClk = SIM_LPO_CLK_SEL_LPO_128K, /*!< LPOCLKSEL */
^~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:210:9: error: field name not in record or union initializer
.base = PORTC,
^
../Generated_Code/clockMan1.c:212:33: warning: excess elements in scalar initializer
../Generated_Code/pin_mux.c:210:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:212:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:211:9: error: field name not in record or union initializer
.pinPortIdx = 13u,
^
../Generated_Code/clockMan1.c:213:13: error: field name not in record or union initializer
.sourceRtcClk = SIM_RTCCLK_SEL_SOSCDIV1_CLK, /*!< RTCCLKSEL */
^
../Generated_Code/pin_mux.c:211:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:213:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:211:26: warning: excess elements in scalar initializer
.pinPortIdx = 13u,
^~~
../Generated_Code/clockMan1.c:213:33: error: 'SIM_RTCCLK_SEL_SOSCDIV1_CLK' undeclared here (not in a function)
.sourceRtcClk = SIM_RTCCLK_SEL_SOSCDIV1_CLK, /*!< RTCCLKSEL */
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:211:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:213:33: warning: excess elements in scalar initializer
../Generated_Code/clockMan1.c:213:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:212:9: error: field name not in record or union initializer
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
^
../Generated_Code/clockMan1.c:208:9: warning: excess elements in scalar initializer
{
^
../Generated_Code/pin_mux.c:212:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:208:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:215:9: error: field name not in record or union initializer
.platGateConfig = /*!< Platform Gate Clock configuration. */
^
../Generated_Code/pin_mux.c:212:26: warning: excess elements in scalar initializer
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/clockMan1.c:215:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:212:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:216:9: warning: braces around scalar initializer
{
^
../Generated_Code/pin_mux.c:213:9: error: field name not in record or union initializer
.passiveFilter = false,
^
../Generated_Code/clockMan1.c:216:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:213:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:217:13: error: field name not in record or union initializer
.initialize = true, /*!< Initialize */
^
../Generated_Code/clockMan1.c:217:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:213:26: warning: excess elements in scalar initializer
.passiveFilter = false,
^~~~~
../Generated_Code/clockMan1.c:218:13: error: field name not in record or union initializer
.enableMscm = true, /*!< CGCMSCM */
^
../Generated_Code/pin_mux.c:213:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:218:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:214:9: error: field name not in record or union initializer
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
^
../Generated_Code/pin_mux.c:214:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:218:33: warning: excess elements in scalar initializer
.enableMscm = true, /*!< CGCMSCM */
^~~~
../Generated_Code/clockMan1.c:218:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:214:26: warning: excess elements in scalar initializer
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
^~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:214:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:219:13: error: field name not in record or union initializer
.enableMpu = true, /*!< CGCMPU */
^
../Generated_Code/clockMan1.c:219:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:215:9: error: field name not in record or union initializer
.mux = PORT_MUX_AS_GPIO,
^
../Generated_Code/pin_mux.c:215:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:219:33: warning: excess elements in scalar initializer
.enableMpu = true, /*!< CGCMPU */
^~~~
../Generated_Code/clockMan1.c:219:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:215:26: warning: excess elements in scalar initializer
.mux = PORT_MUX_AS_GPIO,
^~~~~~~~~~~~~~~~
../Generated_Code/clockMan1.c:220:13: error: field name not in record or union initializer
.enableDma = true, /*!< CGCDMA */
^
../Generated_Code/pin_mux.c:215:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:220:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:216:9: error: field name not in record or union initializer
.pinLock = false,
^
../Generated_Code/pin_mux.c:216:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:220:33: warning: excess elements in scalar initializer
.enableDma = true, /*!< CGCDMA */
^~~~
../Generated_Code/clockMan1.c:220:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:216:26: warning: excess elements in scalar initializer
.pinLock = false,
^~~~~
../Generated_Code/clockMan1.c:221:13: error: field name not in record or union initializer
.enableErm = true, /*!< CGCERM */
^
../Generated_Code/clockMan1.c:221:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:216:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:221:33: warning: excess elements in scalar initializer
.enableErm = true, /*!< CGCERM */
^~~~
../Generated_Code/clockMan1.c:221:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:217:9: error: field name not in record or union initializer
.intConfig = PORT_INT_RISING_EDGE,
^
../Generated_Code/pin_mux.c:217:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:222:13: error: field name not in record or union initializer
.enableEim = true, /*!< CGCEIM */
^
../Generated_Code/clockMan1.c:222:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:217:26: error: 'PORT_INT_RISING_EDGE' undeclared here (not in a function)
.intConfig = PORT_INT_RISING_EDGE,
^~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:217:26: warning: excess elements in scalar initializer
../Generated_Code/clockMan1.c:222:33: warning: excess elements in scalar initializer
.enableEim = true, /*!< CGCEIM */
^~~~
../Generated_Code/pin_mux.c:217:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:222:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:218:9: error: field name not in record or union initializer
.clearIntFlag = true,
^
../Generated_Code/clockMan1.c:216:9: warning: excess elements in scalar initializer
{
^
../Generated_Code/pin_mux.c:218:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:216:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:218:26: error: 'true' undeclared here (not in a function)
.clearIntFlag = true,
^~~~
../Generated_Code/clockMan1.c:225:9: error: field name not in record or union initializer
.qspiRefClkGating = /*!< Quad Spi Internal Reference Clock Gating. */
^
../Generated_Code/pin_mux.c:218:26: warning: excess elements in scalar initializer
../Generated_Code/clockMan1.c:225:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:218:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:226:9: warning: braces around scalar initializer
{
^
../Generated_Code/clockMan1.c:226:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:219:9: error: field name not in record or union initializer
.gpioBase = PTC,
^
../Generated_Code/clockMan1.c:227:13: error: field name not in record or union initializer
.enableQspiRefClk = false, /*!< Qspi reference clock gating */
^
../Generated_Code/pin_mux.c:219:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:227:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:219:26: warning: excess elements in scalar initializer
.gpioBase = PTC,
^~~
../Generated_Code/clockMan1.c:226:9: warning: excess elements in scalar initializer
{
^
../Generated_Code/pin_mux.c:219:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:226:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:220:9: error: field name not in record or union initializer
.direction = GPIO_INPUT_DIRECTION,
^
../Generated_Code/clockMan1.c:229:9: error: field name not in record or union initializer
.tclkConfig = /*!< TCLK CLOCK configuration. */
^
../Generated_Code/pin_mux.c:220:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:229:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:220:26: error: 'GPIO_INPUT_DIRECTION' undeclared here (not in a function)
.direction = GPIO_INPUT_DIRECTION,
^~~~~~~~~~~~~~~~~~~~
../Generated_Code/pin_mux.c:220:26: warning: excess elements in scalar initializer
../Generated_Code/pin_mux.c:220:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:230:9: warning: braces around scalar initializer
{
^
../Generated_Code/clockMan1.c:230:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:221:9: error: field name not in record or union initializer
.digitalFilter = false,
^
../Generated_Code/pin_mux.c:221:9: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:231:13: error: field name not in record or union initializer
.initialize = true, /*!< Initialize */
^
../Generated_Code/clockMan1.c:231:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/pin_mux.c:221:26: warning: excess elements in scalar initializer
.digitalFilter = false,
^~~~~
../Generated_Code/pin_mux.c:221:26: note: (near initialization for 'g_pin_mux_InitConfigArr[9]')
../Generated_Code/clockMan1.c:232:13: error: field name not in record or union initializer
.tclkFreq[0] = 0U, /*!< TCLK0 */
^
../Generated_Code/clockMan1.c:232:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:232:33: warning: excess elements in scalar initializer
.tclkFreq[0] = 0U, /*!< TCLK0 */
^~
../Generated_Code/clockMan1.c:232:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:233:13: error: field name not in record or union initializer
.tclkFreq[1] = 0U, /*!< TCLK1 */
^
../Generated_Code/clockMan1.c:233:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:233:33: warning: excess elements in scalar initializer
.tclkFreq[1] = 0U, /*!< TCLK1 */
^~
../Generated_Code/clockMan1.c:233:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:234:13: error: field name not in record or union initializer
.tclkFreq[2] = 0U, /*!< TCLK2 */
^
../Generated_Code/clockMan1.c:234:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:234:33: warning: excess elements in scalar initializer
.tclkFreq[2] = 0U, /*!< TCLK2 */
^~
../Generated_Code/clockMan1.c:234:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:230:9: warning: excess elements in scalar initializer
{
^
../Generated_Code/clockMan1.c:230:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:236:9: error: field name not in record or union initializer
.traceClockConfig = /*!< Debug trace Clock Configuration. */
^
../Generated_Code/clockMan1.c:236:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:237:9: warning: braces around scalar initializer
{
^
../Generated_Code/clockMan1.c:237:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:238:13: error: field name not in record or union initializer
.initialize = true, /*!< Initialize */
^
../Generated_Code/clockMan1.c:238:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:239:13: error: field name not in record or union initializer
.divEnable = true, /*!< TRACEDIVEN */
^
make: *** [Generated_Code/subdir.mk:65: Generated_Code/pin_mux.o] Error 1
../Generated_Code/clockMan1.c:239:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:239:33: warning: excess elements in scalar initializer
.divEnable = true, /*!< TRACEDIVEN */
^~~~
../Generated_Code/clockMan1.c:239:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:240:13: error: field name not in record or union initializer
.source = CLOCK_TRACE_SRC_CORE_CLK, /*!< TRACECLK_SEL */
^
../Generated_Code/clockMan1.c:240:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:240:33: error: 'CLOCK_TRACE_SRC_CORE_CLK' undeclared here (not in a function)
.source = CLOCK_TRACE_SRC_CORE_CLK, /*!< TRACECLK_SEL */
^~~~~~~~~~~~~~~~~~~~~~~~
../Generated_Code/clockMan1.c:240:33: warning: excess elements in scalar initializer
../Generated_Code/clockMan1.c:240:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:241:13: error: field name not in record or union initializer
.divider = 0U, /*!< TRACEDIV */
^
../Generated_Code/clockMan1.c:241:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:241:33: warning: excess elements in scalar initializer
.divider = 0U, /*!< TRACEDIV */
^~
../Generated_Code/clockMan1.c:241:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:242:13: error: field name not in record or union initializer
.divFraction = false, /*!< TRACEFRAC */
^
../Generated_Code/clockMan1.c:242:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:242:33: warning: excess elements in scalar initializer
.divFraction = false, /*!< TRACEFRAC */
^~~~~
../Generated_Code/clockMan1.c:242:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:237:9: warning: excess elements in scalar initializer
{
^
../Generated_Code/clockMan1.c:237:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:199:5: warning: excess elements in scalar initializer
{
^
../Generated_Code/clockMan1.c:199:5: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:245:5: error: field name not in record or union initializer
.pmcConfig =
^
../Generated_Code/clockMan1.c:245:5: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:246:5: warning: braces around scalar initializer
{
^
../Generated_Code/clockMan1.c:246:5: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:247:9: error: field name not in record or union initializer
.lpoClockConfig = /*!< Low Power Clock configuration. */
^
../Generated_Code/clockMan1.c:247:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:248:9: warning: braces around scalar initializer
{
^
../Generated_Code/clockMan1.c:248:9: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:249:13: error: field name not in record or union initializer
.initialize = true, /*!< Initialize */
^
../Generated_Code/clockMan1.c:249:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:250:13: error: field name not in record or union initializer
.enable = true, /*!< Enable/disable LPO */
^
../Generated_Code/clockMan1.c:250:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:250:33: warning: excess elements in scalar initializer
.enable = true, /*!< Enable/disable LPO */
^~~~
../Generated_Code/clockMan1.c:250:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:251:13: error: field name not in record or union initializer
.trimValue = 0, /*!< Trimming value for LPO */
^
../Generated_Code/clockMan1.c:251:13: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:251:33: warning: excess elements in scalar initializer
.trimValue = 0, /*!< Trimming value for LPO */
^
../Generated_Code/clockMan1.c:251:33: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:246:5: warning: excess elements in scalar initializer
{
^
../Generated_Code/clockMan1.c:246:5: note: (near initialization for 'clockMan1_InitConfig0')
../Generated_Code/clockMan1.c:257:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
clock_manager_user_config_t const * g_clockManConfigsArr[] = {
^~~~~
../Generated_Code/clockMan1.c:261:1: error: unknown type name 'clock_manager_callback_user_config_t'
clock_manager_callback_user_config_t * g_clockManCallbacksArr[] = {(void*)0};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Generated_Code/subdir.mk:57: Generated_Code/clockMan1.o] Error 1

19:25:09 Build Finished (took 3s.169ms)

pastedImage_1.png

pastedImage_2.png

Is this the information you need?

Can you help me find the problem?

Thanks again!

Lu

0 Kudos

274 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

it looks that you have some issue with Eclipse itself. Please try to re-install S32DS. Hope it helps. 

Jiri 

274 Views
1040180003
Contributor III

OK.  l will try to reintall the IDE.

Thank you Jiri.

0 Kudos