Commit Graph

191 Commits

Author SHA1 Message Date
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man 85441c0dc4 [sconscript] 代替+=的表述方法 2022-01-08 15:48:50 +08:00
Meco Man 918ee6147c add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08:00
Meco Man 1948988913 [lvgl] 将lvgl目录调整到application文件夹下 2021-12-19 18:21:31 -05:00
Meco Man f4aa860d8b [qemu][lvgl] 优化lvgl显示驱动 2021-12-18 14:16:08 -05:00
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
guo a6b62d37d0
Merge pull request #5394 from mysterywolf/simu 2021-12-16 16:51:30 +08:00
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
Meco Man d4a72f29c7 [simulator][lvgl] 处理注释 2021-12-16 03:16:02 -05:00
Meco Man e72eb1ae95 [simulator][win32] add lvgl driver 2021-12-16 01:12:24 -05:00
Meco Man a8796abdc2 [qemu][lvgl]移除无用的定义和对外声明 2021-12-15 22:34:41 -05:00
Meco Man df474d79c5 [qemu] 调整lvgl配置参数 2021-12-15 02:17:18 -05:00
Meco Man 79e3d7f48e [qemu] format codes 2021-12-15 01:49:09 -05:00
Meco Man 5f6729e1b8 [qemu][lvgl] 优化lvgl显示驱动 2021-12-15 01:24:44 -05:00
Meco Man f6ae47fa94 [qemu][lvgl] update player demo configuration 2021-12-14 22:16:12 -05:00
Meco Man be5ad6f079 [qemu] update Kconfig for LVGL demo 2021-12-14 14:53:55 -05:00
Meco Man f9fa08208c [qemu] delete lvgl demo 2021-12-14 14:34:26 -05:00
Meco Man fbe71b7b30 [qemu] update Kconfig 2021-12-09 14:06:28 -05:00
guozhanxin 45dd302abf [qemu-a9] add .ignore_format.yml 2021-12-09 11:48:48 +08:00
guozhanxin 5aecdeb8ab [qemu-a9] add lvgl support. 2021-12-09 11:24:17 +08:00
Bernard Xiong 36d5154256
Merge pull request #5320 from mysterywolf/pse-master
[POSIX] move PSE branch to master
2021-12-05 13:16:39 +08:00
recan-li 58af537c6c fix: Update README for bsp/qemu-vexpress-a9 2021-12-04 01:03:54 +08:00
recan-li cf92ae747f fix: Fix compile warnings on qemu-vexpress-a9 platform (-Wimplicit-function-declaration) 2021-12-04 01:03:26 +08:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
Meco Man 973f25901c [dfs] move dfs back 2021-11-16 00:57:56 -05:00
Meco Man 74669b3f1d update vexpress-a9 2021-11-08 11:07:54 -05:00
Meco Man 30abf0ecb9 [bsp] remove empty rt_hw_us_delay 2021-10-28 16:27:31 -04:00
guo cda8caeda0
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
guo 39197b438d
Merge pull request #4885 from willianchanlovegithub/WillianChan
[add][components][utilities]Add the Var Export component
2021-10-11 11:02:14 +08:00
Meco Man e18d44940f [finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题 2021-09-05 01:57:26 -04:00
WillianChan 4b2913a898 [modify][components][utilities]add qemu-a9 section information for var export and fix some problems.
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-09-02 18:06:38 +08:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
Meco Man 56e3571e8a implement delay.c/.h 2021-06-16 14:15:31 +08:00
zhouji 3350b0ba4e [update] 整理cortex-a kconfig菜单,并更新相关BSP的配置。 2021-05-27 17:44:44 +08:00
zhouji 2eea7259c2 [update] 更新与libcpu\cortex-a相关BSP的配置, 选择合适的GIC控制器。 2021-05-14 16:08:32 +08:00
zhouji 42ce237dc9 [update] 整理cortex-a aarch32启动代码
1. 去除start_gcc.s中set_secondary_cpu_boot_address代码,这部分提取到qemu-vexpress-a9 bsp中。
2. 移动cpu.c中rt_hw_cpu_id函数到cp15_gcc.s,使用汇编实现,采用wake属性,方便bsp根据cpu特性获取CPU ID(多cpu集群中,不同厂家使用组合不一样).
3. 整理start_gcc.s 适应多核启动,原来的代码只考虑到双核的情况。
2021-05-14 15:30:31 +08:00
Meco Jianting Man 329fc480ce
revert automac.h 2021-05-13 12:05:30 +08:00
Meco Man f58fbe5e78 rever ymodem 2021-05-12 18:28:29 +08:00
Meco Man e13827ec7f [bsp][qemu-vexpress-a9] 完善readme 2021-05-12 14:48:49 +08:00
Meco Man 6f3f58dae0 [bsp][qemu-vexpress-a9] 更新工程配置 2021-05-12 14:41:15 +08:00
yangjie afee7fd2b9 [bsp]update 2021-04-21 17:22:07 +08:00
yangjie b2a589b89e [bsp][qemu-vexpress-a9/drivers] change to lan911 header file 2021-04-21 10:33:58 +08:00
bernard f8d7f34728 [BSP] Add license info and code cleaup for vexpress-a9 BSP 2020-12-31 09:48:36 +08:00
yangjie ef62febf1f [SConscript]update group name 2020-12-19 16:49:11 +08:00
David Lin 8b4f55a34b
Fixed spelling mistakes of code in drv_sound.c
macro error:  
	PL041_CHANNLE_LEFT_DAC  -> PL041_CHANNEL_LEFT_DAC
	PL041_CHANNLE_RIGHT_DAC  ->  PL041_CHANNEL_RIGHT_DAC
	PL041_CHANNLE_LEFT_ADC   -> PL041_CHANNEL_LEFT_ADC
	PL041_CHANNLE_RIGHT_ADC  -> PL041_CHANNEL_RIGHT_ADC             
parameter error:
	channle -> channel
functions error:
	aaci_pl041_channle_disable -> aaci_pl041_channel_disable
	aaci_pl041_channle_enable -> aaci_pl041_channel_enable
	aaci_pl041_channle_write -> aaci_pl041_channel_write
	aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:39:32 +08:00
David Lin 8a3b6b1da1
Update drv_pl041.h 2020-02-17 22:32:43 +08:00
David Lin 9ca77d6f51
Fixed spelling mistakes of code in drv_pl041.h
macro error:  
	PL041_CHANNLE_LEFT_DAC  -> PL041_CHANNEL_LEFT_DAC
	PL041_CHANNLE_RIGHT_DAC  ->  PL041_CHANNEL_RIGHT_DAC
	PL041_CHANNLE_LEFT_ADC   -> PL041_CHANNEL_LEFT_ADC
	PL041_CHANNLE_RIGHT_ADC  -> PL041_CHANNEL_RIGHT_ADC             
parameter error:
	channle -> channel
functions error:
	aaci_pl041_channle_disable -> aaci_pl041_channel_disable
	aaci_pl041_channle_enable -> aaci_pl041_channel_enable
	aaci_pl041_channle_read -> aaci_pl041_channel_read
	aaci_pl041_channle_write -> aaci_pl041_channel_write
	aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:31:51 +08:00
David Lin 1f353c6f17
Fixed spelling mistakes of code in drv_pl041.c
macro error:  
	PL041_CHANNLE_NUM ->   PL041_CHANNEL_NUM 
parameter error:
	channle -> channel
functions error:
	aaci_pl041_channle_disable -> aaci_pl041_channel_disable
	aaci_pl041_channle_enable -> aaci_pl041_channel_enable
	aaci_pl041_channle_read -> aaci_pl041_channel_read
	aaci_pl041_channle_write -> aaci_pl041_channel_write
	aaci_pl041_channle_cfg -> aaci_pl041_channel_cfg
2020-02-17 22:11:57 +08:00
Bernard Xiong da7751c044
Merge pull request #3129 from jesven/fix_same_prio
修正相同优先级任务切换太频繁的问题
2019-11-12 22:47:18 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
aozima 525d353403 fixed linker script and stack align issues. 2019-10-22 09:47:41 +08:00
shaojinchun fb4959bbbb 修正qemu-vexpress-a9平台上第二核时钟不对的问题 2019-10-12 11:11:44 +08:00
yangjie 1ef33e66cd [bsp][Kconfig]在bsp的Kconfig中select组件初始化与user main的选项 2019-09-11 12:06:43 +08:00
LinJieqiang d16d78c53e fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE" 2019-09-05 08:33:12 +08:00
tangyuxin eca4863888 [bsp][qemu-vexpress-a9]修复py3环境下编译,整数相除为浮点数的问题 2019-09-02 11:22:51 +08:00
EvalZero baac77c8c2 [bsp][qemu-vexpress-a9][stm32l475-atk-pandora]add audio driver copyright file header. 2019-08-07 14:03:18 +08:00
EvalZero 559e297e4b [bsp][qemu-vexpress-a9]update qemu-vexpress-a9 audio device drivers. 2019-08-06 15:01:23 +08:00
Bernard Xiong cfd54c76b6 [BSP][QEMU-VExress] fix the automac issue under rtthread-apps 2019-07-30 15:11:03 +08:00
Bernard Xiong c94cac2e27
Merge pull request #2887 from jesven/master
修正qemu-vexpress-a9系统心跳不准的问题
2019-07-23 10:17:19 +08:00
shaojinchun 7f03e71e3a 修正qemu-vexpress-a9系统心跳不准的问题 2019-07-23 08:42:17 +08:00
chenyong dfa22ae292 [BSP] Update BSP configuration file for IPV6 feature changes 2019-06-24 17:51:31 +08:00
armink ff3edd0cbe [bsp][qemu-vexpress-a9] Update eclipse project. 2019-05-29 11:56:19 +08:00
Bernard Xiong 91f6abb765
Merge pull request #2675 from lymzzyh/qemu-mac
[BSP][qemu-a9] auto generate mac address from host
2019-05-12 23:07:01 +08:00
ZYH 4f521a0c95 [BSP][qemu-a9] auto generate mac address from host 2019-05-12 21:53:47 +08:00
Bernard Xiong ec6cb9f260 [BSP][qemu-vexpress-a9] code cleaup for compiling warning. 2019-05-12 15:07:26 +08:00
armink 2cb371ac4a [bsp][qemu-vexpress-a9] Fix the elf not running when using eclipse target. 2019-05-07 16:04:25 +08:00
armink 5c584bfff9 [qemu-vexpress-a9] Add eclipse project support. 2019-04-29 18:42:12 +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
yangjie 2f0e312a7f [bsp]remove log_trace item from all bsp 2019-04-23 14:23:07 +08:00
chenyong a6900a2d6f [bsp] Update BSP configuration file for netdev components
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-17 11:00:45 +08:00
BernardXiong 4729f3f766 [BSP] remove error log for SD/MMC driver in QEMU VExpress A9 BSP 2019-04-15 10:26:31 +00:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
Bernard Xiong 95beb80b1e
Merge pull request #2513 from BernardXiong/branch_tools
[Tools] Remove Makefile from BSP
2019-03-27 09:55:23 +08:00
BernardXiong 47ca1c2ff4 [Tools] Remove Makefile from BSP 2019-03-26 16:00:41 +00:00
BernardXiong 0622b5a0df [BSP] Add device ops for audio driver 2019-03-26 15:52:47 +00:00
Bernard Xiong b1a98ebe46
Merge pull request #2502 from BernardXiong/branch_tools
[Tools] Add Makefile generation and Eclipse target
2019-03-25 22:26:16 +08:00
qz721 2eb1bef773 Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code. 2019-03-25 20:03:49 +08:00
shaojinchun df930d5516 fix the problem of double in sprintf 2019-03-22 13:50:29 +08:00
shaojinchun 4e22be8937 now makefile works 2019-03-07 14:42:58 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
Bernard Xiong 08ebb196ec [BSP] modify buffer size of console to 256. 2019-02-28 07:09:56 +08:00
misonyo 69cd16e136 [all BSP]fix kconfig file syntax error 2019-01-16 23:23:38 +08:00
Bernard Xiong bde47018b8 [libcpu] Add SConscript in libcpu. 2019-01-07 06:09:45 +08:00
Bernard Xiong cd4ac30b80
Merge pull request #2106 from zhaojuntao/lds-1224
[bsp] 为常用板卡的 gcc 链接脚本增加 utest section 段
2018-12-24 20:00:04 +08:00
MurphyZhao d68291d47a [bsp] 为常用板卡的 gcc 链接脚本增加 utest section 段
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-24 17:28:52 +08:00
Bernard Xiong f1b2e4ed21 [bsp][qemu-vexpress] code cleanup.
Move idle_wfi to board.c for idle hook.
2018-12-24 09:06:33 +08:00
Bernard Xiong a74a3031f0
Merge pull request #2081 from jesven/sync_smp_skeleton
Sync smp skeleton
2018-12-18 14:02:04 +08:00
shaojinchun eff767a074 remove rt_hw_mb define
sync smp skeleton
2018-12-17 11:02:09 +08:00
chenchaoqun@rt-thread.com 87b407ff18 【修改】.config 中RT_SERIAL_USING_DMA选项 2018-12-17 09:53:44 +08:00
chenchaoqun@rt-thread.com bb8e89e851 【串口】宏定义对应增加 2018-12-17 09:38:53 +08:00
shaojinchun f5426f4a86 1 增加了bsp数据屏障接口函数 rt_hw_mb()
2 去除在secondary_cpu_c_start重复了的IPI handler的注册
2018-12-13 09:49:15 +08:00
shaojinchun 2b21d2316a 修改许可协议
修改cpu目录名及相关修改
2018-12-10 18:23:21 +08:00
shaojinchun a8953e9211 add lwp support 2018-12-10 16:44:48 +08:00
Bernard Xiong 27cd03d454
Merge pull request #2036 from liruncong/const
rt_hw_interrupt_install函数name参数增加const限定
2018-12-06 06:04:11 +08:00
liruncong a132ab29de [bsp/qemu-vexpress-a9]rt_hw_interrupt_install函数name参数增加const限定 2018-12-05 20:44:00 +08:00