Go to file
chao an 996b9377a7 arch/tricore: add Infineon AURIX TriCore support
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>
2024-02-21 21:39:19 -08:00
.github build(deps): bump actions/cache from 3 to 4 2024-01-22 01:42:03 -08:00
arch arch/tricore: add Infineon AURIX TriCore support 2024-02-21 21:39:19 -08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt log messages of binfmt are very much. 2023-12-29 17:36:47 +08:00
boards arch/tricore: add Infineon AURIX TriCore support 2024-02-21 21:39:19 -08:00
cmake cmake/nuttx_add_library.cmake:add target that define in external module CMakeLists.txt 2024-02-21 19:58:34 +08:00
crypto sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
Documentation Documentation: Add docummentation for Infineon’s AURIX TriCore architecture 2024-02-21 21:39:19 -08:00
drivers rptun ioctl: remove rptun_panic and rptun_dump_all 2024-02-21 21:38:05 -08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs Revert "fix variable set but not used" 2024-02-21 21:29:48 -08:00
graphics poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
include rptun ioctl: remove rptun_panic and rptun_dump_all 2024-02-21 21:38:05 -08:00
libs fs_lock:Implementing file locks 2024-02-21 13:29:36 -03:00
mm Revert "fix variable set but not used" 2024-02-21 21:29:48 -08:00
net rpmsg/Kconfig: add rpmsg_local_name to replace rptun_local_name 2024-02-18 04:09:34 -08:00
openamp openamp: Fix void pointer arithmetic in openamp to remove compilation warnings 2024-02-12 17:06:33 +01:00
pass1 passl: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched Revert "fix variable set but not used" 2024-02-21 21:29:48 -08:00
syscall sched/semaphore: Move named semaphores to user space 2023-11-27 04:52:54 -08:00
tools tools/nxstyle: add infineon prefix into ignore list 2024-02-21 21:39:19 -08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless Remove the back slash from long literal string 2024-02-19 16:43:15 +01:00
.asf.yaml feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
.gitignore fs/vfat: Fix typo in the macro DIRSEC_BYTENDX 2024-02-03 12:46:08 -03:00
.yamllint feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt cmake: use -fvisibility=default for sim_head 2024-01-06 04:21:52 -08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig rpmsg/debug: add debug configs and macros 2024-02-15 19:53:55 -08:00
LICENSE api: add simple hashtable api 2024-02-21 13:29:36 -03:00
Makefile tools:fix some error use of shell command in Windows native build 2022-11-06 16:41:49 +08:00
NOTICE Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes Documentation: move ReleaseNotes 2023-09-26 20:41:00 +08:00

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.