Commit Graph

9234 Commits

Author SHA1 Message Date
Fanming 7e9d54d87a [drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function. 2019-12-17 17:46:43 +08:00
Bernard Xiong 457759ded7 [Util] fix the dependence of file feature in ymodem 2019-12-17 13:38:49 +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 75a3f3dd3a
Merge pull request #3265 from BernardXiong/comments_cleanup
[kernel] code and comments cleanup
2019-12-17 07:54:51 +08:00
Bernard Xiong b9052a52e7
Merge pull request #3264 from Steven-LiuSF/ymodem
[components]: utilities: ymodem: Add ymodem send protocol and ry_sy application.
2019-12-17 07:35:53 +08:00
Bernard Xiong 992d3af3ae [kernel] code and comments cleanup 2019-12-16 13:59:46 +08:00
Steven Liu 3c5f46468c [components]: utilities: ymodem: Add ry_sy function.
Use "ry" to receive files and use "sy file_path" to
send files. Default console uart and you can choose
any other uart if you want.

Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
2019-12-13 11:49:53 +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
Bernard Xiong 4b27738264
Merge pull request #3260 from HubertXie/master
[bsp][stm32] fix the hardware timer issue
2019-12-13 07:17:27 +08:00
HubretXie ad397a63a8
[bsp][stm32]修复硬件定时器bug 2019-12-12 14:56:40 +08:00
HubretXie aa52a30b82
Merge pull request #9 from RT-Thread/master
sync
2019-12-12 14:54:04 +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
Jiaxun Yang 9ef986929c [libcpu] mips: Merge loongson_1 into gs232
Previously Loongson 1B and Loongson 1C have their own libcpu
implemention, but they're almost identical. So we merge them
into gs232 and adapt to new common code.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:24:42 +08:00
Jiaxun Yang 7c66501861 [libcpu] Refine MIPS common code
MIPS common code was highly duplicated, This commit
is a attempt to clean-up and refine these code.

The context and exception handle flow is mostly identical
with Linux, but a notable difference is that when FPU enabled,
we save FP registers in stackframe unconditionally.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:24:04 +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 b1399d2f37
Merge pull request #3255 from BernardXiong/bsp_x1000
[BSP] move libcpu/mips/x1000 to bsp/x1000/cpu
2019-12-11 12:02:59 +08:00
Bernard Xiong a972fcc0b5 [BSP] move libcpu/mips/x1000 to bsp/x1000/cpu 2019-12-11 11:01:40 +08:00
Bernard Xiong ea507e2e81
Merge pull request #3232 from balanceTWK/sfud_temp
[components][sfud] update sfud options.
2019-12-11 08:30:29 +08:00
Bernard Xiong 4d9bc92885
Update SConscript 2019-12-11 08:23:09 +08:00
Bernard Xiong 85ad44479c
Merge pull request #3254 from a1012112796/writing/zzc/add_sdio
[BSP/stm32f427-robomaster-a] add SD card suport
2019-12-11 08:19:28 +08:00
a1012112796 316d2e8847 [BSP/stm32f427-robomaster-a] add SD card suport 2019-12-10 23:04:25 +08:00
Bernard Xiong 3dcc7a6487
Merge pull request #3253 from armink/fix_eclipse
[tools] remove unused path when using scons target eclipse.
2019-12-10 20:58:55 +08:00
armink 9aa3b58bae [tools] remove unused path when using scons target eclipse. 2019-12-10 16:40:17 +08:00
Bernard Xiong 500b5498d0
Merge pull request #3213 from liweihao-cn/master
增加音频设备驱动
2019-12-09 11:54:56 +08:00
Bernard Xiong cd50a40fa8
Merge pull request #3238 from qiyongzhong0/stm32_HAL_Drivers
修改stm32驱动库
2019-12-09 00:02:39 +08:00
Bernard Xiong 8e7be2e7c0
Merge pull request #3247 from jsplyy/fix_spelling_mistake
fix spelling mistake in the comments of shell.c
2019-12-08 13:38:41 +08:00
Jingsai Lu cd1ff2ab0d fix spelling mistake in the comments of shell.c 2019-12-07 13:47:03 +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
tangweikang 15b10bd5e2 [components][sfud] update sfud options. 2019-12-03 16:45:46 +08:00
Bernard Xiong 0dc7da688f
Merge pull request #3227 from armink/fix_drivers
[bsp/stm32] Add DMAMUX support for stm32l4+.
2019-12-01 21:54:45 +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
Bernard Xiong 4b40c8096d
Merge pull request #3226 from armink/fix_eclipse
Fix eclipse
2019-11-28 21:12:05 +08:00
armink 470372c5be [tools] update eclipse target for refreshScope support. 2019-11-28 18:34:22 +08:00
armink b91ba1894a [tools] Update eclipse target for excluding. 2019-11-28 17:54:44 +08:00
HubretXie 7f56898fad
Update drv_gpio.c
增加GPIO中断进入退出保护
2019-11-27 14:08:42 +08:00
Bernard Xiong 6b5af71e62
Merge pull request #3223 from greedyhao/master
[bsp/stm32] Update uart_config.h
2019-11-27 14:04:31 +08:00
Bernard Xiong 2eaf1fae2e
Merge pull request #3222 from HubertXie/master
【修复】修复sal判断internet连接的隐藏bug
2019-11-26 15:31:20 +08:00
greedyhao fb3e2764e6 Update uart_config.h 2019-11-26 10:52:00 +08:00
HubretXie 3c2bfa2349
【修复bug】修复sal判断internet连接的隐藏bug
1、当前判断网卡是否连接Internet是通过连接rtt-thread的服务器来判断的,
2、这个月开始好像服务器挂了,不响应请求
3、这里超时用的2000秒,导致sys workqueue被卡死在这里了
2019-11-26 09:38:16 +08:00
HubretXie 17f7f1c7ca
Merge pull request #8 from RT-Thread/master
sync
2019-11-26 09:30:21 +08:00
Bernard Xiong e459084fe0
Merge pull request #3220 from a1012112796/writing/zzc/i2c_debug_msg
[Device/I2C] Chang debug message print way to ulog
2019-11-26 08:42:13 +08:00
a1012112796 ab981a32b5 [Device/I2C] Chang debug message print way to ulog 2019-11-26 07:41:43 +08:00
Bernard Xiong 86e61ddfc3
Merge pull request #3218 from liuduanfei/master
Fix comment errors
2019-11-24 15:49:59 +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
Bernard Xiong 55c3182b78
Merge pull request #3193 from wangk-ge/master
修改内存泄漏问题
2019-11-21 22:04:42 +08:00