1
\$\begingroup\$

I'm trying to compile a project where I have add the Software Pack RTOS ThreadX on a STM32F4 and I'm using uVision Keil 5.29. I have included ThreadX in the project by CubeMX (option Select Components of the Menù Software Packs).

When I compile the project created by CubeMX (I have not modified anything) the linker give the following 3 errors:

Error: L6218E: Undefined symbol __RAM_segment_used_end__ (referred from tx_initialization_low_level.o).
Error: L6218E: Undefined symbol _vectors (referred from tx_initialization_low_level.o).
Error: L6218E: Undefined symbol g_pfnVectors (referred from tx_initialization_low_level.o).

This means that the 3 symbols are not defined. All the symbols are used in the object file tx_initialization_low_level.o.
Note. The assemmbler module tx_initialization_low_level.s has been inserted in the project by RTOS ThreadX.

How can I define the 3 symbols (__RAM_segment_used_end__, _vectors, g_pfnVectors) to solve these errors?

Thanks

\$\endgroup\$
4
  • 1
    \$\begingroup\$ Have you checked this thread on the ST forums? \$\endgroup\$
    – Velvel
    Jan 25 at 15:51
  • \$\begingroup\$ Yes but in this moment I can't reinstall the Keil environment so I'm looking for an other solution. Thanks. \$\endgroup\$
    – frankfalse
    Jan 25 at 15:56
  • 1
    \$\begingroup\$ I don't use Keil, but I'd be surprised if you couldn't simply just update the compiler/toolchain. \$\endgroup\$
    – Velvel
    Jan 25 at 22:05
  • \$\begingroup\$ @Velvel Ok when it will be possible I'll try to update the Keil toolchain and I hope that the information contained in this link are correct. \$\endgroup\$
    – frankfalse
    Jan 26 at 7:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.