Commit Graph

3783 Commits

Author SHA1 Message Date
Bernard Xiong e38ee383aa
Merge pull request #3528 from majianjia/master
Fix bug cause STM32 HAL SPI timeout
2020-05-06 20:57:09 +08:00
SummerGift 9f6696964a [update] add new line 2020-05-06 15:43:26 +08:00
SummerGift 36755af0be [update] nuclei dist handle 2020-05-06 15:37:11 +08:00
SummerGift dbfd464a77 [update] lpc55sxx/tools/sdk_dist.py 2020-05-06 15:17:59 +08:00
SummerGift b74ec1ec8c [add] stm32 bsp dist handle in rtconfig.py 2020-05-06 15:05:09 +08:00
SummerGift daf43f7443 [add] stm32 sdk_dist.py 2020-05-06 14:55:36 +08:00
Bernard Xiong 79e8838690
Merge pull request #3580 from ousugo/fixtypo
fix led0 --> led1
2020-05-05 21:02:13 +08:00
ousugo dff597e68c fix led0 --> led1 2020-05-05 15:13:11 +08:00
supperthomas 979cec4af6 [nrfx] add the qspi_flash of nordic pdk 2020-05-05 13:35:38 +08:00
luhuadong c0ed7f6e89 [BSP] correct stm32l412-st-nucleo capacity info 2020-05-04 23:00:41 +08:00
whj4674672 92ddb8b0f3 [bsp/stm32/stm32h743-atk-apollo]support stm32h7 uart dma 2020-05-02 15:09:41 +08:00
supperthomas 4f87edbd35
Merge branch 'master' into master 2020-05-02 09:43:50 +08:00
supperthomas 1ea7a3f519 [nrfx] Add the on-chip flash 2020-05-02 09:41:56 +08:00
Bernard Xiong 786eb5ae9c [C++] rename the Thread/Mutex to cxx_Thread/Mutex to avoid same name issue 2020-04-30 21:08:04 +08:00
XYX12306 572df0f5bf add bsp/stm32/stm32f413-st-nucleo 2020-04-29 09:37:30 +08:00
Maofeng 79b44d29ad [bsp\nrf5x]Support BSP UART0 2020-04-28 23:14:33 +08:00
NU-LL c7b74a1e8f support SPI/ADC/TIME on-chip peripheral driver 2020-04-28 13:33:15 +08:00
Bernard Xiong 252b9aa01c
Merge pull request #3562 from bigmagic123/raspi_mbox
Raspi mbox
2020-04-27 18:23:49 +08:00
Fu Wei 609911bee9 [RISC-V:K210]Add UART1~3 support for K210
This patch adds UART1~3 support for K210, and separates the rt_uart_ops of
UARTHS from UART.
This patch add configs in Kconfig for configuring the pins of UARTx,
please check the sysctl_set_power_mode for the pins in the io_config_init
of bsp/k210/driver/drv_io_config.c

