Commit Graph

4017 Commits

Author SHA1 Message Date
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
David Lin d38dbcaaa3
Update pwm.c 2020-03-15 07:22:34 +08:00
David Lin 508b334fe7
Update pwm.c 2020-03-15 00:21:38 +08:00
David Lin 45ae555a0b
[bsp]Fixed a stack overflow bug in drv_crypto.c
Added if null before used.
2020-03-14 23:11:37 +08:00
David Lin 25ac5039e7
Update pwm.c
rt_malloc -> rt_calloc
2020-03-14 22:38:48 +08:00
supperthomas a90610dee5 [bsp/stm32] add bsp of stm32l496zg-nucleo 2020-03-14 18:08:21 +08:00
supperthomas e847fab957 [bsp/stm32] add bsp of stm32l496zg-nucleo 2020-03-14 17:50:53 +08:00
yangjie 9b889944ba [bsp][stm32/pandora]增加AP6181移植文件 2020-03-14 16:59:31 +08:00
yangjie dae2d1e8fe [bsp][stm32/pandora]增加对板载 AP6181 的支持 2020-03-14 16:17:02 +08:00
Bernard Xiong 891e4794c0
Merge pull request #3295 from ChazJin/patch-3
Fix bug for synopsys_emac.c
2020-03-14 15:50:30 +08:00
Bernard Xiong d17011d124
Merge pull request #3439 from sheltonyu/develop
[bsp/at32] modify at32f403a-start README.md
2020-03-13 18:12:21 +08:00
Bernard Xiong ea968f6833
Merge pull request #3372 from karl-zh/lpc55_add_ns_scons
Lpc55 add ns scons project
2020-03-12 16:59:23 +08:00
redoc 91a52192b8
update tab 2020-03-12 15:04:10 +08:00
redoc 363903b984
chage tab 2020-03-12 15:02:26 +08:00
redoc acf4fc6d2e
update drv_flash_f1.c
support stm32f103vg
2020-03-12 14:46:46 +08:00
sheltonyu 1becc3a77f [bsp/at32] modify at32f403a-start README.md 2020-03-11 17:51:51 +08:00
Bernard Xiong 3e8c03e934
Merge pull request #3421 from ErnestChen1/master
[bsp] fix UART DMA TX
2020-03-10 16:24:38 +08:00
Bernard Xiong 817afbdf59
Merge pull request #3434 from tyustli/pm
[bsp/stm32] add pm support by cubemx tool
2020-03-10 13:05:30 +08:00
Bernard Xiong 86e91dc7df
Merge pull request #3435 from sheltonyu/develop
Upload at32 bsp first version.
2020-03-10 13:03:51 +08:00
sheltonyu f15aec01ed upload at32 bsp first version. 2020-03-09 15:10:16 +08:00
tyustli 6304ed3ad5 [bsp/stm32] add pm support by cubemx tool 2020-03-09 14:08:58 +08:00
David Lin b2d33e9147
Update pwm.c 2020-03-08 07:18:37 +08:00
David Lin c689c2c67f
Fixed a hidden stack overflow bug
'memset' should been next step after 'NULL' judge
2020-03-08 00:48:32 +08:00
tanglj86 e8614639eb [bsp/stm32] add support for NUCLEO-F410RB board; 2020-03-07 19:11:49 +08:00
David Lin 622e8cb0ca
Fixed typo 'rthread' in help infomation
rthread -> rtthread
2020-03-06 21:46:21 +08:00
Bernard Xiong 90e8b3664d
Merge pull request #3401 from thread-liu/master
[update] 修改了 stm32f407-atk-explorer mdk5 工程编译报错的bug
2020-03-04 11:45:26 +08:00
Bernard Xiong dc47a6fcdf
Merge pull request #3415 from greedyhao/f411-mini
[bsp][stm32] add stm32f411-mini-system bsp
2020-03-03 23:59:44 +08:00
greedyhao 5748ca3967 [bsp/stm32] rename 2020-03-03 09:03:41 +08:00
greedyhao d96056a4f2 [bsp/stm32] update readme 2020-03-02 21:11:13 +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
Ernest c1821b85a1 [bsp] fix UART DMA TX 2020-02-29 21:20:54 +08:00
greedyhao aee731fdf8 [bsp][stm32] add usbd support for stm32f411-mini-system 2020-02-29 09:39:50 +08:00
greedyhao 3ddf6c96f5 [bsp][stm32] stm32f411-mini-system edit kconfig 2020-02-28 19:37:06 +08:00
bigmagic e09c99fcfb fix raspi3-64 sdio driver 2020-02-28 14:56:56 +08:00
Watson Zeng 7f2d559b75 [bsp][synopsys] fix the PKG_EMBAC_BSP_PATH
the embARC_BSP package in env packages is changed
frome system to peripheral folder, this change should also to be fixed in the config files correspondingly.

Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2020-02-28 10:53:06 +08:00
David Lin c15ebec442
[bsp] Fixed the wrong output infomation in Kconfig
RT-Thrad -> RT-Thread
2020-02-27 23:10:40 +08:00
greedyhao 8498a19082 [bsp][stm32] add stm32f411-mini-system bsp 2020-02-27 21:36:04 +08:00
Bernard Xiong 93b006e734
Merge pull request #3412 from bigmagic123/raspi_add_coretimer
Raspi add coretimer
2020-02-26 17:32:21 +08:00
Bernard Xiong 05bd0c0797
Merge pull request #3411 from armink/fix_eclipse
Fix eclipse
2020-02-26 17:31:15 +08:00
Bernard Xiong 9c02a7c308
Merge pull request #3408 from xiangxistu/master
[update] disable "--specs=nano.specs" parameter
2020-02-26 17:28:32 +08:00
bigmagic 773f7cdf52 [bsp/raspi3-64]add core timer driver 2020-02-26 15:35:07 +08:00
armink 5dffac8483 [bsp/stm32] Add cpp lib path for eclipse project. 2020-02-26 15:22:52 +08:00
liuxinaliang b07a417a7c [update] disable "--specs=nano.specs" parameter
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-02-26 11:59:35 +08:00
朱天龙 (Armink) 1dd4452df0
Merge pull request #3402 from SummerLife/add_stm32_h747_discovery
[bsp/stm32]  add STM32H747-DISCO BSP
2020-02-26 11:25:31 +08:00
SummerGift c225b0f745 [update] bsp/stm32/stm32h747-st-discovery/board/SConscript 2020-02-26 10:26:48 +08:00
SummerGift abde5170dd [update] stm32/stm32f767-st-nucleo/SConstruct 2020-02-25 20:19:26 +08:00
SummerGift d9a9b90b33 [update] board/sconscript to fix compile error after dist 2020-02-25 16:30:12 +08:00
Bernard Xiong f35a6745de
Merge pull request #3405 from bigmagic123/fix_raspi_sdio
fix raspi3-32 sdio driver
2020-02-25 09:26:09 +08:00
bigmagic f3b9a9bdfa fix raspi3-32 sdio driver 2020-02-24 22:45:11 +08:00
Bernard Xiong 2c41f4f1c8
Merge pull request #3403 from DavidLin1577/patch-1
[bsp/hifive1]Fixed symbol error in interrupt.c
2020-02-24 22:32:36 +08:00
David Lin f4a2a00f3d
[bsp/stm32]Fixed typo 'lenth' in drv_eth.c
Note that the word 'lenth' is wrong in the output infomation,
so that 'lenth' should been replaced with 'length'.
And floder-> folder in line 22.
2020-02-24 20:54:53 +08:00
David Lin 011ed26bac
[bsp/hifive1]Fixed symbol error in interrupt.c
Note that the symbol ';;' is wrong in 'return (rt_uint32_t)PLIC_claim_interrupt(&g_plic);;',
so that ';;' should been replaced with ';'.
2020-02-24 20:12:23 +08:00
SummerGift 30bb2b6209 [update] bsp/stm32/README.md 2020-02-24 15:32:52 +08:00
SummerGift 8e2868c5b3 [update] README.md 2020-02-24 14:34:13 +08:00
SummerGift 1a87fdf59f [update] mdk project.uvoptx 2020-02-24 14:29:57 +08:00
SummerGift b5dac5da72 [add] bsp/stm32/stm32h747-st-discovery/figures/board.png 2020-02-24 14:26:04 +08:00
SummerGift a776e99c1e [add] bsp/stm32/stm32h747-st-discovery/board 2020-02-24 14:24:19 +08:00
SummerGift 0904f7b638 [update] bsp/stm32/stm32h747-st-discovery/project.ewp 2020-02-24 14:22:04 +08:00
SummerGift 375b1768b0 [update] bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h to handle multi-core situations 2020-02-24 14:21:21 +08:00
SummerGift c782a967f6 [add] bsp/stm32/stm32h747-st-discovery/applications 2020-02-24 14:19:14 +08:00
thread-liu 34cd69348b [update] 修改了 stm32f407-atk-explorer mdk5 工程编译报错的bug 2020-02-24 13:02:42 +08:00
SummerGift df77345f34 [add] stm32/stm32h747-st-discovery bsp 2020-02-24 12:17:53 +08:00
malongwei c0a48f3ab0 add stm32f407-atk-explorer sram driver 2020-02-23 11:37:24 +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 e5bd2884d7
Merge pull request #3340 from whj4674672/master
Porting for stm32h7xx spi
2020-02-20 13:08:58 +08:00
Bernard Xiong b15964521c
Merge pull request #3390 from DavidLin1577/patch-10
Fixed  spelling mistakes of function
2020-02-20 10:56:39 +08:00
David Lin d33230bcff
Fixed spelling mistakes of function
LPC17xx_SD_WirteDataBlock -> LPC17xx_SD_WriteDataBlock
2020-02-20 09:13:46 +08:00
Bernard Xiong 3bd9694c2d
Merge pull request #3337 from geniusgogo/fixed_drv_pwm
[STM32/drv_pwm.c]fixed PWM timer init.
2020-02-19 09:40:12 +08:00
Bernard Xiong 60ff401cac
Merge pull request #3381 from pinxue/master
Make MicroPython run on Raspi3-64 bsp
2020-02-18 17:39:36 +08:00
Bernard Xiong 5e1be7f67c
Merge pull request #3384 from DavidLin1577/patch-10
Fixed  spelling mistakes of macro, parameter ,functions
2020-02-18 16:56:12 +08:00
Bernard Xiong 10d480eec0
Merge pull request #3383 from armink/fix_eclipse
Fix eclipse
2020-02-18 15:39:45 +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
armink 19dd40440f [bsp/stm32] update eclipse project. 2020-02-17 22:35:22 +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 bbdc9e2c7c
Merge pull request #3350 from eYoung8475/master
[bsp][stm32][stm32f103-atk-warshipv3]add sdcard driver
2020-02-17 12:28:56 +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
David Lin e5845ea753
Fixed typo: 'commond'
Note that the word 'commond' is wrong,
so that 'commond' should been replaced with 'command'.
2020-02-16 16:31:39 +08:00
Karl Zhang 95f4c7d374 PKG_USING_TFM: Use TFM package macro instead
RT_USING_TFM was duplicate macro. Remove it.

