Commit Graph

4066 Commits

Author SHA1 Message Date
Bernard Xiong d180c1611b
Merge pull request #3733 from ifreecoding/debug-drv_flash_f4
1.增加对stm32_flash_erase函数入口参数size为0的检测。
2020-07-06 11:57:08 +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
Du Huanpeng cde1e5d940 bsp: ls2k: pwm driver
attach probe of the oscilloscope too the
3.3v & PWM3 like below:

          jack
    ------|  |---|    |-|    |----
    |o o 3.3v    |eth1| |eth0|
    |o o
    |o o
    |o o PWM3
    |o o

type commands below to rt-thread console:
    msh /> pwm_enable pwm0 3
    msh /> pwm_set pwm0 3 140 90

turn off pwm:
    msh /> pwm_disable pwm0 3

Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-07-03 15:54:03 +08:00
ifreecoding 2b1bcf6833 1.增加对stm32_flash_erase函数入口参数size为0的检测。
2.stm32_flash_write函数按byte、half word、word对齐写入,提升写入效率。
2020-07-03 10:28:37 +08:00
LYH-ux 0c81552866 modify the incident in config/*.h 2020-07-02 14:43:10 +08:00
LYH-ux 7f2abb615f modify the link.ld file and board/SConscript 2020-07-02 13:01:57 +08:00
LYH-ux 2aaeea751e modify the coding style and add change logs 2020-07-01 23:44:57 +08:00
NU-LL d869b605c6 add stm32g070-st-nucleo bsp 2020-07-01 20:29:43 +08:00
Bernard Xiong 4108836a90
Merge pull request #3697 from OpenNuvoton/m480
Support Nuvoton M480 Platform.
2020-07-01 14:36:52 +08:00
Wayne Lin 2b82674ad1 Shrink package size. 2020-06-30 12:17:18 +08:00
Bernard Xiong e68ec7ad68
Merge pull request #3725 from balanceTWK/gd32vf
[BSP][gd32vf103] add drv_gpio.c
2020-06-29 16:03:46 +08:00
Wayne Lin f9825299b9 Append full-name of M480 peripheral.
Correct format and typo.
2020-06-29 14:09:57 +08:00
Bernard Xiong 7ba7b996dd
Merge pull request #3717 from imgtec/bsp-ls2k/rtc-v2
bsp: ls2k: internal rtc driver
2020-06-28 19:09:37 +08:00
BalanceTWK f8d0566482 [BSP][gd32vf] add drv_gpio.c 2020-06-27 21:01:27 +08:00
XYX12306 f9347472cb convert the tab key of some files to four spaces 2020-06-27 14:43:39 +08:00
LYH-ux aebdcaccbb first commit of tm4c123bsp, validate on MDK5 2020-06-24 19:54:42 +08:00
RT-Thread fe67df3408 !29 【开源贡献活动】 增加线程栈静态分析功能(python版本) https://gitee.com/rtthread/rt-thread/issues/I1I3UR
Merge pull request !29 from 来日方长/stackchecker_WorstCaseStack_giteemaster
2020-06-24 19:28:00 +08:00
Bernard Xiong 08048bbcb7
Merge pull request #3721 from ArdaFu/master
[BSP][TM4C129X] Fix the bug that HEAP is not initialized at system start up.
2020-06-24 14:52:49 +08:00
朱天龙 (Armink) b31822420b
Merge pull request #3715 from thread-liu/add_stm32mp1_driver
[update] add drivers for stm32mp1.
2020-06-24 13:48:48 +08:00
ArdaFu 8e2a699d63 [BSP][TM4C129X] Fix the bug that HEAP is not initalized at system start up. 2020-06-24 13:35:49 +08:00
thread-liu a84d575314 [update] format code 2020-06-24 12:53:24 +08:00
thread-liu c9db3a070f [update] close dfc and format code. 2020-06-24 09:34:53 +08:00
Wayne Lin dba0b1f3ca Add compiling option for building time.
Fix rtt port issues.
2020-06-24 00:32:10 +08:00
Du Huanpeng e58c7bb2cd bsp: ls2k: internal rtc driver
hardware date format
  year, the same as ctime
  month 1 ~ 12
  no leap second

Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-06-23 20:14:09 +08:00
thread-liu 3c848e3c90 [update] clear code 2020-06-23 14:19:30 +08:00
thread-liu 0ce550bbbd [update] README.md 2020-06-23 11:41:18 +08:00
thread-liu 2fcd940b57 [update] add drivers for stm32mp1. 2020-06-23 11:26:11 +08:00
bigamgic 1ec681a551 fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
bigamgic eb0544c847 fix loongson 2k1000 libc 2020-06-21 23:27:55 +08:00
来日方长 37808b135b update bsp/stm32/stm32l475-atk-pandora/rtconfig.py.
添加-fstack-usage -fdump-rtl-dfinish选项
2020-06-21 22:13:08 +08:00
Bernard Xiong a57279956e
Merge pull request #3708 from thread-liu/add_stm32mp1_library
[add] STM32MP157A Discovery bsp
2020-06-21 14:38:53 +08:00
thread-liu 8c44edf8a2 [update] stm32mp1 link 2020-06-20 16:39:32 +08:00
guohp1128 9f2c1ce57a 重修改格式 2020-06-20 14:52:37 +08:00
thread-liu 8191607efc [update] bsp/stm32/README.md 2020-06-20 14:13:09 +08:00
thread-liu bf70a67a1e [add] stm32mp1 bsp 2020-06-20 14:12:43 +08:00
thread-liu 0606261b97 [add] stm32mp1 drivers 2020-06-20 14:05:14 +08:00
thread-liu 4ef02cd8e3 [add] stm32mp1 library 2020-06-20 14:03:51 +08:00
guohp1128 933fd4a05c 修改格式 2020-06-20 14:01:39 +08:00
guohp1128 1d960894ff 提交nrf5x的gpio驱动 2020-06-20 13:39:30 +08:00
tangweikang 2e8375dd12 [bsp][stm32][drv_sdio.c] adapt stm32f2 series | 适配 stm32f2 系列 2020-06-18 19:22:38 +08:00
Bernard Xiong 6609dfb516 [stm32] fix linkscript issue in stm32f411-atk-nano 2020-06-18 09:56:59 +08:00
Wayne Lin c04c19a6f1 Support Nuvoton NuMaker-IOT-M487 and NuMaker-PFM-M487 boards. 2020-06-17 16:30:11 +08:00
Bernard Xiong d7d6dbe774
Merge pull request #3695 from imgtec/bsp-ls2k/clk-up-v1
bsp: ls2k: initial clk driver
2020-06-17 09:11:47 +08:00
Bernard Xiong fa19533a3d
Merge pull request #3694 from nuclei-community/dev_nuclei_rvstar_pr_new
bsp/nuclei: Add more drivers support for gd32vf103_rvstar board
2020-06-16 15:18:23 +08:00
Du Huanpeng 50039211b4 bsp: ls2k: initial clk driver
Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-06-16 11:21:22 +08:00
Bernard Xiong 4ad15920d1
Merge pull request #3687 from luhuadong/develop
[BSP] [AT32] fixed scons --dist
2020-06-16 10:51:10 +08:00
Bernard Xiong b8504b0947
Merge pull request #3692 from bigmagic123/raspi4_gpio_irq
add raspi4 gpio interrupt
2020-06-16 10:50:36 +08:00
bigamgic 0fbbe01bf6 ls2k1000 cpu frequency 1GHz 2020-06-16 09:37:33 +08:00
bigamgic 2f4b8604d9 fix mips64 8-byte alignment 2020-06-16 09:37:18 +08:00
Huaqi Fang 7761923ec5 bsp/nuclei: Add more drivers support for gd32vf103_rvstar board
Squashed commit of the following:

commit 32dd349ccf
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Jun 11 16:08:08 2020 +0800

    bsp/nuclei: Add more documentation about how to use RT-Thread in RV-STAR

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit c9474c20a5
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Jun 11 14:06:42 2020 +0800

    bsp/nuclei: remove comments in rt_hw_*_drvinit

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 89b5caa2c3
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Jun 11 13:52:12 2020 +0800

    bsp/nuclei: Add a entry README.md for nuclei bsp

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit ae50d6e9bd
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Jun 11 11:52:52 2020 +0800

    bsp/nuclei: update README.md cover more pinmux section

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit 1a42d85dfe
Author: Huaqi Fang <578567190@qq.com>
Date:   Thu Jun 11 08:52:06 2020 +0800

    bsp/nuclei: clean up unused code in drv_spi.c

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit b40edcdf59
Author: Huaqi Fang <578567190@qq.com>
Date:   Wed Jun 10 14:09:15 2020 +0800

    bsp/nuclei: Format the code comments for hw pinmux init

    Signed-off-by: Huaqi Fang <578567190@qq.com>

commit c8ae9fdfdb
Author: Huaqi Fang <578567190@qq.com>
Date:   Mon Jun 8 17:12:43 2020 +0800

    bsp/nuclei: Add more drivers support for gd32vf103

    * More drivers are supported for rvstar board, see README.md
    * If user want to use these supported drivers, menuconfig is required
    * User also need to setup pinmux for its coresponding driver in
    board/board.c

    Signed-off-by: Huaqi Fang <578567190@qq.com>

Signed-off-by: Huaqi Fang <578567190@qq.com>
2020-06-16 09:35:58 +08:00
bigamgic 72d4e2ed50 add raspi4 gpio interrupt 2020-06-16 09:16:07 +08:00
Bernard Xiong 0a7e38c5a1
Merge pull request #3680 from xfwangqiang/dev_nxp
[BSP][IMXRT]fixed scons --dist in IMXRT BSP
2020-06-15 23:31:42 +08:00
WangQiang 574ace9146 修复了imxrt下imxrt1052-atk-commander, imxrt1052-fire-pro, imxrt1052-nxp-evk等BSP的scons --dist失败的问题 2020-06-15 17:01:59 +08:00
RT-Thread 6e36f54e28 !22 【开源贡献活动】K210编译报错及解决方案总结 https://gitee.com/rtthread/rt-thread/issues/I1BFQG
Merge pull request !22 from shentalon/N/A
2020-06-15 13:10:16 +08:00
RT-Thread 96be278ff7 !21 K210修复uart_init函数重复定义问题
Merge pull request !21 from asd7893361/master
2020-06-15 13:10:06 +08:00
RT-Thread 9fac61927e !20 add bsp stm32f411-atk-nano
Merge pull request !20 from bigaj/STM32F4_ATK_Nano
2020-06-15 13:09:51 +08:00
WangQiang 6da9c939fa 优化了sdk_dist.py中的dist_do_building函数,不会影响其他BSP的调用 2020-06-15 11:44:35 +08:00
luhuadong 4313ee6961 [BSP][AT32] fixed scons --dist 2020-06-14 12:21:20 +08:00
armink 673662656a [BSP][stm32] Add 3 wires SPI driver support. 2020-06-13 11:58:28 +08:00
WangQiang 094d0b4fe3 修复了imxrt1064-nxp-evk的BSP使用scons --dist生成的工程目录中没有libraries的问题 2020-06-12 16:15:40 +08:00
shentalon 2c622692ee 【开源贡献活动】https://gitee.com/rtthread/rt-thread/issues/I1BFQG 2020-06-11 22:37:43 +08:00
asd7893361 ea66435418 1、修改SPI1接口定义,使符合sipeed M1 dock模块TF卡;
2、调通TF卡挂载;
2020-06-08 00:07:05 +08:00
XYX12306 a2517e4cb5 fixed the serious bug caused by the main function calling the key processing function and the system running error
corrected the description of README.md file
2020-06-08 00:02:33 +08:00
XYX12306 29a0dde714 update README.md and main.c file
update template.uvprojx and enable to automatic operate after burning
support SPI/I2C/timer/pwm/ADC/RTC/WDG/FLASH/OTGFS/RNG/UDID on-chip peripheral driver
take CubeMX_Config.ioc Rename to STM32F413ZH.ioc
2020-06-07 15:30:50 +08:00
asd7893361 4dbbefdd8f 修复kconfig中引脚名错误问题
config BSP_LCD_WR_PIN
        int "DC pin number of 8080 interface"  -》 int "WR pin number of 8080 interface"
2020-06-06 23:05:27 +08:00
nongxiaoming 3ded26a700 [bsp][imxrt] fix the gpio drivers warning,'int_mode' may be used uninitialized. 2020-06-06 17:20:36 +08:00
asd7893361 8b638d1013 修复“multiple definition of `uart_init'”问题。 2020-06-06 00:31:12 +08:00
tyustli eb0e373cf6 [bsp][imxrt] fix docs and templates err 2020-06-05 18:04:54 +08:00
Bernard Xiong 695a58648a
Merge pull request #3653 from liu2guang/master
调整STM32系列bsp部分外使的中断优先级配置
2020-06-04 17:57:14 +08:00
Bernard Xiong 1b60cdaefb
Merge pull request #3650 from bigmagic123/fix_raspi2
fix raspi bsp
2020-06-04 11:04:05 +08:00
Bernard Xiong 6a1c9f3222
Merge pull request #3642 from imgtec/bsp-ls2k/gpio-noirq-v2
bsp: ls2k: initial gpio driver without irq support
2020-06-04 11:01:57 +08:00
流光 6ba3767949 [update] Configure the lowest priority of STM32 systick interrupts | 配置STM32 systick中断优先级为系统最低. 2020-06-04 10:19:22 +08:00
流光 0a5d7d60eb [upadte] Configure the priority of STM32 uart rx interrupts | 显式配置STM32串口接收中断优先级. 2020-06-04 10:18:57 +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
Du Huanpeng 725d930937 bsp: ls2k: initial gpio driver without irq support
Signed-off-by: duhuanpeng <548708880@qq.com>
2020-06-03 10:54:18 +08:00
thread-liu 076c61b3fa [更新] 修改了 stm32f103-hw100k-ibox iar 工程编译报错的 bug 2020-06-02 18:45:23 +08:00
Bernard Xiong 997c652784
Merge pull request #3624 from ShermanShao/master
[BSP]Add nrf5x SPI BSP
2020-06-01 16:10:29 +08:00
Bernard Xiong 7c761516aa
Merge pull request #3622 from DriftSnail/master
Add BSP for STM32F103RET6-OneNET-NBIoT Board .
2020-05-31 18:33:50 +08:00
Nimbus f66a132f6d Add BSP for STM32F103RET6-OneNET-NBIoT Board 2020-05-30 11:41:28 +08:00
bigaj ccaf833e1f add bsp stm32f411-atk-nano 2020-05-28 20:58:45 +08:00
Bernard Xiong cadd6d73ea
Merge pull request #3628 from sheltonyu/developer
[bsp/at32] 1.add support for AT-START-F407 board, 2.add eth and rtc d…
2020-05-28 11:06:37 +08:00
Bernard Xiong 8039bac92a
Merge pull request #3627 from bigmagic123/add_raspi4_uart
support raspi4 all uart
2020-05-26 16:05:53 +08:00
sheltonyu e2086dcd3b [bsp/at32] 1.add support for AT-START-F407 board, 2.add eth and rtc driver 2020-05-26 14:49:09 +08:00
Bernard Xiong 697077f8a8
Merge pull request #3605 from A-orz/master
Add SD Card driver for stm32h743-atk-apollo board
2020-05-26 14:03:53 +08:00
bigmagic db0b00d12a add_raspi4_uart 2020-05-26 13:56:42 +08:00
Bernard Xiong b377859946
Merge pull request #3625 from SummerLife/master525
[tools/dist] add Studio IDE dist feature for stm32 BSP
2020-05-26 12:23:36 +08:00
liuduanfei 2849cb4282 formatting code 2020-05-26 11:35:03 +08:00
liuduanfei efdde9ffd4 formatting code 2020-05-26 10:46:33 +08:00
liuduanfei 1a4c6cb05f formatting code 2020-05-26 10:41:52 +08:00
Bernard Xiong fbd8303375
Merge pull request #3626 from bigmagic123/add-raspi4-32bit
Add raspi4 32bit
2020-05-26 10:40:44 +08:00
liuduanfei 1d1376e7fa clean code 2020-05-25 20:27:05 +08:00
ShermanShao11 a17867878d [BSP]Add nrf5x SPI BSP 2020-05-25 19:42:33 +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
SummerGift fea7f2bb58 [add] dist_dir function for every stm32 bsp 2020-05-25 14:36:42 +08:00
SummerGift 01873a5687 [add] rt-thread ide project dist feature 2020-05-25 14:32:17 +08:00
Bernard Xiong 83737fa7ce
Merge pull request #3613 from whj4674672/master
[bsp/stm32/stm32h743-atk-apollo]support stm32h7 fal
2020-05-24 22:35:50 +08:00
bigmagic aca518b6ca remove fb clear function 2020-05-24 21:16:29 +08:00
liuduanfei 5db00fa758 add author information 2020-05-23 22:35:43 +08:00
liuduanfei 535aa894e8 clean code 2020-05-23 22:25:01 +08:00
whj4674672 8d45e7f856 add drv_flash_h7.c 2020-05-23 17:30:40 +08:00
Bernard Xiong fc44e8f0ae
Merge pull request #3610 from Sunwancn/stm32l433-st-nucleo
[BSP]Add stm32l433-st-nucleo BSP
2020-05-23 04:57:38 +08:00
Bernard Xiong daa3227ca8
Merge pull request #3617 from ifreecoding/debug
局部变量tm_new未初始化,该结构体变量中的tm_isdst值为栈中残留值,不确定,该值会影响是否使用夏令时,最终表现概率性使用夏令时,…
2020-05-22 18:25:36 +08:00
Bernard Xiong 7fa4c90ed8
Merge pull request #3591 from tyustli/master
[bsp] fix stm32 f1 series rtc bug
2020-05-22 10:35:32 +08:00
bigmagic fbe793e9a6 add bsp/ls2k window compilation instructions 2020-05-21 23:06:13 +08:00
ifreecoding 76cd1608a7 局部变量tm_new未初始化,该结构体变量中的tm_isdst值为栈中残留值,不确定,该值会影响是否使用夏令时,最终表现概率性使用夏令时,出现相差1小时的问题。将其初始化为0,默认不使用夏令时 2020-05-21 17:13:36 +08:00
whj4674672 b91f1ab54e [bsp/stm32/stm32h743-atk-apollo]support stm32h7 fal 2020-05-20 13:40:33 +08:00
Sunwancn f43e7ba90b Add stm32l433-st-nucleo BSP 2020-05-18 19:55:42 +08:00
liuduanfei 3c9da16d8d Add SD Card driver for stm32h743-atk-apollo board 2020-05-17 13:45:42 +08:00
liuduanfei d1a12288ad Add SD Card driver for stm32h743-atk-apollo board 2020-05-17 13:31:18 +08:00
Bernard Xiong ee2cec13b1
Merge pull request #3602 from thread-liu/rt-thread-thread-liu
SPI 设备初始化 NSS 类型判断错误
2020-05-16 14:05:40 +08:00
XYX12306 fe2122d076 Merge remote-tracking branch 'upstream/master' 2020-05-15 19:52:14 +08:00
Bernard Xiong 4ef35a9dee
Merge pull request #3568 from NU-LL/l476_add_spi_adc_time
support SPI/ADC/TIME on-chip peripheral driver
2020-05-15 15:13:48 +08:00
thread-liu 3496017c84 [update] spi nss type 2020-05-15 15:07:19 +08:00
tyustli 55edb9642a 【修改】添加注释及模块化程序 2020-05-15 12:53:36 +08:00
GaoJie c4eed718e8 [BSP] [STM32] drv_can.c CANx_SCE_IRQHandler() 的 RT_CAN_BUS_ACK_ERR 处理3个邮箱的 TXOK标志 2020-05-13 10:05:23 +08:00
GaoJie 1e94742a0e [BSP] In bsp of stm32, Change drv_can1 to drv_can2 in function CAN2_SCE_IRQHandler() of drv_can.c 2020-05-13 09:35:30 +08:00
tyustli a7c293fac0 [bsp] fix stm32 f1 series rtc bug 2020-05-12 14:08:24 +08:00
luhuadong 921aa67eec [BSP] update the picture of stm32l412-nucleo 2020-05-08 19:33:09 +08:00
luhuadong 542edd9066 [BSP] update a picture of stm32l412-nucleo 2020-05-07 20:48:50 +08:00
luhuadong 12887d54ce [BSP] optimize dist handle according to #3582 2020-05-07 20:45:54 +08:00
Bernard Xiong 90fb832bf2
Merge pull request #3582 from SummerLife/optimize_dist_handle
[bsp] optimize bsp dist handle process
2020-05-07 14:07:52 +08:00
NU-LL c8e7093ee6 Fix LPTIM error 2020-05-07 12:39:24 +08:00
NU-LL 6e861d4938 Fix adc initialization 2020-05-07 11:14:17 +08:00
NU-LL e444ec908c Add STM32CubeMX initial configuration 2020-05-07 10:42:55 +08:00
Bernard Xiong 31402e494a
Merge pull request #3579 from supperthomas/master
[nrfx] add the qspi_flash of nordic pdk
2020-05-06 21:31:58 +08:00
Bernard Xiong c88870bfd7
Merge pull request #3527 from z14git/pwm_patch
add PWM1_CONFIG
2020-05-06 21:30:36 +08:00
Bernard Xiong 6632f9c006
Merge pull request #3576 from whj4674672/master
[bsp/stm32/stm32h743-atk-apollo]support stm32h7 uart dma
2020-05-06 21:07:45 +08:00
Bernard Xiong 35e81207c7
Merge pull request #3553 from xiangxistu/master
[update] gizwits-gokitv21 support uart2
2020-05-06 21:02:41 +08:00
Bernard Xiong a998556e83
Merge pull request #3561 from luhuadong/develop
[BSP] Add stm32l412-st-nucleo BSP
2020-05-06 21:00:23 +08:00
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 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 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