Commit Graph

8737 Commits

Author SHA1 Message Date
senduo 350947b190
修改at_socket.c文件中的sendto函数,len局部变量没有给初始值
len值如果不给初始值0,到最后__exit的时候,result = len会导致result的值变成一个不可预估的值,进而导致mbedtls库的while循环无法正常结束,其中mebedtls中发生异常的地方在ssl_tls.c文件中的mbedtls_ssl_flush_output函数while( ssl->out_left > 0 ),因为out_left 是一个无符号整型,退出的条件只能是 out_left = 0,又因为这里面的len没有给初始值0,返回出来的值是一个很大的整型数字,导致了mbedtls中的死循环
2019-07-26 18:33:33 +08:00
Bernard Xiong 767ea2ab74
Merge pull request #2896 from tyustli/l475
add stm32 l475 pwm2 channel3、4 driver
2019-07-26 14:13:58 +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
Bernard Xiong 531f07172b
Merge pull request #2895 from Lawlieta/develop
[net][sal] Fix not clean event issue after poll get the error event in lwIP
2019-07-26 05:57:19 +08:00
Bernard Xiong 20130d19b5
Merge pull request #2894 from enkiller/wlan
[components][drivers][wlan] 自动连接周期可配置,可指定扫描通道
2019-07-25 18:52:16 +08:00
chenyong 232019e8d1 [net][sal] Fix not clean event issue after poll get the error event in lwIP.
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-25 11:20:40 +08:00
tangyuxin 6fbc7494b8 [components][drivers][wlan] 自动连接周期可配置,可指定扫描通道 2019-07-25 10:30:54 +08:00
Bernard Xiong 7278bcb5f2
Merge pull request #2851 from armink/add_guiconfig
[tools] add menuconfig GUI by python.
2019-07-25 00:59:43 +08:00
Bernard Xiong 688ad7dc63
Merge pull request #2892 from yangjie11/dev_cut_fix
[bsp][stm32/libraries]修复在关闭GPIO device drivers时的报错
2019-07-25 00:57:58 +08:00
tyustli 1adf9d4a52 add gd32vf103v-eval bsp 2019-07-24 19:25:39 +08:00
armink 1b3358a966 [tools] Replace the old pyconfig to guiconfig. 2019-07-24 18:30:44 +08:00
armink 82662d2524 [tools] add silent mode to guiconfig. 2019-07-24 18:09:21 +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
Bernard Xiong bfd28d4beb
Merge pull request #2889 from SummerGGift/master710
[components][serial] 去除串口 DMA 中无法触发的代码判断
2019-07-23 20:29:37 +08:00
Bernard Xiong eafdc5819b
Merge pull request #2890 from yangjie11/dev_cut_fix
[bsp][stm32/drv_common.c]修复在关闭UART设备框架时,编译报错
2019-07-23 20:27:01 +08:00
yangjie 584cabe035 [bsp][stm32/drv_common.c]修复在关闭UART设备框架时,编译报错 2019-07-23 19:20:19 +08:00
SummerGift 0cfcb906d5 【完善】去除串口 dma 中无法触发的代码判断 2019-07-23 16:16:12 +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 423544d1c3
Merge pull request #2873 from Ingenic-community/master
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
2019-07-21 12:10:12 +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 789fb4a938
Merge pull request #2875 from Ingenic-community/mmc
sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation overflow.
2019-07-20 14:01:42 +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 de69a9b500 sdio: mmc.c: 修复缩进/Fix indentation.
修复版权信息中的缩进格式。

Fix indentation in copyright information.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Zhou Yanjie 976ea24112 sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation overflow.
修改“mmc_parse_ext_csd”函数,防止容量计算过程溢出。

Modify the "mmc_parse_ext_csd" function to prevent the capacity
calculation process from overflowing.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Zhou Yanjie d45efced1c libcpu: MIPS: 更新版权信息/Update copyright information.
更新版权信息。

Update copyright information.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:05:00 +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
Bernard Xiong badac5175e
Merge pull request #2870 from armink/fix_shell
[finsh] Fix the compile error when only using msh mode on x86_64 plat…
2019-07-19 19:13:18 +08:00
Bernard Xiong dbbc1aa2eb
Merge pull request #2872 from armink/fix_simulator
[bsp/simulator] Fix project generate configuration.
2019-07-19 19:12:36 +08:00
armink 60e32cb61e [bsp/simulator] Fix project generate configuration. 2019-07-19 16:14:02 +08:00
Zhou Yanjie 3c9375181d usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
在第375行中,“uint8_t *data,”应改为“rt_uint8_t *data,”。

In line 375, "uint8_t *data," should be changed to "rt_uint8_t *data,".

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 16:03:57 +08:00
armink c33299ab93 [finsh] Fix the compile error when only using msh mode on x86_64 platform. 2019-07-19 15:44:36 +08:00
yangjie 85ab390750 [bsp][stm32f091]mian函数添加LED指示灯闪烁 2019-07-19 15:03:12 +08:00