Commit Graph

3570 Commits

Author SHA1 Message Date
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
armink 5c68b748d7 [bsp/imxrt] Remove the use of device user data on uart driver. 2019-09-21 13:55:16 +08:00
armink fe6cf948d5 [bsp/stm32] Remove the use of device user data on uart driver. 2019-09-21 13:51:04 +08:00
a1012112796 0bae6e884c [bsp][stm32][stm32/stm32f427-robomaster-a/]修改部分配置错误
1. 引入 #3062 '[bsp][Kconfig]在bsp的Kconfig中select组件初始化与user main的选项'所做的修改至本BSP包
2. 删去原rtconfig.h中非必要及无意义的配置,包括sensor,pwm,uart3,dma.
2019-09-21 08:58:08 +08:00
tangweikang 7c455e6767 [bsp][stm32][driver] drv_pulse_encoder.c 2019-09-20 15:57:26 +08:00
Bernard Xiong ade78fb12c
Merge pull request #3083 from tyustli/h743
add stm32h743-st-nucleo bsp
2019-09-20 06:30:11 +08:00
Bernard Xiong 7f8642e75c
Merge pull request #3080 from gavin-liugang/master
imxrt: Update for imxrt UART, SDRAM, ENET, PHY modules
2019-09-20 06:25:44 +08:00
gbcwbz cfb6e59941 [bsp][stm32][stm32f767-atk-apollo] Fix missing lcd_port.h error 2019-09-19 11:44:17 +08:00
Gavin Liu 943f83d58f imxrt:enet: Support imxrt ethernet interface
1. Add "drv_eth.c" for all imxrt platforms.
2. Add ksz8081 phy driver for imxrt1052-nxp-evk board.
3. Disable the LED demo in main.c file if enable the ENET
   and ksz8081 phy, because the PINs of LED and ksz8081
   reset are from the same GPIO.
4. Update the relevant Kconfig and Sconscript files.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:21:42 +08:00
Gavin Liu 5cabac6d9c imxrt:app: Support ramfs for imxrt1052-nxp-evk
Add ramfs (8MB size) support for imxrt1052-nxp-evk board.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:13:57 +08:00
Gavin Liu 57630ae4bd imxrt:sdram: Add sdram support for imxrt1052-nxp-evk
1. Add sdram item in bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig
2. Add sdram configuration header file for imxrt1052-nxp-evk
3. Update the sdram space assignment for memheap

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:13:57 +08:00
Gavin Liu 259e9e4fc6 imxrt:board: Add LPUART3 item for imxrt1052-nxp-evk
Add LPUART3 item in imxrt1052-nxp-evk Kconfig file to support
Arduino UART interface.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:13:57 +08:00
Gavin Liu 9791c31c1b imxrt:uart: Add PINs init for each uart port
Add PINs init function based on the selected UART port.

In general, user should configure all necessary PINs based on
the specific imxrt board in:
    bsp/imxrt/xxxx/board/MCUX_Config/pin_mux.c
There is a convenient GUI tool named MCUXpresso Config Tools,
it's free and can be obtained from NXP offical website. Open
the file:
    bsp/imxrt/imxrt1052-nxp-evk/board/MCUX_Config/MCUX_Config.mex
with MCUXpresso Config Tools, set the necessary PINs (or clocks)
and generate the new code of pin_mux.c (or clock_config.c), the
project can get right configurations based on specific imxrt
board.

But, there is no relation between RT-Thread Kconfig and MCUXpresso
Config Tools. User selects one driver in RT-Thread menuconfig, then
the ping_mux.c should be udpated by MCUXpresso Config Tools to set
the right PIN configurations for the selected driver. It's clear
but a little complex.

We add the PIN init functions for some drivers in the board.c file,
1. It's convenient to usr a driver in RT-Thread. Just select the
   driver, then the code will include all necessary parts, and the
   driver can work well.
2. User can also configure the PINs with MCUXpresso Config Tools.
3. The drivers in bsp/imxrt/libraries/drivers are common for all
   imxrt boards. They may have different PIN configurations based
   on different hardware design. So we put the PIN init functions
   in each board.c file following each different imxrt board.

Signed-off-by: Gavin Liu <gavin-liugang@outlook.com>
2019-09-19 11:13:57 +08:00
tyustli e3ba233dc0 add stm32h743-st-nucleo bsp 2019-09-18 10:11:13 +08:00
gbcwbz b789721307 [bsp][stm32][stm32f767-atk-apollo] Add LCD driver port 2019-09-17 13:59:14 +08:00
Bernard Xiong bb014b2061
Merge pull request #3050 from ericQiang/master
bug fix: the value of timer auto reload should be (val-1)
2019-09-16 17:36:23 +08:00
Bernard Xiong 6259e715d2
Merge pull request #3053 from willianchanlovegithub/WillianChan
[bsp][stm32][f796-disco]Add stm32f769-st-disco bsp
2019-09-16 17:35:57 +08:00
Willian Chan 58aa6b792a [bsp][stm32][templates/stm32f7xx]Fix the problem of indentation.
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-09-16 14:05:50 +08:00
Willian Chan c3293f4386 [bsp][stm32][f769-disco]Fix the problem of indentation.
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-09-16 13:49:10 +08:00
Bernard Xiong 91e1918250
Merge pull request #3071 from xfan1024/fix-stm32l0-exti-bug
Fix STM32L0 Series External Interrupt BUG
2019-09-15 09:38:54 +08:00
Bernard Xiong 41753b2e7a
Merge pull request #3066 from zhangjun1996/master
[bsp][stm32][libraries]删除冲突的spi库文件,修正stm32f1系列的uuid读取函数
2019-09-15 09:38:19 +08:00
Bernard Xiong 20d9ac459e
Merge pull request #3054 from a1012112796/writing_zzc_add_bsp_robomaster_a
[bsp][stm32] 更新stm32f427-robomaster-a外设驱动配置
2019-09-15 09:37:47 +08:00
Bernard Xiong 6db1bd4516
Merge pull request #3062 from yangjie11/yj_kconfig_com
[bsp]解除组件初始化与使用user main的依赖,并修改相应的 Kconfig
2019-09-15 09:35:42 +08:00
xiaofan 8be42fdf2f Fix STM32L0 Series Interrupt BUG
Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-13 02:13:51 +08:00
tangweikang 41f00e5315 [bsp][stm32] fix : #define HEAP_BEGIN 2019-09-12 10:35:05 +08:00
zhangjun 3cf0f34164 [bsp][stm32][libraries]删除冲突的spi库文件,修正stm32f1系列的uuid读取函数 2019-09-12 10:34:49 +08:00
Willian Chan c51352d7cb [bsp][stm32f7]Fix "scons --dist" error in stm32f7's bsp
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-09-11 18:16:34 +08:00
Willian Chan 315843438b [bsp][stm32][f769-disco]Add uart5 to support esp8266
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-09-11 14:32:25 +08:00
yangjie 1ef33e66cd [bsp][Kconfig]在bsp的Kconfig中select组件初始化与user main的选项 2019-09-11 12:06:43 +08:00
Bernard Xiong 2ed84b61b0
Merge pull request #3056 from niannianyouyu/master
Add UART1 driver of rv32m1_vega
2019-09-11 00:06:44 +08:00
niannianyouyu 67ffb94360 Add the driver of UART1 2019-09-10 21:09:29 +08:00
a1012112796 60bda424eb [bsp][stm32] 更新stm32f427-robomaster-a外设驱动配置
1.增加串口1,7,8配置,经实机测试无误
2.增加PWM4 CH1 -- 4, PWM12(BUZZER)配置,因条件有限,仅测试了TIM12 CH1
3.经测试,CAN通信无法正常使用,原因尚未找出,故暂时删去此配置
测试所用编译器: mdk5, IAR
2019-09-10 19:17:38 +08:00
Willian Chan 19034c4aa4 [bsp][stm32][f769-disco]Modify README.md 2019-09-10 18:23:36 +08:00
Willian Chan 3bef0a1e41 [bsp][stm32]Delete dist files
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-09-10 18:15:54 +08:00
Willian Chan 2d31662e94 [bsp][stm32]Delete dist files
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-09-10 18:08:40 +08:00
Willian Chan ba9759e0fa [bsp][stm32][f796-disco]Add stm32f769-st-disco bsp
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-09-10 18:00:48 +08:00
ericQiang ee668cce81 bug fix: the value of timer auto reload should be (val-1) 2019-09-09 22:22:29 +08:00
Bernard Xiong 4ba5fe5ab5
Merge pull request #3035 from Linjieqiang/fix_spelling_mistake
fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE"
2019-09-09 13:25:11 +08:00
Bernard Xiong 1370a4c79b
Merge pull request #3044 from yangjie11/stm32-lib
[bsp][stm32] update Stm32 lib
2019-09-09 08:08:43 +08:00
yangjie 53fc84656b [bsp][stm32/libraries] update STM32L4xx_HAL lib to V1.14.0 2019-09-05 18:07:41 +08:00
yangjie 77a90a2cdc [bsp][stm32/libraries] update STM32H7xx_HAL lib to V1.5.0 2019-09-05 17:53:14 +08:00
yangjie 804e3967d0 [bsp][stm32/libraries] update STM32G0xx_HAL lib to V1.3.0 2019-09-05 17:43:00 +08:00
yangjie 0cde9a27c6 [bsp][stm32/libraries] update STM32F7xx_HAL lib to V1.15.0 2019-09-05 17:35:36 +08:00
yangjie 2f269499de [bsp][stm32/libraries] update STM32F2xx_HAL lib to V1.8.0 2019-09-05 17:19:57 +08:00
yangjie bae87829a9 [bsp][stm32/libraries] update STM32F1xx_HAL lib to V1.8.0 2019-09-05 17:06:53 +08:00
yangjie 7498a9296a [bsp][stm32/libraries] update STM32L0xx_HAL lib to V1.11.2 2019-09-05 16:47:02 +08:00
yangjie 2f7d9d4330 [bsp][stm32/libraries] update STM32F0xx_HAL lib to V1.10.1 2019-09-05 14:58:33 +08:00
LinJieqiang d16d78c53e fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE" 2019-09-05 08:33:12 +08:00
Bernard Xiong 42248d81e5
Merge pull request #3036 from Linjieqiang/fix_stm32hal_rtc_error
bsp: fix stm32 rtc hal library error.
2019-09-05 08:05:50 +08:00
tyustli 1d44368b27 [bsp] [stm32] port to dfs 2019-09-04 20:36:52 +08:00
LinJieqiang dce37d0b4b bsp: fix stm32 rtc hal library error. 2019-09-04 10:08:34 +08:00
Bernard Xiong 03f8762e28
Merge pull request #2989 from yexinfu/master
[bsp][stm32][HAL_Drivers]modified stm32 timer_start cant set  HWTIMER_MODE_PERIOD mode
2019-09-04 08:03:28 +08:00
Bernard Xiong 9573b6c013
Merge pull request #3023 from a1012112796/writing_zzc_add_bsp_robomaster_a
新增stm32f427-RoboMaster-a板 BSP包
2019-09-03 22:26:37 +08:00
xiaofan 65afdf050a STM32 Ethernet driver: Add DP83848C support
Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:51:53 +08:00
xiaofan 7676b5e69b Optimize STM32 Ethernet Drvier
1. Add phy_linkchange function to simplify eth_phy_isr and phy_monitor_thread_entry
2. phy_speed is uint8_t may case some problems, use enumeration instead of hardware-dependent values
3. Fix eth_phy_isr can not detect link up
4. Use macro to check phy status for flexibility

Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:51:09 +08:00
xiaofan 37fe581be4 Fix STM32 Ethernet Driver Spelling Mistake
Rename PHY_INTERRUPT_MSAK_REG to PHY_INTERRUPT_MASK_REG

Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:50:45 +08:00
a1012112796 c14bb274dc 纠正 新增stm32f427-robomaster-a板BSP包编写错误
更改stm32f427-robomaster-a板BSP包board.png图片
2019-09-03 18:28:55 +08:00
tyustli 51d1ec80a4 fix docs link err 2019-09-03 11:41:22 +08:00
tangyuxin eca4863888 [bsp][qemu-vexpress-a9]修复py3环境下编译,整数相除为浮点数的问题 2019-09-02 11:22:51 +08:00
赵智超 b77a1fdea1 stm32f427-RoboMaster-a板 BSP包提交,完成基本要求 2019-09-01 15:59:10 +08:00
tyustli 60aa0e6f1e [bsp] [stm32] fix stm32l452 Kconfig error 2019-08-31 13:26:55 +08:00
tangweikang 0f74ee7e20 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into drv_encoder
# Conflicts:
#	components/drivers/misc/encoder.c
2019-08-30 16:11:46 +08:00
tangweikang b76d3dac8a [components][drivers] change name: encoder -> pulse_encoder 2019-08-30 15:58:52 +08:00
Willian Chan 63e5257a06 [bsp][stm32][stm32l475-atk-pandora]Fix the indentation issue.
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-08-28 16:49:42 +08:00
Willian Chan 35b03ed139 [bsp][stm32][stm32l475-atk-pandora]Modify README.md
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-08-28 13:53:55 +08:00
Willian Chan f4a96bb13b [bsp][stm32][stm32l475-atk-pandora]Add lcd driver codes
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-08-28 13:46:37 +08:00
Willian Chan 48b4385c01 [bsp][stm32][stm32l475-atk-pandora]Add lcd driver and fix compilation report error on spi_config.h
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-08-28 12:03:11 +08:00
Bernard Xiong 9a6e47bcc6
Merge pull request #3012 from tyustli/imxrt-docs
[bsp] [imxrt] rename docs imxrt -> i.MX RT
2019-08-27 18:26:30 +08:00
tyustli 3730df2411 1、[bsp] [imxrt] rename docs imxrt -> i.MX RT
2、[bsp] [stm32] fix drv_can assert bug
2019-08-27 15:35:58 +08:00
armink 8369472fdb [bsp/stm32/stm32f103-yf-ufun] Add eclipse project. 2019-08-27 11:01:22 +08:00
armink fd39d5c92a [bsp/stm32/stm32f411-st-nucleo] add eclipse support. 2019-08-27 10:51:51 +08:00
tangweikang 05b1dff094 [bsp][stm32] add drv_encoder.c to stm32f103-atk-warshipv3 2019-08-27 09:31:41 +08:00
Bernard Xiong a712f6804f
Merge pull request #3004 from xuzhuoyi/tms320-int-bugfix
[bsp][tms320f28379d] Fix an issue that interrupts are disabled in the thread
2019-08-26 13:47:56 +08:00
Bernard Xiong ef23a86891
Merge pull request #2980 from Guozhanxin/riscv
[bsp][gd32vf103v-eval]Add scons compilation support.|添加 scons 编译支持
2019-08-26 13:46:29 +08:00
jiezhi320 383429e3b9
fix bug when use HWTIMER_MODE_PERIOD 2019-08-25 20:58:11 +08:00
guozhanxin de2e82bc46 * [bsp][gd32vf103v-eval]删除无用代码。 2019-08-25 12:13:56 +08:00
xuzhuoyi a101327d24 [bsp][tms320f28379d] Fix an issue that interrupts are disabled in the thread 2019-08-24 18:42:54 +08:00
Bernard Xiong f87dd2e7c4
Merge pull request #2998 from tyustli/can
[bsp] [stm32] fix drv_can.c and can.c bug
2019-08-24 13:50:15 +08:00
tyustli 363c9b1460 [bsp] [stm32] fix drv_can.c and can.c bug 2019-08-23 20:40:09 +08:00
tangweikang 94d7bdd010 [bsp][stm32] add drv_encoder.c to stm32f407-atk-explorer 2019-08-23 16:50:59 +08:00
tangweikang 1d4139ab53 [bsp][stm32] add drv_encoder.c 2019-08-23 14:08:02 +08:00
Willian Chan aba81f65f4 [bsp][stm32][stm32f103-dofly-M3S]Add spi sdcard port code
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-08-23 11:40:59 +08:00
yexinfu 0c1a12afd8 修复stm32 timer_start函数不能设置HWTIMER_MODE_PERIOD模式
修复timer_start函数注释:将TIM2改为TIM更合理
2019-08-23 07:45:45 +08:00
Bernard Xiong 61f151f463
Merge pull request #2981 from LaoYeNing/rtt-branch
[stm32][driver_eth] 修复开启自动协商时出错的 bug
2019-08-22 17:31:24 +08:00
guozhanxin 47ced5be44 [bsp][gd32vf103v-eval]Add scons compilation support.|添加 scons 编译支持 2019-08-21 22:26:56 +08:00
Bernard Xiong 3383f37f79
Merge pull request #2979 from tyustli/flash
[bsp] [stm32] fix drv_flash_l4.c bug
2019-08-21 19:32:39 +08:00
tyustli c4d0c91502 [bsp] [stm32] fix drv_flash_l4.c bug 2019-08-21 18:39:14 +08:00
liufeilong 9e2dedeff5 实现网络稳定传输以及ADB正常传输文件 2019-08-21 13:43:37 +08:00
liufeilong 1b01546ca0 新增sd初始化以及spi03设备 2019-08-21 13:42:17 +08:00
liufeilong 3ac168c9f6 更正gpio框架中断方式宏定义与1c底层中断方式宏定义不一致问题 2019-08-21 13:40:57 +08:00
Bernard Xiong ccf80cc2f3
Merge pull request #2953 from wuhanstudio/pwm-clock-enable
[stm32][driver] pwm enable clock
2019-08-19 16:47:19 +08:00
Bernard Xiong 38209e2652
Merge pull request #2968 from tyustli/driver-can
[bsp] [stm32] fix drv_can.c
2019-08-19 16:39:06 +08:00
tyustli c81eebcd5d [bsp] [stm32] fix drv_can.c 2019-08-16 12:14:30 +08:00
Wu Han 2e90a7e5b2 [stm32][driver] switch HAL_TIM_PWM_Init with HAL_TIM_Base_Init for new CubeMX 2019-08-15 13:38:44 +08:00
Wu Han a1a7621b87 [bsp][stm32][stm32f103-yf-ufun] add pwm CubeMX config 2019-08-15 11:37:10 +08:00
Wu Han 6a1e12f178 [stm32][driver] pwm enable clock 2019-08-15 11:21:14 +08:00
laoyening cdb70c696e 1、修复因LAN8720A重启无效而导致无法进行自动协商,引起网卡初始化失败。
2、LWIP-1.4.1中tcp协议栈的初始化顺序有误,导致使用netdev组件时,网卡无法正常注册,该问题之前在LWIP-2.0.2和LWIP-2.1.0已经修复。
2019-08-15 10:37:58 +08:00
Wu Han b5fdb36b6f [bsp][stm32][stm32f103-yf-ufun] update readme 2019-08-15 10:23:06 +08:00
Wu Han 487532dc9c [bsp][stm32][stm32f103-yf-ufun] add pwm config 2019-08-15 10:15:06 +08:00
Bernard Xiong 67d5fd4cba
Merge pull request #2945 from tyustli/imxrt
change Libraries->libraries
2019-08-13 11:41:33 +08:00
laoyening cf4f42ea19 在没插好网线,开发板就上电时,以太网硬件初始化返回失败,导致下一步的以外网DMA环结构和以太网中断都没有被初始化好。等到网线被插好之后,以太网接收数据线程堆栈溢出,程序发生奔溃。 2019-08-12 17:47:52 +08:00
SummerGift 641628fd14 change Libraries->libraries 2019-08-11 18:14:44 +08:00
tangyuxin 5e0119564f [bsp][w60x] update GCC linker scripts 2019-08-11 15:18:37 +08:00
yangjie af9ca82722 [bsp][swm320-lq100]修改看门狗设备名称与stm32保持一致 2019-08-09 18:48:36 +08:00
Bernard Xiong 532ad16b7b
Merge pull request #2933 from murphyzhao/fix-pwm-usagefault
[bsp][stm32] fix drv_pwm.c device register usagefault
2019-08-08 11:17:54 +08:00
Bernard Xiong 7261c7460c
Merge pull request #2934 from yangjie11/test_uart
[bsp][stm32]修改stm32 bsp 制作教程中 link.icf 图片的错误信息
2019-08-08 11:17:09 +08:00
Bernard Xiong 33e774358f
Merge pull request #2935 from ErnestChen1/master
[bsp][stm32][stm32f429-atk-apollo][audio]add f429 audio driver
2019-08-08 11:12:53 +08:00
Ernest 45fe517da5 [bsp][stm32][stm32f429-atk-apollo][audio]add f429 audio driver 2019-08-08 09:54:05 +08:00
Bernard Xiong 48afe9318a
Merge pull request #2930 from murphyzhao/fix-assert
[bsp][stm32] fix RT_ASSERT location error
2019-08-08 08:37:49 +08:00
Bernard Xiong fcfa986bca
Merge pull request #2928 from Zero-Free/audio_developer
添加qemu和stm32l475-atk-pandora对音频设备驱动框架的支持
2019-08-08 08:37:06 +08:00
Bernard Xiong 15e0187790
Merge pull request #2867 from yaojinrun/master
修正了dist命令对imxrt系列bsp包的支持,修改前的dist命令生成的工程缺少了Libraries。
2019-08-08 08:34:27 +08:00
yangjie 17fa3d538c [bsp][stm32]修改stm32 bsp 制作教程中 link.icf 图片的错误信息 2019-08-07 14:46:33 +08:00
MurphyZhao e3a0773520 [bsp][stm32] fix drv_pwm.c device register usefault
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-08-07 14:30:15 +08:00
MurphyZhao 1f842df9ce [bsp][stm32] remove C99 feature
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-08-07 14:24:09 +08:00
EvalZero baac77c8c2 [bsp][qemu-vexpress-a9][stm32l475-atk-pandora]add audio driver copyright file header. 2019-08-07 14:03:18 +08:00
MurphyZhao 891823521a [bsp][stm32] fix RT_ASSERT location error
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-08-06 18:00:57 +08:00
EvalZero 4e8278fa7e [bsp][stm32][stm32l475-atk-pandora]add stm32l475-atk-pandora audio device drivers. 2019-08-06 16:52:52 +08:00
EvalZero 559e297e4b [bsp][qemu-vexpress-a9]update qemu-vexpress-a9 audio device drivers. 2019-08-06 15:01:23 +08:00
EvalZero f79a694b97 [bsp][x1000]disable x1000 audio driver 2019-08-06 14:44:38 +08:00
Bernard Xiong 87267b41bc
Merge pull request #2916 from enkiller/w60x
[bsp][w60x] 更新驱动,添加加解密及配网功能,增强稳定性。
2019-08-05 08:35:23 +08:00
armink 2150439a73 [bsp/stm32] Update the eclipse project. 2019-08-03 15:56:18 +08:00
tangyuxin 08656c3034 [bsp][w60x] 更新驱动,添加加解密及配网功能,增强稳定性。
1. 新增 crypto, onchip_Flash, soft_i2c 驱动
2. 新增 oneshot 配网功能
3. 完善 I2C, UART, SPI, WIFI 等基本驱动
4. 更新 Kconfig 配置,用户交互更加友好
5. 屏蔽 末尾 80 内存,无法作为栈使用。
2019-08-03 10:52:37 +08:00
tyustli a08f767a42 fix 429 uart2/3 hardware init and add can1 2019-08-02 10:42:37 +08:00
Wu Han 2f95667af1 [bsp][stm32f103-yf-ufun] Add SDIO support 2019-07-30 21:41:10 +08:00
Bernard Xiong cfd54c76b6 [BSP][QEMU-VExress] fix the automac issue under rtthread-apps 2019-07-30 15:11:03 +08:00
Bernard Xiong ba084c5b5b
Merge pull request #2907 from yangjie11/stm32Kconfig
[bsp][stm32/templates]简化stm32模板下的Kconfig,增加Kconfig参考模板
2019-07-30 13:11:03 +08:00
Chinese66 6f7749bb07 添加f1的usbd驱动 2019-07-29 21:37:35 +08:00
yangjie 011f62a53a [bsp][stm32/templates]简化stm32模板下的Kconfig,增加Kconfig参考模板 2019-07-29 14:02:24 +08:00
yangjie 30491ddd73 [bsp][stm32]修改drv_spi.c中的tab为空格 2019-07-27 18:11:46 +08:00
yangjie 66abaa3818 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into dma 2019-07-27 18:08:11 +08:00
tyustli 2cb74f92fb add stm32 l475 pwm2 channel3、4 driver 2019-07-26 11:08:58 +08:00
Bernard Xiong be88330f86
Merge pull request #2884 from balanceTWK/master_wdt
[update][bsp][stm32] drv_wdt.c
2019-07-26 05:59:09 +08:00
Bernard Xiong cadc95d5db
Merge pull request #2893 from tyustli/gd32
add gd32vf103v-eval bsp
2019-07-26 05:58:39 +08:00
tyustli 1adf9d4a52 add gd32vf103v-eval bsp 2019-07-24 19:25:39 +08:00
tyustli 75efc6d94f ss 2019-07-24 17:33:31 +08:00
tyustli 3ba754b69e second 2019-07-24 17:32:24 +08:00
tyustli 12f2c34d83 first version 2019-07-24 17:31:26 +08:00
tyustli 49e9d19c82 first version 2019-07-24 17:03:26 +08:00
yangjie 31197c891d [bsp][stm32/libraries]各个系列默认添加库文件stm32xxxx_hal_gpio.c
[bsp][stm32/libraries]修改各个系列下的sconscript文件,默认添加 stm32xxxx_hal_gpio.c
2019-07-24 15:22:41 +08:00
yangjie 584cabe035 [bsp][stm32/drv_common.c]修复在关闭UART设备框架时,编译报错 2019-07-23 19:20:19 +08:00
yangjie c794ac0255 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into dma 2019-07-23 11:00:49 +08:00
Bernard Xiong c94cac2e27
Merge pull request #2887 from jesven/master
修正qemu-vexpress-a9系统心跳不准的问题
2019-07-23 10:17:19 +08:00
shaojinchun 7f03e71e3a 修正qemu-vexpress-a9系统心跳不准的问题 2019-07-23 08:42:17 +08:00
tangweikang a509186e97 [update][bsp][stm32] drv_wdt.c 2019-07-22 09:15:25 +08:00
Bernard Xiong 9ce43c5d58
Merge pull request #2879 from Ingenic-community/X1000_lds
X1000: x1000_ram.lds: 修复调试时崩溃的问题/Fix crash when debugging.
2019-07-21 17:51:36 +08:00
Zhou Yanjie b6e8269cd6 X1000: x1000_ram.lds: 更新版权信息/Update copyright information.
更新版权信息。

