summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSummerGift <[email protected]>2019-01-22 10:00:45 +0800
committerSummerGift <[email protected]>2019-01-22 10:05:57 +0800
commit45ece194ccca28632a9122b4ab2d9d5ac22f10bd (patch)
tree95672334d83e16e17da3646ad20bdb4ef56ad984
parent3b472cb3cd01bb99dfa454c91237967490ae5b80 (diff)
[bsp][stm32] update bsp headfile
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/config/f0/spi_config.h2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/config/f7/spi_config.h2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_common.c2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_gpio.h2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_log.h2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_qspi.h2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_rtc.c4
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_sdio.c2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.c2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.h2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_usart.c2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_usart.h2
-rw-r--r--bsp/stm32/libraries/templates/stm32f0xx/board/board.h2
-rw-r--r--bsp/stm32/libraries/templates/stm32f10x/applications/main.c2
-rw-r--r--bsp/stm32/libraries/templates/stm32f10x/board/board.c2
-rw-r--r--bsp/stm32/libraries/templates/stm32f10x/board/board.h2
-rw-r--r--bsp/stm32/libraries/templates/stm32f4xx/applications/main.c2
-rw-r--r--bsp/stm32/libraries/templates/stm32f4xx/board/board.c2
-rw-r--r--bsp/stm32/libraries/templates/stm32f4xx/board/board.h2
-rw-r--r--bsp/stm32/libraries/templates/stm32f7xx/applications/main.c2
-rw-r--r--bsp/stm32/libraries/templates/stm32f7xx/board/board.c2
-rw-r--r--bsp/stm32/libraries/templates/stm32f7xx/board/board.h2
-rw-r--r--bsp/stm32/libraries/templates/stm32l4xx/applications/main.c2
-rw-r--r--bsp/stm32/libraries/templates/stm32l4xx/board/board.c2
-rw-r--r--bsp/stm32/libraries/templates/stm32l4xx/board/board.h2
-rw-r--r--bsp/stm32/stm32f091-st-nucleo/board/board.h2
-rw-r--r--bsp/stm32/stm32f103-atk-nano/applications/main.c2
-rw-r--r--bsp/stm32/stm32f103-atk-nano/board/board.c2
-rw-r--r--bsp/stm32/stm32f103-atk-nano/board/board.h2
-rw-r--r--bsp/stm32/stm32f103-dofly-lyc8/applications/main.c2
-rw-r--r--bsp/stm32/stm32f103-dofly-lyc8/board/board.c2
-rw-r--r--bsp/stm32/stm32f103-dofly-lyc8/board/board.h2
-rw-r--r--bsp/stm32/stm32f103-fire-arbitrary/applications/main.c2
-rw-r--r--bsp/stm32/stm32f103-fire-arbitrary/board/board.c2
-rw-r--r--bsp/stm32/stm32f103-fire-arbitrary/board/board.h2
-rw-r--r--bsp/stm32/stm32f103-hw100k-ibox/applications/main.c2
-rw-r--r--bsp/stm32/stm32f103-hw100k-ibox/board/board.c2
-rw-r--r--bsp/stm32/stm32f103-hw100k-ibox/board/board.h2
-rw-r--r--bsp/stm32/stm32f407-atk-explorer/applications/main.c2
-rw-r--r--bsp/stm32/stm32f407-atk-explorer/board/board.c2
-rw-r--r--bsp/stm32/stm32f407-atk-explorer/board/board.h2
-rw-r--r--bsp/stm32/stm32f407-st-discovery/board/board.c2
-rw-r--r--bsp/stm32/stm32f407-st-discovery/board/board.h2
-rw-r--r--bsp/stm32/stm32f411-st-nucleo/applications/main.c2
-rw-r--r--bsp/stm32/stm32f411-st-nucleo/board/board.c2
-rw-r--r--bsp/stm32/stm32f411-st-nucleo/board/board.h2
-rw-r--r--bsp/stm32/stm32f429-atk-apollo/applications/main.c2
-rw-r--r--bsp/stm32/stm32f429-atk-apollo/board/board.c2
-rw-r--r--bsp/stm32/stm32f429-atk-apollo/board/board.h2
-rw-r--r--bsp/stm32/stm32f429-fire-challenger/applications/main.c2
-rw-r--r--bsp/stm32/stm32f429-fire-challenger/board/board.c2
-rw-r--r--bsp/stm32/stm32f429-fire-challenger/board/board.h2
-rw-r--r--bsp/stm32/stm32f446-st-nucleo/applications/main.c2
-rw-r--r--bsp/stm32/stm32f446-st-nucleo/board/board.c4
-rw-r--r--bsp/stm32/stm32f446-st-nucleo/board/board.h4
-rw-r--r--bsp/stm32/stm32f767-atk-apollo/board/board.c2
-rw-r--r--bsp/stm32/stm32f767-atk-apollo/board/board.h2
-rw-r--r--bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c2
-rw-r--r--bsp/stm32/stm32f767-fire-challenger/applications/main.c2
-rw-r--r--bsp/stm32/stm32f767-fire-challenger/board/board.c2
-rw-r--r--bsp/stm32/stm32f767-fire-challenger/board/board.h2
-rw-r--r--bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c2
-rw-r--r--bsp/stm32/stm32f767-st-nucleo/applications/main.c4
-rw-r--r--bsp/stm32/stm32f767-st-nucleo/board/board.c144
-rw-r--r--bsp/stm32/stm32f767-st-nucleo/board/board.h4
-rw-r--r--bsp/stm32/stm32l432-st-nucleo/board/board.c2
-rw-r--r--bsp/stm32/stm32l432-st-nucleo/board/board.h2
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/applications/main.c2
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/board/board.h2
69 files changed, 145 insertions, 145 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/config/f0/spi_config.h b/bsp/stm32/libraries/HAL_Drivers/config/f0/spi_config.h
index 6f218780c8..5aacf9de90 100644
--- a/bsp/stm32/libraries/HAL_Drivers/config/f0/spi_config.h
+++ b/bsp/stm32/libraries/HAL_Drivers/config/f0/spi_config.h
@@ -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__
diff --git a/bsp/stm32/libraries/HAL_Drivers/config/f7/spi_config.h b/bsp/stm32/libraries/HAL_Drivers/config/f7/spi_config.h
index 86bf38199e..ef32a32f4f 100644
--- a/bsp/stm32/libraries/HAL_Drivers/config/f7/spi_config.h
+++ b/bsp/stm32/libraries/HAL_Drivers/config/f7/spi_config.h
@@ -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__
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_common.c b/bsp/stm32/libraries/HAL_Drivers/drv_common.c
index dda79c9d03..e267b94b24 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_common.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_common.c
@@ -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"
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_gpio.h b/bsp/stm32/libraries/HAL_Drivers/drv_gpio.h
index a62370cae4..a485dd8bbc 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_gpio.h
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_gpio.h
@@ -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__
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_log.h b/bsp/stm32/libraries/HAL_Drivers/drv_log.h
index 625cac367a..f7461223d7 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_log.h
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_log.h
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
- * 2018-11-15 SummerGift change to new framework
+ * 2018-11-15 SummerGift first version
*/
/*
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_qspi.h b/bsp/stm32/libraries/HAL_Drivers/drv_qspi.h
index 28dbf437d1..d4609e3dc9 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_qspi.h
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_qspi.h
@@ -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_
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_rtc.c b/bsp/stm32/libraries/HAL_Drivers/drv_rtc.c
index c7ffc8d8de..b96d9aa524 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_rtc.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_rtc.c
@@ -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"
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_sdio.c b/bsp/stm32/libraries/HAL_Drivers/drv_sdio.c
index c2d7708575..84eccb519b 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_sdio.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_sdio.c
@@ -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"
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.c b/bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.c
index a19c5c2984..819b3b1da0 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.c
@@ -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>
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.h b/bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.h
index dc4238f3d0..e87eec8201 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.h
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_soft_i2c.h
@@ -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__
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_usart.c b/bsp/stm32/libraries/HAL_Drivers/drv_usart.c
index 47a2be5abb..6dbade3578 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_usart.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_usart.c
@@ -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"
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_usart.h b/bsp/stm32/libraries/HAL_Drivers/drv_usart.h
index 80716933fe..c24220cf05 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_usart.h
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_usart.h
@@ -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__
diff --git a/bsp/stm32/libraries/templates/stm32f0xx/board/board.h b/bsp/stm32/libraries/templates/stm32f0xx/board/board.h
index 4ebecd04bc..3be9e75cfc 100644
--- a/bsp/stm32/libraries/templates/stm32f0xx/board/board.h
+++ b/bsp/stm32/libraries/templates/stm32f0xx/board/board.h
@@ -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__
diff --git a/bsp/stm32/libraries/templates/stm32f10x/applications/main.c b/bsp/stm32/libraries/templates/stm32f10x/applications/main.c
index d5b11f5a95..487ddf44f6 100644
--- a/bsp/stm32/libraries/templates/stm32f10x/applications/main.c
+++ b/bsp/stm32/libraries/templates/stm32f10x/applications/main.c
@@ -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>
diff --git a/bsp/stm32/libraries/templates/stm32f10x/board/board.c b/bsp/stm32/libraries/templates/stm32f10x/board/board.c
index 33588783ec..9f1ba0ddab 100644
--- a/bsp/stm32/libraries/templates/stm32f10x/board/board.c
+++ b/bsp/stm32/libraries/templates/stm32f10x/board/board.c
@@ -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"
diff --git a/bsp/stm32/libraries/templates/stm32f10x/board/board.h b/bsp/stm32/libraries/templates/stm32f10x/board/board.h
index a6a0d6bd4f..a01a233cc2 100644
--- a/bsp/stm32/libraries/templates/stm32f10x/board/board.h
+++ b/bsp/stm32/libraries/templates/stm32f10x/board/board.h
@@ -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__
diff --git a/bsp/stm32/libraries/templates/stm32f4xx/applications/main.c b/bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
index d5b11f5a95..487ddf44f6 100644
--- a/bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
+++ b/bsp/stm32/libraries/templates/stm32f4xx/applications/main.c
@@ -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>
diff --git a/bsp/stm32/libraries/templates/stm32f4xx/board/board.c b/bsp/stm32/libraries/templates/stm32f4xx/board/board.c
index 9adbd0f32b..ef1f24cbb5 100644
--- a/bsp/stm32/libraries/templates/stm32f4xx/board/board.c
+++ b/bsp/stm32/libraries/templates/stm32f4xx/board/board.c
@@ -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"
diff --git a/bsp/stm32/libraries/templates/stm32f4xx/board/board.h b/bsp/stm32/libraries/templates/stm32f4xx/board/board.h
index 3170398e8e..514155b823 100644
--- a/bsp/stm32/libraries/templates/stm32f4xx/board/board.h
+++ b/bsp/stm32/libraries/templates/stm32f4xx/board/board.h
@@ -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__
diff --git a/bsp/stm32/libraries/templates/stm32f7xx/applications/main.c b/bsp/stm32/libraries/templates/stm32f7xx/applications/main.c
index 87a07a6246..5a4bbf9f42 100644
--- a/bsp/stm32/libraries/templates/stm32f7xx/applications/main.c
+++ b/bsp/stm32/libraries/templates/stm32f7xx/applications/main.c
@@ -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>
diff --git a/bsp/stm32/libraries/templates/stm32f7xx/board/board.c b/bsp/stm32/libraries/templates/stm32f7xx/board/board.c
index 3b25738661..4194e6db1e 100644
--- a/bsp/stm32/libraries/templates/stm32f7xx/board/board.c
+++ b/bsp/stm32/libraries/templates/stm32f7xx/board/board.c
@@ -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"
diff --git a/bsp/stm32/libraries/templates/stm32f7xx/board/board.h b/bsp/stm32/libraries/templates/stm32f7xx/board/board.h
index 5870c0ba71..2951235675 100644
--- a/bsp/stm32/libraries/templates/stm32f7xx/board/board.h
+++ b/bsp/stm32/libraries/templates/stm32f7xx/board/board.h
@@ -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__
diff --git a/bsp/stm32/libraries/templates/stm32l4xx/applications/main.c b/bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
index d5b11f5a95..487ddf44f6 100644
--- a/bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
+++ b/bsp/stm32/libraries/templates/stm32l4xx/applications/main.c
@@ -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>
diff --git a/bsp/stm32/libraries/templates/stm32l4xx/board/board.c b/bsp/stm32/libraries/templates/stm32l4xx/board/board.c
index a64660e552..7797c23379 100644
--- a/bsp/stm32/libraries/templates/stm32l4xx/board/board.c
+++ b/bsp/stm32/libraries/templates/stm32l4xx/board/board.c
@@ -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"
diff --git a/bsp/stm32/libraries/templates/stm32l4xx/board/board.h b/bsp/stm32/libraries/templates/stm32l4xx/board/board.h
index b8c4f1c01b..54139616c1 100644
--- a/bsp/stm32/libraries/templates/stm32l4xx/board/board.h
+++ b/bsp/stm32/libraries/templates/stm32l4xx/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f091-st-nucleo/board/board.h b/bsp/stm32/stm32f091-st-nucleo/board/board.h
index 09f9b32753..b203d9336a 100644
--- a/bsp/stm32/stm32f091-st-nucleo/board/board.h
+++ b/bsp/stm32/stm32f091-st-nucleo/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f103-atk-nano/applications/main.c b/bsp/stm32/stm32f103-atk-nano/applications/main.c
index ee8d945605..6d75fd13ce 100644
--- a/bsp/stm32/stm32f103-atk-nano/applications/main.c
+++ b/bsp/stm32/stm32f103-atk-nano/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f103-atk-nano/board/board.c b/bsp/stm32/stm32f103-atk-nano/board/board.c
index 2d8c3ee69e..bb35832bfa 100644
--- a/bsp/stm32/stm32f103-atk-nano/board/board.c
+++ b/bsp/stm32/stm32f103-atk-nano/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f103-atk-nano/board/board.h b/bsp/stm32/stm32f103-atk-nano/board/board.h
index 3598755cba..33d4e4bc25 100644
--- a/bsp/stm32/stm32f103-atk-nano/board/board.h
+++ b/bsp/stm32/stm32f103-atk-nano/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/applications/main.c b/bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
index ab91ca7423..18dbaac95c 100644
--- a/bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
+++ b/bsp/stm32/stm32f103-dofly-lyc8/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/board/board.c b/bsp/stm32/stm32f103-dofly-lyc8/board/board.c
index 33588783ec..9f1ba0ddab 100644
--- a/bsp/stm32/stm32f103-dofly-lyc8/board/board.c
+++ b/bsp/stm32/stm32f103-dofly-lyc8/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/board/board.h b/bsp/stm32/stm32f103-dofly-lyc8/board/board.h
index d6c1b93516..134a0a3e6e 100644
--- a/bsp/stm32/stm32f103-dofly-lyc8/board/board.h
+++ b/bsp/stm32/stm32f103-dofly-lyc8/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/applications/main.c b/bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
index 8d24c605fb..5f0f0db8ed 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
+++ b/bsp/stm32/stm32f103-fire-arbitrary/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/board/board.c b/bsp/stm32/stm32f103-fire-arbitrary/board/board.c
index 9313cffb00..bb2014e419 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/board/board.c
+++ b/bsp/stm32/stm32f103-fire-arbitrary/board/board.c
@@ -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>
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/board/board.h b/bsp/stm32/stm32f103-fire-arbitrary/board/board.h
index 8e5df423e4..e99fbbee4b 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/board/board.h
+++ b/bsp/stm32/stm32f103-fire-arbitrary/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/applications/main.c b/bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
index 126934d768..d0ab2cc6ed 100644
--- a/bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
+++ b/bsp/stm32/stm32f103-hw100k-ibox/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/board/board.c b/bsp/stm32/stm32f103-hw100k-ibox/board/board.c
index d29afeb4a5..8873917296 100644
--- a/bsp/stm32/stm32f103-hw100k-ibox/board/board.c
+++ b/bsp/stm32/stm32f103-hw100k-ibox/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/board/board.h b/bsp/stm32/stm32f103-hw100k-ibox/board/board.h
index 7ce08649d3..d106345785 100644
--- a/bsp/stm32/stm32f103-hw100k-ibox/board/board.h
+++ b/bsp/stm32/stm32f103-hw100k-ibox/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f407-atk-explorer/applications/main.c b/bsp/stm32/stm32f407-atk-explorer/applications/main.c
index ac192c83b1..e3ae33205f 100644
--- a/bsp/stm32/stm32f407-atk-explorer/applications/main.c
+++ b/bsp/stm32/stm32f407-atk-explorer/applications/main.c
@@ -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
*/
diff --git a/bsp/stm32/stm32f407-atk-explorer/board/board.c b/bsp/stm32/stm32f407-atk-explorer/board/board.c
index 2dec307867..c2c90a5e86 100644
--- a/bsp/stm32/stm32f407-atk-explorer/board/board.c
+++ b/bsp/stm32/stm32f407-atk-explorer/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f407-atk-explorer/board/board.h b/bsp/stm32/stm32f407-atk-explorer/board/board.h
index 2d3f256119..339b3faaaf 100644
--- a/bsp/stm32/stm32f407-atk-explorer/board/board.h
+++ b/bsp/stm32/stm32f407-atk-explorer/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f407-st-discovery/board/board.c b/bsp/stm32/stm32f407-st-discovery/board/board.c
index c7df1bfa3b..8a3dbd9937 100644
--- a/bsp/stm32/stm32f407-st-discovery/board/board.c
+++ b/bsp/stm32/stm32f407-st-discovery/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f407-st-discovery/board/board.h b/bsp/stm32/stm32f407-st-discovery/board/board.h
index 3e8eb823e0..7ba6c79dee 100644
--- a/bsp/stm32/stm32f407-st-discovery/board/board.h
+++ b/bsp/stm32/stm32f407-st-discovery/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f411-st-nucleo/applications/main.c b/bsp/stm32/stm32f411-st-nucleo/applications/main.c
index 2745fa7b8b..b29630d930 100644
--- a/bsp/stm32/stm32f411-st-nucleo/applications/main.c
+++ b/bsp/stm32/stm32f411-st-nucleo/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f411-st-nucleo/board/board.c b/bsp/stm32/stm32f411-st-nucleo/board/board.c
index 74579865c7..c0fddec187 100644
--- a/bsp/stm32/stm32f411-st-nucleo/board/board.c
+++ b/bsp/stm32/stm32f411-st-nucleo/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f411-st-nucleo/board/board.h b/bsp/stm32/stm32f411-st-nucleo/board/board.h
index ad9cedaff0..e05c785128 100644
--- a/bsp/stm32/stm32f411-st-nucleo/board/board.h
+++ b/bsp/stm32/stm32f411-st-nucleo/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f429-atk-apollo/applications/main.c b/bsp/stm32/stm32f429-atk-apollo/applications/main.c
index d5b11f5a95..487ddf44f6 100644
--- a/bsp/stm32/stm32f429-atk-apollo/applications/main.c
+++ b/bsp/stm32/stm32f429-atk-apollo/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f429-atk-apollo/board/board.c b/bsp/stm32/stm32f429-atk-apollo/board/board.c
index c22fe25665..c13619f753 100644
--- a/bsp/stm32/stm32f429-atk-apollo/board/board.c
+++ b/bsp/stm32/stm32f429-atk-apollo/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f429-atk-apollo/board/board.h b/bsp/stm32/stm32f429-atk-apollo/board/board.h
index 29f0e8a829..9173f50c46 100644
--- a/bsp/stm32/stm32f429-atk-apollo/board/board.h
+++ b/bsp/stm32/stm32f429-atk-apollo/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f429-fire-challenger/applications/main.c b/bsp/stm32/stm32f429-fire-challenger/applications/main.c
index da0c169793..1078b64286 100644
--- a/bsp/stm32/stm32f429-fire-challenger/applications/main.c
+++ b/bsp/stm32/stm32f429-fire-challenger/applications/main.c
@@ -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
*/
diff --git a/bsp/stm32/stm32f429-fire-challenger/board/board.c b/bsp/stm32/stm32f429-fire-challenger/board/board.c
index 2ba9e9a7a2..ec47ab0d3a 100644
--- a/bsp/stm32/stm32f429-fire-challenger/board/board.c
+++ b/bsp/stm32/stm32f429-fire-challenger/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f429-fire-challenger/board/board.h b/bsp/stm32/stm32f429-fire-challenger/board/board.h
index 03a2235f10..ab9e1733e9 100644
--- a/bsp/stm32/stm32f429-fire-challenger/board/board.h
+++ b/bsp/stm32/stm32f429-fire-challenger/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f446-st-nucleo/applications/main.c b/bsp/stm32/stm32f446-st-nucleo/applications/main.c
index 6559f1b50c..0f283769a9 100644
--- a/bsp/stm32/stm32f446-st-nucleo/applications/main.c
+++ b/bsp/stm32/stm32f446-st-nucleo/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f446-st-nucleo/board/board.c b/bsp/stm32/stm32f446-st-nucleo/board/board.c
index 6e54a24ff2..aba3df89e1 100644
--- a/bsp/stm32/stm32f446-st-nucleo/board/board.c
+++ b/bsp/stm32/stm32f446-st-nucleo/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f446-st-nucleo/board/board.h b/bsp/stm32/stm32f446-st-nucleo/board/board.h
index ec57a2f53b..1800e44079 100644
--- a/bsp/stm32/stm32f446-st-nucleo/board/board.h
+++ b/bsp/stm32/stm32f446-st-nucleo/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f767-atk-apollo/board/board.c b/bsp/stm32/stm32f767-atk-apollo/board/board.c
index 31475fb19d..d47ebea0c7 100644
--- a/bsp/stm32/stm32f767-atk-apollo/board/board.c
+++ b/bsp/stm32/stm32f767-atk-apollo/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f767-atk-apollo/board/board.h b/bsp/stm32/stm32f767-atk-apollo/board/board.h
index af2746bfeb..3d986024ae 100644
--- a/bsp/stm32/stm32f767-atk-apollo/board/board.h
+++ b/bsp/stm32/stm32f767-atk-apollo/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c b/bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c
index 1b9120a5c5..0345cfc9fb 100644
--- a/bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c
+++ b/bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c
@@ -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>
diff --git a/bsp/stm32/stm32f767-fire-challenger/applications/main.c b/bsp/stm32/stm32f767-fire-challenger/applications/main.c
index 4c6e5ddea5..9ed6529712 100644
--- a/bsp/stm32/stm32f767-fire-challenger/applications/main.c
+++ b/bsp/stm32/stm32f767-fire-challenger/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f767-fire-challenger/board/board.c b/bsp/stm32/stm32f767-fire-challenger/board/board.c
index 6b9cace190..f5b0c783c7 100644
--- a/bsp/stm32/stm32f767-fire-challenger/board/board.c
+++ b/bsp/stm32/stm32f767-fire-challenger/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32f767-fire-challenger/board/board.h b/bsp/stm32/stm32f767-fire-challenger/board/board.h
index fc3b8c86a9..1beb8c5f87 100644
--- a/bsp/stm32/stm32f767-fire-challenger/board/board.h
+++ b/bsp/stm32/stm32f767-fire-challenger/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c b/bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c
index 1b9120a5c5..0345cfc9fb 100644
--- a/bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c
+++ b/bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c
@@ -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>
diff --git a/bsp/stm32/stm32f767-st-nucleo/applications/main.c b/bsp/stm32/stm32f767-st-nucleo/applications/main.c
index 3a6d169faa..ed3fc2c341 100644
--- a/bsp/stm32/stm32f767-st-nucleo/applications/main.c
+++ b/bsp/stm32/stm32f767-st-nucleo/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32f767-st-nucleo/board/board.c b/bsp/stm32/stm32f767-st-nucleo/board/board.c
index e5a5d7b32c..0c63bfe489 100644
--- a/bsp/stm32/stm32f767-st-nucleo/board/board.c
+++ b/bsp/stm32/stm32f767-st-nucleo/board/board.c
@@ -1,72 +1,72 @@
-/*
- * 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();
+ }
+}
+
diff --git a/bsp/stm32/stm32f767-st-nucleo/board/board.h b/bsp/stm32/stm32f767-st-nucleo/board/board.h
index 3254264e9c..1d1e1d1106 100644
--- a/bsp/stm32/stm32f767-st-nucleo/board/board.h
+++ b/bsp/stm32/stm32f767-st-nucleo/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32l432-st-nucleo/board/board.c b/bsp/stm32/stm32l432-st-nucleo/board/board.c
index 924350eaa0..79f7c0344f 100644
--- a/bsp/stm32/stm32l432-st-nucleo/board/board.c
+++ b/bsp/stm32/stm32l432-st-nucleo/board/board.c
@@ -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"
diff --git a/bsp/stm32/stm32l432-st-nucleo/board/board.h b/bsp/stm32/stm32l432-st-nucleo/board/board.h
index 5132b96549..3b3a77e103 100644
--- a/bsp/stm32/stm32l432-st-nucleo/board/board.h
+++ b/bsp/stm32/stm32l432-st-nucleo/board/board.h
@@ -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__
diff --git a/bsp/stm32/stm32l475-atk-pandora/applications/main.c b/bsp/stm32/stm32l475-atk-pandora/applications/main.c
index 3c9af880b2..97e08a7d42 100644
--- a/bsp/stm32/stm32l475-atk-pandora/applications/main.c
+++ b/bsp/stm32/stm32l475-atk-pandora/applications/main.c
@@ -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>
diff --git a/bsp/stm32/stm32l475-atk-pandora/board/board.h b/bsp/stm32/stm32l475-atk-pandora/board/board.h
index b8c4f1c01b..54139616c1 100644
--- a/bsp/stm32/stm32l475-atk-pandora/board/board.h
+++ b/bsp/stm32/stm32l475-atk-pandora/board/board.h
@@ -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__