chenxuuu
438397b586
fix makeimg.py wrong on linux
2020-01-09 17:05:05 +08:00
linyiyang
7e003b2214
修改相关sram名称为external sram;
2020-01-08 22:04:49 +08:00
Bernard Xiong
d0098acd88
Merge pull request #3319 from ethanDu1/bugfix_drvflashf7
...
Bugfix drvflashf7
2020-01-07 16:58:13 +08:00
ethan.du
8e4d05d7ae
modify assert and code style
2020-01-07 14:29:33 +08:00
Bernard Xiong
1f8c3e5e56
Merge pull request #3312 from xiangxistu/dev
...
[bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series but chip doesn't work
2020-01-07 08:08:38 +08:00
Bernard Xiong
6765cf7943
Merge pull request #3311 from xiangxistu/master
...
[bsp][stm32] fixed a bug that caused system crash by changing the run_mode in low power mode
2020-01-07 08:08:22 +08:00
Bernard Xiong
026dcd62d9
Merge pull request #3306 from BernardXiong/bsp_lpc55
...
[BSP] fix the lpc55 issue under Linux/GCC
2020-01-07 08:07:52 +08:00
ethan.du
8f5e1c5715
add space
2020-01-06 19:43:45 +08:00
ethan.du
6b614c05b8
modify space
2020-01-06 19:40:25 +08:00
ethan.du
516702d69e
drv_flash_f7.c support single bank mode
2020-01-06 19:24:23 +08:00
linyiyang
8b11bfd3ac
Provide more information about this SRAM
2020-01-06 19:14:35 +08:00
amy qian
3f70d44116
添加遗漏的.lib文件
2020-01-06 10:30:10 +08:00
amy qian
0ef62c7b10
删除了demo.c文件修改了main.c,相应修改了readme
2020-01-06 10:27:04 +08:00
linyiyang
75e832c65e
[bsp][stm32]add stm32f103-atk-warshipv3 sram driver
2020-01-06 09:12:45 +08:00
liuxinaliang
ead5f07c5f
[bsp][stm32] change tab into whitespace
...
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 17:59:10 +08:00
amy qian
220343ab7e
修改了readme格式
2020-01-03 17:44:00 +08:00
amy qian
f76b3f9aa0
readme修改了下格式
2020-01-03 17:30:28 +08:00
amy qian
88667374d5
修改了readme
2020-01-03 17:20:12 +08:00
amy qian
1b0b463bb2
增加Cypress PSoC6系列产品的支持
2020-01-03 16:52:07 +08:00
Karl Zhang
be4e2395ff
LPC55S69: Update the flash layout to fit RTT in NS
...
RTT fits in NS flash when enabled TF-M for secure.
Change-Id: Icfd796b7fbe8fba76f713f9d5a14bbdcb5dcd9d5
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:25 +08:00
Kevin Peng
5f4b780558
LPC55S69: Integration with TF-M
...
This patch enables TF-M running on secure side and RT-Thread running on
NS side by:
1. Updates the VTOR address
2. Remove a HW initialization which is already done in TF-M
3. Add a new project and linker script to build RTT in NS
Note:
There are no secure service calls to TF-M in this patch
Change-Id: I4023a082cfb5c8df8a4f0ecc7ffee850daaadeb4
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:24 +08:00
liuxinaliang
6ad56dfbec
[bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series but chip doesn't work
...
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 12:45:46 +08:00
liuxinaliang
4e23cb027f
[bsp][stm32] fixed a bug that caused system crash by changing the run_mode in low power mode
...
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 11:17:50 +08:00
Bernard Xiong
00338fd2ac
[BSP] fix the lpc55 issue under Linux/GCC
2020-01-02 08:17:32 +08:00
ZYH
0d0d0d37dc
[BSP][STM32][STM32F469-DISCO]fix build error with qspi
2019-12-30 23:45:14 +08:00
liuxinaliang
e473ad5606
[bsp][stm32] bsp/stm32/stm32f407-atk-explorer 增加 USB Device支持
2019-12-30 18:13:21 +08:00
tyustli
b8c13d494c
remote host config
2019-12-27 12:57:55 +08:00
Bernard Xiong
55128eda45
Merge pull request #3281 from tyustli/usb
...
[stm32] [drivers] port usb host driver to stm32 new series
2019-12-27 12:52:50 +08:00
chao_king
ae90273b68
Fix bug for drv_enet.c
...
源文件主要存在以下问题:
1> rt_hw_gd32_eth_init函数中对MAC初始化完成后并没有修改PHY的连接状态,这会导致测试TCP例程时无法建立TCP链接,应在初始化完成后将PHY的连接状态修改成linkup;
已在GD32450Z-EVAL开发板上测试,修改后没有再出现以上问题。
2019-12-26 19:03:46 +08:00
tyustli
00fa2e2d78
solve gcc build err
2019-12-26 14:10:06 +08:00
Bernard Xiong
dd23a36713
Merge pull request #3284 from BernardXiong/remove_files
...
[bsp] Remove unnecessary files.
2019-12-22 03:34:14 +08:00
Bernard Xiong
5ef1bfc878
[bsp] Remove unnecessary files.
2019-12-21 07:25:12 +08:00
a1012112796
15ceaad6e4
[BSP/stm32f427-robomaster-a] Correct RAM configuration information
2019-12-20 22:02:11 +08:00
tyustli
0135c7bd8b
port usb host driver to stm32 new series
2019-12-20 14:35:26 +08:00
Bernard Xiong
c73c349113
Merge pull request #3257 from FlyGoat/mips-refine-v1
...
MIPS Base Code Refine v1
2019-12-17 19:51:38 +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
bb9a55817c
Merge pull request #3237 from qiyongzhong0/stm32l4r5-st-nucleo
...
add stm32l4r5-st-nucleo BSP
2019-12-13 07:19:37 +08:00
HubretXie
ad397a63a8
[bsp][stm32]修复硬件定时器bug
2019-12-12 14:56:40 +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
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
a972fcc0b5
[BSP] move libcpu/mips/x1000 to bsp/x1000/cpu
2019-12-11 11:01:40 +08:00
Bernard Xiong
4d9bc92885
Update SConscript
2019-12-11 08:23:09 +08:00
a1012112796
316d2e8847
[BSP/stm32f427-robomaster-a] add SD card suport
2019-12-10 23:04:25 +08:00
Bernard Xiong
500b5498d0
Merge pull request #3213 from liweihao-cn/master
...
增加音频设备驱动
2019-12-09 11:54:56 +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
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
HubretXie
7f56898fad
Update drv_gpio.c
...
增加GPIO中断进入退出保护
2019-11-27 14:08:42 +08:00
greedyhao
fb3e2764e6
Update uart_config.h
2019-11-26 10:52:00 +08:00
a1012112796
ab981a32b5
[Device/I2C] Chang debug message print way to ulog
2019-11-26 07:41:43 +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
essemi-yuzr
04466033af
Add es32f0271 drivers
2019-11-21 11:12:51 +08:00
Bernard Xiong
26988a3d4c
Update SConscript
2019-11-21 06:57:41 +08:00
Bernard Xiong
4064a4c7bf
Update SConscript
2019-11-21 06:56:50 +08:00
liweihao
df97214957
增加音频设备驱动
2019-11-20 22:38:57 +08:00
wangyq2018
383509e220
[bsp]add bsp essemi/es8p508x.
2019-11-20 10:30:45 +08:00
Bernard Xiong
1bf5f67e8a
Merge pull request #3210 from wangyq2018/es32f0334
...
[bsp] update es32f0334.
2019-11-19 09:24:34 +08:00
wangyq2018
96fd9a5039
[bsp]1.update es32f0334 libraries.
...
2.adapt to the new power management interface.
3.move es32f0334 folder to essemi folder.
2019-11-18 10:54:38 +08:00
Bernard Xiong
c768160083
Merge pull request #3208 from greedyhao/master
...
[bsp/stm32] Update f7 HAL Lib SConscript
2019-11-17 22:15:54 +08:00
greedyhao
cc319c0181
Update SConscript
...
添加 stm32f7xx_hal_crc_ex.c,避免开启 CRC IP 的时候报错
2019-11-16 21:30:32 +08:00
a1012112796
d41b4704fc
[BSP][stm32/stm32f103-atk-warshipv3] open swd port config on stm32cubemx
2019-11-16 10:32:24 +08:00
Bernard Xiong
939e2486c3
Merge pull request #3195 from liweihao-cn/master
...
修改读写逻辑,解决i2c驱动无法读取的问题
2019-11-12 22:52:36 +08:00
Bernard Xiong
da7751c044
Merge pull request #3129 from jesven/fix_same_prio
...
修正相同优先级任务切换太频繁的问题
2019-11-12 22:47:18 +08:00
Bernard Xiong
9397419914
Merge pull request #3197 from SummerGGift/del_useless_folder_in_cmsis
...
[bsp/stm32] del useless folder in CMSIS to avoid compilation error in rt-thread IDE
2019-11-12 13:40:44 +08:00
SummerGift
457d474ac1
[bsp/stm32] del useless folder in CMSIS to avoid compilation error in rt-thread IDE
2019-11-12 10:49:27 +08:00
a1012112796
dddda42626
[BSP][stm32/stm32f427-robomaster-a] update config and readme docs
2019-11-11 23:04:40 +08:00
liweihao
a24b896443
修改读写逻辑,解决i2c驱动无法读取的问题
2019-11-11 22:46:28 +08:00
Bernard Xiong
568c272811
Merge pull request #3160 from xfan1024/stm32-ethernet-using-timer
...
STM32以太网驱动改进
2019-11-11 08:18:55 +08:00
tangweikang
2f5d269900
[stm32][doc] update STM32系列外设驱动添加指南.md
2019-11-07 14:30:35 +08:00
armink
e32c7c98a2
[bsp/stm32] update stm32 bsp eclipse project
2019-10-31 13:49:50 +08:00
guozhanxin
d687c5ff21
[bsp][stm32]update project.|更新工程。
2019-10-31 00:02:03 +08:00
guozhanxin
40d6055849
[bsp][stm32]Enable interrupt in drive.|在驱动里使能中断,不需要在cubemx里配置中断了。
2019-10-30 23:53:13 +08:00
Bernard Xiong
43a46ee716
Merge pull request #3161 from SummerGGift/master_1029
...
[bsp][stm32] update h7 && g0 series hal library
2019-10-30 09:43:25 +08:00
Bernard Xiong
204271c3c3
Merge pull request #3151 from SummerGGift/1024
...
[fix] add #include <rtthread.h> for stm32g4xx_hal.h
2019-10-30 09:01:49 +08:00
xiaofan
4eb2d7eed0
STM32 Ethernet: Using Timer Instead of Poll Thread
...
Signed-off-by: xiaofan <xfan1024@live.com>
2019-10-29 17:21:18 +08:00
xiaofan
2a9e7c0eea
Fix code style
...
Signed-off-by: xiaofan <xfan1024@live.com>
2019-10-29 17:21:17 +08:00
SummerGift
b734026d5c
[update] g0 series bsp
2019-10-29 16:27:13 +08:00
SummerGift
60f0f476ef
[update] g0 hal library
2019-10-29 16:10:01 +08:00
SummerGift
ad05e65c1f
[del] Delete useless files to avoid compilation errors
2019-10-29 15:48:54 +08:00
SummerGift
8978d2f5c0
[del] Delete useless files to avoid compilation errors
2019-10-29 15:47:35 +08:00
Bernard Xiong
5a1349ab96
Merge pull request #3154 from armink/master
...
完善 scons target=eclipse
2019-10-28 16:27:25 +08:00
Bernard Xiong
a29fd11ffb
Merge pull request #3034 from xfan1024/stm32-ethernet
...
优化STM32以太网驱动
2019-10-28 16:18:49 +08:00
Bernard Xiong
381f176859
Merge pull request #3139 from liweihao-cn/master
...
The subaddresssize should be 0
2019-10-28 16:18:10 +08:00
Bernard Xiong
97fcbdeccc
Merge pull request #3155 from z14git/pwm_led
...
修复pwm初始化时,相应的时钟没有使能的问题
2019-10-28 16:16:35 +08:00
armink
c73d9518c7
[bsp/stm32] remove the rtconfig_reinc.h file.
2019-10-28 15:42:38 +08:00
guozhanxin
66be48ddaf
[bsp][stm32] Add USBFS for F412-Nucleo.|为 F412-Nucleo 添加 USBFS。
2019-10-27 21:33:32 +08:00
guozhanxin
9f8d6557ea
[bsp][stm32] Add USB HS for H7-TOOL.|为 H7-TOOL 添加 USBHS.
2019-10-27 21:16:48 +08:00
guozhanxin
f50f38745b
Perfect usb driver compatible with HS.|完善usb驱动兼容 HS
2019-10-27 21:06:58 +08:00
z14git
d3f8b9b9c1
修复pwm初始化时,相应的时钟没有使能的问题
2019-10-27 17:16:06 +08:00
Bernard Xiong
4e3a7ee2f7
Merge pull request #3153 from qgyhd1234/h7_tool
...
【添加】添加 H7-TOOL bsp
2019-10-27 11:22:00 +08:00
zylx
b0db5ef2b9
【修改】更新cpu频率至400M,防止cpu锁死
2019-10-26 18:36:33 +08:00
zylx
af315e639e
【修改】更新readme
2019-10-26 02:45:51 +08:00
zylx
d4937b1825
【修改】添加对 esp32 的支持
2019-10-26 02:43:52 +08:00
zylx
99e2020d82
【更新】配置外设管脚,添加kconfig选项
2019-10-25 18:01:17 +08:00
zylx
42e0ba2b8b
【添加】添加 H7-TOOL bsp
2019-10-25 17:56:30 +08:00
armink
8dabc3be27
[tools] change the eclipse project include path format
2019-10-25 16:35:09 +08:00
armink
5560e59d20
[bsp/stm32] update the eclipse project config and add include file.
2019-10-25 15:09:15 +08:00
armink
21e5a706e0
[bsp/stm32] update the eclipse project config.
2019-10-25 13:53:34 +08:00
nxp58695
b422e11a06
added LPC55S6x BSP
2019-10-24 17:56:09 +08:00
SummerGift
0b0936cae1
[fix] add #include <rtthread.h> for stm32g4xx_hal.h
2019-10-24 17:26:22 +08:00
ZYH
959a10a1b2
[BSP][STM32][STM32H743-ST-NUCLEO] 修复编译错误,添加CI
...
Signed-off-by: ZYH <lymz@foxmail.com>
2019-10-23 14:54:11 +08:00
Ernest
7be06b67bb
[add] default environment
2019-10-22 16:48:57 +08:00
Bernard Xiong
e5ce731ed8
Merge pull request #3146 from aozima/fix_align
...
fixed linker script and stack align issues.
2019-10-22 12:04:02 +08:00
aozima
525d353403
fixed linker script and stack align issues.
2019-10-22 09:47:41 +08:00
tyustli
8f100a83bc
[bsp] [gd32vf103] explicit call clock init
2019-10-21 17:12:00 +08:00
Bernard Xiong
c1bf9e645e
Merge pull request #3142 from xuzhuoyi/stm32f429-disco
...
[bsp][stm32][stm32f429-st-disco] Move stm32f429-disco to stm32 dir
2019-10-21 08:36:43 +08:00
guozhanxin
347336feba
add stm32f412-st-nucleo bsp
2019-10-20 22:34:55 +08:00
xuzhuoyi
b95400b14d
[bsp][stm32] Add stm32g431-st-necleo and stm32f429-st-disco to stm32/README.md
2019-10-19 22:15:30 +08:00
xuzhuoyi
9122fc14a3
[bsp][stm32][stm32f429-st-disco] Update readme.md
2019-10-19 21:41:21 +08:00
xuzhuoyi
d1a0f4b86b
[bsp][stm32][stm32f429-st-disco] Modify SRAM size for stm32f429zi
2019-10-19 20:35:18 +08:00
xuzhuoyi
595e42719b
[bsp][stm32][stm32f429-st-disco] Update stm32f429-disco BSP with new stm32 bsp framework
2019-10-19 19:02:31 +08:00
Bernard Xiong
3dfdfb2dd5
Merge pull request #3137 from balanceTWK/master_stm32_RTC
...
[update][bsp][stm32] drv_rtc.c
2019-10-19 16:55:11 +08:00
liweihao
3138f2d8d7
The subaddresssize should be 0
2019-10-19 14:45:55 +08:00
Bernard Xiong
21d24d51b8
Merge pull request #3125 from yygg/master
...
fix warning: #1296-D
2019-10-18 08:49:11 +08:00
tangweikang
2a37a4abf6
[update][bsp][stm32] drv_rtc.c
2019-10-17 18:29:32 +08:00
whj4674672
ac1ab2d140
[bsp][stm32h7]Fix BUG that cannot run in IAR environment
2019-10-16 14:43:50 +08:00
whj4674672
91e39a278f
[BSP][stm32h743-atk-apollo] add QSPI FLASH
2019-10-13 14:17:34 +08:00
shaojinchun
fb4959bbbb
修正qemu-vexpress-a9平台上第二核时钟不对的问题
2019-10-12 11:11:44 +08:00
ZYH
5df3ac20e7
[bsp][k210] update sdk support for v0.5.6
2019-10-11 13:01:05 +08:00
yygg_you
361ee3da97
fix warning: #1296
...
When compiling C code containing statements like this:
rt_base_t xx_io_tbl[] =
{
GET_PIN(A,0),
};
the compiler will report:
Warning: #1296-D: extended constant initialiser used
2019-10-10 11:06:21 +08:00
xuzhuoyi
b171e1d245
[bsp][stm32][stm32g431-st-nucleo] Add LPUART support and README.md
2019-10-05 14:32:36 +08:00
xuzhuoyi
cd267a30e4
[bsp][stm32][stm32g431-st-nucleo] Add stm32g431-st-nucleo bsp
2019-10-03 22:29:13 +08:00
xuzhuoyi
f30a03f093
[bsp/stm32] Add STM32G4xx_HAL library
2019-10-03 18:18:07 +08:00
Bernard Xiong
67bb485dd4
Merge pull request #3100 from balanceTWK/master_encoder_9_20
...
[bsp][stm32][driver] drv_pulse_encoder.c
2019-09-30 20:17:50 +08:00
tangweikang
4d796c8fb3
[bsp][stm32][driver][drv_pulse_encoder.c] code style
2019-09-29 18:05:39 +08:00
Bernard Xiong
076addc9ea
Merge pull request #3006 from jiezhi320/master
...
fix bug when use HWTIMER_MODE_PERIOD
2019-09-29 16:54:08 +08:00
tyustli
300242134a
remove old stm32h743-nucleo bsp
2019-09-29 09:56:40 +08:00
Bernard Xiong
88ad2398e9
Merge pull request #3102 from Lawlieta/develop
...
[components][finsh] Decouple RT_USING_DEVICE dependency for msh feature
2019-09-28 12:32:01 +08:00
chenyong
74793a53fd
[bsp] update project configure file for finsh component change
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-26 15:40:13 +08:00
SummerGift
b4347c2025
[stm32][docs] optimize BSP production tutorial
2019-09-25 17:34:52 +08:00
tangweikang
c11686751e
[bsp][stm32][driver][drv_pulse_encoder.c] code style
2019-09-24 14:27:40 +08:00
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