Update copyright information.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-21 15:39:25 +08:00
Zhou Yanjie c042427664 X1000: x1000_ram.lds: 修复调试时崩溃的问题/Fix crash when debugging.
当ELF文件包含很多gnu_extab*开头的section时(>100),会导致GDB在加载操作
时崩溃。通过创建一个section来对以该名称开头的所有section进行分组可以
解决该问题。

When ELF contains many sectios(>100) starting with name gnu_extab*,
will causing GDB to crash on load action. Solving the problem by
creating a section to group all sections which begin with that name.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-21 15:39:13 +08:00
Bernard Xiong 7d89aa7b2b
Merge pull request #2878 from Ingenic-community/X1000_board
X1000: board_io.c: 根据配置进行复位/Reset according to configuration.
2019-07-20 14:41:31 +08:00
Bernard Xiong 0f37018026
Merge pull request #2874 from Ingenic-community/mips
libcpu: MIPS: 清理代码并更新版权信息/Clean up code and update copyright information.
2019-07-20 14:03:34 +08:00
Bernard Xiong 367c5abeeb
Merge pull request #2876 from Ingenic-community/X1000
X1000: drv_mmc.c: 修复DMA中的问题/Fix bug in DMA.
2019-07-20 13:58:40 +08:00
Zhou Yanjie 24176e9571 X1000: board_io.c: 添加版权信息/Add copyright information.
添加版权信息。

