-
Notifications
You must be signed in to change notification settings - Fork 1.5k
arch/tricore: add Infineon AURIX TriCore support #11707
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
Conversation
869067e to
9081d02
Compare
|
@anchao Did you consider verifying with Infineon if they can allow to use their code under Apache license. Many companies are starting to use to shortcut to just download the vendor SDK/HAL, but I think this approach could be risk. Also a proper port based on datasheet will avoid license issues. Although it is slower, this is how Greg did all the ports! |
https://www.infineon.com/cms/en/product/promopages/aurix-development-studio/ and Infineon also open sourced the relevant code on github: https://github.com/Infineon/AURIX_code_examples/tree/master
|
9081d02 to
853e4e7
Compare
|
@anchao thank you for explanation, these details are really strange. Could you please include the platform Documentation? Also comment about the license issues. I will contact some friends at Infineon and try to help with this licensing issues. |
853e4e7 to
4b59a94
Compare
|
@acassis I have added TriCore architecture to documentation, which mentioned the reference of core chip implement reused Infineon low-level driver (iLLD) SDK/HAL, please review |
add infineon prefix into ignore list to avoid nxstyle warning Signed-off-by: chao an <anchao@lixiang.com>
…ecture This commit add documentation for the Infineon’s AURIX TriCore architecture. Signed-off-by: chao an <anchao@lixiang.com>
cf2166f to
1c608a0
Compare
Add support for tricore TC397 1. Porting based on AURIX TC397 KIT_A2G_TC397_5V_TFT evaluation board https://www.infineon.com/cms/en/product/evaluation-boards/kit_a2g_tc397_5v_tft/ 2. In order to avoid license and coding style issues, The chip-level code still uses the implementation of AURIX Development Studio SDK. The SDK package will be downloaded as a third-party package during compilation: https://github.com/anchao/tc397_sdk 3. Single core only, SMP implementation will be provided in the future. 4. Implemented the basic System Timer, ASCLIN UART driver. 5. Only the Tasking tool chain is supported (ctc/ltc, license maybe required) 6. 'ostest' can be completed on the TC397 development board. How to run? 1. Setup the tasking toolchain and license $ export TSK_LICENSE_KEY_SW160800=d22f-7473-ff5d-1b70 $ export TSK_LICENSE_SERVER=192.168.36.12:9090 2. Build nuttx ELF $ ./tools/configure.sh tc397/nsh $ make -j ... artc I800: creating archive libc_fpu.a LD: nuttx 3. Switch to windows PC, setup AURIX-studio to Debugger Launcher 4. Replace runing ELF to nuttx, and re-download ELF Signed-off-by: chao an <anchao@lixiang.com>
1c608a0 to
4e84152
Compare
|
Let's ignore the ci temp break which is fixed by #11740. |

Summary
arch/tricore: add Infineon AURIX TriCore support
Add support for tricore TC397
Porting based on AURIX TC397 KIT_A2G_TC397_5V_TFT evaluation board
https://www.infineon.com/cms/en/product/evaluation-boards/kit_a2g_tc397_5v_tft/
In order to avoid license and coding style issues, The chip-level code still uses the implementation of AURIX Development Studio SDK. The SDK package will be downloaded as a third-party package during compilation:
https://github.com/anchao/tc397_sdk
Single core only, SMP implementation will be provided in the future.
Implemented the basic System Timer, ASCLIN UART driver.
Only the Tasking tool chain is supported (ctc/ltc, license maybe required)
'ostest' can be completed on the TC397 development board.
How to run?
Impact
N/A
Testing
Tricore KIT_A2G_TC397_5V_TFT