Signed-off-by: Fu Wei <wefu@redhat.com>
2020-04-26 19:51:35 +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
luhuadong b3dc8111db [BSP] update stm32l412-st-nucleo mdk5 project 2020-04-24 23:46:38 +08:00
luhuadong d47f03788f [BSP] update stm32l412-st-nucleo mdk5 project 2020-04-24 23:43:28 +08:00
luhuadong db327dc2e6 [BSP] Adjust RCC for stm32l412-st-nucleo BSP 2020-04-24 21:58:06 +08:00
luhuadong ae724e447f [BSP] Add stm32l412-st-nucleo BSP 2020-04-24 02:46:01 +08:00
yangjie ef00e50ad5 [bsp][stm32l475-atk-pandora]将SPI3配置为 transmit only master 模式,防止LCD模块使用的PIN脚被SPI3_MISO占用 2020-04-23 16:21:01 +08:00
Bernard Xiong 01a7587d3d
Merge pull request #3547 from luhuadong/develop
[BSP] add Libraries when scons --dist
2020-04-23 13:19:46 +08:00
luhuadong e1bd3673fd [AT32 BSP] do bsp special dist handle 2020-04-22 16:58:10 +08:00
Bernard Xiong f01017aa95
Merge pull request #3549 from xckhmf/master
[update]modify nrf5x/nrf52840 for [No Softdevice]&[RT_USING_USER_MAIN]
2020-04-22 03:55:15 +08:00
xiangxistu e822924176 [update] support uart2
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-04-21 21:14:20 +08:00
Bernard Xiong 00503fb835
Merge pull request #3512 from xupenghu/stm32l010rb-nucleo
Stm32l010rb nucleo
2020-04-20 23:52:28 +08:00
xupenghu_huaweipc 3b20282e13 add bsp/stm32l010rb-nucleo, fix some pr suggest. 2020-04-20 19:20:56 +08:00
Maofeng 805432d315 [update]modify nrf5x/nrf52840 for [No Softdevice]&[RT_USING_USER_MAIN] 2020-04-19 17:37:43 +08:00
luhuadong 964cbe612a Resolve conflicts 2020-04-18 16:26:36 +08:00
Bernard Xiong d2ff505538
Merge pull request #3546 from nuclei-community/dev_nuclei_pr
[BSP][Nuclei] Add Nuclei RISC-V Processor support
2020-04-18 07:50:30 +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 b7368bc2ed725c42f9adc297d0e9cf3ed706a520
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 2c42a997f7b5d8aa53bdaf19ccb30596091a112d
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 915ad4c076ff3d7cebda896537605e7f7939b7af
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 fe43869c79675a25669447d57ea5d77385e07ca5
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 8fd31727bc7ff51c83a3c47840cff1bfb100c0ba
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 b432308b20cdf24dfcc1398511d1d83bce6a9df2
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 7366173d749d8a51ed8d48eca09007d27aee8ad8
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 8c2cd4745b7279a6721946d119441bbf7fd1a9c2
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 fa8a2f24ea5e4dbce714ffda16c1ce558e5b5ddb
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 1be40bc50be43dfcdd105291bd24355498f9fef3
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 4c8beb204b7ee3e38c04e1f23a1f7e4ce48aa196
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 da2bcf5c56ef32b611405a8e591ecd3f1e598b11
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 0b932c677a7934d60e70da141744790aec202ef6
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 0431f6f01f6efab2900de552abede83639415431
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 0e1f502edfddff93a4a66c041be68560ef4828eb
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 1131f6e6483d8f2fbafe07f4e598fc8f802ee85d
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 ad81c1d3bf9d80d2b561c94e903e7ce4ca2c68c6
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 d780138a1abf5da5097cc89e6a428ebeae06f284
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 60320d34b1d88315efe1b566fd6bc75c69851f06
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 a042b806efe0ea3bc9dba80ebc7696e5941ba35f
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 2a9603adcb584b29886a2b93ded2473f4e8bffb1
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 34aaf6aebae75c3ee9d38cc17e6bdb826ed9e357
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 3451466e9d8da3c3c8a631be69f3c7a5e6220c21
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 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
Jonne 4b035622ce 1. Modify the file indention
2. Modify the license head
2020-04-15 21:03: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 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
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
Jonne 204376f0ec Modify the return code with using macro 2020-04-13 08:46:51 +08:00
Jonne e5fac04e7d Add gpio and interrupt settings for uart1 uart2 2020-04-11 21:14:12 +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
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
xupenghu_huaweipc 36eb783fc7 add bsp/stm32/stm32l010-st-nucleo 2020-04-10 09:36:53 +08:00
Bernard Xiong 234cd0e9b2
Merge pull request #3509 from wangyq2018/bugfix
fixed i2c bug, change i2c_dbg() to LOG_E().
2020-04-10 00:37:36 +08:00
wangyq2018 00b10f7ded fixed i2c bug, change i2c_dbg() to LOG_E() 2020-04-09 16:09:04 +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 c79f947fff [bsp/ls2k]modified readme 2020-04-07 16:39:08 +08:00
Bernard Xiong 946749f8ba
Merge pull request #3495 from thread-liu/slave
[update] 更新 bsp/stm32 不规范
2020-04-07 15:33:35 +08:00
Bernard Xiong 1210a611de
Merge pull request #3498 from bigmagic123/add_soc_cntp
add soc timer cntpct
2020-04-07 15:32:44 +08:00
bigmagic 8b4e365935 add ls2k readme 2020-04-07 14:39:33 +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 b45d2326c9 fix x1000 memory use bug 2020-04-03 20:26:50 +08:00
bigmagic efbb5490d7 add soc timer cntpct 2020-04-03 20:18:18 +08:00
thread-liu a68f142ac6 [update] bsp/stm32/stm32h743-st-nucleo 2020-04-02 08:49:45 +08:00
thread-liu 0b61ac03ee [update] bsp/stm32/stm32/stm32f429-st-disco 2020-04-01 17:52:55 +08:00
thread-liu 8d15d2b681 [update] bsp/stm32/stm32h743-st-nucleo 2020-04-01 17:50:56 +08:00
SummerGift e5c1183350 [optimize] stm32 uart driver 2020-03-23 15:44:54 +08:00
Bernard Xiong f91b9e7670
Merge pull request #3431 from tanglj86/master
[bsp/stm32] add support for NUCLEO-F410RB board;
2020-03-22 21:27:48 +08:00
Bernard Xiong 9388434043
Merge pull request #3452 from supperthomas/aa
[bsp/stm32] add the bsp of stm32l496zg-nucleo board
2020-03-22 21:27:36 +08:00
Bernard Xiong a8cd463347
Merge pull request #3470 from Sunwancn/fix-adc-channel-bug
[drv_adc.c]Fixed ADC channel configuration bug for SMT32F0/L0/H7
2020-03-22 21:25:56 +08:00
Bernard Xiong 2e42ad8279
Merge pull request #3442 from redocCheng/master
drv_flash_f1.c support stm32f103vg
2020-03-22 21:24:47 +08:00
Bernard Xiong 88eafe77e9
Merge pull request #3466 from gyd0317/dev
add STM32L1 HAL DRIVER
2020-03-22 21:24:11 +08:00
Sunwancn d211a27aff [drv_adc.c]Fix ADC channel Configuration bug for SMT32F0/L0/H7 2020-03-20 09:05:45 +08:00
Bernard Xiong 9c544e069c
Merge pull request #3468 from bigmagic123/aarch64_cache_api
Aarch64 cache api
2020-03-19 02:11:34 +08:00
supperthomas bd85518665 Merge branch 'master' of github.com:supperthomas/rt-thread into back 2020-03-18 22:43:04 +08:00
gyd0317 588bda5553 change gcc statup files 2020-03-18 21:42:13 +08:00
tanglj86 816a714de1 fix some format issues; 2020-03-18 18:51:22 +08:00
redoc 4b46aafa75
Update drv_flash_f1.c
1、【修改】返回值。
2020-03-18 15:38:10 +08:00
redoc 5a5f262649
Update drv_flash_f1.c
调整stm32_flash_erase的返回值
2020-03-18 15:31:20 +08:00
redoc bac9410d7d
Update drv_flash_f1.c
1、【修改】运算方式,更加简洁易懂;
2、【修正】代码格式 tab、 LOG_D;
3、【增加】返回值;
4、【去除】bank1_flag和bank2_flag,改用bank_size判定。
2020-03-18 15:05:12 +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
luhuadong e6417379ca fixed a typo 2020-03-18 13:47:50 +08:00
Bernard Xiong ed0637fef4
Merge pull request #3463 from sheltonyu/develop
1. modify at32_msp default configuration 2. add hwtimer driver and fi…
2020-03-17 23:23:53 +08:00
unknown db23a69f49 dd STM32L1 HAL DRIVER 2020-03-17 22:11:13 +08:00
sheltonyu ce4ac6315d 1. modify at32_msp default configuration 2. add hwtimer driver and fix up some driver errors 3. update related files 2020-03-17 10:10:43 +08:00
supperthomas 56a2e831f4 Merge branch 'master' of github.com:supperthomas/rt-thread 2020-03-16 23:59:08 +08:00
andychen329 96cb2579cf
update readme :Fixed spelling mistakes
MM32L073PF ->  MM32L373PF
2020-03-16 18:02:10 +08:00
Bernard Xiong a7bcf90d78
Merge pull request #3433 from DavidLin1577/patch-5
Fixed a hidden stack overflow bug
2020-03-15 20:52:06 +08:00
Bernard Xiong 6d3c0be646
Merge pull request #3453 from DavidLin1577/patch-6
[bsp]Fixed a  stack overflow bug in drv_crypto.c
2020-03-15 20:39:48 +08:00