Add copyright information.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-20 13:42:56 +08:00
Zhou Yanjie f5fb8ddff6 X1000: board_io.c: 根据配置进行复位/Reset according to configuration.
根据配置选择是否对LCD或触摸屏进行复位,在未使用LCD或触摸屏时可缩短
系统初始化时间。

Select whether to reset the LCD or touchpad according to the
configuration, and shorten the system initialization time
when the LCD or touchpad is not used.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-20 13:39:51 +08:00
Zhou Yanjie b9e8f7dfda X1000: drv_mmc.c: 更新版权信息/Update copyright information.
更新版权信息。

Update copyright information.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:38:38 +08:00
Zhou Yanjie 41dac3e44e X1000: drv_mmc.c: 修复DMA中的问题/Fix bug in DMA.
修复MMC DMA破坏中断向量内存位置的问题,因为这里没有其他链接描述符。
在程序较小时该问题不容易出现,因为此时中断向量保留在缓存中。

Fix for MMC DMA corrupting interrupt vectors' memory location since
there is no other link descriptor. This is not noticeable if the
program is small, because the interrupt vectors stay in cache.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:38:18 +08:00
Zhou Yanjie d6b2f56f15 libcpu: MIPS: 清理代码/Clean up code.
清理内容重复的头文件。

Clean up duplicate header files.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:00:34 +08:00
Bernard Xiong c352c2be63
Merge pull request #2844 from ErnestChen1/drv_crypto
[drivers][crypto]add device CRC/RNG
2019-07-19 19:29:48 +08:00
armink 60e32cb61e [bsp/simulator] Fix project generate configuration. 2019-07-19 16:14:02 +08:00
yangjie 85ab390750 [bsp][stm32f091]mian函数添加LED指示灯闪烁 2019-07-19 15:03:12 +08:00
yangjie cca033fd6f [bsp][stm32f091]CubeMX使能SPI1,修复直接在env中打开SPI1外设报错 2019-07-19 15:02:17 +08:00
yangjie 35cd668cf7 [bsp][stm32/libraries/HAL_Drivers] F0 系列支持SPI,并修复DMA中断函数重复定义 2019-07-19 14:59:21 +08:00
yaomo718 8ee8328ab0 修正了dist命令对imxrt系列bsp包的支持,修改前的dist命令生成的工程缺少了Libraries。 2019-07-19 01:15:06 +08:00
Ernest 9058fb2684 [bsp][stm32][kconfig] rename quote kconfig 2019-07-18 11:48:10 +08:00
Ernest b4afc7748d [bsp][stm32][unite] input format by bytes 2019-07-18 10:28:14 +08:00
Ernest 7b7443bb7b [bsp][stm32][prefect] avoid a bug from HAL 2019-07-18 10:28:13 +08:00
Ernest 3211ae2c16 [bsp][stm32][prefect] crypto configure and solve a problem 2019-07-18 10:28:13 +08:00
Ernest a962fb3532 [bsp][stm32]add source kconfig by batch 2019-07-18 10:28:12 +08:00
Ernest 1f114ec22f [bsp][stm32]upgrade menuconfig about crypto 2019-07-18 10:27:27 +08:00
Ernest 2aaa7d066d [drivers][crypto]add device CRC/RNG 2019-07-18 10:26:31 +08:00
Bernard Xiong 8f4b4bdbcd
Merge pull request #2857 from whj4674672/master
[bsp][stm32h743-atk-apollo] add iwg
2019-07-17 21:10:22 +08:00
Wu Han a9c46656a2 [bsp][stm32f103-mini-system] Add SWD debug support 2019-07-15 22:43:52 +08:00
whj4674672 aeecc1b6aa [bsp][stm32h743-atk-apollo] add iwg 2019-07-14 16:36:13 +08:00
Bernard Xiong fe556e6332
Merge pull request #2847 from balanceTWK/master_wdt
[bsp][stm32] update drv_wdt.c
2019-07-12 19:03:52 +08:00
tangweikang 7cca808705 [bsp][stm32] update drv_wdt.c 2019-07-12 15:50:01 +08:00
Ernest 333f423a20 [bsp][stm32][update]RT_USING_SMALL_MEM 2019-07-10 11:55:57 +08:00
Ernest 61c94a3a31 [bsp][stm32][add] stm32f0xx_hal_crc_ex.c for avoiding crc error 2019-07-10 11:51:21 +08:00
SummerGift d419bc00b4 Merge branch 'master_617' into master710 2019-07-10 10:07:07 +08:00
SummerGift 5e937b118c [bsp][nrf52832] Update the project to make it compile properly 2019-07-10 09:27:06 +08:00
Bernard Xiong 6483abbcdf
Merge pull request #2786 from xfwangqiang/master
[BSP][NXP]MIMXRT1064-EVK
2019-07-06 21:48:14 +08:00
wangqiang bd55bf7d47 1. 删除了多余的文件
2. 修改README.md中错误的描述
2019-07-05 21:07:12 +08:00
Bernard Xiong 0714dffc46
Merge pull request #2821 from willianchanlovegithub/dofly
[bsp][stm32][f103-dofly-m3s]Add support for nRF24L01 extension module
2019-07-05 17:29:49 +08:00
wangqiang f31aa18299 1. 修改了MIMXRT1064EVK-TOP.jpg的位置
2. 去掉了一些不用的文件
3. 修复了board下SConscript脚本中不合理的地方
2019-07-05 15:03:08 +08:00
wangqiang 3a78439066 去掉了多余的宏定义 2019-07-05 13:50:43 +08:00
wangqiang d93fdb1ea8 Board.c增加了DMA初始化相关设置 2019-07-05 13:49:03 +08:00
wangqiang 09d18dccf6 去掉DSP_Lib,暂时不用 2019-07-05 13:39:22 +08:00
yangjie 5a6204d960 [bsp][es32f0 334/654] 修改会在AC6下编译报错的函数 2019-07-05 09:55:34 +08:00
mulan 611886e709
Update tim_config.h 2019-07-04 12:50:44 +08:00
Bernard Xiong c578016f92
Merge pull request #2822 from willianchanlovegithub/PANDORA
[bsp][stm32][l475-atk-pandora]Add support for nRF24L01 extension module
2019-07-03 09:16:09 +08:00
Willian Chan 0f849fa0ba Fix Kconfig
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-30 10:14:46 +08:00
Willian Chan 96468b5d0e Revert Kconfig
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-30 10:10:18 +08:00
Willian Chan c55f788077 [bsp][stm32][l475-atk-pandora]Modify README.md
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-29 18:45:17 +08:00
Willian Chan 639f46363f [bsp][stm32][l475-atk-pandora]Add support for nRF24L01 extension module 2019-06-29 18:39:59 +08:00
Willian Chan a3c84f50ce [bsp][stm32][f103-dofly-m3s]Modify README.md 2019-06-29 18:31:55 +08:00
Willian Chan 130d330300 [bsp][stm32][f103-dofly-m3s]Add support for nRF24L01 extension module
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-29 18:24:28 +08:00
SummerGift b9a7563668 【修改】更新 F4 系列固件库到 1.24.1 版本 2019-06-29 10:47:13 +08:00
Bernard Xiong 5db17e543c
Merge pull request #2805 from ylz0923/can_pr
[bsp][stm32][libraries][HAL_Drivers] update drv_can.c
2019-06-28 16:06:47 +08:00
misonyo a1a3cf5f32 [bsp/imxrt]add can driver 2019-06-28 14:02:20 +08:00
杨连钊 b1f4e192ad [drv_can.c]fix 3 warings 2019-06-28 10:57:37 +08:00
Bernard Xiong 0412fec56e
Merge pull request #2815 from luhuadong/develop
stm32f767-st-nucleo BSP 添加以太网驱动支持
2019-06-28 09:15:59 +08:00
luhuadong 97d8f14aeb 调整缩进 2019-06-27 17:14:03 +08:00
Bernard Xiong cc2d54ff9f
Merge pull request #2781 from jinsheng20/Timer
增加基础定时器驱动
2019-06-27 15:47:17 +08:00
luhuadong 72fd4f0427 stm32f767-st-nucleo BSP 添加以太网驱动支持 2019-06-27 15:21:17 +08:00
Bernard Xiong ef6a4aee91
Merge pull request #2812 from lymzzyh/stm32simulator
[bsp][stm32] fix mdk simulator
2019-06-26 18:34:29 +08:00
ZYH 8fd800fea3 [bsp][stm32] fix mdk simulator 2019-06-26 14:32:30 +08:00
balanceTWK 2460efabaf [bsp][stm32] drv_wdt.c | 完善日志输出 2019-06-25 22:18:26 +08:00
tangweikang fae9518185 [bsp][stm32] drv_wdt.c | 完善 stm32 看门狗驱动 2019-06-25 20:26:35 +08:00
chenyong dfa22ae292 [BSP] Update BSP configuration file for IPV6 feature changes 2019-06-24 17:51:31 +08:00
杨连钊 9e74077928 [bsp][stm32][libraries][HAL_Drivers] update drv_can.c
adapt to new HAL_lib
2019-06-24 13:06:26 +08:00
wangqiang 68374821d5 修改了BSP包中不合理的地方和不符合RTThread规范的地方 2019-06-23 12:01:01 +08:00
Bernard Xiong c574c49b2f
Merge pull request #2800 from misonyo/rttdev
[bsp/stm32]add stm32f2xx template
2019-06-21 14:47:12 +08:00
Bernard Xiong efab8a25c3
Merge pull request #2797 from armink/fix_eclipse
Fix eclipse
2019-06-19 12:04:52 +08:00
armink c180c1865f [bsp/stm32/stm32l475-atk-pandora] Add eclipse project. 2019-06-19 10:44:48 +08:00
Bernard Xiong d855d381ae
Merge pull request #2791 from balanceTWK/gpio_pr
[bsp][stm32] fix drv_gpio.c 直接将特殊引脚删除,不再作为 pin 设备
2019-06-19 10:01:42 +08:00
armink b4bf6e7652 [bsp/stm32/stm32f767-atk-apollo] Add eclipse project. 2019-06-19 09:14:03 +08:00
armink 7090503f58 [bsp/stm32/stm32f429-fire-challenger] Add eclipse project. 2019-06-19 09:13:33 +08:00
armink 7c41df1157 [bsp/stm32/stm32f429-atk-apollo] Add eclipse project. 2019-06-19 09:13:12 +08:00
armink 71eb4b6022 [bsp/stm32/stm32f407-atk-explorer] Add eclipse project. 2019-06-19 09:12:50 +08:00
armink e4e3c18fce [bsp/stm32/stm32f401-st-nucleo] Add eclipse project. 2019-06-19 09:12:11 +08:00
tangweikang eef4afe9fb [update][bsp][stm32] drv_gpio.c 2019-06-19 08:46:09 +08:00
misonyo aae6274ef1 [bsp/stm32]add stm32f2xx template 2019-06-18 18:26:49 +08:00
tangweikang de4336420a [update] drv_gpio.c 2019-06-18 16:34:21 +08:00
tangweikang c4c58a0ead [add] stm32 SDIO_MAX_FREQ option.If not defined, the default minimum value is 1000000 . 2019-06-18 16:14:21 +08:00
Bernard Xiong abba1ddaf5
Merge pull request #2782 from willianchanlovegithub/mm32l3xx
[bsp][mm32l3xx]Fix compilation errors
2019-06-18 10:25:15 +08:00
wangqiang 8e2900833e 删除了一些不用的文件 2019-06-17 19:04:19 +08:00
wangqiang 1bb146f18d 测试了imxrt1064-nxp-evk 2019-06-17 18:53:34 +08:00
wangqiang dcae59536c 增加了imxrt1064-nxp-evk的BSP 2019-06-17 18:04:50 +08:00
Willian Chan 74cfa9e5fb [bsp][mm32l3xx]Fix the error-reporting problem when using the "sconds--dist" command.
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-17 15:24:49 +08:00
Willian Chan 2599bc238f [bsp][mm32l3xx]Fix compilation errors
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-17 14:41:10 +08:00
jinsheng f94ffe28e1 增加基础定时器驱动 2019-06-17 09:53:19 +08:00
zhangjun1996 c4b527a738 Merge branch 'master' of https://github.com/rt-thread/rt-thread 2019-06-17 02:48:01 +08:00
zhangjun1996 778199f876 如果开启了RT_CAN_USING_HDR,则提示该驱动不支持硬件过滤器,请取消RT_CAN_USING_HDR。 2019-06-17 02:46:36 +08:00
Bernard Xiong a6a01da3be
Merge pull request #2779 from willianchanlovegithub/469
[bsp][stm32][f469-disco]Fix the BUG of SD card hot plug detection
2019-06-15 18:13:30 +08:00
zhangjun1996 3e7580dc7d 重新配置CAN之前,关闭CAN,配置完再打开。 2019-06-15 18:08:00 +08:00
zhangjun1996 2fc56f4ff4 头文件缩进 2019-06-15 14:05:28 +08:00
zhangjun1996 537c2376f9 1,修复由于stm32系列的hal库升级导致stm32f1和stm32f4平台的can驱动编译错误
2,关闭components/drivers/Kconfig中默认打开的can硬件滤波器选项
3,为了让can波特率设置匹配stm32f429的时钟,给stm32f429增加波特率表
4,以上修复在stm32f103-fire-arbitrary,stm32f407-atk-explorer,stm32f429-atk-apollo三个bsp中测试通过
2019-06-15 11:52:11 +08:00
Willian Chan 6e7baa7fd5 [bsp][stm32][f469-disco]Fix the BUG of SD card hot plug detection
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-15 09:52:54 +08:00
Bernard Xiong fa678321f3
Update README.md 2019-06-15 08:26:57 +08:00
Bernard Xiong 0d717a48d3
Merge pull request #2760 from HubertXie/master
[bsp][stm32]修复RTC选用LSI时不工作问题
2019-06-13 22:52:11 +08:00
Bernard Xiong fa59d1f0db
Merge pull request #2774 from lhxzui/lhxzui_rtt
1. Add bsp stm32f103-gizwits-gokitv21.
2019-06-13 19:40:12 +08:00
Bernard Xiong f233a73c36
Merge pull request #2772 from misonyo/rttdev
[bsp/nxp] add new imxrt series
2019-06-13 17:07:46 +08:00
lhxzui 2b710c0aec 1. Add bsp stm32f103-gizwits-gokitv21.
2. Solve display error code in README opened in markdown mode.
2019-06-13 15:34:03 +08:00
misonyo 745c3ca843 [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
Bernard Xiong 191cea14c2
Merge pull request #2770 from willianchanlovegithub/469
[bsp][stm32][f469-disco]Add SD card hot plug detection
2019-06-12 16:40:34 +08:00
Willian Chan d4ad48d893 [bsp][stm32][f469-disco]Add "static" to some APIs.
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-12 15:03:08 +08:00
Willian Chan 14c5926ff7 [bsp][stm32][f469-disco]Change some API's name
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-12 14:12:58 +08:00
Willian Chan 33febada5c [bsp][stm32][f469-disco]Add SD card hot plug detection
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-06-12 09:52:01 +08:00
Bernard Xiong bcf77abad6
Merge pull request #2762 from SummerGGift/phy_check
[stm32][driver] Fix the problems of PHY status examination mentioned in issue #2756
2019-06-12 06:27:46 +08:00
Bernard Xiong b04a0f75b2
Merge pull request #2763 from Zero-Free/master
[bsp][nrf52832]add nRF5_SDK softdevice hex file,fix #2748 issue
2019-06-10 22:02:33 +08:00
SummerGift 6a9fb353f7 【修改】HAL_ETH_RxCpltCallback 提示等级由 error 修改为 info,因为这是一个非致命的问题 2019-06-10 17:53:49 +08:00