bigmagic
a97b0a0d39
code format
2020-09-11 11:44:49 +08:00
chenzx
60287b69fd
add t-head smart-evb bsp, and risc-v cpu e906
2020-09-11 10:18:24 +08:00
bigmagic
c66314a8b6
fixed loongson bsp build on windows
2020-09-04 11:57:35 +08:00
bigmagic
1556ba8e7f
add ls2k mmu
2020-09-04 10:16:34 +08:00
bigmagic
bd95f3a94f
fix mips stackframe and exception
2020-09-04 10:16:34 +08:00
Huaqi Fang
eb00fbeda7
libcpu/nuclei: Fix wrong RT_KERNEL_INTERRUPT_LEVEL
...
RT_KERNEL_INTERRUPT_LEVEL set to 0 is the lowest level.
Signed-off-by: Huaqi Fang <578567190@qq.com>
2020-09-03 18:10:08 +08:00
michael
3d0bdf4bb6
MIPS:improvement FPU support
2020-08-25 11:52:07 +08:00
michael
3ce53f9c79
MIPS:remove redundant #ifdef ARCH_MIPS64
...
there exist redundant #ifdef ARCH_MIPS64 in asm.h, remove it
2020-08-24 09:35:10 +08:00
shaojinchun
dae274e1f2
fix gic ack irq problem
2020-06-30 17:32:14 +08:00
bigamgic
1ec681a551
fix ls2k libc and irq
2020-06-21 23:28:11 +08:00
xuzhuoyi
1f2a7b564c
[libcpu][arm][cortex-m23] Change exception return call address to 0xFFFFFFFD
2020-06-18 10:53:34 +08:00
xieyangrun
d2eaa452d6
[libcpu/arm/*/cpuport.c]fixed __rt_ffs bug on account of armclang LTO.
2020-06-18 09:19:10 +08:00
David Lin
62b2038fe6
[libcpu]Fixed the wrong notes in context_iar.S
...
swith -> switch
2020-06-10 10:15:06 +08:00
bigmagic
92ab0fd593
fix startup code address relative jump
2020-06-04 00:03:07 +08:00
aozima
c3d63e49de
set Systick interrupt priority to the lowest
2020-05-30 15:23:25 +08:00
bigmagic
f4c71fc5bf
rename raspi4 to raspi4-64
2020-05-25 17:46:48 +08:00
bigmagic
38f400d50a
add raspi4 32bit mode bsp
2020-05-25 17:30:05 +08:00
Bernard Xiong
4b33ba947b
Merge pull request #3545 from DavidLin1577/patch-7
...
[libcpu/arm]Update start_gcc.S
2020-04-24 09:00:59 +08:00
Huaqi Fang
ee4cabe69f
[BSP][Nuclei] Add Nuclei RISC-V Processor support
...
* Nuclei RISC-V Processor support is added both RV32 and RV64
* Nuclei RVSTAR BSP is added, UART driver is added
* MSH works well in RVSTAR board
---------------------------
Squashed commit of the following:
commit b7368bc2ed
Author: Huaqi Fang <578567190@qq.com>
Date: Fri Apr 17 14:38:54 2020 +0800
[BSP][Nuclei] Pretty source code
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 2c42a997f7
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Apr 16 15:51:03 2020 +0800
[libcpu] Remove ARCH_NUCLEI in libcpu kconfig
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 915ad4c076
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Apr 16 15:50:00 2020 +0800
[BSP][Nuclei] Remove ARCH_NUCLEI in bsp KConfig
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit fe43869c79
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Apr 15 12:43:20 2020 +0800
[BSP][NUCLEI] Simply application main.c
Remove previous complicated application of gd32vf103_rvstar
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 8fd31727bc
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Apr 15 12:38:04 2020 +0800
[BSP][NUCLEI] Format application and board source code
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit b432308b20
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Apr 15 11:58:28 2020 +0800
[BSP][Nuclei] Format source code of drivers of gd32vf103
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 7366173d74
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Apr 15 11:54:02 2020 +0800
[LIBCPU][NUCLEI] Optimize nuclei cpu portable code
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 8c2cd4745b
Author: Huaqi Fang <578567190@qq.com>
Date: Tue Apr 14 15:45:42 2020 +0800
nuclei: Update README.md
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit fa8a2f24ea
Author: Huaqi Fang <578567190@qq.com>
Date: Tue Apr 14 14:06:54 2020 +0800
nuclei: Add gpio driver not tested
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 1be40bc50b
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Apr 9 14:55:22 2020 +0800
Nuclei: Update README.md
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 4c8beb204b
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Apr 9 10:20:25 2020 +0800
Nuclei: Change idle stack size from 256 to 396 bytes
If changed to 396 bytes, then debug optimization level changed
from O2 to O0, and the application can run successfully without
stack overflow issue of tidle0 task
warning: tidle0 stack is close to end of stack address.
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit da2bcf5c56
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Apr 9 10:11:40 2020 +0800
nuclei: Remove unused kconfig
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 0b932c677a
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Apr 9 09:32:22 2020 +0800
nuclei: optimize drivers support
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 0431f6f01f
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Apr 8 19:28:02 2020 +0800
tools: Update mkdist.py for nuclei bsp
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 0e1f502edf
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Apr 8 18:46:58 2020 +0800
nuclei: optimize rvstar support directory
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 1131f6e648
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Apr 8 18:37:24 2020 +0800
nuclei: update kconfig
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit ad81c1d3bf
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Apr 8 15:43:00 2020 +0800
nuclei: Rename board name
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit d780138a1a
Author: Huaqi Fang <578567190@qq.com>
Date: Tue Apr 7 09:36:19 2020 +0800
libcpu: Add Nuclei arch option in KConfig
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 60320d34b1
Author: Huaqi Fang <578567190@qq.com>
Date: Fri Apr 3 16:51:01 2020 +0800
nuclei: Update nuclei sdk of rt-thread support
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit a042b806ef
Author: Huaqi Fang <578567190@qq.com>
Date: Fri Apr 3 11:34:09 2020 +0800
nuclei: modify application for not print anything
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 2a9603adcb
Author: Huaqi Fang <578567190@qq.com>
Date: Fri Apr 3 11:31:01 2020 +0800
nuclei: Add .gitignore for nuclei bsp
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 34aaf6aeba
Author: Huaqi Fang <578567190@qq.com>
Date: Fri Apr 3 11:28:06 2020 +0800
nuclei_sdk: update link script of rvstar to contain rt-thread needed sections
/* section information for finsh shell */
. = ALIGN(4);
__fsymtab_start = .;
KEEP(*(FSymTab))
__fsymtab_end = .;
. = ALIGN(4);
__vsymtab_start = .;
KEEP(*(VSymTab))
__vsymtab_end = .;
/* section information for initial. */
. = ALIGN(4);
__rt_init_start = .;
KEEP(*(SORT(.rti_fn*)))
__rt_init_end = .;
The above code placed in rodata section
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 3451466e9d
Author: Huaqi Fang <578567190@qq.com>
Date: Fri Apr 3 10:04:42 2020 +0800
bsp: Add initial commit of nuclei rvstar board bsp
Signed-off-by: Huaqi Fang <578567190@qq.com>
Signed-off-by: Huaqi Fang <578567190@qq.com>
2020-04-17 21:07:29 +08:00
David Lin
5e507448ee
Update start_gcc.S
2020-04-17 19:18:52 +08:00
David Lin
90f41ef8a2
Update start_gcc.S
2020-04-17 19:12:18 +08:00
bigmagic
709e0d5799
add bsp/raspi4 gicv2
2020-04-16 18:48:27 +08:00
bigmagic
a120c914bb
add bsp/raspi4 readme
2020-04-16 16:44:29 +08:00
bigmagic
fb8c7829a8
add raspi4 bsp
2020-04-16 16:44:14 +08:00
Bernard Xiong
5c399d50a7
Merge pull request #3520 from qzhang1535/br_mini2440
...
更新mini2440 bsp包:
2020-04-13 17:18:42 +08:00
Jonne
b3c7bc964b
更新mini2440 bsp包:
...
1、加入Kconfig以支持图形化菜单配置
2、编译脚本中添加动态模块编译参数
3、开启自动初始化机制支持
4、重构串口驱动以解决开启posix支持后终端无响应问题
5、解决dm9000网卡驱动link up问题
6、添加mnt.c文件用来挂载文件系统
2020-04-10 23:28:36 +08:00
duhuanpeng
f295149f20
MIPS: fix inline assembly for FPU
...
Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:39 +08:00
duhuanpeng
ee61d78b18
MIPS: inline routine should be static here
...
gcc will remove this "unused" routine and cause a linking error.
symbol not found when linking.
Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:34 +08:00
Bernard Xiong
baa3145bfe
Merge pull request #3504 from bigmagic123/add_ls2k_bsp
...
Add ls2k bsp
2020-04-07 21:23:05 +08:00
bigmagic
c27f13c6c9
[mips]fix a bug
2020-04-07 19:01:54 +08:00
bigmagic
dff04ffdc6
fix mips stackframe point
2020-04-07 14:49:20 +08:00
bigmagic
3c5329a9b7
mips repair constraint
2020-04-07 14:43:20 +08:00
bigmagic
c024e2e485
add ls2k bsp config
2020-04-07 14:39:20 +08:00
bigmagic
990f731b77
fix mips64 some bug
2020-04-07 14:39:12 +08:00
bigmagic
0f26ffa7a2
add ls2k bsp
2020-04-07 14:38:58 +08:00
bigmagic
efbb5490d7
add soc timer cntpct
2020-04-03 20:18:18 +08:00
bigmagic
e6600dbf10
remove cortex-a53 from libcpu/arm
2020-03-18 14:22:37 +08:00
bigmagic
6416a18554
add cache option api
2020-03-18 14:21:11 +08:00
bigmagic
cc95025f05
fix build err
2020-03-02 20:49:27 +08:00
bigmagic
ff10eaed9c
[bsp/raspi3-64]fix gpio drvier
2020-03-02 20:49:27 +08:00
bigmagic
53211b3c6e
replace space to tab
2020-02-26 15:43:23 +08:00
bigmagic
773f7cdf52
[bsp/raspi3-64]add core timer driver
2020-02-26 15:35:07 +08:00
bigmagic
b6031497b9
fix execption printf err
2020-02-26 15:35:07 +08:00
bigmagic
2d3ae92075
space instead of table keep the code style
2020-02-21 21:29:06 +08:00
bigmagic
0458f0b798
remove comments in Chinese and keep the code style
2020-02-20 23:00:17 +08:00
bigmagic
0471b6d344
[bsp/raspi3] raspi3 mmu
2020-02-20 23:00:17 +08:00
Bernard Xiong
581dbe4ffa
Merge pull request #3370 from nongxiaoming/master
...
[libcpu]context-m33:fix label error in context_gcc.S
2020-02-17 12:25:38 +08:00
Bernard Xiong
0dcbe0e0e1
Merge pull request #3379 from DavidLin1577/patch-7
...
Fixed function spelling mistakes in context_iar.S
2020-02-17 12:09:49 +08:00
David Lin
36d2652f0d
Fixed typo 'threah' and 'swithc' in cpuport.c
...
Fixed typo:
threah -> thread
swithc -> switch
2020-02-17 09:13:17 +08:00
David Lin
7ef85206dd
Fixed function spelling mistakes in context_iar.S
...
swtich_to_thread -> switch_to_thread
2020-02-16 20:39:50 +08:00
nongxiaoming
607ed93513
[libcpu]context-m33:fix label error in context_gcc.S.
2020-02-11 21:39:35 +08:00
Watson Zeng
fe24ae7ca4
[bsp][synopsys] add basic new embarc bsp support
...
* the initial support of synopsys designware ARC processor
using embARC_BSP, all synopsys ARC-based boards are
supported:
-ARC Software Development Platform
-ARC EM Starter Kit
-ARC EM Software Development Platform
-ARC HS Development Kit
-ARC IoT Development Kit
* The embARC BSP is a new generation embARC software development
package. It is designed to be the inter-layer between hardware and
operating system. BSP could hide the difference of hardware/boards,
provide a unified interface to upper-layer.
* the initial support of synopsys MWDT toolchain.
The DesignWare® ARC® MetaWare Development Toolkit builds upon
a 25-year legacy of industry-leading compiler and debugger products.
It is a complete solution that contains all the components needed to
support the development, debugging and tuning of embedded applications
for the DesignWare ARC processors.
* for detailed board information, pls go embarc.org.
Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2020-01-16 16:02:00 +08:00
bigmagic
f922bf2e31
Add comment information
2020-01-15 16:46:19 +08:00
bigmagic
08f55d9fda
add raspi3-32 in bsp
2020-01-15 16:38:22 +08:00
bigmagic
fdde8ab198
add raspi2 and raspi3 BSP
2020-01-10 10:38:21 +08:00
Jiaxun Yang
9ef986929c
[libcpu] mips: Merge loongson_1 into gs232
...
Previously Loongson 1B and Loongson 1C have their own libcpu
implemention, but they're almost identical. So we merge them
into gs232 and adapt to new common code.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:24:42 +08:00
Jiaxun Yang
7c66501861
[libcpu] Refine MIPS common code
...
MIPS common code was highly duplicated, This commit
is a attempt to clean-up and refine these code.
The context and exception handle flow is mostly identical
with Linux, but a notable difference is that when FPU enabled,
we save FP registers in stackframe unconditionally.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:24:04 +08:00
Bernard Xiong
a972fcc0b5
[BSP] move libcpu/mips/x1000 to bsp/x1000/cpu
2019-12-11 11:01:40 +08:00
Xiao Lifan
66d1510ac7
convert intentation tabs to spaces
2019-12-09 09:29:12 +08:00
Xiao Lifan
01b27b9e91
[libcpu][c28x]add support for c28x mcu hardware fpu
2019-12-05 21:50:48 +08:00
ZhangTao
80a4912baf
修改了上下文切换退出时的bug,该bug会导致中断被提前打开造成死锁
2019-11-05 10:30:47 +08:00
tangyuxin
a16f27d84e
[libcpu][cm33] support cortex-m33
2019-10-29 09:45:17 +08:00
ZYH
cabdbf5bbf
[libcpu][M7]修复cache编译警告
...
Signed-off-by: ZYH <lymz@foxmail.com>
2019-10-23 15:04:34 +08:00
aozima
525d353403
fixed linker script and stack align issues.
2019-10-22 09:47:41 +08:00
shaojinchun
cb07e5fb24
开放spinlock相关函数
2019-09-27 14:38:33 +08:00
tangyuxin
8316646b85
[libcpu][arm] 修复因提前返回,导致sp指针不对称问题
2019-09-19 18:27:07 +08:00
xiaofan
94551979e0
Fix Cortex-M0 Cannot Execute Reboot
...
Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-07 21:20:46 +08:00
xuzhuoyi
a101327d24
[bsp][tms320f28379d] Fix an issue that interrupts are disabled in the thread
2019-08-24 18:42:54 +08:00
liufeilong
ab818cda30
参照龙芯1c手册更正看门狗寄存器宏定义
2019-08-21 13:44:55 +08:00
tyustli
49e9d19c82
first version
2019-07-24 17:03:26 +08:00
Zhou Yanjie
d45efced1c
libcpu: MIPS: 更新版权信息/Update copyright information.
...
更新版权信息。
Update copyright information.
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:05:00 +08:00
Zhou Yanjie
d6b2f56f15
libcpu: MIPS: 清理代码/Clean up code.
...
清理内容重复的头文件。
Clean up duplicate header files.
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:00:34 +08:00
Bernard Xiong
ba9dbed372
Merge pull request #2827 from yangjie11/ac6
...
[libcpu/arm]add __rt_ffs() for armclang in CORTEX M3/4/7
2019-07-05 15:23:57 +08:00
明德无敌赵晓薇
d68220d866
[libcpu][c28x]Add __rt_ffs support
...
Use a native instruction "Count Sign Bits" to support fast ffs function, then add __rt_ffs support in C28x.
2019-07-03 19:31:54 +08:00
yangjie
31ffc4582c
[libcpu/arm]add __rt_ffs() for armclang in CORTEX M3/4/7
2019-07-03 18:47:11 +08:00
Bernard Xiong
38d5c2aa72
Merge pull request #2796 from lymzzyh/cache
...
修复cortex-a 中cache操作没有 dsb isb
2019-06-19 11:41:05 +08:00
ZYH
fc155f8810
fix cortex-a cahce
2019-06-19 10:40:13 +08:00
明德无敌赵晓薇
21d32cdb3a
[libcpu][C28x] Fix bugs of old c28x interrupt api which can not save and restore int status
...
In C28x DSP, interrupt status are stored in ST1 register. Both INTM and DBGM is used for masking interrupt, while the latter one is used in real-time debug mode. The origin function rudely enable and disable the interrupt without considering the recent interrupt status, which not only may cause problem in some situation but also is not in conformity with rt-thread design specifications. The new api will fix this bug.
2019-06-18 20:59:00 +08:00
Bernard Xiong
0b4e2a984e
Merge pull request #2731 from jesven/a9-fpu
...
add cortex-a fpu support
2019-05-29 18:30:44 +08:00
shaojinchun
043611b98a
add cortex-a fpu support
2019-05-29 08:40:41 +08:00
HubretXie
36ffdc058b
对CM3,CM4,CM7 自动开启RT_USING_CPU_FFS
2019-05-28 21:30:45 +08:00
neal
257d21c0bd
[bsp][at91sam9g45]Fix build bugs which caused by the change of libcpu/arm/arm926/start_gcc.S
2019-05-13 18:36:31 -07:00
Bernard Xiong
ec6cb9f260
[BSP][qemu-vexpress-a9] code cleaup for compiling warning.
2019-05-12 15:07:26 +08:00
shaojinchun
bcb7fac0d0
fix signals for k210
2019-05-11 09:37:25 +08:00
shaojinchun
6cdfb2ac92
fix signal code
2019-05-11 09:34:26 +08:00
Bernard Xiong
d729448f5e
[libcpu][arm/cortex-a] Add correct comments.
2019-05-09 08:48:38 +08:00
misonyo
0f33da3f0e
[libcpu/cortex-m7]add cache driver
2019-04-27 17:35:46 +08:00
shaojinchun
1e7bd3d8a1
修改lwp支持中arm cortex-a的swi入口函数处理
2019-04-27 13:54:51 +08:00
qz721
61f2a71511
Rename 'platform.h' in 'imx6ul' and 'qemu-vexpress-a9' BSPs.
...
This filename conflicts with the 'mbedtls' package. They are renamed
in the name of the corresponding chips and included in 'board.h'.
Files that rely on this file should include 'board.h' instead.
2019-04-26 10:50:48 +08:00
Bernard Xiong
41aabf3736
Merge pull request #2573 from xuzhuoyi/tms320f28379d
...
[bsp][tms320f28379d] Improve finsh support and update README.md
2019-04-14 15:39:37 +08:00
xuzhuoyi
752152b63e
[bsp][tms320f28379d] Fix FPU config problem
2019-04-14 12:26:25 +08:00
xuzhuoyi
4acd8db61e
[bsp][tms320f28379d] Add finsh init in rt_init_thread
2019-04-10 22:33:25 +08:00
Bernard Xiong
44c3f55996
Merge pull request #2527 from xuzhuoyi/gd32e230
...
[bsp] Add GD32E230K-START support
2019-04-07 16:59:27 +08:00
Bernard Xiong
238c93468f
Merge pull request #2530 from qz721/libcpu_cortex_a
...
Disable the data alignment check.
2019-04-01 17:43:19 +08:00
qz721
b10039f396
Disable the data alignment check.
2019-04-01 14:21:59 +08:00
xuzhuoyi
fd8eb60a67
[bsp][gd32e230k-start] Update Kconfig
2019-03-31 23:26:35 +08:00
xuzhuoyi
5a460aadcd
[bsp][gd32e230k-start] Update Sconscript
2019-03-31 21:17:55 +08:00
xuzhuoyi
5d166c389d
[bsp][gd32e230k-start] Add GD32E230K-START BSP port
2019-03-31 15:44:24 +08:00
Bernard Xiong
459ddc3b06
Merge pull request #2523 from qz721/libcpu_cortex_a
...
Add standard rt-thread cache interfaces for arm/cortex-a.
2019-03-30 05:57:47 +08:00
qz721
fbd40fc5b8
Add standard rt-thread cache interfaces for arm/cortex-a.
...
Add cache invalidate and clean interfaces.
Adjust the default cache type of memory to 'WriteBach with WriteAllocate'.
2019-03-29 20:22:25 +08:00
ZYH
fcb88f7034
[libcpu][k210]fix stack frame print
2019-03-28 17:05:52 +08:00
BernardXiong
bd8f0d0423
[libcpu] Fix the build directory issue
2019-03-26 13:36:01 +00:00
Bernard Xiong
94e7f7316b
Merge pull request #2503 from qz721/libcpu_cortex_a
...
Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code.
2019-03-25 21:58:48 +08:00
qz721
2eb1bef773
Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code.
2019-03-25 20:03:49 +08:00
tangyuxin
e6d1537327
移除 SConscript.1 临时文件
2019-03-25 15:18:09 +08:00
ZYH
c41bf3120f
[libcpu][k210]add stack info printf
2019-03-21 15:10:55 +08:00
ZYH
3dd72f956b
[libcpu][k210]add description of exception
2019-03-20 12:23:17 +08:00
shaojinchun
29264edde8
修改arm926中machine.c的协议声明
2019-03-14 17:54:21 +08:00
shaojinchun
159def753f
arm926内容整理
2019-03-14 17:24:35 +08:00
Wayne Ren
d8aa99a29c
[bsp][synopsys] add the support of synopsys arc emsk
...
* the initial support of synopsys designware arc processor
* the initial support of synospsy ARC EM Starter Kit
* the bsp code is based on embarc which is a common SDK for
all synopsys ARC-based boards
* use "scons --gdb" to debug emsk with em9d configuration
* for detailed board information, pls go embarc.org
Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2019-01-25 10:29:34 +08:00
Bernard Xiong
3a3c6c51f8
[libcpu] remove cache.h from mips/common folder.
2019-01-07 21:16:05 +08:00
Bernard Xiong
4c0aafb57f
[libcpu] Fix the SCoscript issue in cpu/MIPS.
2019-01-07 09:20:30 +08:00
Bernard Xiong
bde47018b8
[libcpu] Add SConscript in libcpu.
2019-01-07 06:09:45 +08:00
shaojinchun
86c76b0e8a
add k210 SMP support
2018-12-28 09:41:18 +08:00
zhuhongbing
fb693418ee
add project support for at91sam9260, add support for at91sam9g45
2018-12-26 12:50:52 +08:00
Bernard Xiong
597d71cc03
[bsp][k210] Add get_free_heap_size function.
...
* Add get_free_heap_size function;
* Increase shell stack for KPU module.
2018-12-23 14:11:25 +08:00
Bernard Xiong
5e0f8cb3aa
[libcpu] Add k210 BSP.
2018-12-18 21:01:03 +08:00
Bernard Xiong
c72dc1a7e5
Merge pull request #2072 from yufanyufan77/master
...
添加cpu复位函数
2018-12-15 11:53:17 +08:00
Bernard Xiong
885d99ee9b
[libcpu][risc-v] fix rt_thread_switch_interrupt_flag issue.
2018-12-15 11:47:59 +08:00
Bernard Xiong
fd347fdb90
[libcpu][risc-v] fix the rt_thread_switch_interrupt_flag issue
2018-12-15 11:47:10 +08:00
yufanyufan77
b40a8f816b
添加cpu复位函数
...
RT_WEAK void rt_hw_cpu_reset(void)
2018-12-14 08:58:40 +08:00
Bernard Xiong
08521ceaa5
[libcpu] Fix the E310 compiling issue.
2018-12-08 17:08:52 +08:00
Bernard Xiong
c9576c3e53
[BSP] Add RV32M1_VEGA BSP.
2018-12-08 10:44:56 +08:00
Bernard Xiong
36b194aeb6
[BSP] Update Hifive1 BSP with unified RV porting.
2018-12-08 10:42:40 +08:00
Bernard Xiong
2a7d814f77
[libcpu] Add unified RISC-V libcpu porting.
2018-12-08 10:41:38 +08:00
liruncong
cea021781e
[libcpu/mips/ppc405]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:42 +08:00
liruncong
c7a1c1c1db
[libcpu/mips/sep6200]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:40 +08:00
liruncong
2502114e34
[libcpu/mips/xburst]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:38 +08:00
liruncong
da9bc3d677
[libcpu/mips/x1000]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:35 +08:00
liruncong
33c6a9c795
[libcpu/mips/longson_1c]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:33 +08:00
liruncong
2ce284c4b3
[libcpu/mips/longson_1b]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:26 +08:00
liruncong
bef3256db5
[libcpu/arm/ia32]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:05 +08:00
liruncong
849421709b
[libcpu/arm/zynq7000]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:43:02 +08:00
liruncong
3e05f24608
[libcpu/arm/sep4020]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:42:54 +08:00
liruncong
46c5c8267a
[libcpu/arm/s3c24x0]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:36:48 +08:00
liruncong
96691760dc
[libcpu/arm/realview-a8-vmm]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:36:34 +08:00
liruncong
7be87217b5
[libcpu/arm/lpc24xx]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:36:18 +08:00
liruncong
5321f202c4
[libcpu/arm/lpc214x]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:35:58 +08:00
liruncong
8ce36092c5
[libcpu/arm/cortex-r4]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:35:43 +08:00
liruncong
cbe07afabe
[libcpu/arm/cortex-a]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:35:34 +08:00
liruncong
8200137327
[libcpu/arm/AT9ASAM7X]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:35:17 +08:00
liruncong
2635cc1694
[libcpu/arm/am335x]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:35:02 +08:00
Bernard Xiong
9f477667ab
Merge pull request #1770 from xuzhuoyi/master
...
添加对 TI C2000 DSP 的移植
2018-11-24 20:35:50 +08:00
xuzhuoyi
6c081947b5
[bsp][tms320f28379d] Classify c28x into ti-dsp
2018-11-24 17:41:55 +08:00
Bernard Xiong
46dae3f35f
Merge branch 'master' into dev-4.0.x
2018-11-20 23:13:45 +08:00
xuzhuoyi
17301e463c
[bsp][tms320f28379d] Add support of Kconfig
2018-11-18 12:06:52 +08:00
xuzhuoyi
b7a76b5e52
[bsp][tms320f28379d] Change license to Apache-2.0
2018-11-16 20:30:56 +08:00
xuzhuoyi
37db67d94a
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# src/thread.c
2018-11-16 20:09:46 +08:00
Bernard Xiong
00a655ac1c
[Kernel] Add ARCH_CPU_STACK_GROWS_UPWARD option
2018-11-11 15:56:02 +08:00
Bernard Xiong
484afe9d2c
[Kernel] Add 64bit CPU support.
2018-10-26 06:35:42 +08:00
Bernard Xiong
bd731fe1f0
[license] Fix the bad license header for lpc24xx.
2018-10-16 09:18:53 +08:00
Bernard Xiong
7c425408b4
[license] Change the license of libarm to Apache.
2018-10-15 01:35:07 +08:00
Bernard Xiong
1253a1b445
Merge pull request #1812 from liruncong/am335x-mmu
...
修正am335x中mmu问题
2018-10-10 08:49:18 +08:00
Bernard Xiong
5c91f241bd
Merge pull request #1861 from jg1uaa/master
...
avoid to conflicting types for 'uint32_t' error.
2018-10-03 23:08:17 +08:00
SASANO Takayoshi
54f23a4293
avoid to conflicting types for 'uint32_t' error.
...
already uint32_t is defined at components/libc/compilers/minilibc/stdint.h.
there is two ways to solve, using <stdint.h>/uint32_t pair or
<rtthread.h>/rt_uint32_t pair.
I choose former because this code belongs to C compiler, not RT-Thread system.
2018-10-03 21:03:00 +09:00
Bernard Xiong
d96027f156
[libcpu] Fix the FPU definition in M4/M7 for ARM Clang
2018-09-25 11:08:58 +08:00
Bernard Xiong
ff08faf605
[Kernel] Adjust the copyright information
2018-09-25 11:06:07 +08:00
Bernard Xiong
b98a0ba804
[Kernel] Add ARMCC 6.x support.
2018-09-23 12:08:44 +08:00
Bernard Xiong
b9e7cf7fa3
[BSP] Enable memory pool for i.MXRT1050-EVK.
2018-09-22 22:22:18 +08:00
liruncong
af1044955a
修正am335x中mmu问题
...
1) mmu_disable_dcache/mmu_enable_dcache等, 应使用rt_cpu_xxx相关函数,否则会跑飞. armcc并没有提供rt_cpu_xxx对应汇编代码,先删除
2) mmu_setmtt抽取为函数mmu_setmtts,并增加RT_WEAK.mmu_setmtts此处作为示例函数.实际用户板子可在bsp中重新实现该函数.可在rt_components_board_init函数前调用rt_hw_mmu_init
2018-09-15 11:37:14 +08:00
liruncong
6d16685011
rt_hw_backtrace中多余括号删除. armclang给出警告
2018-09-10 19:58:28 +08:00
xuzhuoyi
9d8e27e626
[bsp][tms320f28379d] Modify to C28x Compiler Register Conventions
2018-09-03 23:02:16 +08:00
xuzhuoyi
5fd1213e73
[bsp][tms320f28379d] __rt_ffs() problem caused by 16-bit int
2018-09-03 21:39:56 +08:00
xuzhuoyi
697a4495a6
[bsp][tms320f28379d] Add support for upward-growing stack
2018-09-03 00:03:06 +08:00
xuzhuoyi
d85981a715
[BSP][tms320f28379d] Add port for tms320f28379d
2018-09-02 18:44:28 +08:00
hichard_ren@yeah.net
b46e7f3172
add rt_hw_cpu_reset for cortex-m cpu
2018-08-01 11:57:56 +08:00
aozima
d431f4b5f9
[libcpu][comtex-m7] enhancement hard fault exception handler.
2018-07-25 21:39:45 +08:00
aozima
6c39b2d54d
[libcpu][comtex-m4] enhancement hard fault exception handler.
2018-07-25 21:39:44 +08:00
aozima
a0fe71f78f
fixed get sp in HardFault_Handler. close #1646
2018-07-25 21:39:43 +08:00
=
944b0f1c94
fix annotation error
2018-06-13 15:04:31 +08:00
liang yongxiang
7785dc5d01
[libcpu] add c-sky ck802 support
2018-06-11 09:43:39 +08:00
ArdaFu
aa08164cb3
[libcpu] Sconscript: fix spell srror.
2018-06-04 14:23:54 +08:00
ArdaFu
099062de78
[tools][building] Add ASFLAGS in DefineGroup.
2018-06-04 14:18:31 +08:00
ArdaFu
7a1f8ee1c4
[libcpu][arm][arm926] Using C header file to define stack and heap size.
2018-06-04 13:34:45 +08:00
liang yongxiang
32c5b2515f
[libcpu] add risc-v e310 porting
2018-05-31 14:53:26 +08:00
Bernard Xiong
fe691c2ab3
Merge pull request #1484 from TanekLiang/riscv-update
...
remove hifive1 bsp and risc-v/e310 porting
2018-05-29 16:20:39 +08:00
liang yongxiang
46b9be6038
[libcpu] remove nds32 porting
2018-05-29 12:59:54 +08:00
liang yongxiang
5faae3350c
[libcpu] remove libcpu/risc-v
2018-05-29 12:59:13 +08:00
zhuangwei123
330bdf6989
[bsp/ls1cdev]跟上一提交,漏提两个文件
2018-05-12 19:36:08 +08:00
zhuangwei123
9a7caed323
[bsp/ls1cdev]添加自引导特性,添加配置选项
...
1、添加自引导特性,添加配置选项
2、修复cpuport.c的bug
3、修复ls1c_pin.c不能默认复用的bug
2018-05-12 19:33:32 +08:00
aozima
dd1041bb7f
[libcpu]: fixed #1196 FPU FPCA issue.
2018-01-31 18:54:11 +08:00
Bernard Xiong
d78f5eb674
Merge pull request #1124 from SummerGGift/add_arm_8-byte_alignment
...
[libcpu]: add 8-byte alignment for arm architecture && optimize code …
2017-12-21 17:07:34 +08:00
SummerGift
fc7a5abc76
[libcpu]: add 8-byte alignment for arm architecture && optimize code format
2017-12-21 16:37:38 +08:00
Bernard Xiong
cc75366fda
Merge pull request #1123 from SummerGGift/8-byte_alignment
...
[libcpu]: add 8-byte alignment for armv6 architecture
2017-12-21 15:36:21 +08:00
SummerGift
336207ad31
[libcpu]: add 8-byte alignment for armv6 architecture
2017-12-21 15:35:48 +08:00
SummerGift
a4a85a28da
[libcpu]:optimize code format
2017-12-21 15:14:23 +08:00
SummerGift
e7b1786759
[libcpu]:optimize code format
2017-12-21 14:55:34 +08:00
SummerGift
15715692d2
[libcpu]: add 8-byte alignment for armv6 architecture
2017-12-21 10:13:47 +08:00
Bernard Xiong
bb46058d8e
[libcpu] Add ARCH_ARM_ARM9/11 type
2017-12-19 17:39:23 +08:00
SummerGift
eb72d19179
[libcpu] add volatile for __asm.
2017-11-22 09:54:36 +08:00
SummerGift
2488624a18
[libcpu] add volatile for asm (" mcr ") or asm (" mrc ") instruct.
2017-11-22 09:54:27 +08:00
tangyuxin
afc2256d01
[libcpu]Support x1000 CPU
2017-11-10 19:50:14 +08:00
Bernard Xiong
f6170a6e5b
[BSP] add i.MX 6UL BSP
2017-11-01 13:30:17 +08:00
bernard
756bfcc5e2
Update Kconfig.
...
1. Add IPADDR/GWADDR etc;
2. Add Kconfig for libcpu.
2017-10-31 09:54:23 +08:00
weety
6085f6826d
[bsp][at91sam9260] Fix the problem of the finsh function failure by using component initialization.
2017-10-19 23:46:17 +08:00
bernard
5e3b3b19a6
[BSP] change the type of cmd.
...
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
bernard
f8a1bf6fd8
[libcpu] code cleanup for nds32.
2017-10-09 18:06:58 +08:00
Bernard Xiong
c2f028ed8d
Update cpuport.c
2017-10-06 11:43:50 +08:00
Bernard Xiong
ea18ef60ed
Merge pull request #826 from ArcherChang/master
...
[BSP] Add Andes N1068 porting and simple bsp.
2017-10-06 11:03:02 +08:00
Bernard Xiong
0d193254f8
Merge pull request #845 from caogos/master
...
[BSP] Add FPU option for loongson1c.
2017-09-14 17:06:11 +08:00
勤为本
574e22bdbd
在配置文件“rtconfig.h”中增加硬浮点FPU的配置项,
...
浮点经常会用到,所以默认使用硬浮点。
2017-09-13 15:21:09 +08:00
aozima
cb247e913f
update libcpu: cortex-m0 fault handlers always enable.
2017-09-01 10:22:55 +08:00
Bernard Xiong
2ac493698b
[BSP] cleanup for hifive1 bsp.
2017-08-26 11:02:39 +08:00
ArcherChang
652ea85a39
[1] Andes N1068体系移植
...
a. Libc改用官方版本(工具链附带版本);
b. 去除未使用文件;
2017-08-25 14:25:35 +08:00
Bernard Xiong
b9ebd183ae
Merge pull request #827 from caogos/master
...
[BSP] Add EMAC driver in loongson1C (ported by chinesebear, https://github.com/chinesebear/rtt-net )
2017-08-25 11:07:34 +08:00
ArcherChang
921fbfbc21
[1] 添加Andes N1068体系;
...
[2] 基于AE210P EVB板;
[3] 详细信息参阅bsp/AE210P/readme文件夹;
《Andes工程创建和调试》文档;等。
2017-08-25 10:25:33 +08:00
aozima
9bbc4e5e6b
update cortex-m libcpu: fixed compile error.
2017-08-23 16:13:51 +08:00
勤为本
838c63f365
添加龙芯1C片内网卡的驱动(原创作者是chinesebear, https://github.com/chinesebear/rtt-net)
2017-08-23 15:46:51 +08:00
aozima
9b7303e511
update libcpu: ensure fault enable.
2017-08-18 11:12:58 +08:00
Bernard Xiong
4626b19ead
Merge pull request #784 from zhangjun1996/master
...
[BSP] add bsp for sifive(risc-v e310).
2017-08-10 16:51:59 +08:00
勤为本
7129d77bee
增加龙芯1c硬浮点的支持(可以使用硬浮点了)
2017-08-10 15:35:03 +08:00
zhangjun
72cfe9dd68
modify: drivers/cpuusage.c
...
modify: ../../libcpu/risc-v/e310/stack.c
rmove unused macro definition
modify: ../../src/idle.c
Return to the original version
2017-07-31 12:05:45 +08:00
zhangjun
0cd49e7c4a
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
...
add new bsp for risc-v
2017-07-31 11:27:46 +08:00
zhangjun
e9f1bdf2da
new file: ../../libcpu/risc-v/e310/trap.c
...
add file that forget to submit before
auto change timer mtimercmp register on the base of RT_TICK_PER_SECOND in rtconfig.h
no flashing led
new file: ../../src/idle.c
recover old file
2017-07-31 11:12:28 +08:00
zhangjun
a5305c05df
fix bug in context_gcc.s and start_gcc.s:
...
save mie into stack
msh running normaly
2017-07-31 10:59:59 +08:00
zhangjun
b032dff161
fix bug in rt_hw_context_switch_interrupt_do
...
save sp to old thread
clear rt_thread_switch_interrupt_flag
always enable interrupt after rt_hw_context_switch
judeg the type of interrupt in trap_entry, then call handler(Machine timer interrupt of Machine external interrupt)
2017-07-30 19:46:28 +08:00
zhangjun
2d56a27c20
修改: ../../libcpu/risc-v/e310/context_gcc.S
...
enable interrupt after return form rt_hw_context_switch
2017-07-30 15:34:32 +08:00
zhangjun
3c51848d33
fix trap_entry
2017-07-29 15:37:20 +08:00
zhangjun
b80f83f360
modified: ../../libcpu/risc-v/e310/context_gcc.S
...
fix open timer intrrupt
2017-07-26 16:27:54 +08:00
zhangjun
98a6896cfa
remove "csrrc a5, mstatus, MSTATUS_MIE" in rt_hw_interrupt_enable();
...
it will lead to interrupt again in interrupt
2017-07-26 16:07:01 +08:00
勤为本
358612c8a2
支持GPIO中断(外部中断)
2017-07-20 17:35:03 +08:00
勤为本
d1bb7c61f4
将支持的中断个数从32个扩展到160个,至此可以支持所有中断
2017-07-20 17:05:59 +08:00
勤为本
f39164203e
修正龙芯1c的中断号
2017-07-18 17:04:32 +08:00
zhangjun
b334347a24
deleted: rtthread.s /*just for debug*/
...
modified: ../../libcpu/risc-v/e310/context_gcc.S
change ret to mret and switch to new task with mepc
2017-07-17 16:55:33 +08:00
zhangjun
e01455155a
add context_gcc.s
2017-07-17 15:44:00 +08:00
zchong-cht
a74a2a25a8
Add libcpu/arm/am335x/context_iar.S file
2017-02-06 21:57:15 +08:00
kontais
b96f07e477
flush cache after exception code install
2016-06-15 08:09:56 -07:00
Bernard Xiong
4e95fdff4a
[BSP] Update VFP code in armv6.
...
committed by FH.
2016-05-20 14:20:34 +08:00
Bernard Xiong
923594c7ab
[BSP] Enable VFP.
...
committed by FH.
2016-05-20 12:24:51 +08:00
Bernard Xiong
255f8b7c34
[BSP] Add BSP for Ingenic X1000 CPU
2016-04-24 19:34:41 +08:00
chinesebear
86216ceecc
start exception by chinesebear
2016-04-19 22:08:23 +08:00
Bernard Xiong
43f68131ce
[BSP] Add fh8620 bsp from Shanghai Fullhan Microelectronics Co., Ltd.
...
FH8620 BSP
Copyright (c) 2016 Shanghai Fullhan Microelectronics Co., Ltd.
All rights reserved
2016-04-18 13:52:39 +08:00
zchong_cht
3983f39f34
Add iar compiler support for am335x.
2015-11-11 23:44:05 +08:00
Bernard Xiong
3faca6d5df
[BSP] update stm32f7-disco
...
code cleanup.
2015-09-24 16:03:09 +08:00
Bernard Xiong
a0de58a008
[BSP] fix x86 bsp compiling issue
2015-09-15 11:50:29 +00:00
weety
2021f5a276
Add the license.
2015-09-04 21:58:08 +08:00
weety
b71cb4c09d
Add dm365 porting.
2015-09-04 12:30:20 +08:00
nongxiaoming
af8a91457e
[bsp]add the stm32f74x bsp.
2015-08-07 13:30:13 +08:00
chinesebear
4ad1b35537
chinesebear add bsp & libcpu
2015-07-09 07:38:07 +08:00
aozima
9fe3cbf76f
Align thread stack to 8 byte.
2015-06-05 19:14:08 +08:00
aozima
314379cc77
implement __user_initial_stackheap
2015-06-04 12:23:24 +08:00
aozima
be76b10be6
Align stack address to 8 byte.
2015-06-04 11:59:18 +08:00
aozima
1fa5711712
fixed assembly warnings.
2015-05-22 16:48:01 +08:00
aozima
73df162d3f
fixed assembly warnings.
2015-05-13 11:57:34 +08:00
Adrian Huang
4222677933
[libcpu][am335x] Fix the booting failure when enabling MMU
...
Since the 16 domains are configured as the client domains in
mmu_setttbase(), a Permission fault is generated if the XN bit
(Execute-never) is set in the short-descriptor translation table
(for section and supersection). This leads to the booting failure
when enabling MMU for beagleboard bsp. Here is log:
----------------------------------------------------------------
SD/MMC found on device 0
reading uEnv.txt
117 bytes read in 3 ms (38.1 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading rtthread.bin
162624 bytes read in 24 ms (6.5 MiB/s)
\## Starting application at 0x80200000 ...
----------------------------------------------------------------
This commit removes the XN bit configuration in the section of the
short-descriptor translation table. The OS can be booted successfully
with applying this commit.
2015-05-11 10:36:11 +08:00
ardafu
a13132b302
[libcpu][arm926] Optimize irq trap code.
2015-05-04 16:13:43 +08:00
ardafu
49fa5c44d7
[libcpu][arm926] Optimize code
...
1. Combine code for IAR and GCC in file mmu.c and cpuport.c
2. Remove remap code in start_xxx.S. User should config MMU to map vector table to visual address 0x0
2015-04-22 11:19:50 +08:00
ardafu
175e357ace
[libcpu][arm926] Remove unused SPSR register PUSH/POP when os switch thread.
2015-04-16 14:13:43 +08:00
ardafu
cf3d639fcb
[libcpu][arm926] Define vector table start at BSP/{board}/platform/ assemble INC files.
2015-04-16 10:35:12 +08:00
ardafu
6aa242645f
1. [bsp][sam9260] Fix the bug that auto reset after boot 20s. Disable watchdog in rt_lovel_level_init function.
...
2. [bsp][sam9260] Modify SCONS scripts to support IAR tool chain.
3. [bsp][sam9260] Move link strips in to folder link_scripts.
4. [libcpu][arm926] Add copy right to source file and format code.
2015-04-15 16:13:30 +08:00
ardafu
39452b67b0
1. [cpu] split ARM926 cpu code from AT91SAM9260 BSP
2015-04-14 21:56:34 +08:00
Bright Pan
0b5958d700
Fix compile warning:
...
..\..\libcpu\arm\cortex-m3\context_rvds.S(207):
warning: A1581W: Added 2 bytes of padding at address 0xd6
2015-03-09 09:31:23 +08:00
limxuzheng
4fea46c83c
support rx62n
2014-11-12 01:09:43 +08:00
陈豪
62af08370b
Merge pull request #2 from RT-Thread/master
...
sync
2014-09-20 01:19:42 +08:00
bernard
267c61ebce
[libcpu] Add builtin ffs implementation for Cortex-M4.
2014-09-11 12:51:33 +08:00
Grissiom
11fb9060e0
mips/loongson_1b: format code
2014-08-18 15:24:21 +08:00
Grissiom
0ee101ccb0
mips/loongson_1b: install NULL handler is OK
2014-08-18 15:22:16 +08:00
Grissiom
1d928f7daf
mips/loongson_1b: fix rt_interrupt_dispatch
2014-08-18 15:21:09 +08:00
陈豪
fd6ef4b235
[libcpu]am335x edit vector
...
vector_undef and vector_dabt
2014-08-12 18:26:22 +08:00
aozima
2c47f2e683
Fix some spell error;
2014-07-31 13:59:25 +08:00
Bernard Xiong
2604440ceb
[bsp] Remove none-released porting
2014-07-12 11:08:38 +08:00
Grissiom
97fb91dcc6
bsp: add zynq7000
2014-06-27 14:12:36 +08:00
Grissiom
2b7be29cad
[bsp/rva8] enable group{0,1} interrupt forwarding in gic initialization
...
When RT-Thread is running stand alone, it forgot to enable the
distributor of GIC.
2014-04-08 11:54:03 +08:00
Grissiom
c0f0c2322f
[libcpu/arm] remove useless cpsr updating in rt_hw_context_switch_to
...
This piece of code will enable the interrupt early before switching to
the first thread. Although it is harmless, but not prefect.
2014-04-08 11:24:04 +08:00
Grissiom
28f11fdd7b
[vmm] add realview-pb-a8 VMM support
2014-04-03 17:59:14 +08:00
RTsien
9382a7105f
add CM_PER_UARTx_CLKCTRL
2014-01-11 15:14:36 +08:00
Grissiom
0c9b9ced31
cortex-r4: use byte to allocate the stack
...
Unit of "byte" is more intuitive than "long".
2013-11-17 12:49:08 +08:00
Grissiom
a8520ed383
cortex-r4: let svc mode reuse the stack of IRQ on startup
...
As the svc stack is the stack of threads, there is no need to allocate a
separate stack for the startup. Reuse the IRQ stack should be OK.
Tested on rm48 board.
2013-11-17 12:49:07 +08:00
Bright Pan
06987e72e5
Fix hardfault bug for gcc port
...
for 2013-02-20 aozima commmit "port for gcc", but the commit is
not tested,and the kernel is breakdown in context_gcc.S, the file
is a copy from cortex-m3,but not port for cortex-m0, so i complete
this port for aozima, test it in stm32f0discovery board ,
and it works fine.
2013-11-04 16:10:11 +08:00
Grissiom
377c6e6cc9
cortex-r4: dump register on traps
...
We could not handle any traps except IRQ/FIQ.
2013-10-20 23:46:50 +08:00
Grissiom
e1e563e85c
cortex-r4: remove RM48x50.h and add armv7.h
2013-10-20 21:10:26 +08:00
Grissiom
81ab083ae5
rm48: move some asm file to libcpu
2013-10-20 18:51:46 +08:00
Grissiom
9568669109
rm48x50: add GCC support
2013-10-20 18:51:45 +08:00
Bernard Xiong
7bdb082c91
Delete SConscript
2013-09-22 06:59:52 +08:00
bernard
9d09cd9f23
Import beaglebone porting
2013-09-20 21:20:51 +08:00
Grissiom
3ebc766521
sim/posix: move rt_hw_context_switch_interrupt after it's definition
...
This fix a compile error in Clang.
2013-09-04 00:05:03 +08:00
Bernard Xiong
e301d14979
Merge pull request #132 from MrVan/sep6200
...
SEP6200 Support
2013-07-29 22:35:31 -07:00
weety
37ac4855da
Embedded GPLv2 license.
2013-07-21 20:01:24 +08:00
weety
36c4604a36
fix compiling error
2013-07-21 19:39:21 +08:00
weety
42f9840653
commit again
2013-07-21 17:32:55 +08:00
weety
3bdbf640b7
update at91sam9260 project directory structure.
2013-07-21 17:19:30 +08:00
weety
885301bb14
update AT91SAM9260 usart driver, using serial driver component.
2013-07-21 15:01:42 +08:00
Peng Fan
82bc21ff7b
Cleanup and add licencse
2013-07-17 18:42:19 +08:00
Peng Fan
73beced22a
SEP6200 Support
2013-07-17 13:37:31 +08:00
aozima
ce4f0329db
enhancement hard fault exception handler.
2013-07-09 22:02:12 +08:00
aozima
5120f54a29
fix spelling error.
2013-06-24 22:57:27 +08:00
aozima
34d59ccb0f
update libcpu/arm/cortex-m4: support lazy stack optimized.
2013-06-23 18:10:46 +08:00
aozima
b045f93b47
fixed bug: correct cortex-m SCB->VTOR address.
2013-06-23 18:08:16 +08:00
aozima
93b9b28297
format code by Astyle.
2013-06-23 18:07:10 +08:00
aozima
a2ff85c03f
update libcpu/arm/cortex-m0: restore MSP.
2013-06-22 18:59:51 +08:00
aozima
4d421cad73
update libcpu/arm/cortex-m3: restore MSP.
2013-06-22 18:59:50 +08:00
aozima
f9e673354a
update libcpu/arm/cortex-m4: restore MSP.
2013-06-22 18:59:49 +08:00
Bernard Xiong
3071e35c54
Merge pull request #109 from grissiom/rm48x50
...
Rm48x50
2013-06-19 01:29:12 -07:00
visitor83
c986754c49
Signed-off-by: visitor83 <wolflouiswang@gmail.com>
...
format the s3c24x0 serial.c and mini2440 rtconfig.py
2013-06-18 12:51:55 +08:00
visitor83
c56fa7c907
ident format
...
Signed-off-by: visitor83 <root@wolflouis.(none)>
2013-06-16 10:00:34 +08:00
Grissiom
009239ceed
rm48x50: rt_interrupt_nest should be `volatile rt_uint8_t`
2013-06-12 23:56:10 +08:00
Grissiom
9b949c28b7
rm48x50: add cache_{enable, disable}
2013-06-12 21:03:04 +08:00
Grissiom
e8bbbe6788
cortex-r4: wrap asm functions with .asmfunc/.endasmfunc
2013-06-05 23:21:06 +08:00
Grissiom
228a6be077
cortex-r4: add __rt_ffs
2013-06-05 23:20:39 +08:00
Grissiom
e74befca44
move libcpu/arm/rm48x50/ to libcpu/arm/cortex-r4
2013-05-31 21:06:26 +08:00