Commit Graph

8756 Commits

Author SHA1 Message Date
Bernard Xiong 4d63839024
Merge pull request #3092 from liu2guang/finsh_update_dev
[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input leng…
2019-09-21 07:54:54 +08:00
流光 dfd9fa4d9d [修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input length exceeding 256 bytes 2019-09-20 14:48:01 +08:00
Bernard Xiong 3ada5c81d5
Merge pull request #3090 from Guozhanxin/usb_uac
添加 USB Audio Class
2019-09-20 06:30:33 +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 0a42780edb
Merge pull request #3089 from enkiller/pr1
[libcpu][arm] 修复因提前返回,导致sp指针不对称问题
2019-09-20 06:26:58 +08:00
Bernard Xiong 71346926c4
Merge pull request #3078 from enkiller/pr
[kernel][ipc] add send wait support for message queue
2019-09-20 06:26:27 +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
guozhanxin 711ce4a0ea [usbd] Fixed Windows first recording failure.|修复windows下第一次录音失败的问题。
windows下第一次录放音失败的原因是:第一录放音时 windows 会先连续发送开始、结束检测设备,然后才正式开始。线程来不及处理两次开始事件不会累积,最后导致直接结束,
2019-09-19 23:12:24 +08:00
Bernard Xiong dc5943d573
Merge pull request #3081 from gbcwbz/atk-f767-lcd
[bsp][stm32][stm32f767-atk-apollo] Add LCD driver port
2019-09-19 22:42:12 +08:00
guozhanxin 98b1956937 [usbd] Add usb audio class. 2019-09-19 21:01:25 +08:00
guozhanxin cde81a296d [usbd] Fixed an error where change the interface did not call handler.|修正了改变接口不调用回调的问题 2019-09-19 20:58:58 +08:00
tangyuxin 8316646b85 [libcpu][arm] 修复因提前返回,导致sp指针不对称问题 2019-09-19 18:27:07 +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
tangyuxin e4671d2916 [kernel][ipc] add send wait support for message queue 2019-09-19 10:10:02 +08:00
tyustli e3ba233dc0 add stm32h743-st-nucleo bsp 2019-09-18 10:11:13 +08:00
Bernard Xiong ae7a33c27c
Merge pull request #3077 from jesven/fix_mempool
修正rt_mp_free有可能唤醒一个错误任务指针的问题
2019-09-17 14:11:14 +08:00
gbcwbz b789721307 [bsp][stm32][stm32f767-atk-apollo] Add LCD driver port 2019-09-17 13:59:14 +08:00
shaojinchun 770cc2ffeb 修改mempool使用rt_list_for_each宏进行遍历 2019-09-17 11:02:34 +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
shaojinchun ae1fdc70f0 修正rt_mp_free有可能唤醒一个错误任务指针的问题 2019-09-16 16:55:40 +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 cb40e60273
Merge pull request #3072 from liruncong/EnvPath
[tools]修正外部环境变量未引入Env Path,导致自定义Builder的action参数使用python函数时,无法找到外部程序的问题
2019-09-16 08:49:30 +08:00
Bernard Xiong 1b2a1263df
Merge pull request #3075 from liruncong/libc
[components/libc/compilers]c++文件引用libc.h支持
2019-09-16 08:47:49 +08:00
liruncong 408bb22af6 [components/libc/compilers]撤销由VS编辑器在键入}后自动引起的缩进 2019-09-15 11:47:11 +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
Bernard Xiong 6e0369b1fe
Merge pull request #3065 from balanceTWK/master_HEAP_BEGIN
[bsp][stm32] fix : #define HEAP_BEGIN
2019-09-15 09:34:57 +08:00
Bernard Xiong 00c2e46d5b
Merge pull request #3067 from Lawlieta/develop
[net][netdev] fix IMEI spell mistake in ifconfig command
2019-09-15 09:34:25 +08:00
Bernard Xiong f827df0e51
Merge pull request #3073 from liruncong/armclang
[tools]armclang库文件编译支持
2019-09-15 09:32:26 +08:00
Bernard Xiong d7addb66e0
Merge pull request #3074 from liruncong/utest
[components/utilities/utest]修正无测试用例时,执行utest_run时跑飞问题. utest_init增加__…
2019-09-15 09:31:24 +08:00
liruncong d76d30cf50 [components/libc/compilers]c++文件引用libc.h支持 2019-09-14 22:52:06 +08:00
liruncong 7953cdfae3 [components/utilities/utest]修正无测试用例时,执行utest_run时跑飞问题. utest_init增加__CLANG_ARM编译开关判断 2019-09-14 22:44:44 +08:00
liruncong ca67b4d18e [tools]armclang库文件编译支持 2019-09-14 22:36:19 +08:00
liruncong 4bb76f3410 [tools]修正外部环境变量未引入Env Path,导致自定义Builder的action参数使用python函数时,无法找到外部程序的问题 2019-09-14 22:21:51 +08:00
xiaofan 8be42fdf2f Fix STM32L0 Series Interrupt BUG
Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-13 02:13:51 +08:00
Bernard Xiong 109576c86a
Merge pull request #3068 from Guozhanxin/usb_fix
[usb device] 修复多备用设备的接口不能正常枚举的问题。
2019-09-12 23:17:43 +08:00
guozhanxin 59dfbb1266 [usb device] Fix the problem of multiple altsetting of interface failing to properly enumerate.
修复多备用设备的接口不能正常枚举的问题。
2019-09-12 18:04:44 +08:00
chenyong 438d17e27b [net][netdev] fix IMEI spell mistake in ifconfig command
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-12 14:34:54 +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
Bernard Xiong 900cc4b13b
Merge pull request #3052 from Lawlieta/develop
[net] Remove libc select in SAL and AT Socket function
2019-09-12 08:42:51 +08:00