Change-Id: I626c63fe661202e63074f0db82ba99c06d12bc03
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-02-15 19:29:16 +08:00
Karl Zhang bd927324cc LPC55S69: Add NS project support
This requires TFM package support to run in the secure side, while the
RTT running in non-secure.

Change-Id: Ic749f92937fc99e6e29ba4a1be66cb7819670f2c
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-02-15 19:18:33 +08:00
Bernard Xiong cd8dd40cd2
Merge pull request #3362 from bigmagic123/fix_spi
Fix spi
2020-02-06 22:05:22 +08:00
Bernard Xiong e5aafd2aa0
Merge pull request #3359 from wendal/master
fix: 为W60x添加rt_hw_us_delay
2020-02-06 22:01:18 +08:00
bigmagic 3e533e9992 fix spi bug 2020-02-06 16:03:31 +08:00
bigmagic 4ec07a04e6 use gcc-arm-none-eabi-5_4 compile raspi3 2020-02-06 16:00:56 +08:00
Wendal Chen c677f88eee fix: 为W60x添加rt_hw_us_delay https://github.com/RT-Thread/W601_IoT_Board/issues/10
思路是将drv_soft_i2c的w60x_udelay, 改名为rt_hw_us_delay, 并搬到broad.c
2020-02-05 20:09:02 +08:00
品雪 cca440f815
update Kconfig in raspi-64 bsp
to fix RTT root path
2020-02-04 18:40:27 +08:00
Bernard Xiong c95987e757
Merge pull request #3296 from ChazJin/patch-5
Fix bug for drv_enet.c
2020-01-26 20:51:14 +08:00
Bernard Xiong 5ca53690f7
Merge pull request #3336 from geniusgogo/fixed_drv_eth
[stm32/libraries/HAL_Drivers/drv_eth.c]fixed read phy SR register return value
2020-01-26 18:21:19 +08:00
Bernard Xiong 810063e642
Merge pull request #3290 from tyustli/imxrt-usbd
[imxrt] [driver] add usb device driver
2020-01-24 19:16:02 +08:00
Bernard Xiong 8d309ed533
Merge pull request #3343 from chengxiaohu/master
Add DMA for ADC driver, and other little update.
2020-01-24 19:07:19 +08:00
Bernard Xiong 43abbc3ce8
Merge pull request #3356 from wangyq2018/es32f369x
[bsp]add bsp essemi/es32f369x.
2020-01-23 16:27:02 +08:00
Bernard Xiong 0f781d013c
Merge pull request #3217 from essemi-yuzr/master
Add essemi/ES32F0271 BSP drivers
2020-01-23 16:26:33 +08:00
wangyq2018 9a5a66a716 [bsp]add bsp essemi/es32f369x. 2020-01-23 11:07:22 +08:00
Eric LGF 8f7cf60f24
[bsp] fix macro error 2020-01-20 16:03:33 +08:00
Bernard Xiong 78388f503e
Merge pull request #3344 from foss-for-synopsys-dwc-arc-processors/arc_new_bsp
[bsp][synopsys] add basic new embarc bsp support
2020-01-20 10:13:50 +08:00
luhuadong bfceeef81c [BSP] [stm32f769-st-disco] fix error 'undefined reference to *entry*' after scons --menuconfig 2020-01-18 11:04:40 +08:00
linyiyang 8f1d5c5ba2 [bsp][stm32][stm32f103-atk-warshipv3]add sdcard driver 2020-01-17 21:08:50 +08:00
luhuadong 779feb5cd4 fix error 'undefined reference to entry' after menuconfig 2020-01-17 18:59:12 +08:00
Ihavedone caef50f3d1 修复SPI4 RX DMA相关的宏定义写成 SPI4 TX的问题 2020-01-17 11:54:05 +08:00
Ihavedone 5eeae513ae 添加了不需要由 PWM 或 引脚 控制LCD背光时的背光控制空函数,防止编译报错 2020-01-17 11:30:07 +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
Bernard Xiong 54814c42e7
Merge pull request #3324 from bigmagic123/bsp_raspi
Bsp raspi
2020-01-16 15:43:07 +08:00
Ihavedone 04831062bd 添加了 PWM9_CONFIG 默认配置 和 TIM3_CONFIG 默认配置 2020-01-15 21:05:12 +08:00
bigmagic 317e5bf4a4 [bsp/raspi] remove "kernel7.img" from bsp 2020-01-15 17:23:18 +08:00
bigmagic 114288878e [bsp/raspberry-pi] add raspi2/cpu 2020-01-15 17:19:49 +08:00
bigmagic 08f55d9fda add raspi3-32 in bsp 2020-01-15 16:38:22 +08:00
whj4674672 f117df8476 Porting for stm32h7xx spi 2020-01-15 14:31:40 +08:00
xieyangrun d2a857e13a [STM32/drv_pwm.c]fixed PWM timer init. 2020-01-15 13:45:30 +08:00
xieyangrun 0094765b31 [stm32/libraries/HAL_Drivers/drv_eth.c]fixed read phy SR register return value conflicts with function's parameter 2020-01-15 11:38:35 +08:00
Kevin Peng cd95e4cd59 LPC55S69: Add Protected Storage demo
This demo shows how protected storage works in RTT. It tests by write
and read data over PSA APIs, then check the integrity. The test will
run repeatedly, each time with different data.

