Oopenvela-robotTricore:support tricore protect by addrenv
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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> | 2 个月前 | |
Tricore:support tricore protect by addrenv Use g_mpu_kset include all use region for kernel Use g_app_set include: 0-0xffffffff for code exec data - data+datasize for data read and write text - text-textsize for text for read. Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
barrier: add UP_RMB UP_WMB Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
tricore/elf.h: support tricore coredump Signed-off-by: yangao1 <yangao1@xiaomi.com> | 2 个月前 | |
arch/tricore: change PRIuPTR to lu Fixed the modlib build issue: nuttx/libs/libc/modlib/modlib_bind.c:365:20: error: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int'. Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com> | 2 个月前 | |
arch/tricore: optimize tls_get() in user space using global registers. 1. tricore has two global register A8 and A9 for software use 2. global register is subject to the permission control of psw.gw. before this patch, mutex_lock: 2754ns after this patch, mutex_lock: 354ns Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
Add math limits for tasking in arch/tricore/include/limits.h libcxx/include/limits & uClibc++/include/limits both depend on arch limits.h Signed-off-by: v-zhangxiaomeng5 <v-zhangxiaomeng5@xiaomi.com> | 2 个月前 | |
Tricore:support tricore protect by addrenv Use g_mpu_kset include all use region for kernel Use g_app_set include: 0-0xffffffff for code exec data - data+datasize for data read and write text - text-textsize for text for read. Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
arch/tricore: fix setjmp/longjmp context switch Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
Skip arch/tricore syscall for c++ C++ won't call syscall functions Signed-off-by: v-zhangxiaomeng5 <v-zhangxiaomeng5@xiaomi.com> | 2 个月前 | |
arch/atomic: remove up_testset in spinlock Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 |