nearly broke everything, but should be safe now
This commit is contained in:
parent
bac17326db
commit
416684b3e6
16 changed files with 817 additions and 1174 deletions
|
@ -36,28 +36,17 @@
|
|||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.260461090" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.value.g3" valueType="enumerated"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.1008084780" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.2084042077" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="HSE_VALUE=8000000"/>
|
||||
<listOptionValue builtIn="false" value="MSI_VALUE=4000000"/>
|
||||
<listOptionValue builtIn="false" value="LSI_VALUE=32000"/>
|
||||
<listOptionValue builtIn="false" value="HSE_STARTUP_TIMEOUT=100"/>
|
||||
<listOptionValue builtIn="false" value="HSI_VALUE=16000000"/>
|
||||
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||
<listOptionValue builtIn="false" value="LSE_STARTUP_TIMEOUT=5000"/>
|
||||
<listOptionValue builtIn="false" value="LSE_VALUE=32768"/>
|
||||
<listOptionValue builtIn="false" value="DATA_CACHE_ENABLE=1"/>
|
||||
<listOptionValue builtIn="false" value="VDD_VALUE=3300"/>
|
||||
<listOptionValue builtIn="false" value="INSTRUCTION_CACHE_ENABLE=1"/>
|
||||
<listOptionValue builtIn="false" value="EXTERNALSAI2_CLOCK_VALUE=2097000"/>
|
||||
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
|
||||
<listOptionValue builtIn="false" value="STM32L476xx"/>
|
||||
<listOptionValue builtIn="false" value="USE_FULL_LL_DRIVER"/>
|
||||
<listOptionValue builtIn="false" value="EXTERNALSAI1_CLOCK_VALUE=2097000"/>
|
||||
<listOptionValue builtIn="false" value="PREFETCH_ENABLE=0"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.91113608" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../Core/Inc"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/STM32L4xx_HAL_Driver/Inc"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32L4xx/Include"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy"/>
|
||||
</option>
|
||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.2066839393" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
|
||||
</tool>
|
||||
|
@ -117,7 +106,7 @@
|
|||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.392142979" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.194970219" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.41252345" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" value="genericBoard" valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.1502291583" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.3 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.base.gnu-tools-for-stm32 || STM32L476RGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32L4xx_HAL_Driver/Inc | ../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32L4xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32L476xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32L476RGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || " valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.1502291583" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.3 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.base.gnu-tools-for-stm32 || STM32L476RGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/CMSIS/Device/ST/STM32L4xx/Include | ../Drivers/STM32L4xx_HAL_Driver/Inc | ../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy || || || USE_HAL_DRIVER | STM32L476xx | USE_FULL_LL_DRIVER || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32L476RGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || " valueType="string"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1285439591" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
||||
<builder buildPath="${workspace_loc:/L476_ats_blink-master}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.197997793" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
|
||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.237074260" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
|
||||
|
@ -128,27 +117,16 @@
|
|||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.155391150" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.1325916365" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.value.os" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.877421546" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="HSE_VALUE=8000000"/>
|
||||
<listOptionValue builtIn="false" value="MSI_VALUE=4000000"/>
|
||||
<listOptionValue builtIn="false" value="LSI_VALUE=32000"/>
|
||||
<listOptionValue builtIn="false" value="HSE_STARTUP_TIMEOUT=100"/>
|
||||
<listOptionValue builtIn="false" value="HSI_VALUE=16000000"/>
|
||||
<listOptionValue builtIn="false" value="LSE_STARTUP_TIMEOUT=5000"/>
|
||||
<listOptionValue builtIn="false" value="LSE_VALUE=32768"/>
|
||||
<listOptionValue builtIn="false" value="DATA_CACHE_ENABLE=1"/>
|
||||
<listOptionValue builtIn="false" value="VDD_VALUE=3300"/>
|
||||
<listOptionValue builtIn="false" value="INSTRUCTION_CACHE_ENABLE=1"/>
|
||||
<listOptionValue builtIn="false" value="EXTERNALSAI2_CLOCK_VALUE=2097000"/>
|
||||
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
|
||||
<listOptionValue builtIn="false" value="STM32L476xx"/>
|
||||
<listOptionValue builtIn="false" value="USE_FULL_LL_DRIVER"/>
|
||||
<listOptionValue builtIn="false" value="EXTERNALSAI1_CLOCK_VALUE=2097000"/>
|
||||
<listOptionValue builtIn="false" value="PREFETCH_ENABLE=0"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.1755829151" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="../Core/Inc"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/STM32L4xx_HAL_Driver/Inc"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32L4xx/Include"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy"/>
|
||||
</option>
|
||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1542000366" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
|
||||
</tool>
|
||||
|
@ -199,4 +177,5 @@
|
|||
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="refreshScope"/>
|
||||
</cproject>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -28,6 +28,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32l4xx_hal.h"
|
||||
#include "stm32l4xx_ll_crs.h"
|
||||
#include "stm32l4xx_ll_rcc.h"
|
||||
#include "stm32l4xx_ll_bus.h"
|
||||
|
@ -39,10 +40,6 @@ extern "C" {
|
|||
#include "stm32l4xx_ll_dma.h"
|
||||
#include "stm32l4xx_ll_gpio.h"
|
||||
|
||||
#if defined(USE_FULL_ASSERT)
|
||||
#include "stm32_assert.h"
|
||||
#endif /* USE_FULL_ASSERT */
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
|
@ -71,18 +68,6 @@ void Error_Handler(void);
|
|||
/* USER CODE END EFP */
|
||||
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
#ifndef NVIC_PRIORITYGROUP_0
|
||||
#define NVIC_PRIORITYGROUP_0 ((uint32_t)0x00000007) /*!< 0 bit for pre-emption priority,
|
||||
4 bits for subpriority */
|
||||
#define NVIC_PRIORITYGROUP_1 ((uint32_t)0x00000006) /*!< 1 bit for pre-emption priority,
|
||||
3 bits for subpriority */
|
||||
#define NVIC_PRIORITYGROUP_2 ((uint32_t)0x00000005) /*!< 2 bits for pre-emption priority,
|
||||
2 bits for subpriority */
|
||||
#define NVIC_PRIORITYGROUP_3 ((uint32_t)0x00000004) /*!< 3 bits for pre-emption priority,
|
||||
1 bit for subpriority */
|
||||
#define NVIC_PRIORITYGROUP_4 ((uint32_t)0x00000003) /*!< 4 bits for pre-emption priority,
|
||||
0 bit for subpriority */
|
||||
#endif
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
|
|
@ -24,11 +24,14 @@ volatile uint8_t blue_mode = 0;
|
|||
|
||||
void SysTick_Handler()
|
||||
{
|
||||
if ( BLUE_BUTTON() ){
|
||||
blue_mode = 1 ;
|
||||
}
|
||||
|
||||
msTicks++; /* See startup file startup_LPC17xx.s for SysTick vector */
|
||||
if (msTicks == 50){
|
||||
if (msTicks == 5){
|
||||
LED_GREEN(0);
|
||||
}else if(msTicks >= 1000){
|
||||
}else if(msTicks >= 200){
|
||||
msTicks = 0;
|
||||
LED_GREEN(1);
|
||||
}
|
||||
|
@ -48,11 +51,15 @@ GPIO_init();
|
|||
LL_Init1msTick( SystemCoreClock );
|
||||
LL_SYSTICK_EnableIT();
|
||||
|
||||
//Setup Sleep mode
|
||||
LL_LPM_EnableSleep();
|
||||
//LL_LPM_EnableSleepOnExit();
|
||||
|
||||
while (1) {
|
||||
if ( BLUE_BUTTON() ){
|
||||
blue_mode = 1;
|
||||
if (blue_mode){
|
||||
__WFI();
|
||||
}
|
||||
|
||||
// else {
|
||||
// LED_GREEN(0);
|
||||
// LL_mDelay(950);
|
||||
|
@ -85,20 +92,20 @@ LL_FLASH_SetLatency(LL_FLASH_LATENCY_4);
|
|||
LL_RCC_MSI_Enable();
|
||||
while (LL_RCC_MSI_IsReady() != 1)
|
||||
{ };
|
||||
|
||||
|
||||
/* Main PLL configuration and activation */
|
||||
LL_RCC_PLL_ConfigDomain_SYS(LL_RCC_PLLSOURCE_MSI, LL_RCC_PLLM_DIV_1, 40, LL_RCC_PLLR_DIV_2);
|
||||
LL_RCC_PLL_Enable();
|
||||
LL_RCC_PLL_EnableDomain_SYS();
|
||||
while(LL_RCC_PLL_IsReady() != 1)
|
||||
{ };
|
||||
|
||||
|
||||
/* Sysclk activation on the main PLL */
|
||||
LL_RCC_SetAHBPrescaler(LL_RCC_SYSCLK_DIV_1);
|
||||
LL_RCC_SetSysClkSource(LL_RCC_SYS_CLKSOURCE_PLL);
|
||||
while(LL_RCC_GetSysClkSource() != LL_RCC_SYS_CLKSOURCE_STATUS_PLL)
|
||||
{ };
|
||||
|
||||
|
||||
/* Set APB1 & APB2 prescaler*/
|
||||
LL_RCC_SetAPB1Prescaler(LL_RCC_APB1_DIV_1);
|
||||
LL_RCC_SetAPB2Prescaler(LL_RCC_APB2_DIV_1);
|
||||
|
|
|
@ -179,16 +179,16 @@ void PendSV_Handler(void)
|
|||
/**
|
||||
* @brief This function handles System tick timer.
|
||||
*/
|
||||
//void SysTick_Handler(void)
|
||||
//{
|
||||
// /* USER CODE BEGIN SysTick_IRQn 0 */
|
||||
void SysTick_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN SysTick_IRQn 0 */
|
||||
//
|
||||
// /* USER CODE END SysTick_IRQn 0 */
|
||||
/* USER CODE END SysTick_IRQn 0 */
|
||||
HAL_IncTick();
|
||||
/* USER CODE BEGIN SysTick_IRQn 1 */
|
||||
//
|
||||
// /* USER CODE BEGIN SysTick_IRQn 1 */
|
||||
//
|
||||
// /* USER CODE END SysTick_IRQn 1 */
|
||||
//}
|
||||
/* USER CODE END SysTick_IRQn 1 */
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
/* STM32L4xx Peripheral Interrupt Handlers */
|
||||
|
|
Binary file not shown.
|
@ -11,6 +11,7 @@ stm32l4xx_ll_rcc.h:3800:22:LL_RCC_PLL_ConfigDomain_SYS 24 static
|
|||
stm32l4xx_ll_rcc.h:4178:22:LL_RCC_PLL_EnableDomain_SYS 4 static
|
||||
stm32l4xx_ll_system.h:1400:22:LL_FLASH_SetLatency 16 static
|
||||
stm32l4xx_ll_cortex.h:272:22:LL_SYSTICK_EnableIT 4 static
|
||||
stm32l4xx_ll_cortex.h:310:22:LL_LPM_EnableSleep 4 static
|
||||
main.c:25:6:SysTick_Handler 8 static
|
||||
main.c:39:5:main 8 static
|
||||
main.c:82:6:SystemClock_Config 8 static
|
||||
main.c:42:5:main 8 static,ignoring_inline_asm
|
||||
main.c:89:6:SystemClock_Config 8 static
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -788,7 +788,7 @@ LOAD c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte
|
|||
0x0000000008000000 g_pfnVectors
|
||||
0x0000000008000188 . = ALIGN (0x4)
|
||||
|
||||
.text 0x0000000008000188 0x804
|
||||
.text 0x0000000008000188 0x834
|
||||
0x0000000008000188 . = ALIGN (0x4)
|
||||
*(.text)
|
||||
.text 0x0000000008000188 0x40 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
|
@ -840,222 +840,223 @@ LOAD c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte
|
|||
0x0000000008000538 0x28 Core/Src/main.o
|
||||
.text.LL_SYSTICK_EnableIT
|
||||
0x0000000008000560 0x20 Core/Src/main.o
|
||||
.text.LL_LPM_EnableSleep
|
||||
0x0000000008000580 0x20 Core/Src/main.o
|
||||
.text.SysTick_Handler
|
||||
0x0000000008000580 0x3c Core/Src/main.o
|
||||
0x0000000008000580 SysTick_Handler
|
||||
.text.main 0x00000000080005bc 0x34 Core/Src/main.o
|
||||
0x00000000080005bc main
|
||||
0x00000000080005a0 0x50 Core/Src/main.o
|
||||
0x00000000080005a0 SysTick_Handler
|
||||
.text.main 0x00000000080005f0 0x34 Core/Src/main.o
|
||||
0x00000000080005f0 main
|
||||
.text.SystemClock_Config
|
||||
0x00000000080005f0 0x66 Core/Src/main.o
|
||||
0x00000000080005f0 SystemClock_Config
|
||||
0x0000000008000624 0x66 Core/Src/main.o
|
||||
0x0000000008000624 SystemClock_Config
|
||||
.text.NMI_Handler
|
||||
0x0000000008000656 0xe Core/Src/stm32l4xx_it.o
|
||||
0x0000000008000656 NMI_Handler
|
||||
.text.HardFault_Handler
|
||||
0x0000000008000664 0x6 Core/Src/stm32l4xx_it.o
|
||||
0x0000000008000664 HardFault_Handler
|
||||
.text.MemManage_Handler
|
||||
0x000000000800066a 0x6 Core/Src/stm32l4xx_it.o
|
||||
0x000000000800066a MemManage_Handler
|
||||
.text.BusFault_Handler
|
||||
0x0000000008000670 0x6 Core/Src/stm32l4xx_it.o
|
||||
0x0000000008000670 BusFault_Handler
|
||||
.text.UsageFault_Handler
|
||||
0x0000000008000676 0x6 Core/Src/stm32l4xx_it.o
|
||||
0x0000000008000676 UsageFault_Handler
|
||||
.text.SVC_Handler
|
||||
0x000000000800067c 0xe Core/Src/stm32l4xx_it.o
|
||||
0x000000000800067c SVC_Handler
|
||||
.text.DebugMon_Handler
|
||||
0x000000000800068a 0xe Core/Src/stm32l4xx_it.o
|
||||
0x000000000800068a DebugMon_Handler
|
||||
0x000000000800068a NMI_Handler
|
||||
.text.HardFault_Handler
|
||||
0x0000000008000698 0x6 Core/Src/stm32l4xx_it.o
|
||||
0x0000000008000698 HardFault_Handler
|
||||
.text.MemManage_Handler
|
||||
0x000000000800069e 0x6 Core/Src/stm32l4xx_it.o
|
||||
0x000000000800069e MemManage_Handler
|
||||
.text.BusFault_Handler
|
||||
0x00000000080006a4 0x6 Core/Src/stm32l4xx_it.o
|
||||
0x00000000080006a4 BusFault_Handler
|
||||
.text.UsageFault_Handler
|
||||
0x00000000080006aa 0x6 Core/Src/stm32l4xx_it.o
|
||||
0x00000000080006aa UsageFault_Handler
|
||||
.text.SVC_Handler
|
||||
0x00000000080006b0 0xe Core/Src/stm32l4xx_it.o
|
||||
0x00000000080006b0 SVC_Handler
|
||||
.text.DebugMon_Handler
|
||||
0x00000000080006be 0xe Core/Src/stm32l4xx_it.o
|
||||
0x00000000080006be DebugMon_Handler
|
||||
.text.PendSV_Handler
|
||||
0x0000000008000698 0xe Core/Src/stm32l4xx_it.o
|
||||
0x0000000008000698 PendSV_Handler
|
||||
*fill* 0x00000000080006a6 0x2
|
||||
0x00000000080006cc 0xe Core/Src/stm32l4xx_it.o
|
||||
0x00000000080006cc PendSV_Handler
|
||||
*fill* 0x00000000080006da 0x2
|
||||
.text.SystemInit
|
||||
0x00000000080006a8 0x6c Core/Src/system_stm32l4xx.o
|
||||
0x00000000080006a8 SystemInit
|
||||
0x00000000080006dc 0x6c Core/Src/system_stm32l4xx.o
|
||||
0x00000000080006dc SystemInit
|
||||
.text.SystemCoreClockUpdate
|
||||
0x0000000008000714 0x174 Core/Src/system_stm32l4xx.o
|
||||
0x0000000008000714 SystemCoreClockUpdate
|
||||
0x0000000008000748 0x174 Core/Src/system_stm32l4xx.o
|
||||
0x0000000008000748 SystemCoreClockUpdate
|
||||
.text.Reset_Handler
|
||||
0x0000000008000888 0x50 Core/Startup/startup_stm32l476rgtx.o
|
||||
0x0000000008000888 Reset_Handler
|
||||
0x00000000080008bc 0x50 Core/Startup/startup_stm32l476rgtx.o
|
||||
0x00000000080008bc Reset_Handler
|
||||
.text.Default_Handler
|
||||
0x00000000080008d8 0x2 Core/Startup/startup_stm32l476rgtx.o
|
||||
0x00000000080008d8 RTC_Alarm_IRQHandler
|
||||
0x00000000080008d8 EXTI2_IRQHandler
|
||||
0x00000000080008d8 TIM8_TRG_COM_IRQHandler
|
||||
0x00000000080008d8 TIM8_CC_IRQHandler
|
||||
0x00000000080008d8 TIM1_CC_IRQHandler
|
||||
0x00000000080008d8 TSC_IRQHandler
|
||||
0x00000000080008d8 TAMP_STAMP_IRQHandler
|
||||
0x00000000080008d8 EXTI3_IRQHandler
|
||||
0x00000000080008d8 LPTIM2_IRQHandler
|
||||
0x00000000080008d8 DFSDM1_FLT1_IRQHandler
|
||||
0x00000000080008d8 I2C3_ER_IRQHandler
|
||||
0x00000000080008d8 DFSDM1_FLT2_IRQHandler
|
||||
0x00000000080008d8 EXTI0_IRQHandler
|
||||
0x00000000080008d8 I2C2_EV_IRQHandler
|
||||
0x00000000080008d8 CAN1_RX0_IRQHandler
|
||||
0x00000000080008d8 FPU_IRQHandler
|
||||
0x00000000080008d8 TIM1_UP_TIM16_IRQHandler
|
||||
0x00000000080008d8 ADC1_2_IRQHandler
|
||||
0x00000000080008d8 SPI1_IRQHandler
|
||||
0x00000000080008d8 TIM6_DAC_IRQHandler
|
||||
0x00000000080008d8 TIM8_UP_IRQHandler
|
||||
0x00000000080008d8 DMA2_Channel2_IRQHandler
|
||||
0x00000000080008d8 DMA1_Channel4_IRQHandler
|
||||
0x00000000080008d8 SAI2_IRQHandler
|
||||
0x00000000080008d8 DFSDM1_FLT3_IRQHandler
|
||||
0x00000000080008d8 USART3_IRQHandler
|
||||
0x00000000080008d8 DMA1_Channel7_IRQHandler
|
||||
0x00000000080008d8 CAN1_RX1_IRQHandler
|
||||
0x00000000080008d8 LCD_IRQHandler
|
||||
0x00000000080008d8 UART5_IRQHandler
|
||||
0x00000000080008d8 ADC3_IRQHandler
|
||||
0x00000000080008d8 TIM4_IRQHandler
|
||||
0x00000000080008d8 DMA2_Channel1_IRQHandler
|
||||
0x00000000080008d8 QUADSPI_IRQHandler
|
||||
0x00000000080008d8 I2C1_EV_IRQHandler
|
||||
0x00000000080008d8 DMA1_Channel6_IRQHandler
|
||||
0x00000000080008d8 UART4_IRQHandler
|
||||
0x00000000080008d8 DMA2_Channel4_IRQHandler
|
||||
0x00000000080008d8 TIM3_IRQHandler
|
||||
0x00000000080008d8 RCC_IRQHandler
|
||||
0x00000000080008d8 DMA1_Channel1_IRQHandler
|
||||
0x00000000080008d8 Default_Handler
|
||||
0x00000000080008d8 DMA2_Channel7_IRQHandler
|
||||
0x00000000080008d8 EXTI15_10_IRQHandler
|
||||
0x00000000080008d8 TIM7_IRQHandler
|
||||
0x00000000080008d8 SDMMC1_IRQHandler
|
||||
0x00000000080008d8 TIM5_IRQHandler
|
||||
0x00000000080008d8 I2C3_EV_IRQHandler
|
||||
0x00000000080008d8 EXTI9_5_IRQHandler
|
||||
0x00000000080008d8 RTC_WKUP_IRQHandler
|
||||
0x00000000080008d8 PVD_PVM_IRQHandler
|
||||
0x00000000080008d8 SPI2_IRQHandler
|
||||
0x00000000080008d8 CAN1_TX_IRQHandler
|
||||
0x00000000080008d8 DMA2_Channel5_IRQHandler
|
||||
0x00000000080008d8 DMA1_Channel5_IRQHandler
|
||||
0x00000000080008d8 EXTI4_IRQHandler
|
||||
0x00000000080008d8 RNG_IRQHandler
|
||||
0x00000000080008d8 TIM1_TRG_COM_TIM17_IRQHandler
|
||||
0x00000000080008d8 DMA1_Channel3_IRQHandler
|
||||
0x00000000080008d8 COMP_IRQHandler
|
||||
0x00000000080008d8 WWDG_IRQHandler
|
||||
0x00000000080008d8 LPUART1_IRQHandler
|
||||
0x00000000080008d8 DMA2_Channel6_IRQHandler
|
||||
0x00000000080008d8 TIM2_IRQHandler
|
||||
0x00000000080008d8 EXTI1_IRQHandler
|
||||
0x00000000080008d8 USART2_IRQHandler
|
||||
0x00000000080008d8 DFSDM1_FLT0_IRQHandler
|
||||
0x00000000080008d8 I2C2_ER_IRQHandler
|
||||
0x00000000080008d8 DMA1_Channel2_IRQHandler
|
||||
0x00000000080008d8 TIM8_BRK_IRQHandler
|
||||
0x00000000080008d8 CAN1_SCE_IRQHandler
|
||||
0x00000000080008d8 FLASH_IRQHandler
|
||||
0x00000000080008d8 USART1_IRQHandler
|
||||
0x00000000080008d8 OTG_FS_IRQHandler
|
||||
0x00000000080008d8 SPI3_IRQHandler
|
||||
0x00000000080008d8 I2C1_ER_IRQHandler
|
||||
0x00000000080008d8 FMC_IRQHandler
|
||||
0x00000000080008d8 SWPMI1_IRQHandler
|
||||
0x00000000080008d8 LPTIM1_IRQHandler
|
||||
0x00000000080008d8 SAI1_IRQHandler
|
||||
0x00000000080008d8 DMA2_Channel3_IRQHandler
|
||||
0x00000000080008d8 TIM1_BRK_TIM15_IRQHandler
|
||||
*fill* 0x00000000080008da 0x2
|
||||
0x000000000800090c 0x2 Core/Startup/startup_stm32l476rgtx.o
|
||||
0x000000000800090c RTC_Alarm_IRQHandler
|
||||
0x000000000800090c EXTI2_IRQHandler
|
||||
0x000000000800090c TIM8_TRG_COM_IRQHandler
|
||||
0x000000000800090c TIM8_CC_IRQHandler
|
||||
0x000000000800090c TIM1_CC_IRQHandler
|
||||
0x000000000800090c TSC_IRQHandler
|
||||
0x000000000800090c TAMP_STAMP_IRQHandler
|
||||
0x000000000800090c EXTI3_IRQHandler
|
||||
0x000000000800090c LPTIM2_IRQHandler
|
||||
0x000000000800090c DFSDM1_FLT1_IRQHandler
|
||||
0x000000000800090c I2C3_ER_IRQHandler
|
||||
0x000000000800090c DFSDM1_FLT2_IRQHandler
|
||||
0x000000000800090c EXTI0_IRQHandler
|
||||
0x000000000800090c I2C2_EV_IRQHandler
|
||||
0x000000000800090c CAN1_RX0_IRQHandler
|
||||
0x000000000800090c FPU_IRQHandler
|
||||
0x000000000800090c TIM1_UP_TIM16_IRQHandler
|
||||
0x000000000800090c ADC1_2_IRQHandler
|
||||
0x000000000800090c SPI1_IRQHandler
|
||||
0x000000000800090c TIM6_DAC_IRQHandler
|
||||
0x000000000800090c TIM8_UP_IRQHandler
|
||||
0x000000000800090c DMA2_Channel2_IRQHandler
|
||||
0x000000000800090c DMA1_Channel4_IRQHandler
|
||||
0x000000000800090c SAI2_IRQHandler
|
||||
0x000000000800090c DFSDM1_FLT3_IRQHandler
|
||||
0x000000000800090c USART3_IRQHandler
|
||||
0x000000000800090c DMA1_Channel7_IRQHandler
|
||||
0x000000000800090c CAN1_RX1_IRQHandler
|
||||
0x000000000800090c LCD_IRQHandler
|
||||
0x000000000800090c UART5_IRQHandler
|
||||
0x000000000800090c ADC3_IRQHandler
|
||||
0x000000000800090c TIM4_IRQHandler
|
||||
0x000000000800090c DMA2_Channel1_IRQHandler
|
||||
0x000000000800090c QUADSPI_IRQHandler
|
||||
0x000000000800090c I2C1_EV_IRQHandler
|
||||
0x000000000800090c DMA1_Channel6_IRQHandler
|
||||
0x000000000800090c UART4_IRQHandler
|
||||
0x000000000800090c DMA2_Channel4_IRQHandler
|
||||
0x000000000800090c TIM3_IRQHandler
|
||||
0x000000000800090c RCC_IRQHandler
|
||||
0x000000000800090c DMA1_Channel1_IRQHandler
|
||||
0x000000000800090c Default_Handler
|
||||
0x000000000800090c DMA2_Channel7_IRQHandler
|
||||
0x000000000800090c EXTI15_10_IRQHandler
|
||||
0x000000000800090c TIM7_IRQHandler
|
||||
0x000000000800090c SDMMC1_IRQHandler
|
||||
0x000000000800090c TIM5_IRQHandler
|
||||
0x000000000800090c I2C3_EV_IRQHandler
|
||||
0x000000000800090c EXTI9_5_IRQHandler
|
||||
0x000000000800090c RTC_WKUP_IRQHandler
|
||||
0x000000000800090c PVD_PVM_IRQHandler
|
||||
0x000000000800090c SPI2_IRQHandler
|
||||
0x000000000800090c CAN1_TX_IRQHandler
|
||||
0x000000000800090c DMA2_Channel5_IRQHandler
|
||||
0x000000000800090c DMA1_Channel5_IRQHandler
|
||||
0x000000000800090c EXTI4_IRQHandler
|
||||
0x000000000800090c RNG_IRQHandler
|
||||
0x000000000800090c TIM1_TRG_COM_TIM17_IRQHandler
|
||||
0x000000000800090c DMA1_Channel3_IRQHandler
|
||||
0x000000000800090c COMP_IRQHandler
|
||||
0x000000000800090c WWDG_IRQHandler
|
||||
0x000000000800090c LPUART1_IRQHandler
|
||||
0x000000000800090c DMA2_Channel6_IRQHandler
|
||||
0x000000000800090c TIM2_IRQHandler
|
||||
0x000000000800090c EXTI1_IRQHandler
|
||||
0x000000000800090c USART2_IRQHandler
|
||||
0x000000000800090c DFSDM1_FLT0_IRQHandler
|
||||
0x000000000800090c I2C2_ER_IRQHandler
|
||||
0x000000000800090c DMA1_Channel2_IRQHandler
|
||||
0x000000000800090c TIM8_BRK_IRQHandler
|
||||
0x000000000800090c CAN1_SCE_IRQHandler
|
||||
0x000000000800090c FLASH_IRQHandler
|
||||
0x000000000800090c USART1_IRQHandler
|
||||
0x000000000800090c OTG_FS_IRQHandler
|
||||
0x000000000800090c SPI3_IRQHandler
|
||||
0x000000000800090c I2C1_ER_IRQHandler
|
||||
0x000000000800090c FMC_IRQHandler
|
||||
0x000000000800090c SWPMI1_IRQHandler
|
||||
0x000000000800090c LPTIM1_IRQHandler
|
||||
0x000000000800090c SAI1_IRQHandler
|
||||
0x000000000800090c DMA2_Channel3_IRQHandler
|
||||
0x000000000800090c TIM1_BRK_TIM15_IRQHandler
|
||||
*fill* 0x000000000800090e 0x2
|
||||
.text.LL_InitTick
|
||||
0x00000000080008dc 0x34 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
0x0000000008000910 0x34 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
.text.LL_Init1msTick
|
||||
0x0000000008000910 0x1a Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
0x0000000008000910 LL_Init1msTick
|
||||
*fill* 0x000000000800092a 0x2
|
||||
0x0000000008000944 0x18 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
0x0000000008000944 LL_Init1msTick
|
||||
.text.__libc_init_array
|
||||
0x000000000800092c 0x48 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-init.o)
|
||||
0x000000000800092c __libc_init_array
|
||||
0x000000000800095c 0x48 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-init.o)
|
||||
0x000000000800095c __libc_init_array
|
||||
*(.glue_7)
|
||||
.glue_7 0x0000000008000974 0x0 linker stubs
|
||||
.glue_7 0x00000000080009a4 0x0 linker stubs
|
||||
*(.glue_7t)
|
||||
.glue_7t 0x0000000008000974 0x0 linker stubs
|
||||
.glue_7t 0x00000000080009a4 0x0 linker stubs
|
||||
*(.eh_frame)
|
||||
.eh_frame 0x0000000008000974 0x0 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
.eh_frame 0x00000000080009a4 0x0 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
*(.init)
|
||||
.init 0x0000000008000974 0x4 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crti.o
|
||||
0x0000000008000974 _init
|
||||
.init 0x0000000008000978 0x8 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o
|
||||
.init 0x00000000080009a4 0x4 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crti.o
|
||||
0x00000000080009a4 _init
|
||||
.init 0x00000000080009a8 0x8 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o
|
||||
*(.fini)
|
||||
.fini 0x0000000008000980 0x4 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crti.o
|
||||
0x0000000008000980 _fini
|
||||
.fini 0x0000000008000984 0x8 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o
|
||||
0x000000000800098c . = ALIGN (0x4)
|
||||
0x000000000800098c _etext = .
|
||||
.fini 0x00000000080009b0 0x4 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crti.o
|
||||
0x00000000080009b0 _fini
|
||||
.fini 0x00000000080009b4 0x8 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o
|
||||
0x00000000080009bc . = ALIGN (0x4)
|
||||
0x00000000080009bc _etext = .
|
||||
|
||||
.vfp11_veneer 0x000000000800098c 0x0
|
||||
.vfp11_veneer 0x000000000800098c 0x0 linker stubs
|
||||
.vfp11_veneer 0x00000000080009bc 0x0
|
||||
.vfp11_veneer 0x00000000080009bc 0x0 linker stubs
|
||||
|
||||
.v4_bx 0x000000000800098c 0x0
|
||||
.v4_bx 0x000000000800098c 0x0 linker stubs
|
||||
.v4_bx 0x00000000080009bc 0x0
|
||||
.v4_bx 0x00000000080009bc 0x0 linker stubs
|
||||
|
||||
.iplt 0x000000000800098c 0x0
|
||||
.iplt 0x000000000800098c 0x0 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
.iplt 0x00000000080009bc 0x0
|
||||
.iplt 0x00000000080009bc 0x0 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
|
||||
.rodata 0x000000000800098c 0x40
|
||||
0x000000000800098c . = ALIGN (0x4)
|
||||
.rodata 0x00000000080009bc 0x40
|
||||
0x00000000080009bc . = ALIGN (0x4)
|
||||
*(.rodata)
|
||||
*(.rodata*)
|
||||
.rodata.AHBPrescTable
|
||||
0x000000000800098c 0x10 Core/Src/system_stm32l4xx.o
|
||||
0x000000000800098c AHBPrescTable
|
||||
0x00000000080009bc 0x10 Core/Src/system_stm32l4xx.o
|
||||
0x00000000080009bc AHBPrescTable
|
||||
.rodata.MSIRangeTable
|
||||
0x000000000800099c 0x30 Core/Src/system_stm32l4xx.o
|
||||
0x000000000800099c MSIRangeTable
|
||||
0x00000000080009cc . = ALIGN (0x4)
|
||||
0x00000000080009cc 0x30 Core/Src/system_stm32l4xx.o
|
||||
0x00000000080009cc MSIRangeTable
|
||||
0x00000000080009fc . = ALIGN (0x4)
|
||||
|
||||
.rel.dyn 0x00000000080009cc 0x0
|
||||
.rel.iplt 0x00000000080009cc 0x0 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
.rel.dyn 0x00000000080009fc 0x0
|
||||
.rel.iplt 0x00000000080009fc 0x0 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
|
||||
.ARM.extab 0x00000000080009cc 0x0
|
||||
0x00000000080009cc . = ALIGN (0x4)
|
||||
.ARM.extab 0x00000000080009fc 0x0
|
||||
0x00000000080009fc . = ALIGN (0x4)
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
0x00000000080009cc . = ALIGN (0x4)
|
||||
0x00000000080009fc . = ALIGN (0x4)
|
||||
|
||||
.ARM 0x00000000080009cc 0x0
|
||||
0x00000000080009cc . = ALIGN (0x4)
|
||||
0x00000000080009cc __exidx_start = .
|
||||
.ARM 0x00000000080009fc 0x0
|
||||
0x00000000080009fc . = ALIGN (0x4)
|
||||
0x00000000080009fc __exidx_start = .
|
||||
*(.ARM.exidx*)
|
||||
0x00000000080009cc __exidx_end = .
|
||||
0x00000000080009cc . = ALIGN (0x4)
|
||||
0x00000000080009fc __exidx_end = .
|
||||
0x00000000080009fc . = ALIGN (0x4)
|
||||
|
||||
.preinit_array 0x00000000080009cc 0x0
|
||||
0x00000000080009cc . = ALIGN (0x4)
|
||||
0x00000000080009cc PROVIDE (__preinit_array_start = .)
|
||||
.preinit_array 0x00000000080009fc 0x0
|
||||
0x00000000080009fc . = ALIGN (0x4)
|
||||
0x00000000080009fc PROVIDE (__preinit_array_start = .)
|
||||
*(.preinit_array*)
|
||||
0x00000000080009cc PROVIDE (__preinit_array_end = .)
|
||||
0x00000000080009cc . = ALIGN (0x4)
|
||||
0x00000000080009fc PROVIDE (__preinit_array_end = .)
|
||||
0x00000000080009fc . = ALIGN (0x4)
|
||||
|
||||
.init_array 0x00000000080009cc 0x4
|
||||
0x00000000080009cc . = ALIGN (0x4)
|
||||
0x00000000080009cc PROVIDE (__init_array_start = .)
|
||||
.init_array 0x00000000080009fc 0x4
|
||||
0x00000000080009fc . = ALIGN (0x4)
|
||||
0x00000000080009fc PROVIDE (__init_array_start = .)
|
||||
*(SORT_BY_NAME(.init_array.*))
|
||||
*(.init_array*)
|
||||
.init_array 0x00000000080009cc 0x4 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
0x00000000080009d0 PROVIDE (__init_array_end = .)
|
||||
0x00000000080009d0 . = ALIGN (0x4)
|
||||
.init_array 0x00000000080009fc 0x4 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
0x0000000008000a00 PROVIDE (__init_array_end = .)
|
||||
0x0000000008000a00 . = ALIGN (0x4)
|
||||
|
||||
.fini_array 0x00000000080009d0 0x4
|
||||
0x00000000080009d0 . = ALIGN (0x4)
|
||||
.fini_array 0x0000000008000a00 0x4
|
||||
0x0000000008000a00 . = ALIGN (0x4)
|
||||
[!provide] PROVIDE (__fini_array_start = .)
|
||||
*(SORT_BY_NAME(.fini_array.*))
|
||||
*(.fini_array*)
|
||||
.fini_array 0x00000000080009d0 0x4 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
.fini_array 0x0000000008000a00 0x4 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
[!provide] PROVIDE (__fini_array_end = .)
|
||||
0x00000000080009d4 . = ALIGN (0x4)
|
||||
0x00000000080009d4 _sidata = LOADADDR (.data)
|
||||
0x0000000008000a04 . = ALIGN (0x4)
|
||||
0x0000000008000a04 _sidata = LOADADDR (.data)
|
||||
|
||||
.data 0x0000000020000000 0x4 load address 0x00000000080009d4
|
||||
.data 0x0000000020000000 0x4 load address 0x0000000008000a04
|
||||
0x0000000020000000 . = ALIGN (0x4)
|
||||
0x0000000020000000 _sdata = .
|
||||
*(.data)
|
||||
|
@ -1066,11 +1067,11 @@ LOAD c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte
|
|||
0x0000000020000004 . = ALIGN (0x4)
|
||||
0x0000000020000004 _edata = .
|
||||
|
||||
.igot.plt 0x0000000020000004 0x0 load address 0x00000000080009d8
|
||||
.igot.plt 0x0000000020000004 0x0 load address 0x0000000008000a08
|
||||
.igot.plt 0x0000000020000004 0x0 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
|
||||
0x0000000020000004 . = ALIGN (0x4)
|
||||
|
||||
.bss 0x0000000020000004 0x24 load address 0x00000000080009d8
|
||||
.bss 0x0000000020000004 0x24 load address 0x0000000008000a08
|
||||
0x0000000020000004 _sbss = .
|
||||
0x0000000020000004 __bss_start__ = _sbss
|
||||
*(.bss)
|
||||
|
@ -1088,7 +1089,7 @@ LOAD c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte
|
|||
0x0000000020000028 __bss_end__ = _ebss
|
||||
|
||||
._user_heap_stack
|
||||
0x0000000020000028 0x600 load address 0x00000000080009d8
|
||||
0x0000000020000028 0x600 load address 0x0000000008000a08
|
||||
0x0000000020000028 . = ALIGN (0x8)
|
||||
[!provide] PROVIDE (end = .)
|
||||
0x0000000020000028 PROVIDE (_end = .)
|
||||
|
@ -1128,13 +1129,13 @@ LOAD c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.exte
|
|||
0x00000000000001c8 0x22 c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o
|
||||
OUTPUT(L476_ats_blink-master.elf elf32-littlearm)
|
||||
|
||||
.debug_info 0x0000000000000000 0x2106
|
||||
.debug_info 0x0000000000000000 0x22b2
|
||||
.debug_info 0x0000000000000000 0x682 Core/Src/gpio.o
|
||||
.debug_info 0x0000000000000682 0x6a7 Core/Src/main.o
|
||||
.debug_info 0x0000000000000d29 0x1e6 Core/Src/stm32l4xx_it.o
|
||||
.debug_info 0x0000000000000f0f 0x5b4 Core/Src/system_stm32l4xx.o
|
||||
.debug_info 0x00000000000014c3 0x22 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_info 0x00000000000014e5 0xc21 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
.debug_info 0x0000000000000682 0x853 Core/Src/main.o
|
||||
.debug_info 0x0000000000000ed5 0x1e6 Core/Src/stm32l4xx_it.o
|
||||
.debug_info 0x00000000000010bb 0x5b4 Core/Src/system_stm32l4xx.o
|
||||
.debug_info 0x000000000000166f 0x22 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_info 0x0000000000001691 0xc21 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
|
||||
.debug_abbrev 0x0000000000000000 0x771
|
||||
.debug_abbrev 0x0000000000000000 0x1ee Core/Src/gpio.o
|
||||
|
@ -1144,27 +1145,27 @@ OUTPUT(L476_ats_blink-master.elf elf32-littlearm)
|
|||
.debug_abbrev 0x0000000000000527 0x12 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_abbrev 0x0000000000000539 0x238 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
|
||||
.debug_aranges 0x0000000000000000 0x2d8
|
||||
.debug_aranges 0x0000000000000000 0x2e0
|
||||
.debug_aranges
|
||||
0x0000000000000000 0x60 Core/Src/gpio.o
|
||||
.debug_aranges
|
||||
0x0000000000000060 0x98 Core/Src/main.o
|
||||
0x0000000000000060 0xa0 Core/Src/main.o
|
||||
.debug_aranges
|
||||
0x00000000000000f8 0x58 Core/Src/stm32l4xx_it.o
|
||||
0x0000000000000100 0x58 Core/Src/stm32l4xx_it.o
|
||||
.debug_aranges
|
||||
0x0000000000000150 0x28 Core/Src/system_stm32l4xx.o
|
||||
0x0000000000000158 0x28 Core/Src/system_stm32l4xx.o
|
||||
.debug_aranges
|
||||
0x0000000000000178 0x28 Core/Startup/startup_stm32l476rgtx.o
|
||||
0x0000000000000180 0x28 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_aranges
|
||||
0x00000000000001a0 0x138 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
0x00000000000001a8 0x138 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
|
||||
.debug_ranges 0x0000000000000000 0x280
|
||||
.debug_ranges 0x0000000000000000 0x288
|
||||
.debug_ranges 0x0000000000000000 0x50 Core/Src/gpio.o
|
||||
.debug_ranges 0x0000000000000050 0x88 Core/Src/main.o
|
||||
.debug_ranges 0x00000000000000d8 0x48 Core/Src/stm32l4xx_it.o
|
||||
.debug_ranges 0x0000000000000120 0x18 Core/Src/system_stm32l4xx.o
|
||||
.debug_ranges 0x0000000000000138 0x20 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_ranges 0x0000000000000158 0x128 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
.debug_ranges 0x0000000000000050 0x90 Core/Src/main.o
|
||||
.debug_ranges 0x00000000000000e0 0x48 Core/Src/stm32l4xx_it.o
|
||||
.debug_ranges 0x0000000000000128 0x18 Core/Src/system_stm32l4xx.o
|
||||
.debug_ranges 0x0000000000000140 0x20 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_ranges 0x0000000000000160 0x128 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
|
||||
.debug_macro 0x0000000000000000 0x1e120
|
||||
.debug_macro 0x0000000000000000 0x102 Core/Src/gpio.o
|
||||
|
@ -1201,26 +1202,26 @@ OUTPUT(L476_ats_blink-master.elf elf32-littlearm)
|
|||
.debug_macro 0x000000000001dee0 0x19f Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
.debug_macro 0x000000000001e07f 0xa1 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
|
||||
.debug_line 0x0000000000000000 0x201e
|
||||
.debug_line 0x0000000000000000 0x2035
|
||||
.debug_line 0x0000000000000000 0x58c Core/Src/gpio.o
|
||||
.debug_line 0x000000000000058c 0x670 Core/Src/main.o
|
||||
.debug_line 0x0000000000000bfc 0x613 Core/Src/stm32l4xx_it.o
|
||||
.debug_line 0x000000000000120f 0x496 Core/Src/system_stm32l4xx.o
|
||||
.debug_line 0x00000000000016a5 0x87 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_line 0x000000000000172c 0x8f2 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
.debug_line 0x000000000000058c 0x687 Core/Src/main.o
|
||||
.debug_line 0x0000000000000c13 0x613 Core/Src/stm32l4xx_it.o
|
||||
.debug_line 0x0000000000001226 0x496 Core/Src/system_stm32l4xx.o
|
||||
.debug_line 0x00000000000016bc 0x87 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_line 0x0000000000001743 0x8f2 Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
|
||||
.debug_str 0x0000000000000000 0xa94ae
|
||||
.debug_str 0x0000000000000000 0xa94c1
|
||||
.debug_str 0x0000000000000000 0x9f87a Core/Src/gpio.o
|
||||
0x9fa3d (size before relaxing)
|
||||
.debug_str 0x000000000009f87a 0x601b Core/Src/main.o
|
||||
0xa58f3 (size before relaxing)
|
||||
.debug_str 0x00000000000a5895 0x2c92 Core/Src/stm32l4xx_it.o
|
||||
.debug_str 0x000000000009f87a 0x6082 Core/Src/main.o
|
||||
0xa595a (size before relaxing)
|
||||
.debug_str 0x00000000000a58fc 0x2c92 Core/Src/stm32l4xx_it.o
|
||||
0xa821a (size before relaxing)
|
||||
.debug_str 0x00000000000a8527 0xd3 Core/Src/system_stm32l4xx.o
|
||||
.debug_str 0x00000000000a858e 0x7f Core/Src/system_stm32l4xx.o
|
||||
0x9e61f (size before relaxing)
|
||||
.debug_str 0x00000000000a85fa 0x36 Core/Startup/startup_stm32l476rgtx.o
|
||||
.debug_str 0x00000000000a860d 0x36 Core/Startup/startup_stm32l476rgtx.o
|
||||
0x70 (size before relaxing)
|
||||
.debug_str 0x00000000000a8630 0xe7e Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
.debug_str 0x00000000000a8643 0xe7e Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
0xa52e5 (size before relaxing)
|
||||
|
||||
.comment 0x0000000000000000 0x7b
|
||||
|
@ -1231,10 +1232,10 @@ OUTPUT(L476_ats_blink-master.elf elf32-littlearm)
|
|||
.comment 0x000000000000007b 0x7c Core/Src/system_stm32l4xx.o
|
||||
.comment 0x000000000000007b 0x7c Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
|
||||
.debug_frame 0x0000000000000000 0xa00
|
||||
.debug_frame 0x0000000000000000 0xa20
|
||||
.debug_frame 0x0000000000000000 0x15c Core/Src/gpio.o
|
||||
.debug_frame 0x000000000000015c 0x234 Core/Src/main.o
|
||||
.debug_frame 0x0000000000000390 0xf0 Core/Src/stm32l4xx_it.o
|
||||
.debug_frame 0x0000000000000480 0x58 Core/Src/system_stm32l4xx.o
|
||||
.debug_frame 0x00000000000004d8 0x4fc Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
.debug_frame 0x00000000000009d4 0x2c c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-init.o)
|
||||
.debug_frame 0x000000000000015c 0x254 Core/Src/main.o
|
||||
.debug_frame 0x00000000000003b0 0xf0 Core/Src/stm32l4xx_it.o
|
||||
.debug_frame 0x00000000000004a0 0x58 Core/Src/system_stm32l4xx.o
|
||||
.debug_frame 0x00000000000004f8 0x4fc Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.o
|
||||
.debug_frame 0x00000000000009f4 0x2c c:/st/stm32cubeide_1.4.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.4.0.202007081208/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libc_nano.a(lib_a-init.o)
|
||||
|
|
|
@ -282,7 +282,7 @@ __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks)
|
|||
SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */
|
||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
|
||||
SysTick_CTRL_ENABLE_Msk;
|
||||
SysTick_CTRL_ENABLE_Msk; /* Enable the Systick Timer */
|
||||
}
|
||||
|
||||
void LL_Init1msTick(uint32_t HCLKFrequency);
|
||||
|
|
|
@ -1,298 +0,0 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* @file stm32l4xx_ll_gpio.c
|
||||
* @author MCD Application Team
|
||||
* @brief GPIO LL module driver.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2017 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* This software component is licensed by ST under BSD 3-Clause license,
|
||||
* the "License"; You may not use this file except in compliance with the
|
||||
* License. You may obtain a copy of the License at:
|
||||
* opensource.org/licenses/BSD-3-Clause
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32l4xx_ll_gpio.h"
|
||||
#include "stm32l4xx_ll_bus.h"
|
||||
#ifdef USE_FULL_ASSERT
|
||||
#include "stm32_assert.h"
|
||||
#else
|
||||
#define assert_param(expr) ((void)0U)
|
||||
#endif
|
||||
|
||||
/** @addtogroup STM32L4xx_LL_Driver
|
||||
* @{
|
||||
*/
|
||||
|
||||
#if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) || defined (GPIOH) || defined (GPIOI)
|
||||
|
||||
/** @addtogroup GPIO_LL
|
||||
* @{
|
||||
*/
|
||||
/** MISRA C:2012 deviation rule has been granted for following rules:
|
||||
* Rule-12.2 - Medium: RHS argument is in interval [0,INF] which is out of
|
||||
* range of the shift operator in following API :
|
||||
* LL_GPIO_Init
|
||||
*/
|
||||
|
||||
/* Private types -------------------------------------------------------------*/
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
/* Private constants ---------------------------------------------------------*/
|
||||
/* Private macros ------------------------------------------------------------*/
|
||||
/** @addtogroup GPIO_LL_Private_Macros
|
||||
* @{
|
||||
*/
|
||||
#define IS_LL_GPIO_PIN(__VALUE__) (((0x00u) < (__VALUE__)) && ((__VALUE__) <= (LL_GPIO_PIN_ALL)))
|
||||
|
||||
#define IS_LL_GPIO_MODE(__VALUE__) (((__VALUE__) == LL_GPIO_MODE_INPUT) ||\
|
||||
((__VALUE__) == LL_GPIO_MODE_OUTPUT) ||\
|
||||
((__VALUE__) == LL_GPIO_MODE_ALTERNATE) ||\
|
||||
((__VALUE__) == LL_GPIO_MODE_ANALOG))
|
||||
|
||||
#define IS_LL_GPIO_OUTPUT_TYPE(__VALUE__) (((__VALUE__) == LL_GPIO_OUTPUT_PUSHPULL) ||\
|
||||
((__VALUE__) == LL_GPIO_OUTPUT_OPENDRAIN))
|
||||
|
||||
#define IS_LL_GPIO_SPEED(__VALUE__) (((__VALUE__) == LL_GPIO_SPEED_FREQ_LOW) ||\
|
||||
((__VALUE__) == LL_GPIO_SPEED_FREQ_MEDIUM) ||\
|
||||
((__VALUE__) == LL_GPIO_SPEED_FREQ_HIGH) ||\
|
||||
((__VALUE__) == LL_GPIO_SPEED_FREQ_VERY_HIGH))
|
||||
|
||||
#define IS_LL_GPIO_PULL(__VALUE__) (((__VALUE__) == LL_GPIO_PULL_NO) ||\
|
||||
((__VALUE__) == LL_GPIO_PULL_UP) ||\
|
||||
((__VALUE__) == LL_GPIO_PULL_DOWN))
|
||||
|
||||
#define IS_LL_GPIO_ALTERNATE(__VALUE__) (((__VALUE__) == LL_GPIO_AF_0 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_1 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_2 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_3 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_4 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_5 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_6 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_7 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_8 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_9 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_10 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_11 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_12 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_13 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_14 ) ||\
|
||||
((__VALUE__) == LL_GPIO_AF_15 ))
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
|
||||
/* Exported functions --------------------------------------------------------*/
|
||||
/** @addtogroup GPIO_LL_Exported_Functions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup GPIO_LL_EF_Init
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief De-initialize GPIO registers (Registers restored to their default values).
|
||||
* @param GPIOx GPIO Port
|
||||
* @retval An ErrorStatus enumeration value:
|
||||
* - SUCCESS: GPIO registers are de-initialized
|
||||
* - ERROR: Wrong GPIO Port
|
||||
*/
|
||||
ErrorStatus LL_GPIO_DeInit(GPIO_TypeDef *GPIOx)
|
||||
{
|
||||
ErrorStatus status = SUCCESS;
|
||||
|
||||
/* Check the parameters */
|
||||
assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
|
||||
|
||||
/* Force and Release reset on clock of GPIOx Port */
|
||||
if (GPIOx == GPIOA)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOA);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOA);
|
||||
}
|
||||
else if (GPIOx == GPIOB)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOB);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOB);
|
||||
}
|
||||
else if (GPIOx == GPIOC)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOC);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOC);
|
||||
}
|
||||
#if defined(GPIOD)
|
||||
else if (GPIOx == GPIOD)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOD);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOD);
|
||||
}
|
||||
#endif /* GPIOD */
|
||||
#if defined(GPIOE)
|
||||
else if (GPIOx == GPIOE)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOE);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOE);
|
||||
}
|
||||
#endif /* GPIOE */
|
||||
#if defined(GPIOF)
|
||||
else if (GPIOx == GPIOF)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOF);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOF);
|
||||
}
|
||||
#endif /* GPIOF */
|
||||
#if defined(GPIOG)
|
||||
else if (GPIOx == GPIOG)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOG);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOG);
|
||||
}
|
||||
#endif /* GPIOG */
|
||||
#if defined(GPIOH)
|
||||
else if (GPIOx == GPIOH)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOH);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOH);
|
||||
}
|
||||
#endif /* GPIOH */
|
||||
#if defined(GPIOI)
|
||||
else if (GPIOx == GPIOI)
|
||||
{
|
||||
LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_GPIOI);
|
||||
LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_GPIOI);
|
||||
}
|
||||
#endif /* GPIOI */
|
||||
else
|
||||
{
|
||||
status = ERROR;
|
||||
}
|
||||
|
||||
return (status);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Initialize GPIO registers according to the specified parameters in GPIO_InitStruct.
|
||||
* @param GPIOx GPIO Port
|
||||
* @param GPIO_InitStruct pointer to a @ref LL_GPIO_InitTypeDef structure
|
||||
* that contains the configuration information for the specified GPIO peripheral.
|
||||
* @retval An ErrorStatus enumeration value:
|
||||
* - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content
|
||||
* - ERROR: Not applicable
|
||||
*/
|
||||
ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct)
|
||||
{
|
||||
uint32_t pinpos;
|
||||
uint32_t currentpin;
|
||||
|
||||
/* Check the parameters */
|
||||
assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
|
||||
assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin));
|
||||
assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode));
|
||||
assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull));
|
||||
|
||||
/* ------------------------- Configure the port pins ---------------- */
|
||||
/* Initialize pinpos on first pin set */
|
||||
pinpos = POSITION_VAL(GPIO_InitStruct->Pin);
|
||||
|
||||
/* Configure the port pins */
|
||||
while (((GPIO_InitStruct->Pin) >> pinpos) != 0x00u)
|
||||
{
|
||||
/* Get current io position */
|
||||
currentpin = (GPIO_InitStruct->Pin) & (0x00000001uL << pinpos);
|
||||
|
||||
if (currentpin != 0x00u)
|
||||
{
|
||||
/* Pin Mode configuration */
|
||||
LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode);
|
||||
|
||||
if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE))
|
||||
{
|
||||
/* Check Speed mode parameters */
|
||||
assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed));
|
||||
|
||||
/* Speed mode configuration */
|
||||
LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed);
|
||||
}
|
||||
|
||||
/* Pull-up Pull down resistor configuration*/
|
||||
LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull);
|
||||
|
||||
if (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE)
|
||||
{
|
||||
/* Check Alternate parameter */
|
||||
assert_param(IS_LL_GPIO_ALTERNATE(GPIO_InitStruct->Alternate));
|
||||
|
||||
/* Speed mode configuration */
|
||||
if (currentpin < LL_GPIO_PIN_8)
|
||||
{
|
||||
LL_GPIO_SetAFPin_0_7(GPIOx, currentpin, GPIO_InitStruct->Alternate);
|
||||
}
|
||||
else
|
||||
{
|
||||
LL_GPIO_SetAFPin_8_15(GPIOx, currentpin, GPIO_InitStruct->Alternate);
|
||||
}
|
||||
}
|
||||
}
|
||||
pinpos++;
|
||||
}
|
||||
|
||||
if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE))
|
||||
{
|
||||
/* Check Output mode parameters */
|
||||
assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType));
|
||||
|
||||
/* Output mode configuration*/
|
||||
LL_GPIO_SetPinOutputType(GPIOx, GPIO_InitStruct->Pin, GPIO_InitStruct->OutputType);
|
||||
|
||||
}
|
||||
return (SUCCESS);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Set each @ref LL_GPIO_InitTypeDef field to default value.
|
||||
* @param GPIO_InitStruct pointer to a @ref LL_GPIO_InitTypeDef structure
|
||||
* whose fields will be set to default values.
|
||||
* @retval None
|
||||
*/
|
||||
|
||||
void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct)
|
||||
{
|
||||
/* Reset GPIO init structure parameters values */
|
||||
GPIO_InitStruct->Pin = LL_GPIO_PIN_ALL;
|
||||
GPIO_InitStruct->Mode = LL_GPIO_MODE_ANALOG;
|
||||
GPIO_InitStruct->Speed = LL_GPIO_SPEED_FREQ_LOW;
|
||||
GPIO_InitStruct->OutputType = LL_GPIO_OUTPUT_PUSHPULL;
|
||||
GPIO_InitStruct->Pull = LL_GPIO_PULL_NO;
|
||||
GPIO_InitStruct->Alternate = LL_GPIO_AF_0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) || defined (GPIOH) || defined (GPIOI) */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* USE_FULL_LL_DRIVER */
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
@ -1,85 +0,0 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* @file stm32l4xx_ll_pwr.c
|
||||
* @author MCD Application Team
|
||||
* @brief PWR LL module driver.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2017 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* This software component is licensed by ST under BSD 3-Clause license,
|
||||
* the "License"; You may not use this file except in compliance with the
|
||||
* License. You may obtain a copy of the License at:
|
||||
* opensource.org/licenses/BSD-3-Clause
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32l4xx_ll_pwr.h"
|
||||
#include "stm32l4xx_ll_bus.h"
|
||||
|
||||
/** @addtogroup STM32L4xx_LL_Driver
|
||||
* @{
|
||||
*/
|
||||
|
||||
#if defined(PWR)
|
||||
|
||||
/** @defgroup PWR_LL PWR
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* Private types -------------------------------------------------------------*/
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
/* Private constants ---------------------------------------------------------*/
|
||||
/* Private macros ------------------------------------------------------------*/
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
|
||||
/* Exported functions --------------------------------------------------------*/
|
||||
/** @addtogroup PWR_LL_Exported_Functions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup PWR_LL_EF_Init
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief De-initialize the PWR registers to their default reset values.
|
||||
* @retval An ErrorStatus enumeration value:
|
||||
* - SUCCESS: PWR registers are de-initialized
|
||||
* - ERROR: not applicable
|
||||
*/
|
||||
ErrorStatus LL_PWR_DeInit(void)
|
||||
{
|
||||
/* Force reset of PWR clock */
|
||||
LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_PWR);
|
||||
|
||||
/* Release reset of PWR clock */
|
||||
LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_PWR);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
#endif /* defined(PWR) */
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* USE_FULL_LL_DRIVER */
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
@ -8,8 +8,12 @@ Mcu.IP2=SYS
|
|||
Mcu.IPNb=3
|
||||
Mcu.Name=STM32L476R(C-E-G)Tx
|
||||
Mcu.Package=LQFP64
|
||||
Mcu.Pin0=VP_SYS_VS_Systick
|
||||
Mcu.PinsNb=1
|
||||
Mcu.Pin0=PA13 (JTMS-SWDIO)
|
||||
Mcu.Pin1=PA14 (JTCK-SWCLK)
|
||||
Mcu.Pin2=PA15 (JTDI)
|
||||
Mcu.Pin3=PB3 (JTDO-TRACESWO)
|
||||
Mcu.Pin4=VP_SYS_VS_Systick
|
||||
Mcu.PinsNb=5
|
||||
Mcu.ThirdPartyNb=0
|
||||
Mcu.UserConstants=
|
||||
Mcu.UserName=STM32L476RGTx
|
||||
|
@ -26,6 +30,14 @@ NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:false\:true
|
||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||
PA13\ (JTMS-SWDIO).Mode=JTAG_4_pins
|
||||
PA13\ (JTMS-SWDIO).Signal=SYS_JTMS-SWDIO
|
||||
PA14\ (JTCK-SWCLK).Mode=JTAG_4_pins
|
||||
PA14\ (JTCK-SWCLK).Signal=SYS_JTCK-SWCLK
|
||||
PA15\ (JTDI).Mode=JTAG_4_pins
|
||||
PA15\ (JTDI).Signal=SYS_JTDI
|
||||
PB3\ (JTDO-TRACESWO).Mode=JTAG_4_pins
|
||||
PB3\ (JTDO-TRACESWO).Signal=SYS_JTDO-SWO
|
||||
PinOutPanel.RotationAngle=0
|
||||
ProjectManager.AskForMigrate=true
|
||||
ProjectManager.BackupPrevious=false
|
||||
|
@ -54,53 +66,54 @@ ProjectManager.StackSize=0x400
|
|||
ProjectManager.TargetToolchain=STM32CubeIDE
|
||||
ProjectManager.ToolChainLocation=
|
||||
ProjectManager.UnderRoot=true
|
||||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-LL-false
|
||||
RCC.AHBFreq_Value=80000000
|
||||
RCC.APB1Freq_Value=80000000
|
||||
RCC.APB1TimFreq_Value=80000000
|
||||
RCC.APB2Freq_Value=80000000
|
||||
RCC.APB2TimFreq_Value=80000000
|
||||
RCC.CortexFreq_Value=80000000
|
||||
RCC.DFSDMFreq_Value=80000000
|
||||
RCC.FCLKCortexFreq_Value=80000000
|
||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-LL-false
|
||||
RCC.AHBFreq_Value=24000000
|
||||
RCC.APB1Freq_Value=24000000
|
||||
RCC.APB1TimFreq_Value=24000000
|
||||
RCC.APB2Freq_Value=24000000
|
||||
RCC.APB2TimFreq_Value=24000000
|
||||
RCC.CortexFreq_Value=24000000
|
||||
RCC.DFSDMFreq_Value=24000000
|
||||
RCC.FCLKCortexFreq_Value=24000000
|
||||
RCC.FamilyName=M
|
||||
RCC.HCLKFreq_Value=80000000
|
||||
RCC.HCLKFreq_Value=24000000
|
||||
RCC.HSE_VALUE=8000000
|
||||
RCC.HSI_VALUE=16000000
|
||||
RCC.I2C1Freq_Value=80000000
|
||||
RCC.I2C2Freq_Value=80000000
|
||||
RCC.I2C3Freq_Value=80000000
|
||||
RCC.IPParameters=AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,DFSDMFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MSI_VALUE,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PLLSAI2PoutputFreq_Value,PLLSAI2RoutputFreq_Value,PWRFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value
|
||||
RCC.LPTIM1Freq_Value=80000000
|
||||
RCC.LPTIM2Freq_Value=80000000
|
||||
RCC.LPUART1Freq_Value=80000000
|
||||
RCC.I2C1Freq_Value=24000000
|
||||
RCC.I2C2Freq_Value=24000000
|
||||
RCC.I2C3Freq_Value=24000000
|
||||
RCC.IPParameters=AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,DFSDMFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MSI_VALUE,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLR,PLLRCLKFreq_Value,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PLLSAI2PoutputFreq_Value,PLLSAI2RoutputFreq_Value,PWRFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value
|
||||
RCC.LPTIM1Freq_Value=24000000
|
||||
RCC.LPTIM2Freq_Value=24000000
|
||||
RCC.LPUART1Freq_Value=24000000
|
||||
RCC.LSCOPinFreq_Value=32000
|
||||
RCC.LSE_VALUE=32768
|
||||
RCC.LSI_VALUE=32000
|
||||
RCC.MCO1PinFreq_Value=80000000
|
||||
RCC.MCO1PinFreq_Value=24000000
|
||||
RCC.MSI_VALUE=4000000
|
||||
RCC.PLLN=40
|
||||
RCC.PLLPoutputFreq_Value=22857142.85714286
|
||||
RCC.PLLQoutputFreq_Value=80000000
|
||||
RCC.PLLRCLKFreq_Value=80000000
|
||||
RCC.PLLN=24
|
||||
RCC.PLLPoutputFreq_Value=13714285.714285715
|
||||
RCC.PLLQoutputFreq_Value=48000000
|
||||
RCC.PLLR=RCC_PLLR_DIV4
|
||||
RCC.PLLRCLKFreq_Value=24000000
|
||||
RCC.PLLSAI1PoutputFreq_Value=4571428.571428572
|
||||
RCC.PLLSAI1QoutputFreq_Value=16000000
|
||||
RCC.PLLSAI1RoutputFreq_Value=16000000
|
||||
RCC.PLLSAI2PoutputFreq_Value=4571428.571428572
|
||||
RCC.PLLSAI2RoutputFreq_Value=16000000
|
||||
RCC.PWRFreq_Value=80000000
|
||||
RCC.PWRFreq_Value=24000000
|
||||
RCC.SAI1Freq_Value=4571428.571428572
|
||||
RCC.SAI2Freq_Value=4571428.571428572
|
||||
RCC.SWPMI1Freq_Value=80000000
|
||||
RCC.SYSCLKFreq_VALUE=80000000
|
||||
RCC.SWPMI1Freq_Value=24000000
|
||||
RCC.SYSCLKFreq_VALUE=24000000
|
||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
||||
RCC.UART4Freq_Value=80000000
|
||||
RCC.UART5Freq_Value=80000000
|
||||
RCC.USART1Freq_Value=80000000
|
||||
RCC.USART2Freq_Value=80000000
|
||||
RCC.USART3Freq_Value=80000000
|
||||
RCC.UART4Freq_Value=24000000
|
||||
RCC.UART5Freq_Value=24000000
|
||||
RCC.USART1Freq_Value=24000000
|
||||
RCC.USART2Freq_Value=24000000
|
||||
RCC.USART3Freq_Value=24000000
|
||||
RCC.VCOInputFreq_Value=4000000
|
||||
RCC.VCOOutputFreq_Value=160000000
|
||||
RCC.VCOOutputFreq_Value=96000000
|
||||
RCC.VCOSAI1OutputFreq_Value=32000000
|
||||
RCC.VCOSAI2OutputFreq_Value=32000000
|
||||
VP_SYS_VS_Systick.Mode=SysTick
|
||||
|
|
Loading…
Reference in a new issue