Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
45ece194
R
rt-thread
项目概览
BaiXuePrincess
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
45ece194
编写于
1月 22, 2019
作者:
S
SummerGift
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp][stm32] update bsp headfile
上级
3b472cb3
变更
69
隐藏空白更改
内联
并排
Showing
69 changed file
with
145 addition
and
145 deletion
+145
-145
bsp/stm32/libraries/HAL_Drivers/config/f0/spi_config.h
bsp/stm32/libraries/HAL_Drivers/config/f0/spi_config.h
+1
-1
bsp/stm32/libraries/HAL_Drivers/config/f7/spi_config.h
bsp/stm32/libraries/HAL_Drivers/config/f7/spi_config.h
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_common.c
bsp/stm32/libraries/HAL_Drivers/drv_common.c
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_gpio.h
bsp/stm32/libraries/HAL_Drivers/drv_gpio.h
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_log.h
bsp/stm32/libraries/HAL_Drivers/drv_log.h
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_qspi.h
bsp/stm32/libraries/HAL_Drivers/drv_qspi.h
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_rtc.c
bsp/stm32/libraries/HAL_Drivers/drv_rtc.c
+2
-2
bsp/stm32/libraries/HAL_Drivers/drv_sdio.c
bsp/stm32/libraries/HAL_Drivers/drv_sdio.c
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.c
bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.c
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.h
bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.h
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_usart.c
bsp/stm32/libraries/HAL_Drivers/drv_usart.c
+1
-1
bsp/stm32/libraries/HAL_Drivers/drv_usart.h
bsp/stm32/libraries/HAL_Drivers/drv_usart.h
+1
-1
bsp/stm32/libraries/templates/stm32f0xx/board/board.h
bsp/stm32/libraries/templates/stm32f0xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32f10x/applications/main.c
bsp/stm32/libraries/templates/stm32f10x/applications/main.c
+1
-1
bsp/stm32/libraries/templates/stm32f10x/board/board.c
bsp/stm32/libraries/templates/stm32f10x/board/board.c
+1
-1
bsp/stm32/libraries/templates/stm32f10x/board/board.h
bsp/stm32/libraries/templates/stm32f10x/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
+1
-1
bsp/stm32/libraries/templates/stm32f4xx/board/board.c
bsp/stm32/libraries/templates/stm32f4xx/board/board.c
+1
-1
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32f7xx/applications/main.c
bsp/stm32/libraries/templates/stm32f7xx/applications/main.c
+1
-1
bsp/stm32/libraries/templates/stm32f7xx/board/board.c
bsp/stm32/libraries/templates/stm32f7xx/board/board.c
+1
-1
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
+1
-1
bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
+1
-1
bsp/stm32/libraries/templates/stm32l4xx/board/board.c
bsp/stm32/libraries/templates/stm32l4xx/board/board.c
+1
-1
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
+1
-1
bsp/stm32/stm32f091-st-nucleo/board/board.h
bsp/stm32/stm32f091-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f103-atk-nano/applications/main.c
bsp/stm32/stm32f103-atk-nano/applications/main.c
+1
-1
bsp/stm32/stm32f103-atk-nano/board/board.c
bsp/stm32/stm32f103-atk-nano/board/board.c
+1
-1
bsp/stm32/stm32f103-atk-nano/board/board.h
bsp/stm32/stm32f103-atk-nano/board/board.h
+1
-1
bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
+1
-1
bsp/stm32/stm32f103-dofly-lyc8/board/board.c
bsp/stm32/stm32f103-dofly-lyc8/board/board.c
+1
-1
bsp/stm32/stm32f103-dofly-lyc8/board/board.h
bsp/stm32/stm32f103-dofly-lyc8/board/board.h
+1
-1
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
+1
-1
bsp/stm32/stm32f103-fire-arbitrary/board/board.c
bsp/stm32/stm32f103-fire-arbitrary/board/board.c
+1
-1
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
+1
-1
bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
+1
-1
bsp/stm32/stm32f103-hw100k-ibox/board/board.c
bsp/stm32/stm32f103-hw100k-ibox/board/board.c
+1
-1
bsp/stm32/stm32f103-hw100k-ibox/board/board.h
bsp/stm32/stm32f103-hw100k-ibox/board/board.h
+1
-1
bsp/stm32/stm32f407-atk-explorer/applications/main.c
bsp/stm32/stm32f407-atk-explorer/applications/main.c
+1
-1
bsp/stm32/stm32f407-atk-explorer/board/board.c
bsp/stm32/stm32f407-atk-explorer/board/board.c
+1
-1
bsp/stm32/stm32f407-atk-explorer/board/board.h
bsp/stm32/stm32f407-atk-explorer/board/board.h
+1
-1
bsp/stm32/stm32f407-st-discovery/board/board.c
bsp/stm32/stm32f407-st-discovery/board/board.c
+1
-1
bsp/stm32/stm32f407-st-discovery/board/board.h
bsp/stm32/stm32f407-st-discovery/board/board.h
+1
-1
bsp/stm32/stm32f411-st-nucleo/applications/main.c
bsp/stm32/stm32f411-st-nucleo/applications/main.c
+1
-1
bsp/stm32/stm32f411-st-nucleo/board/board.c
bsp/stm32/stm32f411-st-nucleo/board/board.c
+1
-1
bsp/stm32/stm32f411-st-nucleo/board/board.h
bsp/stm32/stm32f411-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32f429-atk-apollo/applications/main.c
bsp/stm32/stm32f429-atk-apollo/applications/main.c
+1
-1
bsp/stm32/stm32f429-atk-apollo/board/board.c
bsp/stm32/stm32f429-atk-apollo/board/board.c
+1
-1
bsp/stm32/stm32f429-atk-apollo/board/board.h
bsp/stm32/stm32f429-atk-apollo/board/board.h
+1
-1
bsp/stm32/stm32f429-fire-challenger/applications/main.c
bsp/stm32/stm32f429-fire-challenger/applications/main.c
+1
-1
bsp/stm32/stm32f429-fire-challenger/board/board.c
bsp/stm32/stm32f429-fire-challenger/board/board.c
+1
-1
bsp/stm32/stm32f429-fire-challenger/board/board.h
bsp/stm32/stm32f429-fire-challenger/board/board.h
+1
-1
bsp/stm32/stm32f446-st-nucleo/applications/main.c
bsp/stm32/stm32f446-st-nucleo/applications/main.c
+1
-1
bsp/stm32/stm32f446-st-nucleo/board/board.c
bsp/stm32/stm32f446-st-nucleo/board/board.c
+2
-2
bsp/stm32/stm32f446-st-nucleo/board/board.h
bsp/stm32/stm32f446-st-nucleo/board/board.h
+2
-2
bsp/stm32/stm32f767-atk-apollo/board/board.c
bsp/stm32/stm32f767-atk-apollo/board/board.c
+1
-1
bsp/stm32/stm32f767-atk-apollo/board/board.h
bsp/stm32/stm32f767-atk-apollo/board/board.h
+1
-1
bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c
bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c
+1
-1
bsp/stm32/stm32f767-fire-challenger/applications/main.c
bsp/stm32/stm32f767-fire-challenger/applications/main.c
+1
-1
bsp/stm32/stm32f767-fire-challenger/board/board.c
bsp/stm32/stm32f767-fire-challenger/board/board.c
+1
-1
bsp/stm32/stm32f767-fire-challenger/board/board.h
bsp/stm32/stm32f767-fire-challenger/board/board.h
+1
-1
bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c
...32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c
+1
-1
bsp/stm32/stm32f767-st-nucleo/applications/main.c
bsp/stm32/stm32f767-st-nucleo/applications/main.c
+2
-2
bsp/stm32/stm32f767-st-nucleo/board/board.c
bsp/stm32/stm32f767-st-nucleo/board/board.c
+72
-72
bsp/stm32/stm32f767-st-nucleo/board/board.h
bsp/stm32/stm32f767-st-nucleo/board/board.h
+2
-2
bsp/stm32/stm32l432-st-nucleo/board/board.c
bsp/stm32/stm32l432-st-nucleo/board/board.c
+1
-1
bsp/stm32/stm32l432-st-nucleo/board/board.h
bsp/stm32/stm32l432-st-nucleo/board/board.h
+1
-1
bsp/stm32/stm32l475-atk-pandora/applications/main.c
bsp/stm32/stm32l475-atk-pandora/applications/main.c
+1
-1
bsp/stm32/stm32l475-atk-pandora/board/board.h
bsp/stm32/stm32l475-atk-pandora/board/board.h
+1
-1
未找到文件。
bsp/stm32/libraries/HAL_Drivers/config/f0/spi_config.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#ifndef __SPI_CONFIG_H__
...
...
bsp/stm32/libraries/HAL_Drivers/config/f7/spi_config.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#ifndef __SPI_CONFIG_H__
...
...
bsp/stm32/libraries/HAL_Drivers/drv_common.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-7 SummerGift
change to new framework
* 2018-11-7 SummerGift
first version
*/
#include "drv_common.h"
...
...
bsp/stm32/libraries/HAL_Drivers/drv_gpio.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 balanceTWK
change to new framework
* 2018-11-06 balanceTWK
first version
*/
#ifndef __DRV_GPIO_H__
...
...
bsp/stm32/libraries/HAL_Drivers/drv_log.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-15 SummerGift
change to new framework
* 2018-11-15 SummerGift
first version
*/
/*
...
...
bsp/stm32/libraries/HAL_Drivers/drv_qspi.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-27 zylx
change to new framework
* 2018-11-27 zylx
first version
*/
#ifndef __DRV_QSPI_H_
...
...
bsp/stm32/libraries/HAL_Drivers/drv_rtc.c
浏览文件 @
45ece194
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-12-04 balanceTWK
change to new framework
* Date Author
Notes
* 2018-12-04 balanceTWK
first version
*/
#include "board.h"
...
...
bsp/stm32/libraries/HAL_Drivers/drv_sdio.c
浏览文件 @
45ece194
...
...
@@ -6,7 +6,7 @@
* Change Logs:
* Date Author Notes
* 2018-06-22 tyx first
* 2018-12-12 balanceTWK
change to new framework
* 2018-12-12 balanceTWK
first version
*/
#include "board.h"
...
...
bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-08 balanceTWK
change to new framework
* 2018-11-08 balanceTWK
first version
*/
#include <board.h>
...
...
bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-08 balanceTWK
change to new framework
* 2018-11-08 balanceTWK
first version
*/
#ifndef __DRV_I2C__
...
...
bsp/stm32/libraries/HAL_Drivers/drv_usart.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-10-30 SummerGift
change to new framework
* 2018-10-30 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/libraries/HAL_Drivers/drv_usart.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018.10.30 SummerGift
change to new framework
* 2018.10.30 SummerGift
first version
*/
#ifndef __DRV_USART_H__
...
...
bsp/stm32/libraries/templates/stm32f0xx/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/libraries/templates/stm32f10x/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/libraries/templates/stm32f10x/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/libraries/templates/stm32f10x/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/libraries/templates/stm32f4xx/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/libraries/templates/stm32f4xx/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/libraries/templates/stm32f7xx/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/libraries/templates/stm32f7xx/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/libraries/templates/stm32f7xx/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/libraries/templates/stm32l4xx/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/libraries/templates/stm32l4xx/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f091-st-nucleo/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f103-atk-nano/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-27 balanceTWK
change to new framework
* 2018-11-27 balanceTWK
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f103-atk-nano/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 balanceTWK
change to new framework
* 2018-11-06 balanceTWK
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f103-atk-nano/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f103-dofly-lyc8/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f103-dofly-lyc8/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f103-fire-arbitrary/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 balanceTWK
change to new framework
* 2018-11-06 balanceTWK
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f103-fire-arbitrary/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 balanceTWK
change to new framework
* 2018-11-06 balanceTWK
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f103-hw100k-ibox/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f103-hw100k-ibox/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f407-atk-explorer/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
* 2018-11-19 flybreak add stm32f407-atk-explorer bsp
*/
...
...
bsp/stm32/stm32f407-atk-explorer/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f407-atk-explorer/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f407-st-discovery/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f407-st-discovery/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 misonyo
change to new framework
* 2018-11-5 misonyo
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f411-st-nucleo/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f411-st-nucleo/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f411-st-nucleo/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f429-atk-apollo/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f429-atk-apollo/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-7 SummerGift
change to new framework
* 2018-11-7 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f429-atk-apollo/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 balanceTWK
change to new framework
* 2018-11-5 balanceTWK
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f429-fire-challenger/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
* 2018-11-19 flybreak add stm32f429-fire-challenger bsp
*/
...
...
bsp/stm32/stm32f429-fire-challenger/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f429-fire-challenger/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f446-st-nucleo/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f446-st-nucleo/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,8 +5,8 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2019-01-08 AndeyQi
first version
* 2018-11-06 SummerGift
first version
* 2019-01-08 AndeyQi
add stm32f446-st-nucleo bsp
*/
#include "board.h"
...
...
bsp/stm32/stm32f446-st-nucleo/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,8 +5,8 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2019-01-08 AndeyQi
first version
* 2018-11-06 SummerGift
first version
* 2019-01-08 AndeyQi
add stm32f446-st-nucleo bsp
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f767-atk-apollo/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f767-atk-apollo/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-27 zylx
change to new framework
* 2018-11-27 zylx
first version
*/
#include <board.h>
...
...
bsp/stm32/stm32f767-fire-challenger/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f767-fire-challenger/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32f767-fire-challenger/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-27 zylx
change to new framework
* 2018-11-27 zylx
first version
*/
#include <board.h>
...
...
bsp/stm32/stm32f767-st-nucleo/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,8 +5,8 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2019-1-10 e31207077
change to new framework
* 2018-11-06 SummerGift
first version
* 2019-1-10 e31207077
add stm32f767-st-nucleo bsp
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32f767-st-nucleo/board/board.c
浏览文件 @
45ece194
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2019-1-10 e31207077
change to new framework
*/
#include "board.h"
/**
* @brief System Clock Configuration
* @retval None
*/
void
SystemClock_Config
(
void
)
{
RCC_OscInitTypeDef
RCC_OscInitStruct
=
{
0
};
RCC_ClkInitTypeDef
RCC_ClkInitStruct
=
{
0
};
RCC_PeriphCLKInitTypeDef
PeriphClkInitStruct
=
{
0
};
/**Configure LSE Drive Capability
*/
HAL_PWR_EnableBkUpAccess
();
/**Configure the main internal regulator output voltage
*/
__HAL_RCC_PWR_CLK_ENABLE
();
__HAL_PWR_VOLTAGESCALING_CONFIG
(
PWR_REGULATOR_VOLTAGE_SCALE1
);
/**Initializes the CPU, AHB and APB busses clocks
*/
RCC_OscInitStruct
.
OscillatorType
=
RCC_OSCILLATORTYPE_HSE
;
RCC_OscInitStruct
.
HSEState
=
RCC_HSE_BYPASS
;
RCC_OscInitStruct
.
PLL
.
PLLState
=
RCC_PLL_ON
;
RCC_OscInitStruct
.
PLL
.
PLLSource
=
RCC_PLLSOURCE_HSE
;
RCC_OscInitStruct
.
PLL
.
PLLM
=
8
;
RCC_OscInitStruct
.
PLL
.
PLLN
=
432
;
RCC_OscInitStruct
.
PLL
.
PLLP
=
RCC_PLLP_DIV2
;
RCC_OscInitStruct
.
PLL
.
PLLQ
=
9
;
if
(
HAL_RCC_OscConfig
(
&
RCC_OscInitStruct
)
!=
HAL_OK
)
{
Error_Handler
();
}
/**Activate the Over-Drive mode
*/
if
(
HAL_PWREx_EnableOverDrive
()
!=
HAL_OK
)
{
Error_Handler
();
}
/**Initializes the CPU, AHB and APB busses clocks
*/
RCC_ClkInitStruct
.
ClockType
=
RCC_CLOCKTYPE_HCLK
|
RCC_CLOCKTYPE_SYSCLK
|
RCC_CLOCKTYPE_PCLK1
|
RCC_CLOCKTYPE_PCLK2
;
RCC_ClkInitStruct
.
SYSCLKSource
=
RCC_SYSCLKSOURCE_PLLCLK
;
RCC_ClkInitStruct
.
AHBCLKDivider
=
RCC_SYSCLK_DIV1
;
RCC_ClkInitStruct
.
APB1CLKDivider
=
RCC_HCLK_DIV4
;
RCC_ClkInitStruct
.
APB2CLKDivider
=
RCC_HCLK_DIV2
;
if
(
HAL_RCC_ClockConfig
(
&
RCC_ClkInitStruct
,
FLASH_LATENCY_7
)
!=
HAL_OK
)
{
Error_Handler
();
}
PeriphClkInitStruct
.
PeriphClockSelection
=
RCC_PERIPHCLK_USART3
|
RCC_PERIPHCLK_CLK48
;
PeriphClkInitStruct
.
Usart3ClockSelection
=
RCC_USART3CLKSOURCE_PCLK1
;
PeriphClkInitStruct
.
Clk48ClockSelection
=
RCC_CLK48SOURCE_PLL
;
if
(
HAL_RCCEx_PeriphCLKConfig
(
&
PeriphClkInitStruct
)
!=
HAL_OK
)
{
Error_Handler
();
}
}
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
first version
* 2019-1-10 e31207077
add stm32f767-st-nucleo bsp
*/
#include "board.h"
/**
* @brief System Clock Configuration
* @retval None
*/
void
SystemClock_Config
(
void
)
{
RCC_OscInitTypeDef
RCC_OscInitStruct
=
{
0
};
RCC_ClkInitTypeDef
RCC_ClkInitStruct
=
{
0
};
RCC_PeriphCLKInitTypeDef
PeriphClkInitStruct
=
{
0
};
/**Configure LSE Drive Capability
*/
HAL_PWR_EnableBkUpAccess
();
/**Configure the main internal regulator output voltage
*/
__HAL_RCC_PWR_CLK_ENABLE
();
__HAL_PWR_VOLTAGESCALING_CONFIG
(
PWR_REGULATOR_VOLTAGE_SCALE1
);
/**Initializes the CPU, AHB and APB busses clocks
*/
RCC_OscInitStruct
.
OscillatorType
=
RCC_OSCILLATORTYPE_HSE
;
RCC_OscInitStruct
.
HSEState
=
RCC_HSE_BYPASS
;
RCC_OscInitStruct
.
PLL
.
PLLState
=
RCC_PLL_ON
;
RCC_OscInitStruct
.
PLL
.
PLLSource
=
RCC_PLLSOURCE_HSE
;
RCC_OscInitStruct
.
PLL
.
PLLM
=
8
;
RCC_OscInitStruct
.
PLL
.
PLLN
=
432
;
RCC_OscInitStruct
.
PLL
.
PLLP
=
RCC_PLLP_DIV2
;
RCC_OscInitStruct
.
PLL
.
PLLQ
=
9
;
if
(
HAL_RCC_OscConfig
(
&
RCC_OscInitStruct
)
!=
HAL_OK
)
{
Error_Handler
();
}
/**Activate the Over-Drive mode
*/
if
(
HAL_PWREx_EnableOverDrive
()
!=
HAL_OK
)
{
Error_Handler
();
}
/**Initializes the CPU, AHB and APB busses clocks
*/
RCC_ClkInitStruct
.
ClockType
=
RCC_CLOCKTYPE_HCLK
|
RCC_CLOCKTYPE_SYSCLK
|
RCC_CLOCKTYPE_PCLK1
|
RCC_CLOCKTYPE_PCLK2
;
RCC_ClkInitStruct
.
SYSCLKSource
=
RCC_SYSCLKSOURCE_PLLCLK
;
RCC_ClkInitStruct
.
AHBCLKDivider
=
RCC_SYSCLK_DIV1
;
RCC_ClkInitStruct
.
APB1CLKDivider
=
RCC_HCLK_DIV4
;
RCC_ClkInitStruct
.
APB2CLKDivider
=
RCC_HCLK_DIV2
;
if
(
HAL_RCC_ClockConfig
(
&
RCC_ClkInitStruct
,
FLASH_LATENCY_7
)
!=
HAL_OK
)
{
Error_Handler
();
}
PeriphClkInitStruct
.
PeriphClockSelection
=
RCC_PERIPHCLK_USART3
|
RCC_PERIPHCLK_CLK48
;
PeriphClkInitStruct
.
Usart3ClockSelection
=
RCC_USART3CLKSOURCE_PCLK1
;
PeriphClkInitStruct
.
Clk48ClockSelection
=
RCC_CLK48SOURCE_PLL
;
if
(
HAL_RCCEx_PeriphCLKConfig
(
&
PeriphClkInitStruct
)
!=
HAL_OK
)
{
Error_Handler
();
}
}
bsp/stm32/stm32f767-st-nucleo/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,8 +5,8 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2019-1-10 e31207077
change to new framework
* 2018-11-5 SummerGift
first version
* 2019-1-10 e31207077
add stm32f767-st-nucleo bsp
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32l432-st-nucleo/board/board.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include "board.h"
...
...
bsp/stm32/stm32l432-st-nucleo/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
bsp/stm32/stm32l475-atk-pandora/applications/main.c
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-06 SummerGift
change to new framework
* 2018-11-06 SummerGift
first version
*/
#include <rtthread.h>
...
...
bsp/stm32/stm32l475-atk-pandora/board/board.h
浏览文件 @
45ece194
...
...
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2018-11-5 SummerGift
change to new framework
* 2018-11-5 SummerGift
first version
*/
#ifndef __BOARD_H__
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录