The TFM package does not support LPC55S69 board officially yet.

Change-Id: Ib1cd4fc8166b21e3f774f092c95d2811d51123fe
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-15 08:43:02 +08:00
Karl Zhang 2479d7de4a LPC55S69: TFM: Preparation to add PS demo
Link TFM PS APIs and veneer library. This is a preparation to add a
demo in RTT which can call into TFM for secure services.

Change-Id: I19ea617690d174a28af29b1804674bcaae59f838
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-15 08:43:00 +08:00
Bernard Xiong cad32a326c
Merge pull request #3314 from karl-zh/RT_USING_TFM
Add TFM support in RTT
2020-01-14 12:00:22 +08:00
Bernard Xiong b5caf6f5ef
Merge pull request #3328 from wangyq2018/es32f0654
[bsp]update essemi/es32f0654.
2020-01-14 11:59:14 +08:00
Bernard Xiong c07ad5c24f
Merge pull request #3323 from chenxuuu/patch-1
fix makeimg.py wrong on linux
2020-01-14 09:51:11 +08:00
wangyq2018 696b130afe [bsp]1.update es32f0654 libraries.
2.adapt to the new power management interface.
         3.rename es32f0654 folder to essemi_es32f0654 folder.
	 4.add can driver.
2020-01-13 10:22:18 +08:00
bigmagic 2fbe05d7fc [bsp/raspi] remove "kernel8.img" from bsp 2020-01-10 20:48:25 +08:00
Bernard Xiong 390687122e
Merge pull request #3318 from eYoung8475/master
[bsp][stm32]add stm32f103-atk-warshipv3 sram driver
2020-01-10 20:37:14 +08:00
bigmagic 464f1cf5fa fix compile warning 2020-01-10 14:40:27 +08:00
bigmagic c8e4bca1fc fix some bug 2020-01-10 14:14:37 +08:00
bigmagic fdde8ab198 add raspi2 and raspi3 BSP 2020-01-10 10:38:21 +08:00
chenxuuu 438397b586
fix makeimg.py wrong on linux 2020-01-09 17:05:05 +08:00
linyiyang 7e003b2214 修改相关sram名称为external sram; 2020-01-08 22:04:49 +08:00
Bernard Xiong d0098acd88
Merge pull request #3319 from ethanDu1/bugfix_drvflashf7
Bugfix drvflashf7
2020-01-07 16:58:13 +08:00
ethan.du 8e4d05d7ae modify assert and code style 2020-01-07 14:29:33 +08:00
Bernard Xiong 1f8c3e5e56
Merge pull request #3312 from xiangxistu/dev
[bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series  but chip doesn't work
2020-01-07 08:08:38 +08:00
Bernard Xiong 6765cf7943
Merge pull request #3311 from xiangxistu/master
[bsp][stm32] fixed a bug that caused system crash by changing the run_mode in low power mode
2020-01-07 08:08:22 +08:00
Bernard Xiong 026dcd62d9
Merge pull request #3306 from BernardXiong/bsp_lpc55
[BSP] fix the lpc55 issue under Linux/GCC
2020-01-07 08:07:52 +08:00
ethan.du 8f5e1c5715 add space 2020-01-06 19:43:45 +08:00
ethan.du 6b614c05b8 modify space 2020-01-06 19:40:25 +08:00
ethan.du 516702d69e drv_flash_f7.c support single bank mode 2020-01-06 19:24:23 +08:00
linyiyang 8b11bfd3ac
Provide more information about this SRAM 2020-01-06 19:14:35 +08:00
amy qian 3f70d44116 添加遗漏的.lib文件 2020-01-06 10:30:10 +08:00
amy qian 0ef62c7b10 删除了demo.c文件修改了main.c,相应修改了readme 2020-01-06 10:27:04 +08:00
linyiyang 75e832c65e [bsp][stm32]add stm32f103-atk-warshipv3 sram driver 2020-01-06 09:12:45 +08:00
liuxinaliang ead5f07c5f [bsp][stm32] change tab into whitespace
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 17:59:10 +08:00
amy qian 220343ab7e 修改了readme格式 2020-01-03 17:44:00 +08:00
amy qian f76b3f9aa0 readme修改了下格式 2020-01-03 17:30:28 +08:00
amy qian 88667374d5 修改了readme 2020-01-03 17:20:12 +08:00
amy qian 1b0b463bb2 增加Cypress PSoC6系列产品的支持 2020-01-03 16:52:07 +08:00
Karl Zhang be4e2395ff LPC55S69: Update the flash layout to fit RTT in NS
RTT fits in NS flash when enabled TF-M for secure.

Change-Id: Icfd796b7fbe8fba76f713f9d5a14bbdcb5dcd9d5
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:25 +08:00
Kevin Peng 5f4b780558 LPC55S69: Integration with TF-M
This patch enables TF-M running on secure side and RT-Thread running on
NS side by:

1. Updates the VTOR address
2. Remove a HW initialization which is already done in TF-M
3. Add a new project and linker script to build RTT in NS

Note:
    There are no secure service calls to TF-M in this patch

Change-Id: I4023a082cfb5c8df8a4f0ecc7ffee850daaadeb4
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:24 +08:00
liuxinaliang 6ad56dfbec [bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series but chip doesn't work
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 12:45:46 +08:00
liuxinaliang 4e23cb027f [bsp][stm32] fixed a bug that caused system crash by changing the run_mode in low power mode
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 11:17:50 +08:00
Bernard Xiong 00338fd2ac [BSP] fix the lpc55 issue under Linux/GCC 2020-01-02 08:17:32 +08:00
ZYH 0d0d0d37dc [BSP][STM32][STM32F469-DISCO]fix build error with qspi 2019-12-30 23:45:14 +08:00
liuxinaliang e473ad5606 [bsp][stm32] bsp/stm32/stm32f407-atk-explorer 增加 USB Device支持 2019-12-30 18:13:21 +08:00
tyustli b8c13d494c remote host config 2019-12-27 12:57:55 +08:00
Bernard Xiong 55128eda45
Merge pull request #3281 from tyustli/usb
[stm32] [drivers] port usb host driver to stm32 new series
2019-12-27 12:52:50 +08:00
chao_king ae90273b68
Fix bug for drv_enet.c
源文件主要存在以下问题:
1> rt_hw_gd32_eth_init函数中对MAC初始化完成后并没有修改PHY的连接状态,这会导致测试TCP例程时无法建立TCP链接,应在初始化完成后将PHY的连接状态修改成linkup;

已在GD32450Z-EVAL开发板上测试,修改后没有再出现以上问题。
2019-12-26 19:03:46 +08:00
chao_king 728e1d995d
Fix bug for synopsys_emac.c
源文件主要存在以下两点问题:
1> EMAC_init函数中对MAC进行配置时直接对寄存器进行操作,然而寄存器名称与官方文档中的寄存器名称不符,另外并没有对基于的gd32f450z开发板使用的PHY芯片DP83848进行配置,直接使用了其上电自协商的模式,而且直接配置了MAC为百兆全双工的工作模式,这里应该通过读取PHY的自协商结果来设置MAC,所以替换了GD官方的初始化函数;
2> 使用原文件编译下载至开发板后复位有概率ping不通,这是由于在初始化过程中清空发送FIFO的操作没有增加延迟导致的,所以换成了GD官方的enet_txfifo_flush函数;

已在GD32450Z-EVAL开发板上测试,修改后没有再出现以上问题。
2019-12-26 18:58:22 +08:00
tyustli 00fa2e2d78 solve gcc build err 2019-12-26 14:10:06 +08:00
Bernard Xiong dd23a36713
Merge pull request #3284 from BernardXiong/remove_files
[bsp] Remove unnecessary files.
2019-12-22 03:34:14 +08:00
Bernard Xiong 5ef1bfc878 [bsp] Remove unnecessary files. 2019-12-21 07:25:12 +08:00
a1012112796 15ceaad6e4 [BSP/stm32f427-robomaster-a] Correct RAM configuration information 2019-12-20 22:02:11 +08:00
tyustli 0135c7bd8b port usb host driver to stm32 new series 2019-12-20 14:35:26 +08:00
Bernard Xiong c73c349113
Merge pull request #3257 from FlyGoat/mips-refine-v1
MIPS Base Code Refine v1
2019-12-17 19:51:38 +08:00
Jiaxun Yang c236e8c5d5 [bsp] Adapt ls{1b,1c}dev to new mips common code
LS1C selfboot feature have been rewiritten, and we changed
bare boot base to 0x80000000 to better utilize memory.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-17 11:09:59 +08:00
Bernard Xiong bb9a55817c
Merge pull request #3237 from qiyongzhong0/stm32l4r5-st-nucleo
add stm32l4r5-st-nucleo BSP
2019-12-13 07:19:37 +08:00
HubretXie ad397a63a8
[bsp][stm32]修复硬件定时器bug 2019-12-12 14:56:40 +08:00
Jiaxun Yang 4584054e17 [bsp] Add mipssim bsp
This bsp is used for test MIPS base code in simutator,
implemented basic MIPS cpuport and serial port driver.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:25:31 +08:00
Bernard Xiong 44123368a9
Merge pull request #3256 from armink/fix_eclipse
[bsp/stm32] update eclipse project.
2019-12-11 15:13:31 +08:00
armink 6c85182b72 [bsp/stm32] update eclipse project. 2019-12-11 14:38:26 +08:00
Bernard Xiong a972fcc0b5 [BSP] move libcpu/mips/x1000 to bsp/x1000/cpu 2019-12-11 11:01:40 +08:00
Bernard Xiong 4d9bc92885
Update SConscript 2019-12-11 08:23:09 +08:00
a1012112796 316d2e8847 [BSP/stm32f427-robomaster-a] add SD card suport 2019-12-10 23:04:25 +08:00
Bernard Xiong 500b5498d0
Merge pull request #3213 from liweihao-cn/master
增加音频设备驱动
2019-12-09 11:54:56 +08:00
qiyongzhong0 5c15fd615d 修改stm32驱动库:
1.修改drv_flash_l4.c文件中stm32_onchip_flash定义的blk_size字段,由原来2048改为FLASH_PAGE_SIZE,以增强芯片适应性.
2.修改drv_usbd.c文件中stm_usbd_register函数,增加支持RT_USING_DEVICE_OPS配置.
2019-12-05 13:40:04 +08:00
qiyongzhong0 2700130ea6 add stm32l4r5-st-nucleo BSP 2019-12-05 11:44:39 +08:00
armink f1e5883543 [bsp/stm32] Add DMAMUX support for stm32l4+.
Signed-off-by: armink <armink.ztl@gmail.com>
2019-12-01 15:50:51 +08:00
Bernard Xiong a687065ba2
Merge pull request #3225 from HubertXie/master
增加GPIO中断进入退出保护
2019-11-28 21:17:18 +08:00
HubretXie 7f56898fad
Update drv_gpio.c
增加GPIO中断进入退出保护
2019-11-27 14:08:42 +08:00
greedyhao fb3e2764e6 Update uart_config.h 2019-11-26 10:52:00 +08:00
a1012112796 ab981a32b5 [Device/I2C] Chang debug message print way to ulog 2019-11-26 07:41:43 +08:00
HappyTime 6e8047e1d6
Update drv_common.c
Fix comment errors
2019-11-23 16:08:44 +08:00
Bernard Xiong a530a25c40
Merge pull request #3212 from wangyq2018/es8p508x
[bsp]add bsp essemi/es8p508x.
2019-11-23 06:31:22 +08:00
essemi-yuzr ebaa90d648 Add ADC drivers 2019-11-22 16:06:37 +08:00
essemi-yuzr 04466033af Add es32f0271 drivers 2019-11-21 11:12:51 +08:00
Bernard Xiong 26988a3d4c
Update SConscript 2019-11-21 06:57:41 +08:00
Bernard Xiong 4064a4c7bf
Update SConscript 2019-11-21 06:56:50 +08:00
liweihao df97214957 增加音频设备驱动 2019-11-20 22:38:57 +08:00
wangyq2018 383509e220 [bsp]add bsp essemi/es8p508x. 2019-11-20 10:30:45 +08:00
Bernard Xiong 1bf5f67e8a
Merge pull request #3210 from wangyq2018/es32f0334
[bsp] update es32f0334.
2019-11-19 09:24:34 +08:00
wangyq2018 96fd9a5039 [bsp]1.update es32f0334 libraries.
2.adapt to the new power management interface.
     3.move es32f0334 folder to essemi folder.
2019-11-18 10:54:38 +08:00
Bernard Xiong c768160083
Merge pull request #3208 from greedyhao/master
[bsp/stm32] Update f7 HAL Lib SConscript
2019-11-17 22:15:54 +08:00
greedyhao cc319c0181 Update SConscript
添加 stm32f7xx_hal_crc_ex.c,避免开启 CRC IP 的时候报错
2019-11-16 21:30:32 +08:00
a1012112796 d41b4704fc [BSP][stm32/stm32f103-atk-warshipv3] open swd port config on stm32cubemx 2019-11-16 10:32:24 +08:00
Bernard Xiong 939e2486c3
Merge pull request #3195 from liweihao-cn/master
修改读写逻辑,解决i2c驱动无法读取的问题
2019-11-12 22:52:36 +08:00
Bernard Xiong da7751c044
Merge pull request #3129 from jesven/fix_same_prio
修正相同优先级任务切换太频繁的问题
2019-11-12 22:47:18 +08:00
Bernard Xiong 9397419914
Merge pull request #3197 from SummerGGift/del_useless_folder_in_cmsis
[bsp/stm32] del useless folder in CMSIS to avoid compilation error in rt-thread IDE
2019-11-12 13:40:44 +08:00
SummerGift 457d474ac1 [bsp/stm32] del useless folder in CMSIS to avoid compilation error in rt-thread IDE 2019-11-12 10:49:27 +08:00
a1012112796 dddda42626 [BSP][stm32/stm32f427-robomaster-a] update config and readme docs 2019-11-11 23:04:40 +08:00
liweihao a24b896443 修改读写逻辑,解决i2c驱动无法读取的问题 2019-11-11 22:46:28 +08:00
Bernard Xiong 568c272811
Merge pull request #3160 from xfan1024/stm32-ethernet-using-timer
STM32以太网驱动改进
2019-11-11 08:18:55 +08:00
tangweikang 2f5d269900 [stm32][doc] update STM32系列外设驱动添加指南.md 2019-11-07 14:30:35 +08:00
armink e32c7c98a2 [bsp/stm32] update stm32 bsp eclipse project 2019-10-31 13:49:50 +08:00
guozhanxin d687c5ff21 [bsp][stm32]update project.|更新工程。 2019-10-31 00:02:03 +08:00
guozhanxin 40d6055849 [bsp][stm32]Enable interrupt in drive.|在驱动里使能中断,不需要在cubemx里配置中断了。 2019-10-30 23:53:13 +08:00
Bernard Xiong 43a46ee716
Merge pull request #3161 from SummerGGift/master_1029
[bsp][stm32] update h7 && g0 series hal library
2019-10-30 09:43:25 +08:00
Bernard Xiong 204271c3c3
Merge pull request #3151 from SummerGGift/1024
[fix] add #include <rtthread.h> for stm32g4xx_hal.h
2019-10-30 09:01:49 +08:00
xiaofan 4eb2d7eed0 STM32 Ethernet: Using Timer Instead of Poll Thread
Signed-off-by: xiaofan <xfan1024@live.com>
2019-10-29 17:21:18 +08:00
xiaofan 2a9e7c0eea Fix code style
Signed-off-by: xiaofan <xfan1024@live.com>
2019-10-29 17:21:17 +08:00
SummerGift b734026d5c [update] g0 series bsp 2019-10-29 16:27:13 +08:00
SummerGift 60f0f476ef [update] g0 hal library 2019-10-29 16:10:01 +08:00
SummerGift ad05e65c1f [del] Delete useless files to avoid compilation errors 2019-10-29 15:48:54 +08:00
SummerGift 8978d2f5c0 [del] Delete useless files to avoid compilation errors 2019-10-29 15:47:35 +08:00
Bernard Xiong 5a1349ab96
Merge pull request #3154 from armink/master
完善 scons target=eclipse
2019-10-28 16:27:25 +08:00
Bernard Xiong a29fd11ffb
Merge pull request #3034 from xfan1024/stm32-ethernet
优化STM32以太网驱动
2019-10-28 16:18:49 +08:00
Bernard Xiong 381f176859
Merge pull request #3139 from liweihao-cn/master
The subaddresssize should be 0
2019-10-28 16:18:10 +08:00
Bernard Xiong 97fcbdeccc
Merge pull request #3155 from z14git/pwm_led
修复pwm初始化时,相应的时钟没有使能的问题
2019-10-28 16:16:35 +08:00
armink c73d9518c7 [bsp/stm32] remove the rtconfig_reinc.h file. 2019-10-28 15:42:38 +08:00
guozhanxin 66be48ddaf [bsp][stm32] Add USBFS for F412-Nucleo.|为 F412-Nucleo 添加 USBFS。 2019-10-27 21:33:32 +08:00
guozhanxin 9f8d6557ea [bsp][stm32] Add USB HS for H7-TOOL.|为 H7-TOOL 添加 USBHS. 2019-10-27 21:16:48 +08:00
guozhanxin f50f38745b Perfect usb driver compatible with HS.|完善usb驱动兼容 HS 2019-10-27 21:06:58 +08:00
z14git d3f8b9b9c1 修复pwm初始化时,相应的时钟没有使能的问题 2019-10-27 17:16:06 +08:00
Bernard Xiong 4e3a7ee2f7
Merge pull request #3153 from qgyhd1234/h7_tool
【添加】添加 H7-TOOL bsp
2019-10-27 11:22:00 +08:00
zylx b0db5ef2b9 【修改】更新cpu频率至400M,防止cpu锁死 2019-10-26 18:36:33 +08:00
zylx af315e639e 【修改】更新readme 2019-10-26 02:45:51 +08:00
zylx d4937b1825 【修改】添加对 esp32 的支持 2019-10-26 02:43:52 +08:00
zylx 99e2020d82 【更新】配置外设管脚,添加kconfig选项 2019-10-25 18:01:17 +08:00
zylx 42e0ba2b8b 【添加】添加 H7-TOOL bsp 2019-10-25 17:56:30 +08:00
armink 8dabc3be27 [tools] change the eclipse project include path format 2019-10-25 16:35:09 +08:00
armink 5560e59d20 [bsp/stm32] update the eclipse project config and add include file. 2019-10-25 15:09:15 +08:00
armink 21e5a706e0 [bsp/stm32] update the eclipse project config. 2019-10-25 13:53:34 +08:00
nxp58695 b422e11a06 added LPC55S6x BSP 2019-10-24 17:56:09 +08:00
SummerGift 0b0936cae1 [fix] add #include <rtthread.h> for stm32g4xx_hal.h 2019-10-24 17:26:22 +08:00
ZYH 959a10a1b2 [BSP][STM32][STM32H743-ST-NUCLEO] 修复编译错误,添加CI
Signed-off-by: ZYH <lymz@foxmail.com>
2019-10-23 14:54:11 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
Bernard Xiong e5ce731ed8
Merge pull request #3146 from aozima/fix_align
fixed linker script and stack align issues.
2019-10-22 12:04:02 +08:00
aozima 525d353403 fixed linker script and stack align issues. 2019-10-22 09:47:41 +08:00
tyustli 8f100a83bc [bsp] [gd32vf103] explicit call clock init 2019-10-21 17:12:00 +08:00
Bernard Xiong c1bf9e645e
Merge pull request #3142 from xuzhuoyi/stm32f429-disco
[bsp][stm32][stm32f429-st-disco] Move stm32f429-disco to stm32 dir
2019-10-21 08:36:43 +08:00
guozhanxin 347336feba add stm32f412-st-nucleo bsp 2019-10-20 22:34:55 +08:00
xuzhuoyi b95400b14d [bsp][stm32] Add stm32g431-st-necleo and stm32f429-st-disco to stm32/README.md 2019-10-19 22:15:30 +08:00
xuzhuoyi 9122fc14a3 [bsp][stm32][stm32f429-st-disco] Update readme.md 2019-10-19 21:41:21 +08:00
xuzhuoyi d1a0f4b86b [bsp][stm32][stm32f429-st-disco] Modify SRAM size for stm32f429zi 2019-10-19 20:35:18 +08:00
xuzhuoyi 595e42719b [bsp][stm32][stm32f429-st-disco] Update stm32f429-disco BSP with new stm32 bsp framework 2019-10-19 19:02:31 +08:00
Bernard Xiong 3dfdfb2dd5
Merge pull request #3137 from balanceTWK/master_stm32_RTC
[update][bsp][stm32] drv_rtc.c
2019-10-19 16:55:11 +08:00
liweihao 3138f2d8d7 The subaddresssize should be 0 2019-10-19 14:45:55 +08:00
Bernard Xiong 21d24d51b8
Merge pull request #3125 from yygg/master
fix warning: #1296-D
2019-10-18 08:49:11 +08:00
tangweikang 2a37a4abf6 [update][bsp][stm32] drv_rtc.c 2019-10-17 18:29:32 +08:00
whj4674672 ac1ab2d140 [bsp][stm32h7]Fix BUG that cannot run in IAR environment 2019-10-16 14:43:50 +08:00
whj4674672 91e39a278f [BSP][stm32h743-atk-apollo] add QSPI FLASH 2019-10-13 14:17:34 +08:00
shaojinchun fb4959bbbb 修正qemu-vexpress-a9平台上第二核时钟不对的问题 2019-10-12 11:11:44 +08:00
ZYH 5df3ac20e7 [bsp][k210] update sdk support for v0.5.6 2019-10-11 13:01:05 +08:00
yygg_you 361ee3da97 fix warning: #1296
When compiling C code containing statements like this:
rt_base_t xx_io_tbl[] =
{
   GET_PIN(A,0),
};
the compiler will report:
Warning: #1296-D: extended constant initialiser used
2019-10-10 11:06:21 +08:00
xuzhuoyi b171e1d245 [bsp][stm32][stm32g431-st-nucleo] Add LPUART support and README.md 2019-10-05 14:32:36 +08:00
xuzhuoyi cd267a30e4 [bsp][stm32][stm32g431-st-nucleo] Add stm32g431-st-nucleo bsp 2019-10-03 22:29:13 +08:00
xuzhuoyi f30a03f093 [bsp/stm32] Add STM32G4xx_HAL library 2019-10-03 18:18:07 +08:00
Bernard Xiong 67bb485dd4
Merge pull request #3100 from balanceTWK/master_encoder_9_20
[bsp][stm32][driver] drv_pulse_encoder.c
2019-09-30 20:17:50 +08:00
tangweikang 4d796c8fb3 [bsp][stm32][driver][drv_pulse_encoder.c] code style 2019-09-29 18:05:39 +08:00
Bernard Xiong 076addc9ea
Merge pull request #3006 from jiezhi320/master
fix bug when use HWTIMER_MODE_PERIOD
2019-09-29 16:54:08 +08:00
tyustli 300242134a remove old stm32h743-nucleo bsp 2019-09-29 09:56:40 +08:00
Bernard Xiong 88ad2398e9
Merge pull request #3102 from Lawlieta/develop
[components][finsh] Decouple RT_USING_DEVICE dependency for msh feature
2019-09-28 12:32:01 +08:00
chenyong 74793a53fd [bsp] update project configure file for finsh component change
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-26 15:40:13 +08:00
SummerGift b4347c2025 [stm32][docs] optimize BSP production tutorial 2019-09-25 17:34:52 +08:00
tangweikang c11686751e [bsp][stm32][driver][drv_pulse_encoder.c] code style 2019-09-24 14:27:40 +08:00
tangweikang f1fe6479b1 [bsp][stm32][driver][drv_pulse_encoder.c] remove pulse_encoder->parent.user_data 2019-09-24 11:54:05 +08:00
Bernard Xiong d376a82e40 [BSP][iMX6UL] Fix the Kconfig issue 2019-09-22 10:51:29 +08:00
Bernard Xiong 47fa1d929f
Merge pull request #3095 from armink/fix_serial
Fix serial
2019-09-21 16:15:36 +08:00