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
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
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