Commit Graph

9597 Commits

Author SHA1 Message Date
bigmagic 3afb24f4c1 fix aarch64 compiler warning 2020-04-17 22:35:55 +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
luhuadong 3b2fa47209 [BSP] add Libraries when scons --dist 2020-04-17 22:14:37 +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
Bernard Xiong f406aab4d2
Merge pull request #3542 from DavidLin1577/patch-4
Update kernel.h
2020-04-17 19:53: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
David Lin 993835b5ed
Update tcpsendpacket.c 2020-04-17 18:44:15 +08:00
David Lin 8e57dcb723
Update tcpsendpacket.c 2020-04-17 18:39:04 +08:00
David Lin 8a965bce46
Update kernel.h
thead -> thread
2020-04-17 17:09:57 +08:00
Bernard Xiong 33f7124b36
Merge pull request #3541 from bigmagic123/add_raspi4
Add raspi4 bsp
2020-04-17 13:30:22 +08:00
Bernard Xiong 198c0d914c
Merge pull request #3532 from qzhang1535/br_mini2440
Update bsp for mini2440
2020-04-17 11:42:05 +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 4054c97a96
Merge pull request #3533 from supperthomas/master
add the bsp of nrf5x
2020-04-16 15:39:59 +08:00
Jonne 4b035622ce 1. Modify the file indention
2. Modify the license head
2020-04-15 21:03:43 +08:00
Bernard Xiong d3ce0b27ff
Merge pull request #3534 from Keyun-Johan/mydoc
socket_new() 错误返回时的问题
2020-04-15 16:08:43 +08:00
Jonne c0947d443a 1. Add 4.3 inch lcd(480x272) support for mini2440
2. Add choice menu for lcd configure
3. Remove origin sdcard driver and add new mmc driver that use kernel
mmc stack for s3c2440
2020-04-15 00:06:55 +08:00
supperthomas 1e5d940b1e add the bsp of nrf5x 2020-04-14 22:18:42 +08:00
Bernard Xiong 05cd6eaad7
Merge pull request #3511 from BernardXiong/kernel_object
Kernel object
2020-04-14 10:52:21 +08:00
Bernard Xiong aaecf9414b
Merge pull request #3523 from DavidLin1577/patch-3
[components/drivers] update pipe.c
2020-04-14 10:36:46 +08:00
Bernard Xiong 7cf7841cca
Merge pull request #3510 from whj4674672/master
增加stm32h743-atk-apollo对pcf8574 和 uart2的支持
2020-04-13 23:27:11 +08:00
Jianjia Ma 24bc2560ef
Fix bug cause HAL SPI timeout
The bug affects in SPI mode 1 (probably and mode 2)
When changing SPI device, HAL returns timeout error for the first time trying to read/write.
2020-04-13 10:50:55 +01:00
Keyun-Johan 5ea637903d
Update sal_socket.c
OK
2020-04-13 17:42:37 +08:00
Bernard Xiong 5c399d50a7
Merge pull request #3520 from qzhang1535/br_mini2440
更新mini2440 bsp包:
2020-04-13 17:18:42 +08:00
z14git 5fa0656a9a add PWM1_CONFIG 2020-04-13 15:28:12 +08:00
Bernard Xiong 50512e8a8c
Merge pull request #3526 from majianjia/master
Export file examples to MSH
2020-04-13 09:16:04 +08:00
Jonne 204376f0ec Modify the return code with using macro 2020-04-13 08:46:51 +08:00
David Lin e9d930070d
Update pipe.c 2020-04-13 07:20:29 +08:00
majianjia 2014663660 Export file examples to MSH
also:
- change static buffer to dynamiclly allocated buffer.
- replace Chinese comment to English comment in some files.
- add apache-2 license
2020-04-12 23:56:43 +01:00
Keyun-Johan 63e855d78a socket_new()成功后,后续函数不成功返回-1,没有删除socket 2020-04-12 19:22:19 +08:00
David Lin ff09587d23
[components/drivers] update pipe.c
Fixed stackover flow bug when create pipe->fifo
2020-04-12 11:58:33 +08:00
Bernard Xiong 5b300113f7
Merge pull request #3522 from bigmagic123/fix_redefinition
remove redefinition 'mode_t'
2020-04-11 23:17:24 +08:00
bigmagic 3d29ac8953 remove redefinition 'mode_t' 2020-04-11 22:35:02 +08:00
Jonne e5fac04e7d Add gpio and interrupt settings for uart1 uart2 2020-04-11 21:14:12 +08:00
Bernard Xiong b0102830e2
Merge pull request #3521 from DeclanHuaChen/master
Fix some spelling mistakes
2020-04-11 18:14:55 +08:00
Jonne 0227b5823e 1. Remove unuseful function(rt_system_module_init)
2. Modify the return code to -1 when failed
3. Change the mounting filesystem from ramfs to sdcard
4. Replace RT_USING_RTGUI with PKG_USING_GUIENGINE and remove RT_USING_FTK
2020-04-11 17:56:06 +08:00
whj4674672 32d13e389b sppport stm32h743-atk-apollo pcf8574 and uart2(485) 2020-04-11 17:27:46 +08:00
DeclanHuaChen 9545529b33 Fix some spelling mistakes 2020-04-11 16:06:32 +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
Bernard Xiong 00f5094150
Merge pull request #3514 from uselessboard/master
MIPS: fix FPU compile error for ls1bdev
2020-04-10 20:52:04 +08:00
Bernard Xiong 446091fc10
Merge pull request #3516 from yangjie11/yj_dev
[components][serial]关闭uart时,反初始化tx_dma->data_queue,防止内存泄漏
2020-04-10 20:13:05 +08:00
yangjie cb9bc38ec9 [components][serial]关闭uart时,反初始化tx_dma->data_queue,防止内存泄漏 2020-04-10 18:41:59 +08:00
Bernard Xiong 6375094569
Merge pull request #3503 from yangjie11/yj_dev
[components][dataqueue]add rt_data_queue_deinit
2020-04-10 15:41:32 +08:00
duhuanpeng ab8e5e5a17 MIPS: ls1bdev: add .gitignore
Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:52 +08:00
duhuanpeng a705e5e389 MIPS: ls1bdev: fix a compile error
rt_hw_fpu_init() is defined in mips_fpu.h,
in board.c refered it without including mips_fpu.h.

Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:47 +08:00
duhuanpeng 7f04500a92 MIPS: ls1bdev: default instruction set MIPSr2
-mips32 will break the compilation if FPU enabled.

Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:42 +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