-
Notifications
You must be signed in to change notification settings - Fork 1.6k
arch/tricore: add support for tc4xx series chips and boards #18391
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
5e03d0d
arch/tricore: fixed cxx build issue
zyfeier fcda650
arch/tricore: include arch.h in irq.h
zyfeier 6736ede
arch/tricore: adjust arch-related irq.h
zhangyuduck af0d723
arch/tricore: Adjust the related structures of arch and chip.
zhangyuduck 6bbc914
tricore/cmake: change tc3xx.cmake to chip.cmake
zyfeier 39a9f2f
arch/tricore: change heap symbol to support multi config
zyfeier 26ba829
arch/tricore: support tc4evb board.
zhangyuduck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
Documentation/platforms/tricore/tc4d9/boards/triboard_tc4x9_com/index.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| ================== | ||
| TRIBOARD_TC4X9_COM | ||
| ================== | ||
|
|
||
| This port should work on TRIBOARD_TC4X9_COM with a proper CPU. | ||
| The mandatory CPU features are: | ||
|
|
||
| * System Timer (STM) | ||
| * Asynchronous Serial Interface(ASCLIN) UART | ||
| * IRQs are managed by Interrupt Router(INT), IR Service Request Control Registers(SRC). | ||
|
|
||
| Toolchains | ||
| ========== | ||
|
|
||
| Currently, only the Infineon’s AURIX™ GCC toolchain is tested. | ||
|
|
||
| Configurations | ||
| ============== | ||
|
|
||
| Common Configuration Notes | ||
| -------------------------- | ||
|
|
||
| 1. Each TRIBOARD_TC4X9_COM configuration is maintained in a sub-directory | ||
| and can be selected as follow:: | ||
|
|
||
| tools/configure.sh triboard_tc4x9_com:<subdir> | ||
|
|
||
| Where ``<subdir>`` is one of the configuration sub-directories described in | ||
| the following paragraph. | ||
|
|
||
| NuttX Shell:: | ||
|
|
||
| tools/configure.sh triboard_tc4x9_com:nsh | ||
|
|
||
| 2. These configurations use the mconf-based configuration tool. To | ||
| change a configurations using that tool, you should: | ||
|
|
||
| a. Build and install the kconfig-mconf tool. See nuttx/README.txt | ||
| see additional README.txt files in the NuttX tools repository. | ||
|
|
||
| b. Execute ``make menuconfig`` in nuttx/ in order to start the | ||
| reconfiguration process. | ||
|
|
||
| 3. By default, all configurations assume the Linux. This is easily | ||
| reconfigured:: | ||
|
|
||
| CONFIG_HOST_LINUX=y | ||
|
|
||
| Configuration Sub-Directories | ||
| ----------------------------- | ||
|
|
||
| ostest | ||
| ------ | ||
|
|
||
| The "standard" NuttX examples/ostest configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| ============= | ||
| TriCore/TC4DA | ||
| ============= | ||
|
|
||
| **TriCore/TC4DA** An TriCore flat address port was ported in NuttX-12.0. It | ||
| consists of the following features: | ||
|
|
||
| - Runs in Supervisor Mode. | ||
| - IRQs are managed by Interrupt Router (INT), IR Service Request Control Registers (SRC). | ||
| - Used System timer (STM) for systick. | ||
|
|
||
| This kernel with ostest have been tested with | ||
|
|
||
| - Infineon's AURIX™ TC4DA Evaluation Board: TRIBOARD_TC4X9_COM | ||
|
|
||
| Supported Boards | ||
| ================ | ||
|
|
||
| .. toctree:: | ||
| :glob: | ||
| :maxdepth: 1 | ||
|
|
||
| boards/*/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is causing NuttX Builds to fail, lemme submit the patch.
https://github.com/lupyuen/nuttx-riscv64/actions/runs/22929878852/job/66548808341#step:5:161