Commit Graph

3469 Commits

Author SHA1 Message Date
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
tyustli e3ba233dc0 add stm32h743-st-nucleo bsp 2019-09-18 10:11:13 +08:00
gbcwbz b789721307 [bsp][stm32][stm32f767-atk-apollo] Add LCD driver port 2019-09-17 13:59:14 +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