s32ds + greenhill compiler C code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

s32ds + greenhill compiler C code

96件の閲覧回数
kdscrr
Contributor I

Dear:
HELLO, When I Integrate ghs into s32ds ,and use the S32ds IDE to build the project, as you see, I have import the asm file, but the log show that the S32DS can not call the ghs to compiler the asm code, I do not KNOW why. I need some help.
Thank you.

kdscrr_0-1759126181967.png


in the build log, I can not see the asm file to be compiled.

kdscrr_1-1759126262577.pngkdscrr_2-1759126300493.png

 

 

0 件の賞賛
返信
2 返答(返信)

31件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

As the error express you have unresolved symbols:.

Here are some general tips:

Causes of Unresolved Symbols in S32DS

  1. Missing Source Files or Libraries

    • You may have included a header file but forgot to link the corresponding source file or library.
    • Check your project settings to ensure all necessary .c or .cpp files are included.
  2. Incorrect Linker Settings

    • Verify that your linker script includes all required memory sections and symbols.
    • Ensure that the paths to libraries and object files are correctly set in the project properties.
  3. Code Generation Issues

    • If you're using the S32 Configuration Tool, make sure to click “Update Code” after making changes to peripherals, pins, clocks, etc.
    • Sometimes peripherals are not correctly added (e.g., SIUL2 for S32K344), which causes headers to be invalid after code generation. [Re: S32K34...inclusions]
  4. Wrong Build Configuration

    • Ensure you're building in the correct mode (e.g., Debug vs. Release).
    • Some symbols might only be available in specific configurations.
  5. Circular or Missing Includes

    • Check for missing or circular #include statements.
    • Use “Index > Rebuild” in Eclipse to refresh symbol resolution.

Best regards,

Peter

0 件の賞賛
返信

90件の閲覧回数
kdscrr
Contributor I

I only add the asm file, as the picture show, it can not compile.

kdscrr_0-1759126834719.png

 

0 件の賞賛
返信