Commit Graph

161 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
GuEe-GUI 353f717037 [libcpu/aarch64] add smp support 2022-01-08 18:24:02 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08: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
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
fanhuanji 2d6791d592 BugFix: Raspi3 GPIO driver write bug 2021-12-08 22:33:23 +08:00
Meco Man 67e14adc4f [posix] 按照高级unix环境编程整理IO类别 2021-12-05 23:07:41 -05:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
Bernard Xiong 7c012afdf8
Merge pull request #5314 from GuEe-GUI/master
fixup .bss size define in link.lds and set spsel=1 in aarch64
2021-12-01 09:18:50 +08:00
GuEe-GUI efbdbc2636 fixup .bss size define in link.lds and set spsel=1 in aarch64 2021-11-30 11:14:17 +08:00
Meco Man a1cc3d43e7 modify time.h to sys/time.h 2021-11-23 22:38:00 -05: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
mazhiyuan 99e9ea61bc 修复部分bsp编译报错 2021-10-13 11:02:01 +08:00
GuEe-GUI 740cd9dfb0 Merge AArch64 libcpu and add some drivers for their bsps 2021-09-26 15:01:59 +08:00
BernardXiong 0b13409c16 [BSP] fix compiling issue with libc 2021-09-11 18:09:22 +08:00
Meco Man 1997113fbc FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS 2021-08-28 16:48:08 -04:00
Meco Man 29828dc94f [finsh] finsh组件可以选择是否包含内置命令 2021-08-25 19:48:15 -04: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
Bernard Xiong a6df4391ed
Merge pull request #4924 from GuEe-GUI/master
[bsp/virt64/aarch64]添加qemu-virt64-aarch64平台
2021-08-10 18:03:07 +08:00
GuEe-GUI b7dd004de0 [bsp/virt64/aarch64] Add 'qemu-virt64-aarch64' bsp 2021-08-06 18:35:58 +08:00
Weilin Wang 24d29d8297 fix net driver 2021-08-03 11:26:46 +08:00
Weilin Wang 095d2e8da6 update raspi4-32 eth drv 2021-06-22 10:17:22 +08:00
yangjie 75e4c9dd0a [bsp]update GPL license to Apache-2.0, and format files 2021-04-09 10:52:34 +08:00
Meco Man 1af9bbce32 [raspi] auto formatted 2021-03-14 12:58:10 +08:00
Bernard Xiong 7d72bdf303
Merge pull request #4314 from mysterywolf/mktime1
[bug][localtime]解决底层驱动格林威治时间与当地时间混乱使用的问题
2021-02-15 09:26:52 +08:00
David Lin a76fde6ca4
[bsp] mini optimized the drv_xpt2046.c
error device name xpt2049 in pi4 , so  changed xpt2049 -> xpt2046.
2021-02-08 12:34:25 +08:00
Meco Man 86ebf17a23 localtim改为gmtime 2021-02-07 21:49:25 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
yangjie eeaf1fcc50 resolve Conflicts
bsp/nrf52832/board/Sconscript
	bsp/nrf52832/startups/Sconscript
	bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
