Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lwc
/
compare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
96135f03
authored
Nov 02, 2019
by
Enrico Pozzobon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
F7 @ 216MHz
parent
69d96640
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
87 additions
and
97 deletions
+87
-97
templates/f7/.mxproject
+4
-4
templates/f7/Makefile
+33
-45
templates/f7/STM32F746ZGTx_FLASH.ld
+3
-3
templates/f7/Src/main.c
+9
-9
templates/f7/f7.ioc
+38
-36
No files found.
templates/f7/.mxproject
View file @
96135f03
[PreviousGenFiles]
[PreviousGenFiles]
HeaderPath=/home/enrico/Projects/lw
_crypto_
compare/templates/f7/Inc
HeaderPath=/home/enrico/Projects/lw
c-
compare/templates/f7/Inc
HeaderFiles=stm32f7xx_it.h;stm32f7xx_hal_conf.h;main.h;stm32_assert.h;
HeaderFiles=stm32f7xx_it.h;stm32f7xx_hal_conf.h;main.h;stm32_assert.h;
SourcePath=/home/enrico/Projects/lw
_crypto_
compare/templates/f7/Src
SourcePath=/home/enrico/Projects/lw
c-
compare/templates/f7/Src
SourceFiles=stm32f7xx_it.c;stm32f7xx_hal_msp.c;main.c;
SourceFiles=stm32f7xx_it.c;stm32f7xx_hal_msp.c;main.c;
[PreviousLibFiles]
[PreviousLibFiles]
LibFiles=Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_cortex.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_usart.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_dma.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_cortex.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_rcc.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_system.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_utils.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_exti.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_pwr.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_dmamux.h;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_cortex.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_usart.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_dma.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_cortex.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_rcc.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_system.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_utils.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_exti.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_pwr.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_dmamux.h;Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f746xx.h;Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h;Drivers/CMSIS/Device/ST/STM32F7xx/Include/system_stm32f7xx.h;Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/system_stm32f7xx.c;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/tz_context.h;Drivers/CMSIS/Include/core_armv8mbl.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/core_cm3.h;
LibFiles=Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_cortex.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_usart.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_dma.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_cortex.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_rcc.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_system.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_utils.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_exti.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_pwr.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_dmamux.h;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_cortex.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_usart.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_dma.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_cortex.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_rcc.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_system.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_utils.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_exti.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_pwr.h;Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_dmamux.h;Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f746xx.h;Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h;Drivers/CMSIS/Device/ST/STM32F7xx/Include/system_stm32f7xx.h;Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/system_stm32f7xx.c;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/tz_context.h;Drivers/CMSIS/Include/core_armv8mbl.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/core_cm3.h;
[PreviousUsedMakefileFiles]
[PreviousUsedMakefileFiles]
SourceFiles=Src/main.c;Src/stm32f7xx_it.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c;Src/system_stm32f7xx.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c;Src/system_stm32f7xx.c;Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/system_stm32f7xx.c;
null
;
SourceFiles=Src/main.c;Src/stm32f7xx_it.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c;Src/system_stm32f7xx.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c;Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c;Src/system_stm32f7xx.c;Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/system_stm32f7xx.c;;
HeaderPath=Drivers/STM32F7xx_HAL_Driver/Inc;Drivers/CMSIS/Device/ST/STM32F7xx/Include;Drivers/CMSIS/Include;Inc;
HeaderPath=Drivers/STM32F7xx_HAL_Driver/Inc;Drivers/CMSIS/Device/ST/STM32F7xx/Include;Drivers/CMSIS/Include;Inc;
CDefines=USE_FULL_LL_DRIVER;HSE_VALUE:8000000;HSE_STARTUP_TIMEOUT:100;LSE_STARTUP_TIMEOUT:5000;LSE_VALUE:32768;EXTERNAL_CLOCK_VALUE:12288000;HSI_VALUE:16000000;LSI_VALUE:32000;VDD_VALUE:3300;PREFETCH_ENABLE:0;ART_ACCLERATOR_ENABLE:0;
USE_HAL_DRIVER;STM32F746xx;USE_FULL_LL_DRIVER;USE_HAL_DRIVER;HSE_VALUE:8000000;HSE_STARTUP_TIMEOUT:100;LSE_STARTUP_TIMEOUT:5000;LSE_VALUE:32768;EXTERNAL_CLOCK_VALUE:12288000;HSI_VALUE:16000000;LSI_VALUE:32000;VDD_VALUE:3300;PREFETCH_ENABLE:0;ART_ACCLERATOR_ENABLE:0;USE_HAL_DRIVER;STM32F746xx
;
CDefines=USE_FULL_LL_DRIVER;HSE_VALUE:8000000;HSE_STARTUP_TIMEOUT:100;LSE_STARTUP_TIMEOUT:5000;LSE_VALUE:32768;EXTERNAL_CLOCK_VALUE:12288000;HSI_VALUE:16000000;LSI_VALUE:32000;VDD_VALUE:3300;PREFETCH_ENABLE:0;ART_ACCLERATOR_ENABLE:0;
STM32F746xx;USE_FULL_LL_DRIVER;HSE_VALUE:8000000;HSE_STARTUP_TIMEOUT:100;LSE_STARTUP_TIMEOUT:5000;LSE_VALUE:32768;EXTERNAL_CLOCK_VALUE:12288000;HSI_VALUE:16000000;LSI_VALUE:32000;VDD_VALUE:3300;PREFETCH_ENABLE:0;ART_ACCLERATOR_ENABLE:0
;
templates/f7/Makefile
View file @
96135f03
##########################################################################################################################
##########################################################################################################################
# File automatically-generated by tool: [projectgenerator] version: [3.
4.0] date: [Sun Jul 21 14:48:38 CES
T 2019]
# File automatically-generated by tool: [projectgenerator] version: [3.
5.2] date: [Sat Nov 02 10:20:31 CE
T 2019]
##########################################################################################################################
##########################################################################################################################
# ------------------------------------------------
# ------------------------------------------------
...
@@ -35,23 +35,23 @@ BUILD_DIR = build
...
@@ -35,23 +35,23 @@ BUILD_DIR = build
# source
# source
######################################
######################################
# C sources
# C sources
C_SOURCES
=
\
C_SOURCES
=
\
Src/main.c
\
Src/main.c
\
Src/stm32f7xx_it.c
\
Src/stm32f7xx_it.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c
\
Src/system_stm32f7xx.c
\
Src/system_stm32f7xx.c
\
Src/test.c
\
Src/test.c
\
Src/uartp.c
\
Src/uartp.c
\
$(SRC_FILES)
$(SRC_FILES)
# ASM sources
# ASM sources
ASM_SOURCES
=
\
ASM_SOURCES
=
\
startup_stm32f746xx.s
startup_stm32f746xx.s
...
@@ -95,30 +95,18 @@ MCU = $(CPU) -mthumb $(FPU) $(FLOAT-ABI)
...
@@ -95,30 +95,18 @@ MCU = $(CPU) -mthumb $(FPU) $(FLOAT-ABI)
AS_DEFS
=
AS_DEFS
=
# C defines
# C defines
C_DEFS
=
\
C_DEFS
=
\
-DUSE_FULL_LL_DRIVER
\
-DUSE_FULL_LL_DRIVER
\
-DHSE_VALUE
=
8000000
\
-DHSE_VALUE
=
8000000
\
-DHSE_STARTUP_TIMEOUT
=
100
\
-DHSE_STARTUP_TIMEOUT
=
100
\
-DLSE_STARTUP_TIMEOUT
=
5000
\
-DLSE_STARTUP_TIMEOUT
=
5000
\
-DLSE_VALUE
=
32768
\
-DLSE_VALUE
=
32768
\
-DEXTERNAL_CLOCK_VALUE
=
12288000
\
-DEXTERNAL_CLOCK_VALUE
=
12288000
\
-DHSI_VALUE
=
16000000
\
-DHSI_VALUE
=
16000000
\
-DLSI_VALUE
=
32000
\
-DLSI_VALUE
=
32000
\
-DVDD_VALUE
=
3300
\
-DVDD_VALUE
=
3300
\
-DPREFETCH_ENABLE
=
0
\
-DPREFETCH_ENABLE
=
0
\
-DART_ACCLERATOR_ENABLE
=
0
\
-DART_ACCLERATOR_ENABLE
=
0
\
-DSTM32F746xx
\
-DUSE_FULL_LL_DRIVER
\
-DHSE_VALUE
=
8000000
\
-DHSE_STARTUP_TIMEOUT
=
100
\
-DLSE_STARTUP_TIMEOUT
=
5000
\
-DLSE_VALUE
=
32768
\
-DEXTERNAL_CLOCK_VALUE
=
12288000
\
-DHSI_VALUE
=
16000000
\
-DLSI_VALUE
=
32000
\
-DVDD_VALUE
=
3300
\
-DPREFETCH_ENABLE
=
0
\
-DART_ACCLERATOR_ENABLE
=
0
\
-DSTM32F746xx
-DSTM32F746xx
...
@@ -126,11 +114,11 @@ C_DEFS = \
...
@@ -126,11 +114,11 @@ C_DEFS = \
AS_INCLUDES
=
AS_INCLUDES
=
# C includes
# C includes
C_INCLUDES
=
\
C_INCLUDES
=
\
-IInc
\
-IInc
\
-IDrivers
/STM32F7xx_HAL_Driver/Inc
\
-IDrivers/STM32F7xx_HAL_Driver/Inc
\
-IDrivers
/CMSIS/Device/ST/STM32F7xx/Include
\
-IDrivers/CMSIS/Device/ST/STM32F7xx/Include
\
-IDrivers
/CMSIS/Include
\
-IDrivers/CMSIS/Include
\
-IDrivers/CMSIS/Include
-IDrivers/CMSIS/Include
...
@@ -203,4 +191,4 @@ clean:
...
@@ -203,4 +191,4 @@ clean:
#######################################
#######################################
-include
$(wildcard
$(BUILD_DIR)/*.d)
-include
$(wildcard
$(BUILD_DIR)/*.d)
# *** EOF ***
# *** EOF ***
templates/f7/STM32F746ZGTx_FLASH.ld
View file @
96135f03
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
** File : LinkerScript.ld
** File : LinkerScript.ld
**
**
** Author : Auto-generated by
Ac6 System Workbench
** Author : Auto-generated by
System Workbench for STM32
**
**
** Abstract : Linker script for STM32F746ZGTx series
** Abstract : Linker script for STM32F746ZGTx series
** 1024Kbytes FLASH and 320Kbytes RAM
** 1024Kbytes FLASH and 320Kbytes RAM
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
*****************************************************************************
*****************************************************************************
** @attention
** @attention
**
**
** <h2><center>© COPYRIGHT(c) 201
4 Ac6
</center></h2>
** <h2><center>© COPYRIGHT(c) 201
9 STMicroelectronics
</center></h2>
**
**
** Redistribution and use in source and binary forms, with or without modification,
** Redistribution and use in source and binary forms, with or without modification,
** are permitted provided that the following conditions are met:
** are permitted provided that the following conditions are met:
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
** 2. Redistributions in binary form must reproduce the above copyright notice,
** 2. Redistributions in binary form must reproduce the above copyright notice,
** this list of conditions and the following disclaimer in the documentation
** this list of conditions and the following disclaimer in the documentation
** and/or other materials provided with the distribution.
** and/or other materials provided with the distribution.
** 3. Neither the name of
Ac6
nor the names of its contributors
** 3. Neither the name of
STMicroelectronics
nor the names of its contributors
** may be used to endorse or promote products derived from this software
** may be used to endorse or promote products derived from this software
** without specific prior written permission.
** without specific prior written permission.
**
**
...
...
templates/f7/Src/main.c
View file @
96135f03
...
@@ -122,14 +122,14 @@ int main(void)
...
@@ -122,14 +122,14 @@ int main(void)
*/
*/
void
SystemClock_Config
(
void
)
void
SystemClock_Config
(
void
)
{
{
LL_FLASH_SetLatency
(
LL_FLASH_LATENCY_
2
);
LL_FLASH_SetLatency
(
LL_FLASH_LATENCY_
7
);
if
(
LL_FLASH_GetLatency
()
!=
LL_FLASH_LATENCY_2
)
if
(
LL_FLASH_GetLatency
()
!=
LL_FLASH_LATENCY_7
)
{
{
Error_Handler
();
Error_Handler
();
}
}
LL_PWR_SetRegulVoltageScaling
(
LL_PWR_REGU_VOLTAGE_SCALE
3
);
LL_PWR_SetRegulVoltageScaling
(
LL_PWR_REGU_VOLTAGE_SCALE
1
);
LL_PWR_
Dis
ableOverDriveMode
();
LL_PWR_
En
ableOverDriveMode
();
LL_RCC_HSE_EnableBypass
();
LL_RCC_HSE_EnableBypass
();
LL_RCC_HSE_Enable
();
LL_RCC_HSE_Enable
();
...
@@ -138,7 +138,7 @@ void SystemClock_Config(void)
...
@@ -138,7 +138,7 @@ void SystemClock_Config(void)
{
{
}
}
LL_RCC_PLL_ConfigDomain_SYS
(
LL_RCC_PLLSOURCE_HSE
,
LL_RCC_PLLM_DIV_4
,
72
,
LL_RCC_PLLP_DIV_2
);
LL_RCC_PLL_ConfigDomain_SYS
(
LL_RCC_PLLSOURCE_HSE
,
LL_RCC_PLLM_DIV_4
,
216
,
LL_RCC_PLLP_DIV_2
);
LL_RCC_PLL_Enable
();
LL_RCC_PLL_Enable
();
/* Wait till PLL is ready */
/* Wait till PLL is ready */
...
@@ -147,8 +147,8 @@ void SystemClock_Config(void)
...
@@ -147,8 +147,8 @@ void SystemClock_Config(void)
}
}
LL_RCC_SetAHBPrescaler
(
LL_RCC_SYSCLK_DIV_1
);
LL_RCC_SetAHBPrescaler
(
LL_RCC_SYSCLK_DIV_1
);
LL_RCC_SetAPB1Prescaler
(
LL_RCC_APB1_DIV_
2
);
LL_RCC_SetAPB1Prescaler
(
LL_RCC_APB1_DIV_
4
);
LL_RCC_SetAPB2Prescaler
(
LL_RCC_APB2_DIV_
1
);
LL_RCC_SetAPB2Prescaler
(
LL_RCC_APB2_DIV_
2
);
LL_RCC_SetSysClkSource
(
LL_RCC_SYS_CLKSOURCE_PLL
);
LL_RCC_SetSysClkSource
(
LL_RCC_SYS_CLKSOURCE_PLL
);
/* Wait till System clock is ready */
/* Wait till System clock is ready */
...
@@ -156,9 +156,9 @@ void SystemClock_Config(void)
...
@@ -156,9 +156,9 @@ void SystemClock_Config(void)
{
{
}
}
LL_Init1msTick
(
72
000000
);
LL_Init1msTick
(
216
000000
);
LL_SYSTICK_SetClkSource
(
LL_SYSTICK_CLKSOURCE_HCLK
);
LL_SYSTICK_SetClkSource
(
LL_SYSTICK_CLKSOURCE_HCLK
);
LL_SetSystemCoreClock
(
72
000000
);
LL_SetSystemCoreClock
(
216
000000
);
LL_RCC_SetUSARTClockSource
(
LL_RCC_USART2_CLKSOURCE_PCLK1
);
LL_RCC_SetUSARTClockSource
(
LL_RCC_USART2_CLKSOURCE_PCLK1
);
LL_RCC_SetUSARTClockSource
(
LL_RCC_USART3_CLKSOURCE_PCLK1
);
LL_RCC_SetUSARTClockSource
(
LL_RCC_USART3_CLKSOURCE_PCLK1
);
}
}
...
...
templates/f7/f7.ioc
View file @
96135f03
...
@@ -33,10 +33,11 @@ Mcu.PinsNb=18
...
@@ -33,10 +33,11 @@ Mcu.PinsNb=18
Mcu.ThirdPartyNb=0
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserConstants=
Mcu.UserName=STM32F746ZGTx
Mcu.UserName=STM32F746ZGTx
MxCube.Version=5.
3
.0
MxCube.Version=5.
4
.0
MxDb.Version=DB.5.0.
3
0
MxDb.Version=DB.5.0.
4
0
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.ForceEnableDMAVector=true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:true\:false
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:true\:false
...
@@ -154,34 +155,35 @@ ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-LL-true,2-SystemClock_
...
@@ -154,34 +155,35 @@ ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-LL-true,2-SystemClock_
RCC.48MHZClocksFreq_Value=24000000
RCC.48MHZClocksFreq_Value=24000000
RCC.ADC12outputFreq_Value=72000000
RCC.ADC12outputFreq_Value=72000000
RCC.ADC34outputFreq_Value=72000000
RCC.ADC34outputFreq_Value=72000000
RCC.AHBFreq_Value=72000000
RCC.AHBFreq_Value=216000000
RCC.APB1CLKDivider=RCC_HCLK_DIV2
RCC.APB1CLKDivider=RCC_HCLK_DIV4
RCC.APB1Freq_Value=36000000
RCC.APB1Freq_Value=54000000
RCC.APB1TimFreq_Value=72000000
RCC.APB1TimFreq_Value=108000000
RCC.APB2Freq_Value=72000000
RCC.APB2CLKDivider=RCC_HCLK_DIV2
RCC.APB2TimFreq_Value=72000000
RCC.APB2Freq_Value=108000000
RCC.APB2TimFreq_Value=216000000
RCC.CECFreq_Value=32786.88524590164
RCC.CECFreq_Value=32786.88524590164
RCC.CortexFreq_Value=
72
000000
RCC.CortexFreq_Value=
216
000000
RCC.EthernetFreq_Value=
72
000000
RCC.EthernetFreq_Value=
216
000000
RCC.FCLKCortexFreq_Value=
72
000000
RCC.FCLKCortexFreq_Value=
216
000000
RCC.FamilyName=M
RCC.FamilyName=M
RCC.HCLKFreq_Value=
72
000000
RCC.HCLKFreq_Value=
216
000000
RCC.HSE_VALUE=8000000
RCC.HSE_VALUE=8000000
RCC.HSI_VALUE=16000000
RCC.HSI_VALUE=16000000
RCC.I2C1Freq_Value=
36
000000
RCC.I2C1Freq_Value=
54
000000
RCC.I2C2Freq_Value=
36
000000
RCC.I2C2Freq_Value=
54
000000
RCC.I2C3Freq_Value=
36
000000
RCC.I2C3Freq_Value=
54
000000
RCC.I2C4Freq_Value=
36
000000
RCC.I2C4Freq_Value=
54
000000
RCC.I2SClocksFreq_Value=48000000
RCC.I2SClocksFreq_Value=48000000
RCC.I2SFreq_Value=192000000
RCC.I2SFreq_Value=192000000
RCC.IPParameters=48MHZClocksFreq_Value,ADC12outputFreq_Value,ADC34outputFreq_Value,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CECFreq_Value,CortexFreq_Value,EthernetFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,I2C4Freq_Value,I2SClocksFreq_Value,I2SFreq_Value,LCDTFToutputFreq_Value,LPTIM1Freq_Value,LSI_VALUE,MCO1PinFreq_Value,MCO2PinFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLI2SPCLKFreq_Value,PLLI2SQCLKFreq_Value,PLLI2SRCLKFreq_Value,PLLI2SRoutputFreq_Value,PLLM,PLLMCOFreq_Value,PLLMUL,PLLN,PLLQ,PLLQCLKFreq_Value,PLLQoutputFreq_Value,PLLSAIPCLKFreq_Value,PLLSAIQCLKFreq_Value,PLLSAIRCLKFreq_Value,PLLSAIoutputFreq_Value,PLLSourceVirtual,PRESCALERUSB,RNGFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCFreq_Value,SPDIFRXFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,SYSCLKSourceVirtual,TIM15Freq_Value,TIM16Freq_Value,TIM17Freq_Value,TIM1Freq_Value,TIM20Freq_Value,TIM2Freq_Value,TIM3Freq_Value,TIM8Freq_Value,UART4Freq_Value,UART5Freq_Value,UART7Freq_Value,UART8Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USART6Freq_Value,USBFreq_Value,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutput2Freq_Value,VCOOutputFreq_Value,VCOSAIOutputFreq_Value,VcooutputI2S,WatchDogFreq_Value
RCC.IPParameters=48MHZClocksFreq_Value,ADC12outputFreq_Value,ADC34outputFreq_Value,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2
CLKDivider,APB2
Freq_Value,APB2TimFreq_Value,CECFreq_Value,CortexFreq_Value,EthernetFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,I2C4Freq_Value,I2SClocksFreq_Value,I2SFreq_Value,LCDTFToutputFreq_Value,LPTIM1Freq_Value,LSI_VALUE,MCO1PinFreq_Value,MCO2PinFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLI2SPCLKFreq_Value,PLLI2SQCLKFreq_Value,PLLI2SRCLKFreq_Value,PLLI2SRoutputFreq_Value,PLLM,PLLMCOFreq_Value,PLLMUL,PLLN,PLLQ,PLLQCLKFreq_Value,PLLQoutputFreq_Value,PLLSAIPCLKFreq_Value,PLLSAIQCLKFreq_Value,PLLSAIRCLKFreq_Value,PLLSAIoutputFreq_Value,PLLSourceVirtual,PRESCALERUSB,RNGFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCFreq_Value,SPDIFRXFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,SYSCLKSourceVirtual,TIM15Freq_Value,TIM16Freq_Value,TIM17Freq_Value,TIM1Freq_Value,TIM20Freq_Value,TIM2Freq_Value,TIM3Freq_Value,TIM8Freq_Value,UART4Freq_Value,UART5Freq_Value,UART7Freq_Value,UART8Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USART6Freq_Value,USBFreq_Value,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutput2Freq_Value,VCOOutputFreq_Value,VCOSAIOutputFreq_Value,VcooutputI2S,WatchDogFreq_Value
RCC.LCDTFToutputFreq_Value=96000000
RCC.LCDTFToutputFreq_Value=96000000
RCC.LPTIM1Freq_Value=
36
000000
RCC.LPTIM1Freq_Value=
54
000000
RCC.LSI_VALUE=32000
RCC.LSI_VALUE=32000
RCC.MCO1PinFreq_Value=16000000
RCC.MCO1PinFreq_Value=16000000
RCC.MCO2PinFreq_Value=
72
000000
RCC.MCO2PinFreq_Value=
216
000000
RCC.MCOFreq_Value=72000000
RCC.MCOFreq_Value=72000000
RCC.PLLCLKFreq_Value=
72
000000
RCC.PLLCLKFreq_Value=
216
000000
RCC.PLLI2SPCLKFreq_Value=192000000
RCC.PLLI2SPCLKFreq_Value=192000000
RCC.PLLI2SQCLKFreq_Value=192000000
RCC.PLLI2SQCLKFreq_Value=192000000
RCC.PLLI2SRCLKFreq_Value=192000000
RCC.PLLI2SRCLKFreq_Value=192000000
...
@@ -189,24 +191,24 @@ RCC.PLLI2SRoutputFreq_Value=192000000
...
@@ -189,24 +191,24 @@ RCC.PLLI2SRoutputFreq_Value=192000000
RCC.PLLM=4
RCC.PLLM=4
RCC.PLLMCOFreq_Value=72000000
RCC.PLLMCOFreq_Value=72000000
RCC.PLLMUL=RCC_PLL_MUL9
RCC.PLLMUL=RCC_PLL_MUL9
RCC.PLLN=
72
RCC.PLLN=
216
RCC.PLLQ=3
RCC.PLLQ=3
RCC.PLLQCLKFreq_Value=
48
000000
RCC.PLLQCLKFreq_Value=
144
000000
RCC.PLLQoutputFreq_Value=
48
000000
RCC.PLLQoutputFreq_Value=
144
000000
RCC.PLLSAIPCLKFreq_Value=192000000
RCC.PLLSAIPCLKFreq_Value=192000000
RCC.PLLSAIQCLKFreq_Value=192000000
RCC.PLLSAIQCLKFreq_Value=192000000
RCC.PLLSAIRCLKFreq_Value=192000000
RCC.PLLSAIRCLKFreq_Value=192000000
RCC.PLLSAIoutputFreq_Value=192000000
RCC.PLLSAIoutputFreq_Value=192000000
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE
RCC.PRESCALERUSB=RCC_USBCLKSOURCE_PLL_DIV1_5
RCC.PRESCALERUSB=RCC_USBCLKSOURCE_PLL_DIV1_5
RCC.RNGFreq_Value=
48
000000
RCC.RNGFreq_Value=
144
000000
RCC.RTCFreq_Value=32000
RCC.RTCFreq_Value=32000
RCC.RTCHSEDivFreq_Value=4000000
RCC.RTCHSEDivFreq_Value=4000000
RCC.SAI1Freq_Value=192000000
RCC.SAI1Freq_Value=192000000
RCC.SAI2Freq_Value=192000000
RCC.SAI2Freq_Value=192000000
RCC.SDMMCFreq_Value=
72
000000
RCC.SDMMCFreq_Value=
216
000000
RCC.SPDIFRXFreq_Value=192000000
RCC.SPDIFRXFreq_Value=192000000
RCC.SYSCLKFreq_VALUE=
72
000000
RCC.SYSCLKFreq_VALUE=
216
000000
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
RCC.SYSCLKSourceVirtual=RCC_SYSCLKSOURCE_PLLCLK
RCC.SYSCLKSourceVirtual=RCC_SYSCLKSOURCE_PLLCLK
RCC.TIM15Freq_Value=72000000
RCC.TIM15Freq_Value=72000000
...
@@ -217,19 +219,19 @@ RCC.TIM20Freq_Value=72000000
...
@@ -217,19 +219,19 @@ RCC.TIM20Freq_Value=72000000
RCC.TIM2Freq_Value=72000000
RCC.TIM2Freq_Value=72000000
RCC.TIM3Freq_Value=72000000
RCC.TIM3Freq_Value=72000000
RCC.TIM8Freq_Value=72000000
RCC.TIM8Freq_Value=72000000
RCC.UART4Freq_Value=
36
000000
RCC.UART4Freq_Value=
54
000000
RCC.UART5Freq_Value=
36
000000
RCC.UART5Freq_Value=
54
000000
RCC.UART7Freq_Value=
36
000000
RCC.UART7Freq_Value=
54
000000
RCC.UART8Freq_Value=
36
000000
RCC.UART8Freq_Value=
54
000000
RCC.USART1Freq_Value=
72
000000
RCC.USART1Freq_Value=
108
000000
RCC.USART2Freq_Value=
36
000000
RCC.USART2Freq_Value=
54
000000
RCC.USART3Freq_Value=
36
000000
RCC.USART3Freq_Value=
54
000000
RCC.USART6Freq_Value=
72
000000
RCC.USART6Freq_Value=
108
000000
RCC.USBFreq_Value=
48
000000
RCC.USBFreq_Value=
144
000000
RCC.VCOI2SOutputFreq_Value=384000000
RCC.VCOI2SOutputFreq_Value=384000000
RCC.VCOInputFreq_Value=2000000
RCC.VCOInputFreq_Value=2000000
RCC.VCOOutput2Freq_Value=8000000
RCC.VCOOutput2Freq_Value=8000000
RCC.VCOOutputFreq_Value=
144
000000
RCC.VCOOutputFreq_Value=
432
000000
RCC.VCOSAIOutputFreq_Value=384000000
RCC.VCOSAIOutputFreq_Value=384000000
RCC.VcooutputI2S=48000000
RCC.VcooutputI2S=48000000
RCC.WatchDogFreq_Value=32000
RCC.WatchDogFreq_Value=32000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment