-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs for tricore #3819
docs for tricore #3819
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of comments. I'm now checking on the devkit linker script for the TC377TX and whether its enough to provide that to link the test elf.
tools.build:compiler_executables={"c":"tricore-elf-gcc","cpp":"tricore-elf-g++"} | ||
|
||
|
||
This assumes the compiler is installed in the system path, and its executables are called ``tricore-elf-gcc`` and ``tricore-elf-g++``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An open source gcc toolchain is available on GitHub: https://github.com/EEESlab/tricore-gcc-toolchain-11.3.0
Is that helpful to mention here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily at this stage, but if we built a full working example (which is the final goal), then it would be perfect to use such open source toolchain
I have a quick question, are there other architectures besides the ones you added to |
.. note:: | ||
|
||
- This support is new and experimental. Please create a ticket in https://github.com/conan-io/conan/issues for any feedback or issues | ||
- Linking applications (like if using ``conan new cmake_exe``) requires a specific linker script, definition of entry-points, etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some example linker scripts available on Github https://github.com/Infineon/AURIX_code_examples/blob/master/code_examples/iLLD_TC37x_ADS_SCR_Blinky_LED_LK_1/Lcf_Gnuc_Tricore_Tc.lsl
These scripts will setup gcc exception handling tables, but iLLD provides key entry points and startup code that are expected by these linker scripts.
You can see this in the included iLLD source in the same example:
- _START: https://github.com/Infineon/AURIX_code_examples/blob/master/code_examples/iLLD_TC37x_ADS_SCR_Blinky_LED_LK_1/Libraries/Infra/Ssw/TC37A/Tricore/Ifx_Ssw_Tc0.c#L351
- _ISTACK, _USTACK, __CSA: Libraries/Infra/Platform/Tricore/Compilers/CompilerGcc.h
These are all of the architectures currently supported by tricore-gcc and are the current production tricore ISAs. There are older variants, they would only be supported by proprietary compilers as far as I'm aware. The latest chips will be the TC4x series, and I'm not aware of any hardware even being available yet. |
Docs for conan-io/conan#16317