yangjie ef62febf1f [SConscript]update group name 2020-12-19 16:49:11 +08:00
bigmagic 20de8e215a update readme.md 2020-12-02 10:29:38 +08:00
bigmagic 091089f16d add dma ch7 driver 2020-12-02 10:09:27 +08:00
bigmagic ef1c7f2088 update bluetooth driver 2020-12-02 10:06:59 +08:00
yangjie11 ba83ddc3c4 [SConscript] change libcpu to LIBARCH,and correcte letter case 2020-11-30 15:52:43 +08:00
bigmagic 2d1457e2cb add download firmware 2020-11-29 20:28:39 +08:00
bigmagic 466ca3bf9a add bluetooth driver 2020-11-29 17:31:51 +08:00
bigmagic bda0d303af add raspi4 driver 2020-11-28 18:27:24 +08:00
bigmagic 5bcf84edcb add raspi4 lcd driver 2020-11-27 14:30:25 +08:00
bigmagic f8c8bc1c41 add raspi4 dsi and xpt2046 touch driver 2020-11-27 13:44:56 +08:00
bigmagic 1ddfe4a8a7 fixed spi driver 2020-11-26 11:30:29 +08:00
bigmagic 3206d018f1 fix sdio driver 2020-11-26 11:23:09 +08:00
bigmagic 1641caa378 fixed rpi4 eth driver 2020-11-26 11:20:13 +08:00
yangjie11 91261e25b9 [SConscript]rename group name 2020-11-20 13:38:11 +08:00
bigmagic b506a3a2c8 remove unnecessary define 2020-11-03 08:58:05 +08:00
bigmagic 2fcdb0c09c add copyright file header with Apache License 2020-10-30 18:57:49 +08:00
bigmagic 21b4b79a44 update readme 2020-10-30 18:22:03 +08:00
bigmagic 63a0634cea add raspi4 ethernet driver 2020-10-30 18:21:51 +08:00
bigmagic c85946b0e1 update readme 2020-10-27 19:12:05 +08:00
bigmagic 74812c0f2d add raspi4 sdio driver 2020-10-27 18:26:56 +08:00
bigmagic 8cf83694ae add actled biling 2020-10-27 13:18:24 +08:00
bigmagic 3532ad3e3a add hdmi menuconfig 2020-10-27 12:58:37 +08:00
bigmagic c97f33d11d add raspi4 hdmi driver 2020-10-27 12:46:50 +08:00
bigmagic 67b6177de7 code format 2020-10-26 14:00:19 +08:00
bigmagic 7043451e41 add raspi4 watchdog driver 2020-10-26 13:53:26 +08:00
Bernard Xiong ac9de9e289
Fix typo 2020-09-15 13:54:09 +08:00
bigmagic 28ef6216fe remove unnecessary code 2020-09-14 14:27:57 +08:00
bigmagic 5cd3a1f45c Correction of clerical errors 2020-09-14 14:25:38 +08:00
bigamgic 627dc2a898 rename function 2020-09-11 16:55:10 +08:00
bigamgic 65fa8c92ca raspberry pi bsp update readme 2020-09-11 16:39:54 +08:00
bigamgic b31fe0a578 add raspi4 mbox driver 2020-09-11 16:28:14 +08:00
Bernard Xiong 36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00
Cathy Li c73d0a7466 Update BSP README with EN Version. 2020-09-09 18:22:26 +08:00
bigamgic b9d4987866 fix code layout 2020-07-04 22:37:35 +08:00
bigamgic f333dcabe3 raspi4 spi0 driver can run 2020-07-04 22:32:02 +08:00
bigamgic 72d4e2ed50 add raspi4 gpio interrupt 2020-06-16 09:16:07 +08:00
bigmagic 266716a959 remove unnecessary code 2020-06-04 00:04:16 +08:00
bigmagic 587e50dc1c fix raspi2 timer 2020-06-03 23:58:34 +08:00
bigmagic db0b00d12a add_raspi4_uart 2020-05-26 13:56:42 +08:00
bigmagic c4faf6dfdf add raspi3-64 config 2020-05-25 17:50:01 +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
bigmagic aca518b6ca remove fb clear function 2020-05-24 21:16:29 +08:00
bigmagic 6251fc93b6 [bsp/raspi]fix hdmi driver 2020-04-26 09:53:59 +08:00
bigmagic 2099924e20 add raspi3 mbox option 2020-04-26 09:53:59 +08:00
bigmagic bcae196541 [bsp\raspi4]move io to `iomap.h` 2020-04-17 22:35:43 +08:00
bigmagic 098eccc057 add raspi3-64 readme note 2020-04-17 22:35:36 +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
bigmagic efbb5490d7 add soc timer cntpct 2020-04-03 20:18:18 +08:00
bigmagic f6a13de08f add raspi3-64 spi driver 2020-03-18 14:22:15 +08:00
bigmagic ba482c3346 add raspi3-64 i2c driver 2020-03-18 14:22:05 +08:00
bigmagic 7d23d713ed fix raspi3 hdmi driver 2020-03-02 20:49:27 +08:00
bigmagic 3024571acb add mbox control act led 2020-03-02 20:49:27 +08:00
bigmagic 0279daeeee add raspi3 mbox driver 2020-03-02 20:49:27 +08:00
bigmagic d5f8397009 add raspi3-64 wdt driver 2020-03-02 20:49:27 +08:00
bigmagic 972f28476c [bsp/raspi3-64]use hw timer1 and hw timer3 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 e09c99fcfb fix raspi3-64 sdio driver 2020-02-28 14:56:56 +08:00
bigmagic 773f7cdf52 [bsp/raspi3-64]add core timer driver 2020-02-26 15:35:07 +08:00
bigmagic f3b9a9bdfa fix raspi3-32 sdio driver 2020-02-24 22:45:11 +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
yangwu 55eaea2f26 make spi driver pass compiling 2020-02-16 22:12:07 +08:00
yangwu 7c94a2c3f6 fix recursive macro dependency 2020-02-16 22:10:41 +08:00