Skip to main content
Associate
September 5, 2024
Question

Dual core H7 - export linker symbols of M4 and import them in M7 project

  • September 5, 2024
  • 1 reply
  • 625 views

The project for dual core H7 contains two sub-projects, each targetting its own MCU. Since both share the same memory and peripherals, one should be able to re-use (specific) symbols of one project in the other.

Is it possible to export a list of linker symbols from one MCU project and import them to the other? I tried adding a reference under 'C/C++ General / Paths and symbols', but it doesn't work.

Any suggestions?

    1 reply

    matevzbAuthor
    Associate
    September 5, 2024

    Made a Python script that runs as post-build command - the script exports the list of symbols I am interested in and generates a header file that is automatically included in the second project.