mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Merge pull request #3169 from dgarske/stmcube
STM Cube fixes and documentation improvements
This commit is contained in:
3
IDE/OPENSTM32/README.md
Normal file
3
IDE/OPENSTM32/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# wolfSSL STM32 Example for System Workbench for STM32 (Open STM32 Tools)
|
||||||
|
|
||||||
|
This example has been deprecated and moved to `IDE/STM32Cube`.
|
@ -1,128 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,configTOTAL_HEAP_SIZE,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,FootprintOK
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,8960,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=122880
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
Mcu.Family=STM32F4
|
|
||||||
Mcu.IP0=FREERTOS
|
|
||||||
Mcu.IP1=NVIC
|
|
||||||
Mcu.IP2=RCC
|
|
||||||
Mcu.IP3=RNG
|
|
||||||
Mcu.IP4=RTC
|
|
||||||
Mcu.IP5=SYS
|
|
||||||
Mcu.IP6=USART2
|
|
||||||
Mcu.IPNb=7
|
|
||||||
Mcu.Name=STM32F407V(E-G)Tx
|
|
||||||
Mcu.Package=LQFP100
|
|
||||||
Mcu.Pin0=PA2
|
|
||||||
Mcu.Pin1=PA3
|
|
||||||
Mcu.Pin2=PC10
|
|
||||||
Mcu.Pin3=PC11
|
|
||||||
Mcu.Pin4=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin5=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin6=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.Pin7=VP_SYS_VS_tim1
|
|
||||||
Mcu.Pin8=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.PinsNb=9
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32F407VGTx
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.TIM1_UP_TIM10_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM1_UP_TIM10_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM1
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
PA2.Mode=Asynchronous
|
|
||||||
PA2.Signal=USART2_TX
|
|
||||||
PA3.Mode=Asynchronous
|
|
||||||
PA3.Signal=USART2_RX
|
|
||||||
PC10.Locked=true
|
|
||||||
PC10.Signal=UART4_TX
|
|
||||||
PC11.Locked=true
|
|
||||||
PC11.Signal=UART4_RX
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32F407VGTx
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_F4 V1.25.0
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32F407.ioc
|
|
||||||
ProjectManager.ProjectName=STM32F407
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=2-SystemClock_Config-RCC-false-HAL-false
|
|
||||||
RCC.AHBFreq_Value=16000000
|
|
||||||
RCC.APB1Freq_Value=16000000
|
|
||||||
RCC.APB2Freq_Value=16000000
|
|
||||||
RCC.CortexFreq_Value=16000000
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HSE_VALUE=25000000
|
|
||||||
RCC.HSI_VALUE=16000000
|
|
||||||
RCC.I2SClocksFreq_Value=96000000
|
|
||||||
RCC.IPParameters=AHBFreq_Value,APB1Freq_Value,APB2Freq_Value,CortexFreq_Value,FamilyName,HSE_VALUE,HSI_VALUE,I2SClocksFreq_Value,LSE_VALUE,LSI_VALUE,PLLCLKFreq_Value,PLLQCLKFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VcooutputI2S
|
|
||||||
RCC.LSE_VALUE=32768
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.PLLCLKFreq_Value=96000000
|
|
||||||
RCC.PLLQCLKFreq_Value=48000000
|
|
||||||
RCC.RTCFreq_Value=32000
|
|
||||||
RCC.RTCHSEDivFreq_Value=12500000
|
|
||||||
RCC.SYSCLKFreq_VALUE=16000000
|
|
||||||
RCC.VCOI2SOutputFreq_Value=192000000
|
|
||||||
RCC.VCOInputFreq_Value=1000000
|
|
||||||
RCC.VCOOutputFreq_Value=192000000
|
|
||||||
RCC.VcooutputI2S=96000000
|
|
||||||
USART2.IPParameters=VirtualMode
|
|
||||||
USART2.VirtualMode=VM_ASYNC
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_SYS_VS_tim1.Mode=TIM1
|
|
||||||
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=custom
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,wolfSSLCcwolfSSLJjwolfCryptJjCore,wolfSSLCcwolfSSLJjwolfCryptJjTest,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjTest=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfCryptJjCore\:true;wolfSSLCcwolfSSLJjwolfCryptJjTest\:true;wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -1,308 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,configTOTAL_HEAP_SIZE,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,FootprintOK
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,8960,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=131072
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
Mcu.Family=STM32F4
|
|
||||||
Mcu.IP0=CRYP
|
|
||||||
Mcu.IP1=FMC
|
|
||||||
Mcu.IP2=FREERTOS
|
|
||||||
Mcu.IP3=HASH
|
|
||||||
Mcu.IP4=NVIC
|
|
||||||
Mcu.IP5=RCC
|
|
||||||
Mcu.IP6=RNG
|
|
||||||
Mcu.IP7=RTC
|
|
||||||
Mcu.IP8=SYS
|
|
||||||
Mcu.IP9=UART4
|
|
||||||
Mcu.IPNb=10
|
|
||||||
Mcu.Name=STM32F437I(G-I)Hx
|
|
||||||
Mcu.Package=UFBGA176
|
|
||||||
Mcu.Pin0=PE3
|
|
||||||
Mcu.Pin1=PD7
|
|
||||||
Mcu.Pin10=PF1
|
|
||||||
Mcu.Pin11=PF3
|
|
||||||
Mcu.Pin12=PF4
|
|
||||||
Mcu.Pin13=PF5
|
|
||||||
Mcu.Pin14=PG5
|
|
||||||
Mcu.Pin15=PG4
|
|
||||||
Mcu.Pin16=PG3
|
|
||||||
Mcu.Pin17=PD15
|
|
||||||
Mcu.Pin18=PG2
|
|
||||||
Mcu.Pin19=PG1
|
|
||||||
Mcu.Pin2=PD0
|
|
||||||
Mcu.Pin20=PD14
|
|
||||||
Mcu.Pin21=PD13
|
|
||||||
Mcu.Pin22=PF13
|
|
||||||
Mcu.Pin23=PG0
|
|
||||||
Mcu.Pin24=PE13
|
|
||||||
Mcu.Pin25=PD12
|
|
||||||
Mcu.Pin26=PD11
|
|
||||||
Mcu.Pin27=PD10
|
|
||||||
Mcu.Pin28=PF12
|
|
||||||
Mcu.Pin29=PF15
|
|
||||||
Mcu.Pin3=PC11
|
|
||||||
Mcu.Pin30=PE8
|
|
||||||
Mcu.Pin31=PE9
|
|
||||||
Mcu.Pin32=PE11
|
|
||||||
Mcu.Pin33=PE14
|
|
||||||
Mcu.Pin34=PD9
|
|
||||||
Mcu.Pin35=PD8
|
|
||||||
Mcu.Pin36=PF14
|
|
||||||
Mcu.Pin37=PE7
|
|
||||||
Mcu.Pin38=PE10
|
|
||||||
Mcu.Pin39=PE12
|
|
||||||
Mcu.Pin4=PC10
|
|
||||||
Mcu.Pin40=PE15
|
|
||||||
Mcu.Pin41=VP_CRYP_VS_CRYP
|
|
||||||
Mcu.Pin42=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin43=VP_HASH_VS_HASH
|
|
||||||
Mcu.Pin44=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin45=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.Pin46=VP_RTC_VS_RTC_Calendar
|
|
||||||
Mcu.Pin47=VP_SYS_VS_tim1
|
|
||||||
Mcu.Pin48=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.Pin5=PD5
|
|
||||||
Mcu.Pin6=PD1
|
|
||||||
Mcu.Pin7=PD4
|
|
||||||
Mcu.Pin8=PF0
|
|
||||||
Mcu.Pin9=PF2
|
|
||||||
Mcu.PinsNb=49
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32F437IIHx
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.TIM1_UP_TIM10_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM1_UP_TIM10_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM1
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
PC10.Mode=Asynchronous
|
|
||||||
PC10.Signal=UART4_TX
|
|
||||||
PC11.Mode=Asynchronous
|
|
||||||
PC11.Signal=UART4_RX
|
|
||||||
PD0.Signal=FMC_D2_DA2
|
|
||||||
PD1.Signal=FMC_D3_DA3
|
|
||||||
PD10.Signal=FMC_D15_DA15
|
|
||||||
PD11.Signal=FMC_A16_CLE
|
|
||||||
PD12.Signal=FMC_A17_ALE
|
|
||||||
PD13.Signal=FMC_A18
|
|
||||||
PD14.Signal=FMC_D0_DA0
|
|
||||||
PD15.Signal=FMC_D1_DA1
|
|
||||||
PD4.Signal=FMC_NOE
|
|
||||||
PD5.Signal=FMC_NWE
|
|
||||||
PD7.Mode=NorPsramChipSelect1_1
|
|
||||||
PD7.Signal=FMC_NE1
|
|
||||||
PD8.Signal=FMC_D13_DA13
|
|
||||||
PD9.Signal=FMC_D14_DA14
|
|
||||||
PE10.Signal=FMC_D7_DA7
|
|
||||||
PE11.Signal=FMC_D8_DA8
|
|
||||||
PE12.Signal=FMC_D9_DA9
|
|
||||||
PE13.Signal=FMC_D10_DA10
|
|
||||||
PE14.Signal=FMC_D11_DA11
|
|
||||||
PE15.Signal=FMC_D12_DA12
|
|
||||||
PE3.Signal=FMC_A19
|
|
||||||
PE7.Signal=FMC_D4_DA4
|
|
||||||
PE8.Signal=FMC_D5_DA5
|
|
||||||
PE9.Signal=FMC_D6_DA6
|
|
||||||
PF0.Signal=FMC_A0
|
|
||||||
PF1.Signal=FMC_A1
|
|
||||||
PF12.Signal=FMC_A6
|
|
||||||
PF13.Signal=FMC_A7
|
|
||||||
PF14.Signal=FMC_A8
|
|
||||||
PF15.Signal=FMC_A9
|
|
||||||
PF2.Signal=FMC_A2
|
|
||||||
PF3.Signal=FMC_A3
|
|
||||||
PF4.Signal=FMC_A4
|
|
||||||
PF5.Signal=FMC_A5
|
|
||||||
PG0.Signal=FMC_A10
|
|
||||||
PG1.Signal=FMC_A11
|
|
||||||
PG2.Signal=FMC_A12
|
|
||||||
PG3.Signal=FMC_A13
|
|
||||||
PG4.Signal=FMC_A14_BA0
|
|
||||||
PG5.Signal=FMC_A15_BA1
|
|
||||||
PinOutPanel.CurrentBGAView=Top
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32F437IIHx
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_F4 V1.25.0
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x2000
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32F437.ioc
|
|
||||||
ProjectManager.ProjectName=STM32F437
|
|
||||||
ProjectManager.StackSize=0x4000
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_CRYP_Init-CRYP-false-HAL-true,4-MX_HASH_Init-HASH-false-HAL-true,5-MX_RNG_Init-RNG-false-HAL-true,6-MX_UART4_Init-UART4-false-HAL-true,7-MX_RTC_Init-RTC-false-HAL-true,8-MX_FMC_Init-FMC-false-HAL-true
|
|
||||||
RCC.48MHZClocksFreq_Value=45714285.71428572
|
|
||||||
RCC.AHBFreq_Value=160000000
|
|
||||||
RCC.APB1CLKDivider=RCC_HCLK_DIV4
|
|
||||||
RCC.APB1Freq_Value=40000000
|
|
||||||
RCC.APB1TimFreq_Value=80000000
|
|
||||||
RCC.APB2CLKDivider=RCC_HCLK_DIV2
|
|
||||||
RCC.APB2Freq_Value=80000000
|
|
||||||
RCC.APB2TimFreq_Value=160000000
|
|
||||||
RCC.CortexFreq_Value=160000000
|
|
||||||
RCC.EthernetFreq_Value=160000000
|
|
||||||
RCC.FCLKCortexFreq_Value=160000000
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLKFreq_Value=160000000
|
|
||||||
RCC.HSE_VALUE=25000000
|
|
||||||
RCC.HSI_VALUE=16000000
|
|
||||||
RCC.I2SClocksFreq_Value=192000000
|
|
||||||
RCC.IPParameters=48MHZClocksFreq_Value,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2CLKDivider,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,EthernetFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2SClocksFreq_Value,LSE_VALUE,LSI_VALUE,MCO2PinFreq_Value,PLLCLKFreq_Value,PLLM,PLLN,PLLQ,PLLQCLKFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SAI_AClocksFreq_Value,SAI_BClocksFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAIOutputFreq_Value,VCOSAIOutputFreq_ValueQ,VcooutputI2S,VcooutputI2SQ
|
|
||||||
RCC.LSE_VALUE=32768
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.MCO2PinFreq_Value=160000000
|
|
||||||
RCC.PLLCLKFreq_Value=160000000
|
|
||||||
RCC.PLLM=8
|
|
||||||
RCC.PLLN=160
|
|
||||||
RCC.PLLQ=7
|
|
||||||
RCC.PLLQCLKFreq_Value=45714285.71428572
|
|
||||||
RCC.RTCFreq_Value=32000
|
|
||||||
RCC.RTCHSEDivFreq_Value=12500000
|
|
||||||
RCC.SAI_AClocksFreq_Value=24500000
|
|
||||||
RCC.SAI_BClocksFreq_Value=24500000
|
|
||||||
RCC.SYSCLKFreq_VALUE=160000000
|
|
||||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
||||||
RCC.VCOI2SOutputFreq_Value=384000000
|
|
||||||
RCC.VCOInputFreq_Value=2000000
|
|
||||||
RCC.VCOOutputFreq_Value=320000000
|
|
||||||
RCC.VCOSAIOutputFreq_Value=98000000
|
|
||||||
RCC.VCOSAIOutputFreq_ValueQ=24500000
|
|
||||||
RCC.VcooutputI2S=192000000
|
|
||||||
RCC.VcooutputI2SQ=192000000
|
|
||||||
SH.FMC_A0.0=FMC_A0,20b-a1
|
|
||||||
SH.FMC_A0.ConfNb=1
|
|
||||||
SH.FMC_A1.0=FMC_A1,20b-a1
|
|
||||||
SH.FMC_A1.ConfNb=1
|
|
||||||
SH.FMC_A10.0=FMC_A10,20b-a1
|
|
||||||
SH.FMC_A10.ConfNb=1
|
|
||||||
SH.FMC_A11.0=FMC_A11,20b-a1
|
|
||||||
SH.FMC_A11.ConfNb=1
|
|
||||||
SH.FMC_A12.0=FMC_A12,20b-a1
|
|
||||||
SH.FMC_A12.ConfNb=1
|
|
||||||
SH.FMC_A13.0=FMC_A13,20b-a1
|
|
||||||
SH.FMC_A13.ConfNb=1
|
|
||||||
SH.FMC_A14_BA0.0=FMC_A14,20b-a1
|
|
||||||
SH.FMC_A14_BA0.ConfNb=1
|
|
||||||
SH.FMC_A15_BA1.0=FMC_A15,20b-a1
|
|
||||||
SH.FMC_A15_BA1.ConfNb=1
|
|
||||||
SH.FMC_A16_CLE.0=FMC_A16,20b-a1
|
|
||||||
SH.FMC_A16_CLE.ConfNb=1
|
|
||||||
SH.FMC_A17_ALE.0=FMC_A17,20b-a1
|
|
||||||
SH.FMC_A17_ALE.ConfNb=1
|
|
||||||
SH.FMC_A18.0=FMC_A18,20b-a1
|
|
||||||
SH.FMC_A18.ConfNb=1
|
|
||||||
SH.FMC_A19.0=FMC_A19,20b-a1
|
|
||||||
SH.FMC_A19.ConfNb=1
|
|
||||||
SH.FMC_A2.0=FMC_A2,20b-a1
|
|
||||||
SH.FMC_A2.ConfNb=1
|
|
||||||
SH.FMC_A3.0=FMC_A3,20b-a1
|
|
||||||
SH.FMC_A3.ConfNb=1
|
|
||||||
SH.FMC_A4.0=FMC_A4,20b-a1
|
|
||||||
SH.FMC_A4.ConfNb=1
|
|
||||||
SH.FMC_A5.0=FMC_A5,20b-a1
|
|
||||||
SH.FMC_A5.ConfNb=1
|
|
||||||
SH.FMC_A6.0=FMC_A6,20b-a1
|
|
||||||
SH.FMC_A6.ConfNb=1
|
|
||||||
SH.FMC_A7.0=FMC_A7,20b-a1
|
|
||||||
SH.FMC_A7.ConfNb=1
|
|
||||||
SH.FMC_A8.0=FMC_A8,20b-a1
|
|
||||||
SH.FMC_A8.ConfNb=1
|
|
||||||
SH.FMC_A9.0=FMC_A9,20b-a1
|
|
||||||
SH.FMC_A9.ConfNb=1
|
|
||||||
SH.FMC_D0_DA0.0=FMC_D0,16b-d1
|
|
||||||
SH.FMC_D0_DA0.ConfNb=1
|
|
||||||
SH.FMC_D10_DA10.0=FMC_D10,16b-d1
|
|
||||||
SH.FMC_D10_DA10.ConfNb=1
|
|
||||||
SH.FMC_D11_DA11.0=FMC_D11,16b-d1
|
|
||||||
SH.FMC_D11_DA11.ConfNb=1
|
|
||||||
SH.FMC_D12_DA12.0=FMC_D12,16b-d1
|
|
||||||
SH.FMC_D12_DA12.ConfNb=1
|
|
||||||
SH.FMC_D13_DA13.0=FMC_D13,16b-d1
|
|
||||||
SH.FMC_D13_DA13.ConfNb=1
|
|
||||||
SH.FMC_D14_DA14.0=FMC_D14,16b-d1
|
|
||||||
SH.FMC_D14_DA14.ConfNb=1
|
|
||||||
SH.FMC_D15_DA15.0=FMC_D15,16b-d1
|
|
||||||
SH.FMC_D15_DA15.ConfNb=1
|
|
||||||
SH.FMC_D1_DA1.0=FMC_D1,16b-d1
|
|
||||||
SH.FMC_D1_DA1.ConfNb=1
|
|
||||||
SH.FMC_D2_DA2.0=FMC_D2,16b-d1
|
|
||||||
SH.FMC_D2_DA2.ConfNb=1
|
|
||||||
SH.FMC_D3_DA3.0=FMC_D3,16b-d1
|
|
||||||
SH.FMC_D3_DA3.ConfNb=1
|
|
||||||
SH.FMC_D4_DA4.0=FMC_D4,16b-d1
|
|
||||||
SH.FMC_D4_DA4.ConfNb=1
|
|
||||||
SH.FMC_D5_DA5.0=FMC_D5,16b-d1
|
|
||||||
SH.FMC_D5_DA5.ConfNb=1
|
|
||||||
SH.FMC_D6_DA6.0=FMC_D6,16b-d1
|
|
||||||
SH.FMC_D6_DA6.ConfNb=1
|
|
||||||
SH.FMC_D7_DA7.0=FMC_D7,16b-d1
|
|
||||||
SH.FMC_D7_DA7.ConfNb=1
|
|
||||||
SH.FMC_D8_DA8.0=FMC_D8,16b-d1
|
|
||||||
SH.FMC_D8_DA8.ConfNb=1
|
|
||||||
SH.FMC_D9_DA9.0=FMC_D9,16b-d1
|
|
||||||
SH.FMC_D9_DA9.ConfNb=1
|
|
||||||
SH.FMC_NOE.0=FMC_NOE,Sram1
|
|
||||||
SH.FMC_NOE.ConfNb=1
|
|
||||||
SH.FMC_NWE.0=FMC_NWE,Sram1
|
|
||||||
SH.FMC_NWE.ConfNb=1
|
|
||||||
UART4.IPParameters=VirtualMode
|
|
||||||
UART4.VirtualMode=Asynchronous
|
|
||||||
VP_CRYP_VS_CRYP.Mode=CRYP_Activate
|
|
||||||
VP_CRYP_VS_CRYP.Signal=CRYP_VS_CRYP
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_HASH_VS_HASH.Mode=HASH_Activate
|
|
||||||
VP_HASH_VS_HASH.Signal=HASH_VS_HASH
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_RTC_VS_RTC_Calendar.Mode=RTC_Calendar
|
|
||||||
VP_RTC_VS_RTC_Calendar.Signal=RTC_VS_RTC_Calendar
|
|
||||||
VP_SYS_VS_tim1.Mode=TIM1
|
|
||||||
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=custom
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,wolfSSLCcwolfSSLJjwolfCryptJjTest,WOLFCRYPT_ONLY,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLFCRYPT_ONLY=False
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjTest=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfCryptJjTest\:true;wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -1,193 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,configTOTAL_HEAP_SIZE,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,FootprintOK
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,8960,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=131072
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
Mcu.Family=STM32F7
|
|
||||||
Mcu.IP0=CORTEX_M7
|
|
||||||
Mcu.IP1=CRYP
|
|
||||||
Mcu.IP10=USART3
|
|
||||||
Mcu.IP2=FREERTOS
|
|
||||||
Mcu.IP3=HASH
|
|
||||||
Mcu.IP4=NVIC
|
|
||||||
Mcu.IP5=RCC
|
|
||||||
Mcu.IP6=RNG
|
|
||||||
Mcu.IP7=RTC
|
|
||||||
Mcu.IP8=SYS
|
|
||||||
Mcu.IP9=USART2
|
|
||||||
Mcu.IPNb=11
|
|
||||||
Mcu.Name=STM32F777NIHx
|
|
||||||
Mcu.Package=TFBGA216
|
|
||||||
Mcu.Pin0=PD6
|
|
||||||
Mcu.Pin1=PI8
|
|
||||||
Mcu.Pin10=VP_RTC_VS_RTC_Calendar
|
|
||||||
Mcu.Pin11=VP_SYS_VS_tim1
|
|
||||||
Mcu.Pin12=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.Pin2=PD5
|
|
||||||
Mcu.Pin3=PD9
|
|
||||||
Mcu.Pin4=PD8
|
|
||||||
Mcu.Pin5=VP_CRYP_VS_CRYP
|
|
||||||
Mcu.Pin6=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin7=VP_HASH_VS_HASH
|
|
||||||
Mcu.Pin8=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin9=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.PinsNb=13
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32F777NIHx
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.TIM1_UP_TIM10_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM1_UP_TIM10_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM1
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
PD5.Mode=Asynchronous
|
|
||||||
PD5.Signal=USART2_TX
|
|
||||||
PD6.Mode=Asynchronous
|
|
||||||
PD6.Signal=USART2_RX
|
|
||||||
PD8.Locked=true
|
|
||||||
PD8.Mode=Asynchronous
|
|
||||||
PD8.Signal=USART3_TX
|
|
||||||
PD9.Locked=true
|
|
||||||
PD9.Mode=Asynchronous
|
|
||||||
PD9.Signal=USART3_RX
|
|
||||||
PI8.Mode=Timestamp enabled - Input Enabled to TS
|
|
||||||
PI8.Signal=RTC_TS
|
|
||||||
PinOutPanel.CurrentBGAView=Top
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32F777NIHx
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_F7 V1.16.0
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32F777.ioc
|
|
||||||
ProjectManager.ProjectName=STM32F777
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_CRYP_Init-CRYP-false-HAL-true,4-MX_HASH_Init-HASH-false-HAL-true,5-MX_RNG_Init-RNG-false-HAL-true,6-MX_USART3_UART_Init-USART3-false-HAL-true,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true
|
|
||||||
RCC.AHBFreq_Value=216000000
|
|
||||||
RCC.APB1CLKDivider=RCC_HCLK_DIV4
|
|
||||||
RCC.APB1Freq_Value=54000000
|
|
||||||
RCC.APB1TimFreq_Value=108000000
|
|
||||||
RCC.APB2CLKDivider=RCC_HCLK_DIV2
|
|
||||||
RCC.APB2Freq_Value=108000000
|
|
||||||
RCC.APB2TimFreq_Value=216000000
|
|
||||||
RCC.CECFreq_Value=32786.88524590164
|
|
||||||
RCC.CortexFreq_Value=216000000
|
|
||||||
RCC.DFSDMAudioFreq_Value=192000000
|
|
||||||
RCC.DFSDMFreq_Value=108000000
|
|
||||||
RCC.EthernetFreq_Value=216000000
|
|
||||||
RCC.FCLKCortexFreq_Value=216000000
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLKFreq_Value=216000000
|
|
||||||
RCC.HSE_VALUE=25000000
|
|
||||||
RCC.HSI_VALUE=16000000
|
|
||||||
RCC.I2C1Freq_Value=54000000
|
|
||||||
RCC.I2C2Freq_Value=54000000
|
|
||||||
RCC.I2C3Freq_Value=54000000
|
|
||||||
RCC.I2C4Freq_Value=54000000
|
|
||||||
RCC.I2SFreq_Value=192000000
|
|
||||||
RCC.IPParameters=AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2CLKDivider,APB2Freq_Value,APB2TimFreq_Value,CECFreq_Value,CortexFreq_Value,DFSDMAudioFreq_Value,DFSDMFreq_Value,EthernetFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,I2C4Freq_Value,I2SFreq_Value,LCDTFTFreq_Value,LPTIM1Freq_Value,LSE_VALUE,LSI_VALUE,MCO2PinFreq_Value,PLLCLKFreq_Value,PLLI2SPCLKFreq_Value,PLLI2SQCLKFreq_Value,PLLI2SRCLKFreq_Value,PLLI2SRoutputFreq_Value,PLLM,PLLN,PLLQ,PLLQCLKFreq_Value,PLLQoutputFreq_Value,PLLRFreq_Value,PLLSAIPCLKFreq_Value,PLLSAIQCLKFreq_Value,PLLSAIRCLKFreq_Value,PLLSAIoutputFreq_Value,RNGFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMC2Freq_Value,SDMMCFreq_Value,SPDIFRXFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,UART7Freq_Value,UART8Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USART6Freq_Value,USBFreq_Value,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAIOutputFreq_Value
|
|
||||||
RCC.LCDTFTFreq_Value=96000000
|
|
||||||
RCC.LPTIM1Freq_Value=54000000
|
|
||||||
RCC.LSE_VALUE=32768
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.MCO2PinFreq_Value=216000000
|
|
||||||
RCC.PLLCLKFreq_Value=216000000
|
|
||||||
RCC.PLLI2SPCLKFreq_Value=192000000
|
|
||||||
RCC.PLLI2SQCLKFreq_Value=192000000
|
|
||||||
RCC.PLLI2SRCLKFreq_Value=192000000
|
|
||||||
RCC.PLLI2SRoutputFreq_Value=192000000
|
|
||||||
RCC.PLLM=8
|
|
||||||
RCC.PLLN=216
|
|
||||||
RCC.PLLQ=9
|
|
||||||
RCC.PLLQCLKFreq_Value=48000000
|
|
||||||
RCC.PLLQoutputFreq_Value=48000000
|
|
||||||
RCC.PLLRFreq_Value=216000000
|
|
||||||
RCC.PLLSAIPCLKFreq_Value=192000000
|
|
||||||
RCC.PLLSAIQCLKFreq_Value=192000000
|
|
||||||
RCC.PLLSAIRCLKFreq_Value=192000000
|
|
||||||
RCC.PLLSAIoutputFreq_Value=192000000
|
|
||||||
RCC.RNGFreq_Value=48000000
|
|
||||||
RCC.SAI1Freq_Value=192000000
|
|
||||||
RCC.SAI2Freq_Value=192000000
|
|
||||||
RCC.SDMMC2Freq_Value=216000000
|
|
||||||
RCC.SDMMCFreq_Value=216000000
|
|
||||||
RCC.SPDIFRXFreq_Value=192000000
|
|
||||||
RCC.SYSCLKFreq_VALUE=216000000
|
|
||||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
||||||
RCC.UART4Freq_Value=54000000
|
|
||||||
RCC.UART5Freq_Value=54000000
|
|
||||||
RCC.UART7Freq_Value=54000000
|
|
||||||
RCC.UART8Freq_Value=54000000
|
|
||||||
RCC.USART1Freq_Value=108000000
|
|
||||||
RCC.USART2Freq_Value=54000000
|
|
||||||
RCC.USART3Freq_Value=54000000
|
|
||||||
RCC.USART6Freq_Value=108000000
|
|
||||||
RCC.USBFreq_Value=48000000
|
|
||||||
RCC.VCOI2SOutputFreq_Value=384000000
|
|
||||||
RCC.VCOInputFreq_Value=2000000
|
|
||||||
RCC.VCOOutputFreq_Value=432000000
|
|
||||||
RCC.VCOSAIOutputFreq_Value=384000000
|
|
||||||
USART2.IPParameters=VirtualMode-Asynchronous
|
|
||||||
USART2.VirtualMode-Asynchronous=VM_ASYNC
|
|
||||||
USART3.IPParameters=VirtualMode-Asynchronous
|
|
||||||
USART3.VirtualMode-Asynchronous=VM_ASYNC
|
|
||||||
VP_CRYP_VS_CRYP.Mode=CRYP_Activate
|
|
||||||
VP_CRYP_VS_CRYP.Signal=CRYP_VS_CRYP
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_HASH_VS_HASH.Mode=HASH_Activate
|
|
||||||
VP_HASH_VS_HASH.Signal=HASH_VS_HASH
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_RTC_VS_RTC_Calendar.Mode=RTC_Calendar
|
|
||||||
VP_RTC_VS_RTC_Calendar.Signal=RTC_VS_RTC_Calendar
|
|
||||||
VP_SYS_VS_tim1.Mode=TIM1
|
|
||||||
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=custom
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,wolfSSLCcwolfSSLJjwolfCryptJjCore,wolfSSLCcwolfSSLJjwolfCryptJjTest,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjTest=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfCryptJjCore\:true;wolfSSLCcwolfSSLJjwolfCryptJjTest\:true;wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -1,338 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
CORTEX_M7.CPU_DCache=Disabled
|
|
||||||
CORTEX_M7.CPU_ICache=Disabled
|
|
||||||
CORTEX_M7.IPParameters=CPU_ICache,CPU_DCache,MPU_Control
|
|
||||||
CORTEX_M7.MPU_Control=__NULL
|
|
||||||
ETH.ETH_RX_DESC_CNT=4
|
|
||||||
ETH.ETH_TX_DESC_CNT=4
|
|
||||||
ETH.IPParameters=MACAddr,MediaInterface,ETH_TX_DESC_CNT,TxDescAddress,ETH_RX_DESC_CNT,RxDescAddress,RxBuffAddress,RxBuffLen
|
|
||||||
ETH.MACAddr=00\:80\:E1\:00\:00\:00
|
|
||||||
ETH.MediaInterface=HAL_ETH_RMII_MODE
|
|
||||||
ETH.RxBuffAddress=0x30040200
|
|
||||||
ETH.RxBuffLen=1524
|
|
||||||
ETH.RxDescAddress=0x30040000
|
|
||||||
ETH.TxDescAddress=0x30040060
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,configTOTAL_HEAP_SIZE,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,FootprintOK
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,8960,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=180000
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
Mcu.Family=STM32H7
|
|
||||||
Mcu.IP0=CORTEX_M7
|
|
||||||
Mcu.IP1=CRYP
|
|
||||||
Mcu.IP10=USART3
|
|
||||||
Mcu.IP11=USB_OTG_FS
|
|
||||||
Mcu.IP2=ETH
|
|
||||||
Mcu.IP3=FREERTOS
|
|
||||||
Mcu.IP4=HASH
|
|
||||||
Mcu.IP5=NVIC
|
|
||||||
Mcu.IP6=RCC
|
|
||||||
Mcu.IP7=RNG
|
|
||||||
Mcu.IP8=RTC
|
|
||||||
Mcu.IP9=SYS
|
|
||||||
Mcu.IPNb=12
|
|
||||||
Mcu.Name=STM32H753ZITx
|
|
||||||
Mcu.Package=LQFP144
|
|
||||||
Mcu.Pin0=PC13
|
|
||||||
Mcu.Pin1=PC14-OSC32_IN (OSC32_IN)
|
|
||||||
Mcu.Pin10=PC5
|
|
||||||
Mcu.Pin11=PB0
|
|
||||||
Mcu.Pin12=PB13
|
|
||||||
Mcu.Pin13=PB14
|
|
||||||
Mcu.Pin14=PD8
|
|
||||||
Mcu.Pin15=PD9
|
|
||||||
Mcu.Pin16=PD10
|
|
||||||
Mcu.Pin17=PG7
|
|
||||||
Mcu.Pin18=PA8
|
|
||||||
Mcu.Pin19=PA9
|
|
||||||
Mcu.Pin2=PC15-OSC32_OUT (OSC32_OUT)
|
|
||||||
Mcu.Pin20=PA11
|
|
||||||
Mcu.Pin21=PA12
|
|
||||||
Mcu.Pin22=PG11
|
|
||||||
Mcu.Pin23=PG13
|
|
||||||
Mcu.Pin24=PE1
|
|
||||||
Mcu.Pin25=VP_CRYP_VS_CRYP
|
|
||||||
Mcu.Pin26=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin27=VP_HASH_VS_HASH
|
|
||||||
Mcu.Pin28=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin29=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.Pin3=PH0-OSC_IN (PH0)
|
|
||||||
Mcu.Pin30=VP_SYS_VS_tim1
|
|
||||||
Mcu.Pin31=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.Pin4=PH1-OSC_OUT (PH1)
|
|
||||||
Mcu.Pin5=PC1
|
|
||||||
Mcu.Pin6=PA1
|
|
||||||
Mcu.Pin7=PA2
|
|
||||||
Mcu.Pin8=PA7
|
|
||||||
Mcu.Pin9=PC4
|
|
||||||
Mcu.PinsNb=32
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32H753ZITx
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.TIM1_UP_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM1_UP_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM1
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
PA1.Locked=true
|
|
||||||
PA1.Mode=RMII
|
|
||||||
PA1.Signal=ETH_REF_CLK
|
|
||||||
PA11.Locked=true
|
|
||||||
PA11.Mode=Device_Only
|
|
||||||
PA11.Signal=USB_OTG_FS_DM
|
|
||||||
PA12.Locked=true
|
|
||||||
PA12.Mode=Device_Only
|
|
||||||
PA12.Signal=USB_OTG_FS_DP
|
|
||||||
PA2.Locked=true
|
|
||||||
PA2.Mode=RMII
|
|
||||||
PA2.Signal=ETH_MDIO
|
|
||||||
PA7.Locked=true
|
|
||||||
PA7.Mode=RMII
|
|
||||||
PA7.Signal=ETH_CRS_DV
|
|
||||||
PA8.Locked=true
|
|
||||||
PA8.Mode=Activate_SOF_FS
|
|
||||||
PA8.Signal=USB_OTG_FS_SOF
|
|
||||||
PA9.Locked=true
|
|
||||||
PA9.Mode=Activate_VBUS
|
|
||||||
PA9.Signal=USB_OTG_FS_VBUS
|
|
||||||
PB0.GPIOParameters=GPIO_Label
|
|
||||||
PB0.GPIO_Label=LD1 [Green Led]
|
|
||||||
PB0.Locked=true
|
|
||||||
PB0.Signal=GPIO_Output
|
|
||||||
PB13.Locked=true
|
|
||||||
PB13.Mode=RMII
|
|
||||||
PB13.Signal=ETH_TXD1
|
|
||||||
PB14.GPIOParameters=GPIO_Label
|
|
||||||
PB14.GPIO_Label=LD3 [Red Led]
|
|
||||||
PB14.Locked=true
|
|
||||||
PB14.Signal=GPIO_Output
|
|
||||||
PC1.Locked=true
|
|
||||||
PC1.Mode=RMII
|
|
||||||
PC1.Signal=ETH_MDC
|
|
||||||
PC13.GPIOParameters=GPIO_Label
|
|
||||||
PC13.GPIO_Label=B1 [Blue PushButton]
|
|
||||||
PC13.Locked=true
|
|
||||||
PC13.Signal=GPIO_Input
|
|
||||||
PC14-OSC32_IN\ (OSC32_IN).Locked=true
|
|
||||||
PC14-OSC32_IN\ (OSC32_IN).Mode=LSE-External-Oscillator
|
|
||||||
PC14-OSC32_IN\ (OSC32_IN).Signal=RCC_OSC32_IN
|
|
||||||
PC15-OSC32_OUT\ (OSC32_OUT).Locked=true
|
|
||||||
PC15-OSC32_OUT\ (OSC32_OUT).Mode=LSE-External-Oscillator
|
|
||||||
PC15-OSC32_OUT\ (OSC32_OUT).Signal=RCC_OSC32_OUT
|
|
||||||
PC4.Locked=true
|
|
||||||
PC4.Mode=RMII
|
|
||||||
PC4.Signal=ETH_RXD0
|
|
||||||
PC5.Locked=true
|
|
||||||
PC5.Mode=RMII
|
|
||||||
PC5.Signal=ETH_RXD1
|
|
||||||
PD10.GPIOParameters=GPIO_Label
|
|
||||||
PD10.GPIO_Label=USB_OTG_FS_PWR_EN
|
|
||||||
PD10.Locked=true
|
|
||||||
PD10.Signal=GPIO_Output
|
|
||||||
PD8.GPIOParameters=GPIO_Label
|
|
||||||
PD8.GPIO_Label=STLINK_RX
|
|
||||||
PD8.Locked=true
|
|
||||||
PD8.Mode=Asynchronous
|
|
||||||
PD8.Signal=USART3_TX
|
|
||||||
PD9.GPIOParameters=GPIO_Label
|
|
||||||
PD9.GPIO_Label=STLINK_TX
|
|
||||||
PD9.Locked=true
|
|
||||||
PD9.Mode=Asynchronous
|
|
||||||
PD9.Signal=USART3_RX
|
|
||||||
PE1.GPIOParameters=GPIO_Label
|
|
||||||
PE1.GPIO_Label=LD2 [Yellow Led]
|
|
||||||
PE1.Locked=true
|
|
||||||
PE1.Signal=GPIO_Output
|
|
||||||
PG11.Locked=true
|
|
||||||
PG11.Mode=RMII
|
|
||||||
PG11.Signal=ETH_TX_EN
|
|
||||||
PG13.Locked=true
|
|
||||||
PG13.Mode=RMII
|
|
||||||
PG13.Signal=ETH_TXD0
|
|
||||||
PG7.GPIOParameters=GPIO_Label
|
|
||||||
PG7.GPIO_Label=USB_OTG_FS_OVCR
|
|
||||||
PG7.Locked=true
|
|
||||||
PG7.Signal=GPXTI7
|
|
||||||
PH0-OSC_IN\ (PH0).Locked=true
|
|
||||||
PH0-OSC_IN\ (PH0).Mode=HSE-External-Clock-Source
|
|
||||||
PH0-OSC_IN\ (PH0).Signal=RCC_OSC_IN
|
|
||||||
PH1-OSC_OUT\ (PH1).Locked=true
|
|
||||||
PH1-OSC_OUT\ (PH1).Signal=RCC_OSC_OUT
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32H753ZITx
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_H7 V1.7.0
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32H753.ioc
|
|
||||||
ProjectManager.ProjectName=STM32H753
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_ETH_Init-ETH-false-HAL-true,4-MX_USART3_UART_Init-USART3-false-HAL-true,5-MX_USB_OTG_FS_PCD_Init-USB_OTG_FS-false-HAL-true,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true
|
|
||||||
RCC.ADCFreq_Value=16125000
|
|
||||||
RCC.AHB12Freq_Value=240000000
|
|
||||||
RCC.AHB4Freq_Value=240000000
|
|
||||||
RCC.APB1Freq_Value=120000000
|
|
||||||
RCC.APB2Freq_Value=120000000
|
|
||||||
RCC.APB3Freq_Value=120000000
|
|
||||||
RCC.APB4Freq_Value=120000000
|
|
||||||
RCC.AXIClockFreq_Value=240000000
|
|
||||||
RCC.CECFreq_Value=32000
|
|
||||||
RCC.CKPERFreq_Value=64000000
|
|
||||||
RCC.CortexFreq_Value=480000000
|
|
||||||
RCC.CpuClockFreq_Value=480000000
|
|
||||||
RCC.D1CPREFreq_Value=480000000
|
|
||||||
RCC.D1PPRE=RCC_APB3_DIV2
|
|
||||||
RCC.D2PPRE1=RCC_APB1_DIV2
|
|
||||||
RCC.D2PPRE2=RCC_APB2_DIV2
|
|
||||||
RCC.D3PPRE=RCC_APB4_DIV2
|
|
||||||
RCC.DFSDMACLkFreq_Value=48000000
|
|
||||||
RCC.DFSDMFreq_Value=120000000
|
|
||||||
RCC.DIVM1=1
|
|
||||||
RCC.DIVN1=120
|
|
||||||
RCC.DIVP1Freq_Value=480000000
|
|
||||||
RCC.DIVP2Freq_Value=16125000
|
|
||||||
RCC.DIVP3Freq_Value=16125000
|
|
||||||
RCC.DIVQ1=20
|
|
||||||
RCC.DIVQ1Freq_Value=48000000
|
|
||||||
RCC.DIVQ2Freq_Value=16125000
|
|
||||||
RCC.DIVQ3Freq_Value=16125000
|
|
||||||
RCC.DIVR1Freq_Value=480000000
|
|
||||||
RCC.DIVR2Freq_Value=16125000
|
|
||||||
RCC.DIVR3Freq_Value=16125000
|
|
||||||
RCC.FDCANFreq_Value=48000000
|
|
||||||
RCC.FMCFreq_Value=240000000
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLK3ClockFreq_Value=240000000
|
|
||||||
RCC.HCLKFreq_Value=240000000
|
|
||||||
RCC.HPRE=RCC_HCLK_DIV2
|
|
||||||
RCC.HRTIMFreq_Value=240000000
|
|
||||||
RCC.HSE_VALUE=8000000
|
|
||||||
RCC.I2C123Freq_Value=120000000
|
|
||||||
RCC.I2C4Freq_Value=120000000
|
|
||||||
RCC.IPParameters=ADCFreq_Value,AHB12Freq_Value,AHB4Freq_Value,APB1Freq_Value,APB2Freq_Value,APB3Freq_Value,APB4Freq_Value,AXIClockFreq_Value,CECFreq_Value,CKPERFreq_Value,CortexFreq_Value,CpuClockFreq_Value,D1CPREFreq_Value,D1PPRE,D2PPRE1,D2PPRE2,D3PPRE,DFSDMACLkFreq_Value,DFSDMFreq_Value,DIVM1,DIVN1,DIVP1Freq_Value,DIVP2Freq_Value,DIVP3Freq_Value,DIVQ1,DIVQ1Freq_Value,DIVQ2Freq_Value,DIVQ3Freq_Value,DIVR1Freq_Value,DIVR2Freq_Value,DIVR3Freq_Value,FDCANFreq_Value,FMCFreq_Value,FamilyName,HCLK3ClockFreq_Value,HCLKFreq_Value,HPRE,HRTIMFreq_Value,HSE_VALUE,I2C123Freq_Value,I2C4Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPTIM345Freq_Value,LPUART1Freq_Value,LTDCFreq_Value,MCO1PinFreq_Value,MCO2PinFreq_Value,PLL2FRACN,PLL3FRACN,PLLFRACN,QSPIFreq_Value,RNGFreq_Value,RTCFreq_Value,SAI1Freq_Value,SAI23Freq_Value,SAI4AFreq_Value,SAI4BFreq_Value,SDMMCFreq_Value,SPDIFRXFreq_Value,SPI123Freq_Value,SPI45Freq_Value,SPI6Freq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,Tim1OutputFreq_Value,Tim2OutputFreq_Value,TraceFreq_Value,USART16Freq_Value,USART234578Freq_Value,USBFreq_Value,VCO1OutputFreq_Value,VCO2OutputFreq_Value,VCO3OutputFreq_Value,VCOInput1Freq_Value,VCOInput2Freq_Value,VCOInput3Freq_Value
|
|
||||||
RCC.LPTIM1Freq_Value=120000000
|
|
||||||
RCC.LPTIM2Freq_Value=120000000
|
|
||||||
RCC.LPTIM345Freq_Value=120000000
|
|
||||||
RCC.LPUART1Freq_Value=120000000
|
|
||||||
RCC.LTDCFreq_Value=16125000
|
|
||||||
RCC.MCO1PinFreq_Value=64000000
|
|
||||||
RCC.MCO2PinFreq_Value=480000000
|
|
||||||
RCC.PLL2FRACN=0
|
|
||||||
RCC.PLL3FRACN=0
|
|
||||||
RCC.PLLFRACN=0
|
|
||||||
RCC.QSPIFreq_Value=240000000
|
|
||||||
RCC.RNGFreq_Value=48000000
|
|
||||||
RCC.RTCFreq_Value=32000
|
|
||||||
RCC.SAI1Freq_Value=48000000
|
|
||||||
RCC.SAI23Freq_Value=48000000
|
|
||||||
RCC.SAI4AFreq_Value=48000000
|
|
||||||
RCC.SAI4BFreq_Value=48000000
|
|
||||||
RCC.SDMMCFreq_Value=48000000
|
|
||||||
RCC.SPDIFRXFreq_Value=48000000
|
|
||||||
RCC.SPI123Freq_Value=48000000
|
|
||||||
RCC.SPI45Freq_Value=120000000
|
|
||||||
RCC.SPI6Freq_Value=120000000
|
|
||||||
RCC.SWPMI1Freq_Value=120000000
|
|
||||||
RCC.SYSCLKFreq_VALUE=480000000
|
|
||||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
||||||
RCC.Tim1OutputFreq_Value=240000000
|
|
||||||
RCC.Tim2OutputFreq_Value=240000000
|
|
||||||
RCC.TraceFreq_Value=64000000
|
|
||||||
RCC.USART16Freq_Value=120000000
|
|
||||||
RCC.USART234578Freq_Value=120000000
|
|
||||||
RCC.USBFreq_Value=48000000
|
|
||||||
RCC.VCO1OutputFreq_Value=960000000
|
|
||||||
RCC.VCO2OutputFreq_Value=32250000
|
|
||||||
RCC.VCO3OutputFreq_Value=32250000
|
|
||||||
RCC.VCOInput1Freq_Value=8000000
|
|
||||||
RCC.VCOInput2Freq_Value=250000
|
|
||||||
RCC.VCOInput3Freq_Value=250000
|
|
||||||
SH.GPXTI7.0=GPIO_EXTI7
|
|
||||||
SH.GPXTI7.ConfNb=1
|
|
||||||
USART3.AutoBaudRateEnableParam=UART_ADVFEATURE_AUTOBAUDRATE_DISABLE
|
|
||||||
USART3.BaudRate=115200
|
|
||||||
USART3.ClockPrescaler=PRESCALER_DIV1
|
|
||||||
USART3.DMADisableonRxErrorParam=ADVFEATURE_DMA_ENABLEONRXERROR
|
|
||||||
USART3.DataInvertParam=ADVFEATURE_DATAINV_DISABLE
|
|
||||||
USART3.FIFOMode=FIFOMODE_DISABLE
|
|
||||||
USART3.IPParameters=BaudRate,VirtualMode-Asynchronous,WordLength,Parity,StopBits,Mode,OverSampling,OneBitSampling,ClockPrescaler,FIFOMode,TXFIFOThreshold,RXFIFOThreshold,AutoBaudRateEnableParam,TxPinLevelInvertParam,RxPinLevelInvertParam,DataInvertParam,SwapParam,OverrunDisableParam,DMADisableonRxErrorParam,MSBFirstParam
|
|
||||||
USART3.MSBFirstParam=ADVFEATURE_MSBFIRST_DISABLE
|
|
||||||
USART3.Mode=MODE_TX_RX
|
|
||||||
USART3.OneBitSampling=UART_ONE_BIT_SAMPLE_DISABLE
|
|
||||||
USART3.OverSampling=UART_OVERSAMPLING_16
|
|
||||||
USART3.OverrunDisableParam=ADVFEATURE_OVERRUN_ENABLE
|
|
||||||
USART3.Parity=PARITY_NONE
|
|
||||||
USART3.RXFIFOThreshold=RXFIFO_THRESHOLD_1EIGHTHFULL
|
|
||||||
USART3.RxPinLevelInvertParam=ADVFEATURE_RXINV_DISABLE
|
|
||||||
USART3.StopBits=STOPBITS_1
|
|
||||||
USART3.SwapParam=ADVFEATURE_SWAP_DISABLE
|
|
||||||
USART3.TXFIFOThreshold=TXFIFO_THRESHOLD_1EIGHTHFULL
|
|
||||||
USART3.TxPinLevelInvertParam=ADVFEATURE_TXINV_DISABLE
|
|
||||||
USART3.VirtualMode-Asynchronous=VM_ASYNC
|
|
||||||
USART3.WordLength=WORDLENGTH_8B
|
|
||||||
USB_OTG_FS.IPParameters=low_power_enable,VirtualMode,battery_charging_enable,lpm_enable,use_dedicated_ep1,vbus_sensing_enable,Sof_enable
|
|
||||||
USB_OTG_FS.Sof_enable=ENABLE
|
|
||||||
USB_OTG_FS.VirtualMode=Device_Only
|
|
||||||
USB_OTG_FS.battery_charging_enable=ENABLE
|
|
||||||
USB_OTG_FS.low_power_enable=DISABLE
|
|
||||||
USB_OTG_FS.lpm_enable=DISABLE
|
|
||||||
USB_OTG_FS.use_dedicated_ep1=DISABLE
|
|
||||||
USB_OTG_FS.vbus_sensing_enable=ENABLE
|
|
||||||
VP_CRYP_VS_CRYP.Mode=CRYP_Activate
|
|
||||||
VP_CRYP_VS_CRYP.Signal=CRYP_VS_CRYP
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_HASH_VS_HASH.Mode=HASH_Activate
|
|
||||||
VP_HASH_VS_HASH.Signal=HASH_VS_HASH
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_SYS_VS_tim1.Mode=TIM1
|
|
||||||
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=NUCLEO-H753ZI
|
|
||||||
boardIOC=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,wolfSSLCcwolfSSLJjwolfCryptJjCore,wolfSSLCcwolfSSLJjwolfCryptJjTest,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjTest=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfCryptJjCore\:true;wolfSSLCcwolfSSLJjwolfCryptJjTest\:true;wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -1,636 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,FootprintOK,configTOTAL_HEAP_SIZE,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,8960,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=88000
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
Mcu.Family=STM32L4
|
|
||||||
Mcu.IP0=DFSDM1
|
|
||||||
Mcu.IP1=FREERTOS
|
|
||||||
Mcu.IP10=USART1
|
|
||||||
Mcu.IP11=USART3
|
|
||||||
Mcu.IP12=USB_OTG_FS
|
|
||||||
Mcu.IP2=I2C2
|
|
||||||
Mcu.IP3=NVIC
|
|
||||||
Mcu.IP4=QUADSPI
|
|
||||||
Mcu.IP5=RCC
|
|
||||||
Mcu.IP6=RNG
|
|
||||||
Mcu.IP7=RTC
|
|
||||||
Mcu.IP8=SPI3
|
|
||||||
Mcu.IP9=SYS
|
|
||||||
Mcu.IPNb=13
|
|
||||||
Mcu.Name=STM32L475V(C-E-G)Tx
|
|
||||||
Mcu.Package=LQFP100
|
|
||||||
Mcu.Pin0=PE2
|
|
||||||
Mcu.Pin1=PE3
|
|
||||||
Mcu.Pin10=PC2
|
|
||||||
Mcu.Pin11=PC3
|
|
||||||
Mcu.Pin12=PA0
|
|
||||||
Mcu.Pin13=PA1
|
|
||||||
Mcu.Pin14=PA2
|
|
||||||
Mcu.Pin15=PA3
|
|
||||||
Mcu.Pin16=PA4
|
|
||||||
Mcu.Pin17=PA5
|
|
||||||
Mcu.Pin18=PA6
|
|
||||||
Mcu.Pin19=PA7
|
|
||||||
Mcu.Pin2=PE4
|
|
||||||
Mcu.Pin20=PC4
|
|
||||||
Mcu.Pin21=PC5
|
|
||||||
Mcu.Pin22=PB0
|
|
||||||
Mcu.Pin23=PB1
|
|
||||||
Mcu.Pin24=PB2
|
|
||||||
Mcu.Pin25=PE7
|
|
||||||
Mcu.Pin26=PE8
|
|
||||||
Mcu.Pin27=PE9
|
|
||||||
Mcu.Pin28=PE10
|
|
||||||
Mcu.Pin29=PE11
|
|
||||||
Mcu.Pin3=PE5
|
|
||||||
Mcu.Pin30=PE12
|
|
||||||
Mcu.Pin31=PE13
|
|
||||||
Mcu.Pin32=PE14
|
|
||||||
Mcu.Pin33=PE15
|
|
||||||
Mcu.Pin34=PB10
|
|
||||||
Mcu.Pin35=PB11
|
|
||||||
Mcu.Pin36=PB12
|
|
||||||
Mcu.Pin37=PB13
|
|
||||||
Mcu.Pin38=PB14
|
|
||||||
Mcu.Pin39=PB15
|
|
||||||
Mcu.Pin4=PE6
|
|
||||||
Mcu.Pin40=PD8
|
|
||||||
Mcu.Pin41=PD9
|
|
||||||
Mcu.Pin42=PD10
|
|
||||||
Mcu.Pin43=PD11
|
|
||||||
Mcu.Pin44=PD12
|
|
||||||
Mcu.Pin45=PD13
|
|
||||||
Mcu.Pin46=PD14
|
|
||||||
Mcu.Pin47=PD15
|
|
||||||
Mcu.Pin48=PC6
|
|
||||||
Mcu.Pin49=PC7
|
|
||||||
Mcu.Pin5=PC13
|
|
||||||
Mcu.Pin50=PC8
|
|
||||||
Mcu.Pin51=PC9
|
|
||||||
Mcu.Pin52=PA8
|
|
||||||
Mcu.Pin53=PA9
|
|
||||||
Mcu.Pin54=PA10
|
|
||||||
Mcu.Pin55=PA11
|
|
||||||
Mcu.Pin56=PA12
|
|
||||||
Mcu.Pin57=PA13 (JTMS-SWDIO)
|
|
||||||
Mcu.Pin58=PA14 (JTCK-SWCLK)
|
|
||||||
Mcu.Pin59=PA15 (JTDI)
|
|
||||||
Mcu.Pin6=PC14-OSC32_IN (PC14)
|
|
||||||
Mcu.Pin60=PC10
|
|
||||||
Mcu.Pin61=PC11
|
|
||||||
Mcu.Pin62=PC12
|
|
||||||
Mcu.Pin63=PD0
|
|
||||||
Mcu.Pin64=PD1
|
|
||||||
Mcu.Pin65=PD2
|
|
||||||
Mcu.Pin66=PD3
|
|
||||||
Mcu.Pin67=PD4
|
|
||||||
Mcu.Pin68=PD5
|
|
||||||
Mcu.Pin69=PD6
|
|
||||||
Mcu.Pin7=PC15-OSC32_OUT (PC15)
|
|
||||||
Mcu.Pin70=PD7
|
|
||||||
Mcu.Pin71=PB3 (JTDO-TRACESWO)
|
|
||||||
Mcu.Pin72=PB4 (NJTRST)
|
|
||||||
Mcu.Pin73=PB5
|
|
||||||
Mcu.Pin74=PB6
|
|
||||||
Mcu.Pin75=PB7
|
|
||||||
Mcu.Pin76=PB8
|
|
||||||
Mcu.Pin77=PB9
|
|
||||||
Mcu.Pin78=PE0
|
|
||||||
Mcu.Pin79=PE1
|
|
||||||
Mcu.Pin8=PC0
|
|
||||||
Mcu.Pin80=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin81=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin82=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.Pin83=VP_SYS_VS_tim1
|
|
||||||
Mcu.Pin84=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.Pin9=PC1
|
|
||||||
Mcu.PinsNb=85
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32L475VGTx
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:false
|
|
||||||
NVIC.EXTI15_10_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true
|
|
||||||
NVIC.EXTI9_5_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:true\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:true\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:true\:false
|
|
||||||
NVIC.TIM1_UP_TIM16_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM1_UP_TIM16_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM1
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:false
|
|
||||||
PA0.GPIOParameters=GPIO_Label
|
|
||||||
PA0.GPIO_Label=ARD_D1 [UART4_TX]
|
|
||||||
PA0.Locked=true
|
|
||||||
PA0.Signal=UART4_TX
|
|
||||||
PA1.GPIOParameters=GPIO_Label
|
|
||||||
PA1.GPIO_Label=ARD_D0 [UART4_RX]
|
|
||||||
PA1.Locked=true
|
|
||||||
PA1.Signal=UART4_RX
|
|
||||||
PA10.GPIOParameters=GPIO_Label
|
|
||||||
PA10.GPIO_Label=USB_OTG_FS_ID
|
|
||||||
PA10.Locked=true
|
|
||||||
PA10.Signal=USB_OTG_FS_ID
|
|
||||||
PA11.GPIOParameters=GPIO_Label
|
|
||||||
PA11.GPIO_Label=USB_OTG_FS_DM
|
|
||||||
PA11.Locked=true
|
|
||||||
PA11.Mode=Device_Only
|
|
||||||
PA11.Signal=USB_OTG_FS_DM
|
|
||||||
PA12.GPIOParameters=GPIO_Label
|
|
||||||
PA12.GPIO_Label=USB_OTG_FS_DP
|
|
||||||
PA12.Locked=true
|
|
||||||
PA12.Mode=Device_Only
|
|
||||||
PA12.Signal=USB_OTG_FS_DP
|
|
||||||
PA13\ (JTMS-SWDIO).GPIOParameters=GPIO_Label
|
|
||||||
PA13\ (JTMS-SWDIO).GPIO_Label=SYS_JTMS_SWDIO
|
|
||||||
PA13\ (JTMS-SWDIO).Locked=true
|
|
||||||
PA13\ (JTMS-SWDIO).Mode=Serial_Wire
|
|
||||||
PA13\ (JTMS-SWDIO).Signal=SYS_JTMS-SWDIO
|
|
||||||
PA14\ (JTCK-SWCLK).GPIOParameters=GPIO_Label
|
|
||||||
PA14\ (JTCK-SWCLK).GPIO_Label=SYS_JTCK_SWCLK
|
|
||||||
PA14\ (JTCK-SWCLK).Locked=true
|
|
||||||
PA14\ (JTCK-SWCLK).Mode=Serial_Wire
|
|
||||||
PA14\ (JTCK-SWCLK).Signal=SYS_JTCK-SWCLK
|
|
||||||
PA15\ (JTDI).GPIOParameters=GPIO_Label
|
|
||||||
PA15\ (JTDI).GPIO_Label=ARD_D9
|
|
||||||
PA15\ (JTDI).Locked=true
|
|
||||||
PA15\ (JTDI).Signal=GPIO_Output
|
|
||||||
PA2.GPIOParameters=GPIO_Label
|
|
||||||
PA2.GPIO_Label=ARD_D10 [SPI_SSN]
|
|
||||||
PA2.Locked=true
|
|
||||||
PA2.Signal=GPIO_Output
|
|
||||||
PA3.GPIOParameters=GPIO_Label
|
|
||||||
PA3.GPIO_Label=ARD_D4
|
|
||||||
PA3.Locked=true
|
|
||||||
PA3.Signal=S_TIM2_CH4
|
|
||||||
PA4.GPIOParameters=GPIO_Label
|
|
||||||
PA4.GPIO_Label=ARD_D7
|
|
||||||
PA4.Locked=true
|
|
||||||
PA4.Signal=ADCx_IN9
|
|
||||||
PA5.GPIOParameters=GPIO_Label
|
|
||||||
PA5.GPIO_Label=ARD_D13 [SPI1_SCK]
|
|
||||||
PA5.Locked=true
|
|
||||||
PA5.Signal=SPI1_SCK
|
|
||||||
PA6.GPIOParameters=GPIO_Label
|
|
||||||
PA6.GPIO_Label=ARD_D12 [SPI1_MISO]
|
|
||||||
PA6.Locked=true
|
|
||||||
PA6.Signal=SPI1_MISO
|
|
||||||
PA7.GPIOParameters=GPIO_Label
|
|
||||||
PA7.GPIO_Label=ARD_D11 [SPI1_MOSI]
|
|
||||||
PA7.Locked=true
|
|
||||||
PA7.Signal=SPI1_MOSI
|
|
||||||
PA8.GPIOParameters=GPIO_Label
|
|
||||||
PA8.GPIO_Label=SPBTLE_RF_RST
|
|
||||||
PA8.Locked=true
|
|
||||||
PA8.Signal=GPIO_Output
|
|
||||||
PA9.GPIOParameters=GPIO_Label
|
|
||||||
PA9.GPIO_Label=USB_OTG_FS_VBUS [STMPS2141STR_OUT]
|
|
||||||
PA9.Locked=true
|
|
||||||
PA9.Signal=USB_OTG_FS_VBUS
|
|
||||||
PB0.GPIOParameters=GPIO_Label
|
|
||||||
PB0.GPIO_Label=ARD_D3 [INT_EXT10]
|
|
||||||
PB0.Locked=true
|
|
||||||
PB0.Signal=GPXTI0
|
|
||||||
PB1.GPIOParameters=GPIO_Label
|
|
||||||
PB1.GPIO_Label=ARD_D6 [ADC1_IN6]
|
|
||||||
PB1.Locked=true
|
|
||||||
PB1.Signal=ADCx_IN16
|
|
||||||
PB10.GPIOParameters=GPIO_Label
|
|
||||||
PB10.GPIO_Label=INTERNAL_I2C2_SCL [VL53L0X_SCL]
|
|
||||||
PB10.Locked=true
|
|
||||||
PB10.Mode=I2C
|
|
||||||
PB10.Signal=I2C2_SCL
|
|
||||||
PB11.GPIOParameters=GPIO_Label
|
|
||||||
PB11.GPIO_Label=INTERNAL_I2C2_SDA [VL53L0X_SDA]
|
|
||||||
PB11.Locked=true
|
|
||||||
PB11.Mode=I2C
|
|
||||||
PB11.Signal=I2C2_SDA
|
|
||||||
PB12.GPIOParameters=GPIO_Label
|
|
||||||
PB12.GPIO_Label=ISM43362_BOOT0 [ISM43362_BOOT]
|
|
||||||
PB12.Locked=true
|
|
||||||
PB12.Signal=GPIO_Output
|
|
||||||
PB13.GPIOParameters=GPIO_Label
|
|
||||||
PB13.GPIO_Label=ISM43362_WAKEUP [ISM43362_WKUP]
|
|
||||||
PB13.Locked=true
|
|
||||||
PB13.Signal=GPIO_Output
|
|
||||||
PB14.GPIOParameters=GPIO_Label
|
|
||||||
PB14.GPIO_Label=LED2 [LED_GREEN]
|
|
||||||
PB14.Locked=true
|
|
||||||
PB14.Signal=GPIO_Output
|
|
||||||
PB15.GPIOParameters=GPIO_Label
|
|
||||||
PB15.GPIO_Label=SPSGRF_915_SDN [SPSGRF_SDN]
|
|
||||||
PB15.Locked=true
|
|
||||||
PB15.Signal=GPIO_Output
|
|
||||||
PB2.GPIOParameters=GPIO_Label
|
|
||||||
PB2.GPIO_Label=ARD_D8
|
|
||||||
PB2.Locked=true
|
|
||||||
PB2.Signal=GPIO_Output
|
|
||||||
PB3\ (JTDO-TRACESWO).GPIOParameters=GPIO_Label
|
|
||||||
PB3\ (JTDO-TRACESWO).GPIO_Label=SYS_JTD0_SWO
|
|
||||||
PB3\ (JTDO-TRACESWO).Locked=true
|
|
||||||
PB3\ (JTDO-TRACESWO).Signal=SYS_JTDO-SWO
|
|
||||||
PB4\ (NJTRST).GPIOParameters=GPIO_Label
|
|
||||||
PB4\ (NJTRST).GPIO_Label=ARD_D5
|
|
||||||
PB4\ (NJTRST).Locked=true
|
|
||||||
PB4\ (NJTRST).Signal=GPIO_Output
|
|
||||||
PB5.GPIOParameters=PinState,GPIO_Label
|
|
||||||
PB5.GPIO_Label=SPSGRF_915_SPI3_CSN [SPSGRF_SPI_CS]
|
|
||||||
PB5.Locked=true
|
|
||||||
PB5.PinState=GPIO_PIN_SET
|
|
||||||
PB5.Signal=GPIO_Output
|
|
||||||
PB6.GPIOParameters=GPIO_Label
|
|
||||||
PB6.GPIO_Label=ST_LINK_UART1_TX
|
|
||||||
PB6.Locked=true
|
|
||||||
PB6.Mode=Asynchronous
|
|
||||||
PB6.Signal=USART1_TX
|
|
||||||
PB7.GPIOParameters=GPIO_Label
|
|
||||||
PB7.GPIO_Label=ST_LINK_UART1_RX
|
|
||||||
PB7.Locked=true
|
|
||||||
PB7.Mode=Asynchronous
|
|
||||||
PB7.Signal=USART1_RX
|
|
||||||
PB8.GPIOParameters=GPIO_Label
|
|
||||||
PB8.GPIO_Label=ARD_D15 [I2C1_SCL]
|
|
||||||
PB8.Locked=true
|
|
||||||
PB8.Signal=I2C1_SCL
|
|
||||||
PB9.GPIOParameters=GPIO_Label
|
|
||||||
PB9.GPIO_Label=ARD_D14 [I2C1_SDA]
|
|
||||||
PB9.Locked=true
|
|
||||||
PB9.Signal=I2C1_SDA
|
|
||||||
PC0.GPIOParameters=GPIO_Label
|
|
||||||
PC0.GPIO_Label=ARD_A5 [ADC]
|
|
||||||
PC0.Locked=true
|
|
||||||
PC0.Signal=ADCx_IN1
|
|
||||||
PC1.GPIOParameters=GPIO_Label
|
|
||||||
PC1.GPIO_Label=ARD_A4 [ADC]
|
|
||||||
PC1.Locked=true
|
|
||||||
PC1.Signal=ADCx_IN2
|
|
||||||
PC10.GPIOParameters=GPIO_Label
|
|
||||||
PC10.GPIO_Label=INTERNAL_SPI3_SCK [BT module_SPI_SCLK] [ISM43362_SCK]
|
|
||||||
PC10.Locked=true
|
|
||||||
PC10.Mode=Full_Duplex_Master
|
|
||||||
PC10.Signal=SPI3_SCK
|
|
||||||
PC11.GPIOParameters=GPIO_Label
|
|
||||||
PC11.GPIO_Label=INTERNAL_SPI3_MISO [BT module_SPI_MISO] [ISM43362_MISO]
|
|
||||||
PC11.Locked=true
|
|
||||||
PC11.Mode=Full_Duplex_Master
|
|
||||||
PC11.Signal=SPI3_MISO
|
|
||||||
PC12.GPIOParameters=GPIO_Label
|
|
||||||
PC12.GPIO_Label=INTERNAL_SPI3_MOSI [BT module_SPI_MOSI] [ISM43362_MOSI]
|
|
||||||
PC12.Locked=true
|
|
||||||
PC12.Mode=Full_Duplex_Master
|
|
||||||
PC12.Signal=SPI3_MOSI
|
|
||||||
PC13.GPIOParameters=GPIO_Label,GPIO_ModeDefaultEXTI
|
|
||||||
PC13.GPIO_Label=BUTTON_EXTI13 [B2]
|
|
||||||
PC13.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING
|
|
||||||
PC13.Locked=true
|
|
||||||
PC13.Signal=GPXTI13
|
|
||||||
PC14-OSC32_IN\ (PC14).Locked=true
|
|
||||||
PC14-OSC32_IN\ (PC14).Mode=LSE-External-Oscillator
|
|
||||||
PC14-OSC32_IN\ (PC14).Signal=RCC_OSC32_IN
|
|
||||||
PC15-OSC32_OUT\ (PC15).Locked=true
|
|
||||||
PC15-OSC32_OUT\ (PC15).Mode=LSE-External-Oscillator
|
|
||||||
PC15-OSC32_OUT\ (PC15).Signal=RCC_OSC32_OUT
|
|
||||||
PC2.GPIOParameters=GPIO_Label
|
|
||||||
PC2.GPIO_Label=ARD_A3 [ADC]
|
|
||||||
PC2.Locked=true
|
|
||||||
PC2.Signal=ADCx_IN3
|
|
||||||
PC3.GPIOParameters=GPIO_Label
|
|
||||||
PC3.GPIO_Label=ARD_A2 [ADC]
|
|
||||||
PC3.Locked=true
|
|
||||||
PC3.Signal=ADCx_IN4
|
|
||||||
PC4.GPIOParameters=GPIO_Label
|
|
||||||
PC4.GPIO_Label=ARD_A1 [ADC]
|
|
||||||
PC4.Locked=true
|
|
||||||
PC4.Signal=ADCx_IN13
|
|
||||||
PC5.GPIOParameters=GPIO_Label
|
|
||||||
PC5.GPIO_Label=ARD_A0 [ADC]
|
|
||||||
PC5.Locked=true
|
|
||||||
PC5.Signal=ADCx_IN14
|
|
||||||
PC6.GPIOParameters=GPIO_Label
|
|
||||||
PC6.GPIO_Label=VL53L0X_XSHUT [Read_XSHUT]
|
|
||||||
PC6.Locked=true
|
|
||||||
PC6.Signal=GPIO_Output
|
|
||||||
PC7.GPIOParameters=GPIO_Label
|
|
||||||
PC7.GPIO_Label=VL53L0X_GPIO1_EXTI7 [VL53L0X_GPIO1]
|
|
||||||
PC7.Locked=true
|
|
||||||
PC7.Signal=GPXTI7
|
|
||||||
PC8.GPIOParameters=GPIO_Label
|
|
||||||
PC8.GPIO_Label=LSM3MDL_DRDY_EXTI8 [LIS3MDL_DRDY]
|
|
||||||
PC8.Locked=true
|
|
||||||
PC8.Signal=GPXTI8
|
|
||||||
PC9.GPIOParameters=GPIO_Label
|
|
||||||
PC9.GPIO_Label=LED3_WIFI_ LED4_BLE
|
|
||||||
PC9.Locked=true
|
|
||||||
PC9.Signal=GPIO_Output
|
|
||||||
PD0.GPIOParameters=GPIO_Label
|
|
||||||
PD0.GPIO_Label=PMOD_RESET
|
|
||||||
PD0.Locked=true
|
|
||||||
PD0.Signal=GPIO_Output
|
|
||||||
PD1.GPIOParameters=GPIO_Label
|
|
||||||
PD1.GPIO_Label=PMOD_SPI2_SCK
|
|
||||||
PD1.Locked=true
|
|
||||||
PD1.Signal=SPI2_SCK
|
|
||||||
PD10.GPIOParameters=GPIO_Label
|
|
||||||
PD10.GPIO_Label=LPS22HB_INT_DRDY_EXTI0 [LPS22HB_INT_DRDY]
|
|
||||||
PD10.Locked=true
|
|
||||||
PD10.Signal=GPXTI10
|
|
||||||
PD11.GPIOParameters=GPIO_Label
|
|
||||||
PD11.GPIO_Label=LSM6DSL_INT1_EXTI11 [LSM6DSL_INT1]
|
|
||||||
PD11.Locked=true
|
|
||||||
PD11.Signal=GPXTI11
|
|
||||||
PD12.GPIOParameters=GPIO_Label
|
|
||||||
PD12.GPIO_Label=USB_OTG_FS_PWR_EN [STMPS2141STR_EN]
|
|
||||||
PD12.Locked=true
|
|
||||||
PD12.Signal=GPIO_Output
|
|
||||||
PD13.GPIOParameters=PinState,GPIO_Label
|
|
||||||
PD13.GPIO_Label=SPBTLE_RF_SPI3_CSN [BT module_SPI_CS]
|
|
||||||
PD13.Locked=true
|
|
||||||
PD13.PinState=GPIO_PIN_SET
|
|
||||||
PD13.Signal=GPIO_Output
|
|
||||||
PD14.GPIOParameters=GPIO_Label
|
|
||||||
PD14.GPIO_Label=ARD_D2 [INT0_EXTI14]
|
|
||||||
PD14.Locked=true
|
|
||||||
PD14.Signal=GPXTI14
|
|
||||||
PD15.GPIOParameters=GPIO_Label
|
|
||||||
PD15.GPIO_Label=HTS221_DRDY_EXTI15 [HTS221_DRDY]
|
|
||||||
PD15.Locked=true
|
|
||||||
PD15.Signal=GPXTI15
|
|
||||||
PD2.GPIOParameters=GPIO_Label
|
|
||||||
PD2.GPIO_Label=PMOD_IRQ_EXTI12
|
|
||||||
PD2.Locked=true
|
|
||||||
PD2.Signal=GPXTI2
|
|
||||||
PD3.GPIOParameters=GPIO_Label
|
|
||||||
PD3.GPIO_Label=PMOD_UART2_CTS
|
|
||||||
PD3.Locked=true
|
|
||||||
PD3.Signal=USART2_CTS
|
|
||||||
PD4.GPIOParameters=GPIO_Label
|
|
||||||
PD4.GPIO_Label=PMOD_UART2_RTS
|
|
||||||
PD4.Locked=true
|
|
||||||
PD4.Signal=USART2_RTS
|
|
||||||
PD5.GPIOParameters=GPIO_Label
|
|
||||||
PD5.GPIO_Label=PMOD_UART2_TX
|
|
||||||
PD5.Locked=true
|
|
||||||
PD5.Signal=USART2_TX
|
|
||||||
PD6.GPIOParameters=GPIO_Label
|
|
||||||
PD6.GPIO_Label=PMOD_UART2_RX
|
|
||||||
PD6.Locked=true
|
|
||||||
PD6.Signal=USART2_RX
|
|
||||||
PD7.GPIOParameters=GPIO_Label
|
|
||||||
PD7.GPIO_Label=STSAFE_A100_RESET [STSAFE-A100_RESET]
|
|
||||||
PD7.Locked=true
|
|
||||||
PD7.Signal=GPIO_Output
|
|
||||||
PD8.GPIOParameters=GPIO_Label
|
|
||||||
PD8.GPIO_Label=INTERNAL_UART3_TX [ISM43362_RX]
|
|
||||||
PD8.Locked=true
|
|
||||||
PD8.Mode=Asynchronous
|
|
||||||
PD8.Signal=USART3_TX
|
|
||||||
PD9.GPIOParameters=GPIO_Label
|
|
||||||
PD9.GPIO_Label=INTERNAL_UART3_RX [ISM43362_TX]
|
|
||||||
PD9.Locked=true
|
|
||||||
PD9.Mode=Asynchronous
|
|
||||||
PD9.Signal=USART3_RX
|
|
||||||
PE0.GPIOParameters=PinState,GPIO_Label
|
|
||||||
PE0.GPIO_Label=ISM43362_SPI3_CSN [ISM43362_SSN]
|
|
||||||
PE0.Locked=true
|
|
||||||
PE0.PinState=GPIO_PIN_SET
|
|
||||||
PE0.Signal=GPIO_Output
|
|
||||||
PE1.GPIOParameters=GPIO_Label
|
|
||||||
PE1.GPIO_Label=ISM43362_DRDY_EXTI1 [ISM43362_DATARDY]
|
|
||||||
PE1.Locked=true
|
|
||||||
PE1.Signal=GPXTI1
|
|
||||||
PE10.GPIOParameters=GPIO_Label
|
|
||||||
PE10.GPIO_Label=QUADSPI_CLK [MX25R6435F_SCLK]
|
|
||||||
PE10.Locked=true
|
|
||||||
PE10.Mode=Single Bank
|
|
||||||
PE10.Signal=QUADSPI_CLK
|
|
||||||
PE11.GPIOParameters=GPIO_Label
|
|
||||||
PE11.GPIO_Label=QUADSPI_NCS [MX25R6435F_SCLK]
|
|
||||||
PE11.Locked=true
|
|
||||||
PE11.Mode=Single Bank
|
|
||||||
PE11.Signal=QUADSPI_NCS
|
|
||||||
PE12.GPIOParameters=GPIO_Label
|
|
||||||
PE12.GPIO_Label=OQUADSPI_BK1_IO0 [MX25R6435F_IO0]
|
|
||||||
PE12.Locked=true
|
|
||||||
PE12.Mode=Single Bank
|
|
||||||
PE12.Signal=QUADSPI_BK1_IO0
|
|
||||||
PE13.GPIOParameters=GPIO_Label
|
|
||||||
PE13.GPIO_Label=QUADSPI_BK1_IO1 [MX25R6435F_IO1]
|
|
||||||
PE13.Locked=true
|
|
||||||
PE13.Mode=Single Bank
|
|
||||||
PE13.Signal=QUADSPI_BK1_IO1
|
|
||||||
PE14.GPIOParameters=GPIO_Label
|
|
||||||
PE14.GPIO_Label=QUAD_SPI_BK1_IO2 [MX25R6435F_IO2]
|
|
||||||
PE14.Locked=true
|
|
||||||
PE14.Mode=Single Bank
|
|
||||||
PE14.Signal=QUADSPI_BK1_IO2
|
|
||||||
PE15.GPIOParameters=GPIO_Label
|
|
||||||
PE15.GPIO_Label=QUAD_SPI_BK1_IO3 [MX25R6435F_IO3]
|
|
||||||
PE15.Locked=true
|
|
||||||
PE15.Mode=Single Bank
|
|
||||||
PE15.Signal=QUADSPI_BK1_IO3
|
|
||||||
PE2.GPIOParameters=GPIO_Label
|
|
||||||
PE2.GPIO_Label=M24SR64_Y_RF_DISABLE [M24SR64_RFDIS]
|
|
||||||
PE2.Locked=true
|
|
||||||
PE2.Signal=GPIO_Output
|
|
||||||
PE3.GPIOParameters=GPIO_Label
|
|
||||||
PE3.GPIO_Label=USB_OTG_FS_OVRCR_EXTI3 [STMPS2141STR_FAULT]
|
|
||||||
PE3.Locked=true
|
|
||||||
PE3.Signal=GPXTI3
|
|
||||||
PE4.GPIOParameters=GPIO_Label
|
|
||||||
PE4.GPIO_Label=M24SR64_Y_GPO [M24SR64_GPO]
|
|
||||||
PE4.Locked=true
|
|
||||||
PE4.Signal=GPIO_Output
|
|
||||||
PE5.GPIOParameters=GPIO_Label
|
|
||||||
PE5.GPIO_Label=SPSGRF_915_GPIO3_EXTI5 [SPSGRF_GPIO_3]
|
|
||||||
PE5.Locked=true
|
|
||||||
PE5.Signal=GPXTI5
|
|
||||||
PE6.GPIOParameters=GPIO_Label
|
|
||||||
PE6.GPIO_Label=SPBTLE_RF_IRQ_EXTI6 [BT module_SPI_IRQ]
|
|
||||||
PE6.Locked=true
|
|
||||||
PE6.Signal=GPXTI6
|
|
||||||
PE7.GPIOParameters=GPIO_Label
|
|
||||||
PE7.GPIO_Label=DFSDM1_DATIN2 [MP34DT01_DOUT]
|
|
||||||
PE7.Locked=true
|
|
||||||
PE7.Signal=S_DATAIN2DFSDM1
|
|
||||||
PE8.GPIOParameters=GPIO_Label
|
|
||||||
PE8.GPIO_Label=ISM43362_RST [ISM43362_RSTN]
|
|
||||||
PE8.Locked=true
|
|
||||||
PE8.Signal=GPIO_Output
|
|
||||||
PE9.GPIOParameters=GPIO_Label
|
|
||||||
PE9.GPIO_Label=DFSDM1_CKOUT [MP34DT01_CLK]
|
|
||||||
PE9.Locked=true
|
|
||||||
PE9.Signal=S_CKOUTDFSDM1
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32L475VGTx
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_L4 V1.15.1
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32L475.ioc
|
|
||||||
ProjectManager.ProjectName=STM32L475
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_DFSDM1_Init-DFSDM1-false-HAL-true,4-MX_I2C2_Init-I2C2-false-HAL-true,5-MX_QUADSPI_Init-QUADSPI-false-HAL-true,6-MX_SPI3_Init-SPI3-false-HAL-true,7-MX_USART1_UART_Init-USART1-false-HAL-true,8-MX_USART3_UART_Init-USART3-false-HAL-true,9-MX_USB_OTG_FS_PCD_Init-USB_OTG_FS-false-HAL-true
|
|
||||||
RCC.ADCFreq_Value=48000000
|
|
||||||
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
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLKFreq_Value=80000000
|
|
||||||
RCC.HSE_VALUE=8000000
|
|
||||||
RCC.HSI_VALUE=16000000
|
|
||||||
RCC.I2C1Freq_Value=80000000
|
|
||||||
RCC.I2C2Freq_Value=80000000
|
|
||||||
RCC.I2C3Freq_Value=80000000
|
|
||||||
RCC.IPParameters=ADCFreq_Value,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,LSI_VALUE,MCO1PinFreq_Value,MSI_VALUE,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1N,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PLLSAI2PoutputFreq_Value,PLLSAI2RoutputFreq_Value,PWRFreq_Value,RNGFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCFreq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value
|
|
||||||
RCC.LPTIM1Freq_Value=80000000
|
|
||||||
RCC.LPTIM2Freq_Value=80000000
|
|
||||||
RCC.LPUART1Freq_Value=80000000
|
|
||||||
RCC.LSCOPinFreq_Value=32000
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.MCO1PinFreq_Value=80000000
|
|
||||||
RCC.MSI_VALUE=4000000
|
|
||||||
RCC.PLLN=40
|
|
||||||
RCC.PLLPoutputFreq_Value=22857142.85714286
|
|
||||||
RCC.PLLQoutputFreq_Value=80000000
|
|
||||||
RCC.PLLRCLKFreq_Value=80000000
|
|
||||||
RCC.PLLSAI1N=24
|
|
||||||
RCC.PLLSAI1PoutputFreq_Value=13714285.714285715
|
|
||||||
RCC.PLLSAI1QoutputFreq_Value=48000000
|
|
||||||
RCC.PLLSAI1RoutputFreq_Value=48000000
|
|
||||||
RCC.PLLSAI2PoutputFreq_Value=4571428.571428572
|
|
||||||
RCC.PLLSAI2RoutputFreq_Value=16000000
|
|
||||||
RCC.PWRFreq_Value=80000000
|
|
||||||
RCC.RNGFreq_Value=48000000
|
|
||||||
RCC.SAI1Freq_Value=13714285.714285715
|
|
||||||
RCC.SAI2Freq_Value=13714285.714285715
|
|
||||||
RCC.SDMMCFreq_Value=48000000
|
|
||||||
RCC.SWPMI1Freq_Value=80000000
|
|
||||||
RCC.SYSCLKFreq_VALUE=80000000
|
|
||||||
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.USBFreq_Value=48000000
|
|
||||||
RCC.VCOInputFreq_Value=4000000
|
|
||||||
RCC.VCOOutputFreq_Value=160000000
|
|
||||||
RCC.VCOSAI1OutputFreq_Value=96000000
|
|
||||||
RCC.VCOSAI2OutputFreq_Value=32000000
|
|
||||||
SH.ADCx_IN1.0=ADC1_IN1
|
|
||||||
SH.ADCx_IN1.ConfNb=1
|
|
||||||
SH.ADCx_IN13.0=ADC1_IN13
|
|
||||||
SH.ADCx_IN13.ConfNb=1
|
|
||||||
SH.ADCx_IN14.0=ADC1_IN14
|
|
||||||
SH.ADCx_IN14.ConfNb=1
|
|
||||||
SH.ADCx_IN16.0=ADC1_IN16
|
|
||||||
SH.ADCx_IN16.ConfNb=1
|
|
||||||
SH.ADCx_IN2.0=ADC1_IN2
|
|
||||||
SH.ADCx_IN2.ConfNb=1
|
|
||||||
SH.ADCx_IN3.0=ADC1_IN3
|
|
||||||
SH.ADCx_IN3.ConfNb=1
|
|
||||||
SH.ADCx_IN4.0=ADC1_IN4
|
|
||||||
SH.ADCx_IN4.ConfNb=1
|
|
||||||
SH.ADCx_IN9.0=ADC1_IN9
|
|
||||||
SH.ADCx_IN9.ConfNb=1
|
|
||||||
SH.GPXTI0.0=GPIO_EXTI0
|
|
||||||
SH.GPXTI0.ConfNb=1
|
|
||||||
SH.GPXTI1.0=GPIO_EXTI1
|
|
||||||
SH.GPXTI1.ConfNb=1
|
|
||||||
SH.GPXTI10.0=GPIO_EXTI10
|
|
||||||
SH.GPXTI10.ConfNb=1
|
|
||||||
SH.GPXTI11.0=GPIO_EXTI11
|
|
||||||
SH.GPXTI11.ConfNb=1
|
|
||||||
SH.GPXTI13.0=GPIO_EXTI13
|
|
||||||
SH.GPXTI13.ConfNb=1
|
|
||||||
SH.GPXTI14.0=GPIO_EXTI14
|
|
||||||
SH.GPXTI14.ConfNb=1
|
|
||||||
SH.GPXTI15.0=GPIO_EXTI15
|
|
||||||
SH.GPXTI15.ConfNb=1
|
|
||||||
SH.GPXTI2.0=GPIO_EXTI2
|
|
||||||
SH.GPXTI2.ConfNb=1
|
|
||||||
SH.GPXTI3.0=GPIO_EXTI3
|
|
||||||
SH.GPXTI3.ConfNb=1
|
|
||||||
SH.GPXTI5.0=GPIO_EXTI5
|
|
||||||
SH.GPXTI5.ConfNb=1
|
|
||||||
SH.GPXTI6.0=GPIO_EXTI6
|
|
||||||
SH.GPXTI6.ConfNb=1
|
|
||||||
SH.GPXTI7.0=GPIO_EXTI7
|
|
||||||
SH.GPXTI7.ConfNb=1
|
|
||||||
SH.GPXTI8.0=GPIO_EXTI8
|
|
||||||
SH.GPXTI8.ConfNb=1
|
|
||||||
SH.S_CKOUTDFSDM1.0=DFSDM1_CKOUT,CKOUT
|
|
||||||
SH.S_CKOUTDFSDM1.1=DFSDM1_CKOUT,PDM_SPI_Input_from_ch12_and_Internal_Clock
|
|
||||||
SH.S_CKOUTDFSDM1.ConfNb=2
|
|
||||||
SH.S_DATAIN2DFSDM1.0=DFSDM1_DATIN2,PDM_SPI_Input_from_ch12_and_Internal_Clock
|
|
||||||
SH.S_DATAIN2DFSDM1.ConfNb=1
|
|
||||||
SH.S_TIM2_CH4.0=TIM2_CH4
|
|
||||||
SH.S_TIM2_CH4.ConfNb=1
|
|
||||||
SPI3.CalculateBaudRate=40.0 MBits/s
|
|
||||||
SPI3.Direction=SPI_DIRECTION_2LINES
|
|
||||||
SPI3.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate
|
|
||||||
SPI3.Mode=SPI_MODE_MASTER
|
|
||||||
SPI3.VirtualType=VM_MASTER
|
|
||||||
USART1.IPParameters=VirtualMode-Asynchronous
|
|
||||||
USART1.VirtualMode-Asynchronous=VM_ASYNC
|
|
||||||
USART3.IPParameters=VirtualMode-Asynchronous
|
|
||||||
USART3.VirtualMode-Asynchronous=VM_ASYNC
|
|
||||||
USB_OTG_FS.IPParameters=VirtualMode
|
|
||||||
USB_OTG_FS.VirtualMode=Device_Only
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_SYS_VS_tim1.Mode=TIM1
|
|
||||||
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=B-L475E-IOT01A1
|
|
||||||
boardIOC=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,wolfSSLCcwolfSSLJjwolfCryptJjCore,wolfSSLCcwolfSSLJjwolfCryptJjTest,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjTest=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfCryptJjCore\:true;wolfSSLCcwolfSSLJjwolfCryptJjTest\:true;wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -1,170 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,configTOTAL_HEAP_SIZE,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,FootprintOK
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,8960,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=131072
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
LPUART1.BaudRate=115200
|
|
||||||
LPUART1.IPParameters=BaudRate,WordLength
|
|
||||||
LPUART1.WordLength=UART_WORDLENGTH_8B
|
|
||||||
Mcu.Family=STM32L4
|
|
||||||
Mcu.IP0=AES
|
|
||||||
Mcu.IP1=FREERTOS
|
|
||||||
Mcu.IP2=HASH
|
|
||||||
Mcu.IP3=LPUART1
|
|
||||||
Mcu.IP4=NVIC
|
|
||||||
Mcu.IP5=RCC
|
|
||||||
Mcu.IP6=RNG
|
|
||||||
Mcu.IP7=RTC
|
|
||||||
Mcu.IP8=SYS
|
|
||||||
Mcu.IPNb=9
|
|
||||||
Mcu.Name=STM32L4A6ZGTx
|
|
||||||
Mcu.Package=LQFP144
|
|
||||||
Mcu.Pin0=PG7
|
|
||||||
Mcu.Pin1=PG8
|
|
||||||
Mcu.Pin2=VP_AES_VS_AES
|
|
||||||
Mcu.Pin3=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin4=VP_HASH_VS_HASH
|
|
||||||
Mcu.Pin5=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin6=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.Pin7=VP_RTC_VS_RTC_Calendar
|
|
||||||
Mcu.Pin8=VP_SYS_VS_tim1
|
|
||||||
Mcu.Pin9=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.PinsNb=10
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32L4A6ZGTx
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.TIM1_UP_TIM16_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM1_UP_TIM16_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM1
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
PG7.Locked=true
|
|
||||||
PG7.Mode=Asynchronous
|
|
||||||
PG7.Signal=LPUART1_TX
|
|
||||||
PG8.Locked=true
|
|
||||||
PG8.Mode=Asynchronous
|
|
||||||
PG8.Signal=LPUART1_RX
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32L4A6ZGTx
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_L4 V1.15.1
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32L4A6.ioc
|
|
||||||
ProjectManager.ProjectName=STM32L4A6
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=2-SystemClock_Config-RCC-false-HAL-false
|
|
||||||
RCC.ADCFreq_Value=32000000
|
|
||||||
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
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLKFreq_Value=80000000
|
|
||||||
RCC.HSE_VALUE=8000000
|
|
||||||
RCC.HSI48_VALUE=48000000
|
|
||||||
RCC.HSI_VALUE=16000000
|
|
||||||
RCC.I2C1Freq_Value=80000000
|
|
||||||
RCC.I2C2Freq_Value=80000000
|
|
||||||
RCC.I2C3Freq_Value=80000000
|
|
||||||
RCC.I2C4Freq_Value=80000000
|
|
||||||
RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,DFSDMFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,I2C4Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MSI_VALUE,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1N,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PLLSAI2PoutputFreq_Value,PLLSAI2RoutputFreq_Value,PWRFreq_Value,RNGFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCFreq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value
|
|
||||||
RCC.LPTIM1Freq_Value=80000000
|
|
||||||
RCC.LPTIM2Freq_Value=80000000
|
|
||||||
RCC.LPUART1Freq_Value=80000000
|
|
||||||
RCC.LSCOPinFreq_Value=32000
|
|
||||||
RCC.LSE_VALUE=32768
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.MCO1PinFreq_Value=80000000
|
|
||||||
RCC.MSI_VALUE=4000000
|
|
||||||
RCC.PLLN=40
|
|
||||||
RCC.PLLPoutputFreq_Value=80000000
|
|
||||||
RCC.PLLQoutputFreq_Value=80000000
|
|
||||||
RCC.PLLRCLKFreq_Value=80000000
|
|
||||||
RCC.PLLSAI1N=16
|
|
||||||
RCC.PLLSAI1PoutputFreq_Value=32000000
|
|
||||||
RCC.PLLSAI1QoutputFreq_Value=32000000
|
|
||||||
RCC.PLLSAI1RoutputFreq_Value=32000000
|
|
||||||
RCC.PLLSAI2PoutputFreq_Value=16000000
|
|
||||||
RCC.PLLSAI2RoutputFreq_Value=16000000
|
|
||||||
RCC.PWRFreq_Value=80000000
|
|
||||||
RCC.RNGFreq_Value=32000000
|
|
||||||
RCC.SAI1Freq_Value=32000000
|
|
||||||
RCC.SAI2Freq_Value=32000000
|
|
||||||
RCC.SDMMCFreq_Value=32000000
|
|
||||||
RCC.SWPMI1Freq_Value=80000000
|
|
||||||
RCC.SYSCLKFreq_VALUE=80000000
|
|
||||||
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.USBFreq_Value=32000000
|
|
||||||
RCC.VCOInputFreq_Value=4000000
|
|
||||||
RCC.VCOOutputFreq_Value=160000000
|
|
||||||
RCC.VCOSAI1OutputFreq_Value=64000000
|
|
||||||
RCC.VCOSAI2OutputFreq_Value=32000000
|
|
||||||
VP_AES_VS_AES.Mode=AES_Activate
|
|
||||||
VP_AES_VS_AES.Signal=AES_VS_AES
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_HASH_VS_HASH.Mode=HASH_Activate
|
|
||||||
VP_HASH_VS_HASH.Signal=HASH_VS_HASH
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_RTC_VS_RTC_Calendar.Mode=RTC_Calendar
|
|
||||||
VP_RTC_VS_RTC_Calendar.Signal=RTC_VS_RTC_Calendar
|
|
||||||
VP_SYS_VS_tim1.Mode=TIM1
|
|
||||||
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=custom
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,WOLFCRYPT_ONLY,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLFCRYPT_ONLY=False
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -1,267 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_3
|
|
||||||
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag,master
|
|
||||||
ADC1.NbrOfConversionFlag=1
|
|
||||||
ADC1.OffsetNumber-0\#ChannelRegularConversion=ADC_OFFSET_NONE
|
|
||||||
ADC1.Rank-0\#ChannelRegularConversion=1
|
|
||||||
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_2CYCLES_5
|
|
||||||
ADC1.master=1
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,configTOTAL_HEAP_SIZE,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,FootprintOK
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,35840,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=180000
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
LPUART1.BaudRate=115200
|
|
||||||
LPUART1.IPParameters=BaudRate
|
|
||||||
Mcu.Family=STM32L5
|
|
||||||
Mcu.IP0=ADC1
|
|
||||||
Mcu.IP1=DEBUG
|
|
||||||
Mcu.IP10=SYS
|
|
||||||
Mcu.IP11=UCPD1
|
|
||||||
Mcu.IP12=USB
|
|
||||||
Mcu.IP2=FREERTOS
|
|
||||||
Mcu.IP3=HASH
|
|
||||||
Mcu.IP4=LPUART1
|
|
||||||
Mcu.IP5=NVIC
|
|
||||||
Mcu.IP6=PWR
|
|
||||||
Mcu.IP7=RCC
|
|
||||||
Mcu.IP8=RNG
|
|
||||||
Mcu.IP9=RTC
|
|
||||||
Mcu.IPNb=13
|
|
||||||
Mcu.Name=STM32L552Z(C-E)TxQ
|
|
||||||
Mcu.Package=LQFP144
|
|
||||||
Mcu.Pin0=PC13
|
|
||||||
Mcu.Pin1=PC14-OSC32_IN (PC14)
|
|
||||||
Mcu.Pin10=PA11
|
|
||||||
Mcu.Pin11=PA12
|
|
||||||
Mcu.Pin12=PA13 (JTMS/SWDIO)
|
|
||||||
Mcu.Pin13=PA14 (JTCK/SWCLK)
|
|
||||||
Mcu.Pin14=PA15 (JTDI)
|
|
||||||
Mcu.Pin15=PB3 (JTDO/TRACESWO)
|
|
||||||
Mcu.Pin16=PB5
|
|
||||||
Mcu.Pin17=PB7
|
|
||||||
Mcu.Pin18=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin19=VP_HASH_VS_HASH
|
|
||||||
Mcu.Pin2=PC15-OSC32_OUT (PC15)
|
|
||||||
Mcu.Pin20=VP_PWR_VS_DBSignals
|
|
||||||
Mcu.Pin21=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin22=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.Pin23=VP_SYS_VS_tim1
|
|
||||||
Mcu.Pin24=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.Pin3=PC2
|
|
||||||
Mcu.Pin4=PB14
|
|
||||||
Mcu.Pin5=PB15
|
|
||||||
Mcu.Pin6=PG7
|
|
||||||
Mcu.Pin7=PG8
|
|
||||||
Mcu.Pin8=PC7
|
|
||||||
Mcu.Pin9=PA9
|
|
||||||
Mcu.PinsNb=25
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.TrustZone=disable
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32L552ZETxQ
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:7\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_3
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:7\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.TIM1_UP_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM1_UP_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM1
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
PA11.Locked=true
|
|
||||||
PA11.Mode=Device
|
|
||||||
PA11.Signal=USB_DM
|
|
||||||
PA12.Mode=Device
|
|
||||||
PA12.Signal=USB_DP
|
|
||||||
PA13\ (JTMS/SWDIO).Locked=true
|
|
||||||
PA13\ (JTMS/SWDIO).Mode=Trace_Asynchronous_SW
|
|
||||||
PA13\ (JTMS/SWDIO).Signal=DEBUG_JTMS-SWDIO
|
|
||||||
PA14\ (JTCK/SWCLK).Locked=true
|
|
||||||
PA14\ (JTCK/SWCLK).Mode=Trace_Asynchronous_SW
|
|
||||||
PA14\ (JTCK/SWCLK).Signal=DEBUG_JTCK-SWCLK
|
|
||||||
PA15\ (JTDI).Locked=true
|
|
||||||
PA15\ (JTDI).Mode=Source_AllSignals
|
|
||||||
PA15\ (JTDI).Signal=UCPD1_CC1
|
|
||||||
PA9.GPIOParameters=GPIO_Label
|
|
||||||
PA9.GPIO_Label=LED_RED
|
|
||||||
PA9.Locked=true
|
|
||||||
PA9.Signal=GPIO_Output
|
|
||||||
PB14.GPIOParameters=GPIO_Label
|
|
||||||
PB14.GPIO_Label=UCPD_FLT
|
|
||||||
PB14.Locked=true
|
|
||||||
PB14.Signal=GPXTI14
|
|
||||||
PB15.Locked=true
|
|
||||||
PB15.Mode=Source_AllSignals
|
|
||||||
PB15.Signal=UCPD1_CC2
|
|
||||||
PB3\ (JTDO/TRACESWO).Locked=true
|
|
||||||
PB3\ (JTDO/TRACESWO).Mode=Trace_Asynchronous_SW
|
|
||||||
PB3\ (JTDO/TRACESWO).Signal=DEBUG_JTDO-SWO
|
|
||||||
PB5.GPIOParameters=GPIO_Label
|
|
||||||
PB5.GPIO_Label=UCPD_DBN
|
|
||||||
PB5.Locked=true
|
|
||||||
PB5.Signal=GPIO_Output
|
|
||||||
PB7.GPIOParameters=GPIO_Label
|
|
||||||
PB7.GPIO_Label=LED_BLUE
|
|
||||||
PB7.Locked=true
|
|
||||||
PB7.Signal=GPIO_Output
|
|
||||||
PC13.GPIOParameters=GPIO_Label
|
|
||||||
PC13.GPIO_Label=USER_BUTTON
|
|
||||||
PC13.Locked=true
|
|
||||||
PC13.Mode=WakeUp1
|
|
||||||
PC13.Signal=PWR_WKUP2
|
|
||||||
PC14-OSC32_IN\ (PC14).Locked=true
|
|
||||||
PC14-OSC32_IN\ (PC14).Mode=LSE-External-Oscillator
|
|
||||||
PC14-OSC32_IN\ (PC14).Signal=RCC_OSC32_IN
|
|
||||||
PC15-OSC32_OUT\ (PC15).Locked=true
|
|
||||||
PC15-OSC32_OUT\ (PC15).Mode=LSE-External-Oscillator
|
|
||||||
PC15-OSC32_OUT\ (PC15).Signal=RCC_OSC32_OUT
|
|
||||||
PC2.GPIOParameters=GPIO_Label
|
|
||||||
PC2.GPIO_Label=VBUS_SENSE
|
|
||||||
PC2.Locked=true
|
|
||||||
PC2.Signal=ADCx_IN3
|
|
||||||
PC7.GPIOParameters=GPIO_Label
|
|
||||||
PC7.GPIO_Label=LED_GREEN
|
|
||||||
PC7.Locked=true
|
|
||||||
PC7.Signal=GPIO_Output
|
|
||||||
PG7.GPIOParameters=GPIO_Label
|
|
||||||
PG7.GPIO_Label=ST-LINK_VCP_TX
|
|
||||||
PG7.Locked=true
|
|
||||||
PG7.Mode=Asynchronous
|
|
||||||
PG7.Signal=LPUART1_TX
|
|
||||||
PG8.GPIOParameters=GPIO_Label
|
|
||||||
PG8.GPIO_Label=ST-LINK_VCP_RX
|
|
||||||
PG8.Locked=true
|
|
||||||
PG8.Mode=Asynchronous
|
|
||||||
PG8.Signal=LPUART1_RX
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32L552ZETxQ
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_L5 V1.2.0
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32L552.ioc
|
|
||||||
ProjectManager.ProjectName=STM32L552
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_ADC1_Init-ADC1-false-HAL-true,4-MX_LPUART1_UART_Init-LPUART1-false-HAL-true,5-MX_RTC_Init-RTC-false-HAL-true,6-MX_UCPD1_Init-UCPD1-false-LL-true,7-MX_USB_PCD_Init-USB-false-HAL-true,0-MX_PWR_Init-PWR-false-HAL-true
|
|
||||||
RCC.ADCCLockSelection=RCC_ADCCLKSOURCE_SYSCLK
|
|
||||||
RCC.ADCFreq_Value=110000000
|
|
||||||
RCC.AHBFreq_Value=110000000
|
|
||||||
RCC.APB1Freq_Value=110000000
|
|
||||||
RCC.APB1TimFreq_Value=110000000
|
|
||||||
RCC.APB2Freq_Value=110000000
|
|
||||||
RCC.APB2TimFreq_Value=110000000
|
|
||||||
RCC.CK48CLockSelection=RCC_USBCLKSOURCE_HSI48
|
|
||||||
RCC.CRSFreq_Value=48000000
|
|
||||||
RCC.CortexFreq_Value=110000000
|
|
||||||
RCC.DFSDMAudioFreq_Value=4000000
|
|
||||||
RCC.DFSDMFreq_Value=110000000
|
|
||||||
RCC.FCLKCortexFreq_Value=110000000
|
|
||||||
RCC.FDCANFreq_Value=110000000
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLKFreq_Value=110000000
|
|
||||||
RCC.HSE_VALUE=8000000
|
|
||||||
RCC.HSI48_VALUE=48000000
|
|
||||||
RCC.HSI_VALUE=16000000
|
|
||||||
RCC.I2C1Freq_Value=110000000
|
|
||||||
RCC.I2C2Freq_Value=110000000
|
|
||||||
RCC.I2C3Freq_Value=110000000
|
|
||||||
RCC.I2C4Freq_Value=110000000
|
|
||||||
RCC.IPParameters=ADCCLockSelection,ADCFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CK48CLockSelection,CRSFreq_Value,CortexFreq_Value,DFSDMAudioFreq_Value,DFSDMFreq_Value,FCLKCortexFreq_Value,FDCANFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,I2C4Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPTIM3Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSI_VALUE,MCO1PinFreq_Value,MSI_VALUE,OCTOSPIMFreq_Value,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1N,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PLLSAI2PoutputFreq_Value,PWRFreq_Value,RNGFreq_Value,RTCClockSelection,RTCFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInput2Freq_Value,VCOInput3Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value
|
|
||||||
RCC.LPTIM1Freq_Value=110000000
|
|
||||||
RCC.LPTIM2Freq_Value=110000000
|
|
||||||
RCC.LPTIM3Freq_Value=110000000
|
|
||||||
RCC.LPUART1Freq_Value=110000000
|
|
||||||
RCC.LSCOPinFreq_Value=32000
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.MCO1PinFreq_Value=110000000
|
|
||||||
RCC.MSI_VALUE=4000000
|
|
||||||
RCC.OCTOSPIMFreq_Value=110000000
|
|
||||||
RCC.PLLN=55
|
|
||||||
RCC.PLLPoutputFreq_Value=31428571.42857143
|
|
||||||
RCC.PLLQoutputFreq_Value=110000000
|
|
||||||
RCC.PLLRCLKFreq_Value=110000000
|
|
||||||
RCC.PLLSAI1N=24
|
|
||||||
RCC.PLLSAI1PoutputFreq_Value=13714285.714285715
|
|
||||||
RCC.PLLSAI1QoutputFreq_Value=48000000
|
|
||||||
RCC.PLLSAI1RoutputFreq_Value=48000000
|
|
||||||
RCC.PLLSAI2PoutputFreq_Value=4571428.571428572
|
|
||||||
RCC.PWRFreq_Value=110000000
|
|
||||||
RCC.RNGFreq_Value=48000000
|
|
||||||
RCC.RTCClockSelection=RCC_RTCCLKSOURCE_LSE
|
|
||||||
RCC.RTCFreq_Value=32768
|
|
||||||
RCC.SAI1Freq_Value=13714285.714285715
|
|
||||||
RCC.SAI2Freq_Value=13714285.714285715
|
|
||||||
RCC.SDMMCFreq_Value=31428571.42857143
|
|
||||||
RCC.SYSCLKFreq_VALUE=110000000
|
|
||||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
||||||
RCC.UART4Freq_Value=110000000
|
|
||||||
RCC.UART5Freq_Value=110000000
|
|
||||||
RCC.USART1Freq_Value=110000000
|
|
||||||
RCC.USART2Freq_Value=110000000
|
|
||||||
RCC.USART3Freq_Value=110000000
|
|
||||||
RCC.USBFreq_Value=48000000
|
|
||||||
RCC.VCOInput2Freq_Value=4000000
|
|
||||||
RCC.VCOInput3Freq_Value=4000000
|
|
||||||
RCC.VCOInputFreq_Value=4000000
|
|
||||||
RCC.VCOOutputFreq_Value=220000000
|
|
||||||
RCC.VCOSAI1OutputFreq_Value=96000000
|
|
||||||
RCC.VCOSAI2OutputFreq_Value=32000000
|
|
||||||
SH.ADCx_IN3.0=ADC1_IN3,IN3-Single-Ended
|
|
||||||
SH.ADCx_IN3.ConfNb=1
|
|
||||||
SH.GPXTI14.0=GPIO_EXTI14
|
|
||||||
SH.GPXTI14.ConfNb=1
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_HASH_VS_HASH.Mode=HASH_Activate
|
|
||||||
VP_HASH_VS_HASH.Signal=HASH_VS_HASH
|
|
||||||
VP_PWR_VS_DBSignals.Mode=DisableDeadBatterySignals
|
|
||||||
VP_PWR_VS_DBSignals.Signal=PWR_VS_DBSignals
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_SYS_VS_tim1.Mode=TIM1
|
|
||||||
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=NUCLEO-L552ZE-Q
|
|
||||||
boardIOC=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,wolfSSLCcwolfSSLJjwolfCryptJjCore,wolfSSLCcwolfSSLJjwolfCryptJjTest,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjTest=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfCryptJjCore\:true;wolfSSLCcwolfSSLJjwolfCryptJjTest\:true;wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -1,650 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_9
|
|
||||||
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,master,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag
|
|
||||||
ADC1.NbrOfConversionFlag=1
|
|
||||||
ADC1.OffsetNumber-0\#ChannelRegularConversion=ADC_OFFSET_NONE
|
|
||||||
ADC1.Rank-0\#ChannelRegularConversion=1
|
|
||||||
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_2CYCLES_5
|
|
||||||
ADC1.master=1
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,FootprintOK,configTOTAL_HEAP_SIZE
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,35840,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=180000
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
I2C1.IPParameters=Timing
|
|
||||||
I2C1.Timing=0x40505681
|
|
||||||
KeepUserPlacement=false
|
|
||||||
Mcu.Family=STM32L5
|
|
||||||
Mcu.IP0=ADC1
|
|
||||||
Mcu.IP1=AES
|
|
||||||
Mcu.IP10=NVIC
|
|
||||||
Mcu.IP11=OCTOSPI1
|
|
||||||
Mcu.IP12=PKA
|
|
||||||
Mcu.IP13=PWR
|
|
||||||
Mcu.IP14=RCC
|
|
||||||
Mcu.IP15=RNG
|
|
||||||
Mcu.IP16=RTC
|
|
||||||
Mcu.IP17=SAI1
|
|
||||||
Mcu.IP18=SDMMC1
|
|
||||||
Mcu.IP19=SPI1
|
|
||||||
Mcu.IP2=DEBUG
|
|
||||||
Mcu.IP20=SYS
|
|
||||||
Mcu.IP21=TIM4
|
|
||||||
Mcu.IP22=TIM16
|
|
||||||
Mcu.IP23=TIM17
|
|
||||||
Mcu.IP24=UCPD1
|
|
||||||
Mcu.IP25=USART1
|
|
||||||
Mcu.IP26=USB
|
|
||||||
Mcu.IP3=DFSDM1
|
|
||||||
Mcu.IP4=FMC
|
|
||||||
Mcu.IP5=FREERTOS
|
|
||||||
Mcu.IP6=GTZC
|
|
||||||
Mcu.IP7=HASH
|
|
||||||
Mcu.IP8=I2C1
|
|
||||||
Mcu.IP9=LPUART1
|
|
||||||
Mcu.IPNb=27
|
|
||||||
Mcu.Name=STM32L562QEIxQ
|
|
||||||
Mcu.Package=UFBGA132
|
|
||||||
Mcu.Pin0=PE5
|
|
||||||
Mcu.Pin1=PE3
|
|
||||||
Mcu.Pin10=PE2
|
|
||||||
Mcu.Pin11=PD4
|
|
||||||
Mcu.Pin12=PD1
|
|
||||||
Mcu.Pin13=PC12
|
|
||||||
Mcu.Pin14=PC10
|
|
||||||
Mcu.Pin15=PA12
|
|
||||||
Mcu.Pin16=PC14-OSC32_IN (PC14)
|
|
||||||
Mcu.Pin17=PE6
|
|
||||||
Mcu.Pin18=PC13
|
|
||||||
Mcu.Pin19=PB3 (JTDO/TRACESWO)
|
|
||||||
Mcu.Pin2=PE1
|
|
||||||
Mcu.Pin20=PD3
|
|
||||||
Mcu.Pin21=PD0
|
|
||||||
Mcu.Pin22=PA13 (JTMS/SWDIO)
|
|
||||||
Mcu.Pin23=PA14 (JTCK/SWCLK)
|
|
||||||
Mcu.Pin24=PA11
|
|
||||||
Mcu.Pin25=PC15-OSC32_OUT (PC15)
|
|
||||||
Mcu.Pin26=PF0
|
|
||||||
Mcu.Pin27=PF3
|
|
||||||
Mcu.Pin28=PB7
|
|
||||||
Mcu.Pin29=PB5
|
|
||||||
Mcu.Pin3=PB6
|
|
||||||
Mcu.Pin30=PD7
|
|
||||||
Mcu.Pin31=PA9
|
|
||||||
Mcu.Pin32=PA10
|
|
||||||
Mcu.Pin33=PA8
|
|
||||||
Mcu.Pin34=PF2
|
|
||||||
Mcu.Pin35=PF1
|
|
||||||
Mcu.Pin36=PC9
|
|
||||||
Mcu.Pin37=PC8
|
|
||||||
Mcu.Pin38=PH0-OSC_IN (PH0)
|
|
||||||
Mcu.Pin39=PC2
|
|
||||||
Mcu.Pin4=PG12
|
|
||||||
Mcu.Pin40=PC3
|
|
||||||
Mcu.Pin41=PG6
|
|
||||||
Mcu.Pin42=PG7
|
|
||||||
Mcu.Pin43=PG8
|
|
||||||
Mcu.Pin44=PC1
|
|
||||||
Mcu.Pin45=PG4
|
|
||||||
Mcu.Pin46=PG2
|
|
||||||
Mcu.Pin47=PG3
|
|
||||||
Mcu.Pin48=PG5
|
|
||||||
Mcu.Pin49=PC0
|
|
||||||
Mcu.Pin5=PD5
|
|
||||||
Mcu.Pin50=PD14
|
|
||||||
Mcu.Pin51=PD15
|
|
||||||
Mcu.Pin52=PF14
|
|
||||||
Mcu.Pin53=PE8
|
|
||||||
Mcu.Pin54=PE10
|
|
||||||
Mcu.Pin55=PE12
|
|
||||||
Mcu.Pin56=PD9
|
|
||||||
Mcu.Pin57=PA2
|
|
||||||
Mcu.Pin58=PA7
|
|
||||||
Mcu.Pin59=PB2
|
|
||||||
Mcu.Pin6=PD2
|
|
||||||
Mcu.Pin60=PF11
|
|
||||||
Mcu.Pin61=PG1
|
|
||||||
Mcu.Pin62=PE7
|
|
||||||
Mcu.Pin63=PE14
|
|
||||||
Mcu.Pin64=PB10
|
|
||||||
Mcu.Pin65=PB14
|
|
||||||
Mcu.Pin66=PB15
|
|
||||||
Mcu.Pin67=PA3
|
|
||||||
Mcu.Pin68=PA6
|
|
||||||
Mcu.Pin69=PA4
|
|
||||||
Mcu.Pin7=PC11
|
|
||||||
Mcu.Pin70=PB1
|
|
||||||
Mcu.Pin71=PF12
|
|
||||||
Mcu.Pin72=PF15
|
|
||||||
Mcu.Pin73=PE11
|
|
||||||
Mcu.Pin74=PE15
|
|
||||||
Mcu.Pin75=PB11
|
|
||||||
Mcu.Pin76=PB12
|
|
||||||
Mcu.Pin77=PD8
|
|
||||||
Mcu.Pin78=PB0
|
|
||||||
Mcu.Pin79=PE9
|
|
||||||
Mcu.Pin8=PA15 (JTDI)
|
|
||||||
Mcu.Pin80=PE13
|
|
||||||
Mcu.Pin81=PD10
|
|
||||||
Mcu.Pin82=VP_AES_VS_AES
|
|
||||||
Mcu.Pin83=VP_DFSDM1_VS_IN0
|
|
||||||
Mcu.Pin84=VP_DFSDM1_VS_IN2
|
|
||||||
Mcu.Pin85=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin86=VP_GTZC_VS_GTZC_Enable
|
|
||||||
Mcu.Pin87=VP_HASH_VS_HASH
|
|
||||||
Mcu.Pin88=VP_PKA_VS_PKA
|
|
||||||
Mcu.Pin89=VP_PWR_VS_DBSignals
|
|
||||||
Mcu.Pin9=PE4
|
|
||||||
Mcu.Pin90=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin91=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.Pin92=VP_SYS_VS_tim1
|
|
||||||
Mcu.Pin93=VP_SYS_S_VS_Systick
|
|
||||||
Mcu.Pin94=VP_TIM4_VS_ControllerModeClock
|
|
||||||
Mcu.Pin95=VP_TIM4_VS_ClockSourceITR
|
|
||||||
Mcu.Pin96=VP_TIM16_VS_ClockSourceINT
|
|
||||||
Mcu.Pin97=VP_TIM17_VS_ClockSourceINT
|
|
||||||
Mcu.Pin98=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.PinsNb=99
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.TrustZone=disable
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32L562QEIxQ
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:7\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_3
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:7\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.TIM1_UP_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM1_UP_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM1
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
PA10.GPIOParameters=GPIO_Label
|
|
||||||
PA10.GPIO_Label=USART1_RX [ST-LINK_VCP_TX]
|
|
||||||
PA10.Locked=true
|
|
||||||
PA10.Mode=Asynchronous
|
|
||||||
PA10.Signal=USART1_RX
|
|
||||||
PA11.Locked=true
|
|
||||||
PA11.Mode=Device
|
|
||||||
PA11.Signal=USB_DM
|
|
||||||
PA12.Locked=true
|
|
||||||
PA12.Mode=Device
|
|
||||||
PA12.Signal=USB_DP
|
|
||||||
PA13\ (JTMS/SWDIO).Locked=true
|
|
||||||
PA13\ (JTMS/SWDIO).Mode=Trace_Asynchronous_SW
|
|
||||||
PA13\ (JTMS/SWDIO).Signal=DEBUG_JTMS-SWDIO
|
|
||||||
PA14\ (JTCK/SWCLK).Locked=true
|
|
||||||
PA14\ (JTCK/SWCLK).Mode=Trace_Asynchronous_SW
|
|
||||||
PA14\ (JTCK/SWCLK).Signal=DEBUG_JTCK-SWCLK
|
|
||||||
PA15\ (JTDI).Locked=true
|
|
||||||
PA15\ (JTDI).Mode=Source_AllSignals
|
|
||||||
PA15\ (JTDI).Signal=UCPD1_CC1
|
|
||||||
PA2.Locked=true
|
|
||||||
PA2.Mode=octods_mode
|
|
||||||
PA2.Signal=OCTOSPI1_NCS
|
|
||||||
PA3.Locked=true
|
|
||||||
PA3.Mode=octods_mode
|
|
||||||
PA3.Signal=OCTOSPI1_CLK
|
|
||||||
PA4.GPIOParameters=GPIO_Label
|
|
||||||
PA4.GPIO_Label=VBUS_SENSE
|
|
||||||
PA4.Locked=true
|
|
||||||
PA4.Signal=ADCx_IN9
|
|
||||||
PA6.Locked=true
|
|
||||||
PA6.Mode=octods_mode
|
|
||||||
PA6.Signal=OCTOSPI1_IO3
|
|
||||||
PA7.Locked=true
|
|
||||||
PA7.Mode=octods_mode
|
|
||||||
PA7.Signal=OCTOSPI1_IO2
|
|
||||||
PA8.GPIOParameters=GPIO_Label
|
|
||||||
PA8.GPIO_Label=LCD.TE
|
|
||||||
PA8.Locked=true
|
|
||||||
PA8.Signal=GPIO_Output
|
|
||||||
PA9.GPIOParameters=GPIO_Label
|
|
||||||
PA9.GPIO_Label=USART1_TX [ST-LINK_VCP_RX]
|
|
||||||
PA9.Locked=true
|
|
||||||
PA9.Mode=Asynchronous
|
|
||||||
PA9.Signal=USART1_TX
|
|
||||||
PB0.Locked=true
|
|
||||||
PB0.Mode=octods_mode
|
|
||||||
PB0.Signal=OCTOSPI1_IO1
|
|
||||||
PB1.Locked=true
|
|
||||||
PB1.Mode=octods_mode
|
|
||||||
PB1.Signal=OCTOSPI1_IO0
|
|
||||||
PB10.Locked=true
|
|
||||||
PB10.Mode=Asynchronous
|
|
||||||
PB10.Signal=LPUART1_RX
|
|
||||||
PB11.Locked=true
|
|
||||||
PB11.Mode=Asynchronous
|
|
||||||
PB11.Signal=LPUART1_TX
|
|
||||||
PB12.Locked=true
|
|
||||||
PB12.Signal=S_DATAIN1DFSDM1
|
|
||||||
PB14.GPIOParameters=GPIO_Label
|
|
||||||
PB14.GPIO_Label=UCPD_FLT
|
|
||||||
PB14.Locked=true
|
|
||||||
PB14.Signal=GPIO_Input
|
|
||||||
PB15.Locked=true
|
|
||||||
PB15.Mode=Source_AllSignals
|
|
||||||
PB15.Signal=UCPD1_CC2
|
|
||||||
PB2.Locked=true
|
|
||||||
PB2.Mode=octods_mode
|
|
||||||
PB2.Signal=OCTOSPI1_DQS
|
|
||||||
PB3\ (JTDO/TRACESWO).Locked=true
|
|
||||||
PB3\ (JTDO/TRACESWO).Mode=Trace_Asynchronous_SW
|
|
||||||
PB3\ (JTDO/TRACESWO).Signal=DEBUG_JTDO-SWO
|
|
||||||
PB5.GPIOParameters=GPIO_Label
|
|
||||||
PB5.GPIO_Label=UCPD_DBn
|
|
||||||
PB5.Locked=true
|
|
||||||
PB5.Signal=GPIO_Output
|
|
||||||
PB6.Locked=true
|
|
||||||
PB6.Mode=I2C
|
|
||||||
PB6.Signal=I2C1_SCL
|
|
||||||
PB7.Locked=true
|
|
||||||
PB7.Mode=I2C
|
|
||||||
PB7.Signal=I2C1_SDA
|
|
||||||
PC0.Locked=true
|
|
||||||
PC0.Mode=octods_mode
|
|
||||||
PC0.Signal=OCTOSPI1_IO7
|
|
||||||
PC1.Locked=true
|
|
||||||
PC1.Mode=octods_mode
|
|
||||||
PC1.Signal=OCTOSPI1_IO4
|
|
||||||
PC10.Locked=true
|
|
||||||
PC10.Mode=SD_4_bits_Wide_bus
|
|
||||||
PC10.Signal=SDMMC1_D2
|
|
||||||
PC11.Locked=true
|
|
||||||
PC11.Mode=SD_4_bits_Wide_bus
|
|
||||||
PC11.Signal=SDMMC1_D3
|
|
||||||
PC12.Locked=true
|
|
||||||
PC12.Mode=SD_4_bits_Wide_bus
|
|
||||||
PC12.Signal=SDMMC1_CK
|
|
||||||
PC13.GPIOParameters=GPIO_Label
|
|
||||||
PC13.GPIO_Label=USER_BUTTON
|
|
||||||
PC13.Locked=true
|
|
||||||
PC13.Signal=GPIO_Input
|
|
||||||
PC14-OSC32_IN\ (PC14).Locked=true
|
|
||||||
PC14-OSC32_IN\ (PC14).Mode=LSE-External-Oscillator
|
|
||||||
PC14-OSC32_IN\ (PC14).Signal=RCC_OSC32_IN
|
|
||||||
PC15-OSC32_OUT\ (PC15).Locked=true
|
|
||||||
PC15-OSC32_OUT\ (PC15).Mode=LSE-External-Oscillator
|
|
||||||
PC15-OSC32_OUT\ (PC15).Signal=RCC_OSC32_OUT
|
|
||||||
PC2.Locked=true
|
|
||||||
PC2.Mode=octods_mode
|
|
||||||
PC2.Signal=OCTOSPI1_IO5
|
|
||||||
PC3.Locked=true
|
|
||||||
PC3.Mode=octods_mode
|
|
||||||
PC3.Signal=OCTOSPI1_IO6
|
|
||||||
PC8.Locked=true
|
|
||||||
PC8.Mode=SD_4_bits_Wide_bus
|
|
||||||
PC8.Signal=SDMMC1_D0
|
|
||||||
PC9.Locked=true
|
|
||||||
PC9.Mode=SD_4_bits_Wide_bus
|
|
||||||
PC9.Signal=SDMMC1_D1
|
|
||||||
PD0.Locked=true
|
|
||||||
PD0.Signal=FMC_D2_DA2
|
|
||||||
PD1.Locked=true
|
|
||||||
PD1.Signal=FMC_D3_DA3
|
|
||||||
PD10.Locked=true
|
|
||||||
PD10.Signal=FMC_D15_DA15
|
|
||||||
PD14.Locked=true
|
|
||||||
PD14.Signal=FMC_D0_DA0
|
|
||||||
PD15.Locked=true
|
|
||||||
PD15.Signal=FMC_D1_DA1
|
|
||||||
PD2.Locked=true
|
|
||||||
PD2.Mode=SD_4_bits_Wide_bus
|
|
||||||
PD2.Signal=SDMMC1_CMD
|
|
||||||
PD3.GPIOParameters=GPIO_Label
|
|
||||||
PD3.GPIO_Label=LED_RED
|
|
||||||
PD3.Locked=true
|
|
||||||
PD3.Signal=GPIO_Output
|
|
||||||
PD4.Locked=true
|
|
||||||
PD4.Signal=FMC_NOE
|
|
||||||
PD5.Locked=true
|
|
||||||
PD5.Signal=FMC_NWE
|
|
||||||
PD7.Locked=true
|
|
||||||
PD7.Mode=NorPsramChipSelect1_1
|
|
||||||
PD7.Signal=FMC_NE1
|
|
||||||
PD8.Locked=true
|
|
||||||
PD8.Signal=FMC_D13_DA13
|
|
||||||
PD9.Locked=true
|
|
||||||
PD9.Signal=FMC_D14_DA14
|
|
||||||
PE1.GPIOParameters=GPIO_Label
|
|
||||||
PE1.GPIO_Label=LCD_BL_PWM
|
|
||||||
PE1.Locked=true
|
|
||||||
PE1.Signal=S_TIM17_CH1
|
|
||||||
PE10.Locked=true
|
|
||||||
PE10.Signal=FMC_D7_DA7
|
|
||||||
PE11.Locked=true
|
|
||||||
PE11.Signal=FMC_D8_DA8
|
|
||||||
PE12.Locked=true
|
|
||||||
PE12.Signal=FMC_D9_DA9
|
|
||||||
PE13.Locked=true
|
|
||||||
PE13.Signal=FMC_D10_DA10
|
|
||||||
PE14.Locked=true
|
|
||||||
PE14.Signal=FMC_D11_DA11
|
|
||||||
PE15.Locked=true
|
|
||||||
PE15.Signal=FMC_D12_DA12
|
|
||||||
PE2.Locked=true
|
|
||||||
PE2.Mode=SAI_A_MasterWithClock
|
|
||||||
PE2.Signal=SAI1_MCLK_A
|
|
||||||
PE3.Locked=true
|
|
||||||
PE3.Mode=SAI_B_SPDIF
|
|
||||||
PE3.Signal=SAI1_SD_B
|
|
||||||
PE4.Locked=true
|
|
||||||
PE4.Mode=SAI_A_MasterWithClock
|
|
||||||
PE4.Signal=SAI1_FS_A
|
|
||||||
PE5.Locked=true
|
|
||||||
PE5.Mode=SAI_A_MasterWithClock
|
|
||||||
PE5.Signal=SAI1_SCK_A
|
|
||||||
PE6.Locked=true
|
|
||||||
PE6.Mode=SAI_A_MasterWithClock
|
|
||||||
PE6.Signal=SAI1_SD_A
|
|
||||||
PE7.Locked=true
|
|
||||||
PE7.Signal=FMC_D4_DA4
|
|
||||||
PE8.Locked=true
|
|
||||||
PE8.Signal=FMC_D5_DA5
|
|
||||||
PE9.Locked=true
|
|
||||||
PE9.Signal=FMC_D6_DA6
|
|
||||||
PF0.Locked=true
|
|
||||||
PF0.Signal=FMC_A0
|
|
||||||
PF1.GPIOParameters=GPIO_Label
|
|
||||||
PF1.GPIO_Label=CTP_INT
|
|
||||||
PF1.Locked=true
|
|
||||||
PF1.Signal=GPXTI1
|
|
||||||
PF11.GPIOParameters=GPIO_Label
|
|
||||||
PF11.GPIO_Label=STMOD_SEL_12
|
|
||||||
PF11.Locked=true
|
|
||||||
PF11.Signal=GPIO_Output
|
|
||||||
PF12.GPIOParameters=GPIO_Label
|
|
||||||
PF12.GPIO_Label=STMOD_SEL_34
|
|
||||||
PF12.Locked=true
|
|
||||||
PF12.Signal=GPIO_Output
|
|
||||||
PF14.GPIOParameters=GPIO_Label
|
|
||||||
PF14.GPIO_Label=LCD_RST
|
|
||||||
PF14.Locked=true
|
|
||||||
PF14.Signal=GPIO_Output
|
|
||||||
PF15.GPIOParameters=GPIO_Label
|
|
||||||
PF15.GPIO_Label=CTP_RST
|
|
||||||
PF15.Locked=true
|
|
||||||
PF15.Signal=GPIO_Output
|
|
||||||
PF2.GPIOParameters=GPIO_Label
|
|
||||||
PF2.GPIO_Label=SDIO_DETECT
|
|
||||||
PF2.Locked=true
|
|
||||||
PF2.Signal=GPXTI2
|
|
||||||
PF3.GPIOParameters=GPIO_Label
|
|
||||||
PF3.GPIO_Label=GYRO_ACC_INT
|
|
||||||
PF3.Locked=true
|
|
||||||
PF3.Signal=GPXTI3
|
|
||||||
PG1.GPIOParameters=GPIO_Label
|
|
||||||
PG1.GPIO_Label=AUDIO_RESETN
|
|
||||||
PG1.Locked=true
|
|
||||||
PG1.Signal=GPIO_Output
|
|
||||||
PG12.GPIOParameters=GPIO_Label
|
|
||||||
PG12.GPIO_Label=LED_GREEN
|
|
||||||
PG12.Locked=true
|
|
||||||
PG12.Signal=GPIO_Output
|
|
||||||
PG2.Locked=true
|
|
||||||
PG2.Mode=Full_Duplex_Master
|
|
||||||
PG2.Signal=SPI1_SCK
|
|
||||||
PG3.Locked=true
|
|
||||||
PG3.Mode=Full_Duplex_Master
|
|
||||||
PG3.Signal=SPI1_MISO
|
|
||||||
PG4.Locked=true
|
|
||||||
PG4.Mode=Full_Duplex_Master
|
|
||||||
PG4.Signal=SPI1_MOSI
|
|
||||||
PG5.GPIOParameters=GPIO_Label
|
|
||||||
PG5.GPIO_Label=BLE_CSN
|
|
||||||
PG5.Locked=true
|
|
||||||
PG5.Mode=NSS_Signal_Hard_Input
|
|
||||||
PG5.Signal=SPI1_NSS
|
|
||||||
PG6.GPIOParameters=GPIO_Label
|
|
||||||
PG6.GPIO_Label=BLE_INT
|
|
||||||
PG6.Locked=true
|
|
||||||
PG6.Signal=GPXTI6
|
|
||||||
PG7.Locked=true
|
|
||||||
PG7.Signal=S_CKOUTDFSDM1
|
|
||||||
PG8.GPIOParameters=GPIO_Label
|
|
||||||
PG8.GPIO_Label=BLE_RSTN
|
|
||||||
PG8.Locked=true
|
|
||||||
PG8.Signal=GPIO_Output
|
|
||||||
PH0-OSC_IN\ (PH0).GPIOParameters=GPIO_Label
|
|
||||||
PH0-OSC_IN\ (PH0).GPIO_Label=LCD_PWR_ON
|
|
||||||
PH0-OSC_IN\ (PH0).Locked=true
|
|
||||||
PH0-OSC_IN\ (PH0).Signal=GPIO_Output
|
|
||||||
PinOutPanel.CurrentBGAView=Top
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32L562QEIxQ
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_L5 V1.2.0
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32L562.ioc
|
|
||||||
ProjectManager.ProjectName=STM32L562
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_ADC1_Init-ADC1-false-HAL-true,4-MX_DFSDM1_Init-DFSDM1-false-HAL-true,5-MX_FMC_Init-FMC-false-HAL-true,6-MX_GTZC_Init-GTZC-false-HAL-true,7-MX_I2C1_Init-I2C1-false-HAL-true,8-MX_LPUART1_UART_Init-LPUART1-false-HAL-true,9-MX_USART1_UART_Init-USART1-false-HAL-true,10-MX_OCTOSPI1_Init-OCTOSPI1-false-HAL-true,11-MX_SAI1_Init-SAI1-false-HAL-true,12-MX_SDMMC1_SD_Init-SDMMC1-false-HAL-true,13-MX_SPI1_Init-SPI1-false-HAL-true,14-MX_TIM4_Init-TIM4-false-HAL-true,15-MX_TIM16_Init-TIM16-false-HAL-true,16-MX_TIM17_Init-TIM17-false-HAL-true,17-MX_UCPD1_Init-UCPD1-false-LL-true,18-MX_USB_PCD_Init-USB-false-HAL-true,19-MX_AES_Init-AES-false-HAL-true,20-MX_HASH_Init-HASH-false-HAL-true,21-MX_PKA_Init-PKA-false-HAL-true,22-MX_RNG_Init-RNG-false-HAL-true,0-MX_PWR_Init-PWR-false-HAL-true
|
|
||||||
RCC.ADCFreq_Value=96000000
|
|
||||||
RCC.AHBFreq_Value=110000000
|
|
||||||
RCC.APB1Freq_Value=110000000
|
|
||||||
RCC.APB1TimFreq_Value=110000000
|
|
||||||
RCC.APB2Freq_Value=110000000
|
|
||||||
RCC.APB2TimFreq_Value=110000000
|
|
||||||
RCC.CK48CLockSelection=RCC_USBCLKSOURCE_MSI
|
|
||||||
RCC.CRSFreq_Value=48000000
|
|
||||||
RCC.CortexFreq_Value=110000000
|
|
||||||
RCC.DFSDMAudioFreq_Value=48000000
|
|
||||||
RCC.DFSDMFreq_Value=110000000
|
|
||||||
RCC.FCLKCortexFreq_Value=110000000
|
|
||||||
RCC.FDCANFreq_Value=110000000
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLKFreq_Value=110000000
|
|
||||||
RCC.HSE_VALUE=8000000
|
|
||||||
RCC.HSI48_VALUE=48000000
|
|
||||||
RCC.HSI_VALUE=16000000
|
|
||||||
RCC.I2C1Freq_Value=110000000
|
|
||||||
RCC.I2C2Freq_Value=110000000
|
|
||||||
RCC.I2C3Freq_Value=110000000
|
|
||||||
RCC.I2C4Freq_Value=110000000
|
|
||||||
RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CK48CLockSelection,CRSFreq_Value,CortexFreq_Value,DFSDMAudioFreq_Value,DFSDMFreq_Value,FCLKCortexFreq_Value,FDCANFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,I2C4Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPTIM3Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSI_VALUE,MCO1PinFreq_Value,MSIClockRange,MSI_VALUE,OCTOSPIMFreq_Value,PLLM,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1M,PLLSAI1N,PLLSAI1P,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PLLSAI1Source,PLLSAI2PoutputFreq_Value,PWRFreq_Value,RNGFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCClockSelection,SDMMCFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInput2Freq_Value,VCOInput3Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value
|
|
||||||
RCC.LPTIM1Freq_Value=110000000
|
|
||||||
RCC.LPTIM2Freq_Value=110000000
|
|
||||||
RCC.LPTIM3Freq_Value=110000000
|
|
||||||
RCC.LPUART1Freq_Value=110000000
|
|
||||||
RCC.LSCOPinFreq_Value=32000
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.MCO1PinFreq_Value=110000000
|
|
||||||
RCC.MSIClockRange=RCC_MSIRANGE_11
|
|
||||||
RCC.MSI_VALUE=48000000
|
|
||||||
RCC.OCTOSPIMFreq_Value=110000000
|
|
||||||
RCC.PLLM=12
|
|
||||||
RCC.PLLN=55
|
|
||||||
RCC.PLLPoutputFreq_Value=31428571.42857143
|
|
||||||
RCC.PLLQoutputFreq_Value=110000000
|
|
||||||
RCC.PLLRCLKFreq_Value=110000000
|
|
||||||
RCC.PLLSAI1M=4
|
|
||||||
RCC.PLLSAI1N=48
|
|
||||||
RCC.PLLSAI1P=RCC_PLLP_DIV17
|
|
||||||
RCC.PLLSAI1PoutputFreq_Value=11294117.647058824
|
|
||||||
RCC.PLLSAI1QoutputFreq_Value=96000000
|
|
||||||
RCC.PLLSAI1RoutputFreq_Value=96000000
|
|
||||||
RCC.PLLSAI1Source=RCC_PLLSAI1SOURCE_HSI
|
|
||||||
RCC.PLLSAI2PoutputFreq_Value=54857142.85714286
|
|
||||||
RCC.PWRFreq_Value=110000000
|
|
||||||
RCC.RNGFreq_Value=48000000
|
|
||||||
RCC.SAI1Freq_Value=11294117.647058824
|
|
||||||
RCC.SAI2Freq_Value=11294117.647058824
|
|
||||||
RCC.SDMMCClockSelection=RCC_SDIOCLKSOURCE_CLK48
|
|
||||||
RCC.SDMMCFreq_Value=48000000
|
|
||||||
RCC.SYSCLKFreq_VALUE=110000000
|
|
||||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
||||||
RCC.UART4Freq_Value=110000000
|
|
||||||
RCC.UART5Freq_Value=110000000
|
|
||||||
RCC.USART1Freq_Value=110000000
|
|
||||||
RCC.USART2Freq_Value=110000000
|
|
||||||
RCC.USART3Freq_Value=110000000
|
|
||||||
RCC.USBFreq_Value=48000000
|
|
||||||
RCC.VCOInput2Freq_Value=4000000
|
|
||||||
RCC.VCOInput3Freq_Value=48000000
|
|
||||||
RCC.VCOInputFreq_Value=4000000
|
|
||||||
RCC.VCOOutputFreq_Value=220000000
|
|
||||||
RCC.VCOSAI1OutputFreq_Value=192000000
|
|
||||||
RCC.VCOSAI2OutputFreq_Value=384000000
|
|
||||||
SAI1.ErrorAudioFreq-SAI_A_MasterWithClock=-77.02 %
|
|
||||||
SAI1.IPParameters=Instance-SAI_B_SPDIF,VirtualMode-SAI_B_SPDIF,RealAudioFreq-SAI_B_SPDIF,Instance-SAI_A_MasterWithClock,VirtualMode-SAI_A_MasterWithClock,MckOutput-SAI_A_MasterWithClock,RealAudioFreq-SAI_A_MasterWithClock,ErrorAudioFreq-SAI_A_MasterWithClock
|
|
||||||
SAI1.Instance-SAI_A_MasterWithClock=SAI$Index_Block_A
|
|
||||||
SAI1.Instance-SAI_B_SPDIF=SAI$Index_Block_B
|
|
||||||
SAI1.MckOutput-SAI_A_MasterWithClock=SAI_MCK_OUTPUT_ENABLE
|
|
||||||
SAI1.RealAudioFreq-SAI_A_MasterWithClock=44.117 KHz
|
|
||||||
SAI1.RealAudioFreq-SAI_B_SPDIF=214.285 KHz
|
|
||||||
SAI1.VirtualMode-SAI_A_MasterWithClock=VM_MASTER
|
|
||||||
SAI1.VirtualMode-SAI_B_SPDIF=VM_SPDIF
|
|
||||||
SH.ADCx_IN9.0=ADC1_IN9,IN9-Single-Ended
|
|
||||||
SH.ADCx_IN9.ConfNb=1
|
|
||||||
SH.FMC_A0.0=FMC_A0,A0_1
|
|
||||||
SH.FMC_A0.ConfNb=1
|
|
||||||
SH.FMC_D0_DA0.0=FMC_DA0
|
|
||||||
SH.FMC_D0_DA0.1=FMC_D0,16b-d1
|
|
||||||
SH.FMC_D0_DA0.ConfNb=2
|
|
||||||
SH.FMC_D10_DA10.0=FMC_DA10
|
|
||||||
SH.FMC_D10_DA10.1=FMC_D10,16b-d1
|
|
||||||
SH.FMC_D10_DA10.ConfNb=2
|
|
||||||
SH.FMC_D11_DA11.0=FMC_DA11
|
|
||||||
SH.FMC_D11_DA11.1=FMC_D11,16b-d1
|
|
||||||
SH.FMC_D11_DA11.ConfNb=2
|
|
||||||
SH.FMC_D12_DA12.0=FMC_DA12
|
|
||||||
SH.FMC_D12_DA12.1=FMC_D12,16b-d1
|
|
||||||
SH.FMC_D12_DA12.ConfNb=2
|
|
||||||
SH.FMC_D13_DA13.0=FMC_DA13
|
|
||||||
SH.FMC_D13_DA13.1=FMC_D13,16b-d1
|
|
||||||
SH.FMC_D13_DA13.ConfNb=2
|
|
||||||
SH.FMC_D14_DA14.0=FMC_DA14
|
|
||||||
SH.FMC_D14_DA14.1=FMC_D14,16b-d1
|
|
||||||
SH.FMC_D14_DA14.ConfNb=2
|
|
||||||
SH.FMC_D15_DA15.0=FMC_DA15
|
|
||||||
SH.FMC_D15_DA15.1=FMC_D15,16b-d1
|
|
||||||
SH.FMC_D15_DA15.ConfNb=2
|
|
||||||
SH.FMC_D1_DA1.0=FMC_DA1
|
|
||||||
SH.FMC_D1_DA1.1=FMC_D1,16b-d1
|
|
||||||
SH.FMC_D1_DA1.ConfNb=2
|
|
||||||
SH.FMC_D2_DA2.0=FMC_DA2
|
|
||||||
SH.FMC_D2_DA2.1=FMC_D2,16b-d1
|
|
||||||
SH.FMC_D2_DA2.ConfNb=2
|
|
||||||
SH.FMC_D3_DA3.0=FMC_DA3
|
|
||||||
SH.FMC_D3_DA3.1=FMC_D3,16b-d1
|
|
||||||
SH.FMC_D3_DA3.ConfNb=2
|
|
||||||
SH.FMC_D4_DA4.0=FMC_DA4
|
|
||||||
SH.FMC_D4_DA4.1=FMC_D4,16b-d1
|
|
||||||
SH.FMC_D4_DA4.ConfNb=2
|
|
||||||
SH.FMC_D5_DA5.0=FMC_DA5
|
|
||||||
SH.FMC_D5_DA5.1=FMC_D5,16b-d1
|
|
||||||
SH.FMC_D5_DA5.ConfNb=2
|
|
||||||
SH.FMC_D6_DA6.0=FMC_DA6
|
|
||||||
SH.FMC_D6_DA6.1=FMC_D6,16b-d1
|
|
||||||
SH.FMC_D6_DA6.ConfNb=2
|
|
||||||
SH.FMC_D7_DA7.0=FMC_DA7
|
|
||||||
SH.FMC_D7_DA7.1=FMC_D7,16b-d1
|
|
||||||
SH.FMC_D7_DA7.ConfNb=2
|
|
||||||
SH.FMC_D8_DA8.0=FMC_DA8
|
|
||||||
SH.FMC_D8_DA8.1=FMC_D8,16b-d1
|
|
||||||
SH.FMC_D8_DA8.ConfNb=2
|
|
||||||
SH.FMC_D9_DA9.0=FMC_DA9
|
|
||||||
SH.FMC_D9_DA9.1=FMC_D9,16b-d1
|
|
||||||
SH.FMC_D9_DA9.ConfNb=2
|
|
||||||
SH.FMC_NOE.0=FMC_NOE,Lcd1
|
|
||||||
SH.FMC_NOE.ConfNb=1
|
|
||||||
SH.FMC_NWE.0=FMC_NWE,Lcd1
|
|
||||||
SH.FMC_NWE.ConfNb=1
|
|
||||||
SH.GPXTI1.0=GPIO_EXTI1
|
|
||||||
SH.GPXTI1.ConfNb=1
|
|
||||||
SH.GPXTI2.0=GPIO_EXTI2
|
|
||||||
SH.GPXTI2.ConfNb=1
|
|
||||||
SH.GPXTI3.0=GPIO_EXTI3
|
|
||||||
SH.GPXTI3.ConfNb=1
|
|
||||||
SH.GPXTI6.0=GPIO_EXTI6
|
|
||||||
SH.GPXTI6.ConfNb=1
|
|
||||||
SH.S_CKOUTDFSDM1.0=DFSDM1_CKOUT,CKOUT
|
|
||||||
SH.S_CKOUTDFSDM1.ConfNb=1
|
|
||||||
SH.S_DATAIN1DFSDM1.0=DFSDM1_DATIN1,Manchester_input_from_ch1
|
|
||||||
SH.S_DATAIN1DFSDM1.ConfNb=1
|
|
||||||
SH.S_TIM17_CH1.0=TIM17_CH1,PWM Generation1 CH1
|
|
||||||
SH.S_TIM17_CH1.ConfNb=1
|
|
||||||
SPI1.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_8
|
|
||||||
SPI1.CalculateBaudRate=13.75 MBits/s
|
|
||||||
SPI1.Direction=SPI_DIRECTION_2LINES
|
|
||||||
SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,VirtualNSS,BaudRatePrescaler
|
|
||||||
SPI1.Mode=SPI_MODE_MASTER
|
|
||||||
SPI1.VirtualNSS=VM_NSSHARD
|
|
||||||
SPI1.VirtualType=VM_MASTER
|
|
||||||
TIM17.Channel=TIM_CHANNEL_1
|
|
||||||
TIM17.IPParameters=Channel
|
|
||||||
USART1.IPParameters=VirtualMode-Asynchronous
|
|
||||||
USART1.VirtualMode-Asynchronous=VM_ASYNC
|
|
||||||
VP_AES_VS_AES.Mode=AES_Activate
|
|
||||||
VP_AES_VS_AES.Signal=AES_VS_AES
|
|
||||||
VP_DFSDM1_VS_IN0.Mode=Parallel_Input_ch0
|
|
||||||
VP_DFSDM1_VS_IN0.Signal=DFSDM1_VS_IN0
|
|
||||||
VP_DFSDM1_VS_IN2.Mode=Parallel_Input_ch2
|
|
||||||
VP_DFSDM1_VS_IN2.Signal=DFSDM1_VS_IN2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_GTZC_VS_GTZC_Enable.Mode=GTZC_Enable
|
|
||||||
VP_GTZC_VS_GTZC_Enable.Signal=GTZC_VS_GTZC_Enable
|
|
||||||
VP_HASH_VS_HASH.Mode=HASH_Activate
|
|
||||||
VP_HASH_VS_HASH.Signal=HASH_VS_HASH
|
|
||||||
VP_PKA_VS_PKA.Mode=PKA_Activate
|
|
||||||
VP_PKA_VS_PKA.Signal=PKA_VS_PKA
|
|
||||||
VP_PWR_VS_DBSignals.Mode=DisableDeadBatterySignals
|
|
||||||
VP_PWR_VS_DBSignals.Signal=PWR_VS_DBSignals
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_SYS_S_VS_Systick.Mode=SysTick
|
|
||||||
VP_SYS_S_VS_Systick.Signal=SYS_S_VS_Systick
|
|
||||||
VP_SYS_VS_tim1.Mode=TIM1
|
|
||||||
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
||||||
VP_TIM16_VS_ClockSourceINT.Mode=Enable_Timer
|
|
||||||
VP_TIM16_VS_ClockSourceINT.Signal=TIM16_VS_ClockSourceINT
|
|
||||||
VP_TIM17_VS_ClockSourceINT.Mode=Enable_Timer
|
|
||||||
VP_TIM17_VS_ClockSourceINT.Signal=TIM17_VS_ClockSourceINT
|
|
||||||
VP_TIM4_VS_ClockSourceITR.Mode=TriggerSource_ITR1
|
|
||||||
VP_TIM4_VS_ClockSourceITR.Signal=TIM4_VS_ClockSourceITR
|
|
||||||
VP_TIM4_VS_ControllerModeClock.Mode=Clock Mode
|
|
||||||
VP_TIM4_VS_ControllerModeClock.Signal=TIM4_VS_ControllerModeClock
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=STM32L562E-DK
|
|
||||||
boardIOC=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,wolfSSLCcwolfSSLJjwolfCryptJjCore,wolfSSLCcwolfSSLJjwolfCryptJjTest,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjTest=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfCryptJjCore\:true;wolfSSLCcwolfSSLJjwolfCryptJjTest\:true;wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -1,256 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
FREERTOS.FootprintOK=true
|
|
||||||
FREERTOS.IPParameters=Tasks01,configTOTAL_HEAP_SIZE,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,configUSE_DAEMON_TASK_STARTUP_HOOK,FootprintOK
|
|
||||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;wolfCrypt,8,8960,wolfCryptDemo,As external,NULL,Dynamic,NULL,NULL
|
|
||||||
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
||||||
FREERTOS.configTOTAL_HEAP_SIZE=184320
|
|
||||||
FREERTOS.configUSE_DAEMON_TASK_STARTUP_HOOK=1
|
|
||||||
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
Mcu.Family=STM32WB
|
|
||||||
Mcu.IP0=AES1
|
|
||||||
Mcu.IP1=AES2
|
|
||||||
Mcu.IP10=USB
|
|
||||||
Mcu.IP2=FREERTOS
|
|
||||||
Mcu.IP3=NVIC
|
|
||||||
Mcu.IP4=PKA
|
|
||||||
Mcu.IP5=RCC
|
|
||||||
Mcu.IP6=RNG
|
|
||||||
Mcu.IP7=RTC
|
|
||||||
Mcu.IP8=SYS
|
|
||||||
Mcu.IP9=USART1
|
|
||||||
Mcu.IPNb=11
|
|
||||||
Mcu.Name=STM32WB55RGVx
|
|
||||||
Mcu.Package=VFQFPN68
|
|
||||||
Mcu.Pin0=PC13
|
|
||||||
Mcu.Pin1=PC14-OSC32_IN
|
|
||||||
Mcu.Pin10=PA11
|
|
||||||
Mcu.Pin11=PA12
|
|
||||||
Mcu.Pin12=PA13
|
|
||||||
Mcu.Pin13=PA14
|
|
||||||
Mcu.Pin14=PD0
|
|
||||||
Mcu.Pin15=PD1
|
|
||||||
Mcu.Pin16=PB3
|
|
||||||
Mcu.Pin17=PB5
|
|
||||||
Mcu.Pin18=PB6
|
|
||||||
Mcu.Pin19=PB7
|
|
||||||
Mcu.Pin2=PC15-OSC32_OUT
|
|
||||||
Mcu.Pin20=VP_AES1_VS_AES
|
|
||||||
Mcu.Pin21=VP_AES2_VS_AES
|
|
||||||
Mcu.Pin22=VP_FREERTOS_VS_CMSIS_V2
|
|
||||||
Mcu.Pin23=VP_PKA_VS_PKA
|
|
||||||
Mcu.Pin24=VP_RNG_VS_RNG
|
|
||||||
Mcu.Pin25=VP_RTC_VS_RTC_Activate
|
|
||||||
Mcu.Pin26=VP_SYS_VS_tim2
|
|
||||||
Mcu.Pin27=VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
Mcu.Pin3=PA2
|
|
||||||
Mcu.Pin4=PA3
|
|
||||||
Mcu.Pin5=PC4
|
|
||||||
Mcu.Pin6=OSC_OUT
|
|
||||||
Mcu.Pin7=OSC_IN
|
|
||||||
Mcu.Pin8=PB0
|
|
||||||
Mcu.Pin9=PB1
|
|
||||||
Mcu.PinsNb=28
|
|
||||||
Mcu.ThirdParty0=wolfSSL.wolfSSL.4.4.1
|
|
||||||
Mcu.ThirdPartyNb=1
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32WB55RGVx
|
|
||||||
MxCube.Version=5.6.1
|
|
||||||
MxDb.Version=DB.5.0.60
|
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
||||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false
|
|
||||||
NVIC.TIM2_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.TimeBase=TIM2_IRQn
|
|
||||||
NVIC.TimeBaseIP=TIM2
|
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
OSC_IN.Locked=true
|
|
||||||
OSC_IN.Mode=HSE-External-Oscillator
|
|
||||||
OSC_IN.Signal=RCC_OSC_IN
|
|
||||||
OSC_OUT.Locked=true
|
|
||||||
OSC_OUT.Mode=HSE-External-Oscillator
|
|
||||||
OSC_OUT.Signal=RCC_OSC_OUT
|
|
||||||
PA11.Locked=true
|
|
||||||
PA11.Mode=Device
|
|
||||||
PA11.Signal=USB_DM
|
|
||||||
PA12.Locked=true
|
|
||||||
PA12.Mode=Device
|
|
||||||
PA12.Signal=USB_DP
|
|
||||||
PA13.GPIOParameters=GPIO_Label
|
|
||||||
PA13.GPIO_Label=JTMS
|
|
||||||
PA13.Locked=true
|
|
||||||
PA13.Mode=Trace_Asynchronous_SW
|
|
||||||
PA13.Signal=SYS_JTMS-SWDIO
|
|
||||||
PA14.GPIOParameters=GPIO_Label
|
|
||||||
PA14.GPIO_Label=JTCK
|
|
||||||
PA14.Locked=true
|
|
||||||
PA14.Mode=Trace_Asynchronous_SW
|
|
||||||
PA14.Signal=SYS_JTCK-SWCLK
|
|
||||||
PA2.Locked=true
|
|
||||||
PA2.Signal=LPUART1_TX
|
|
||||||
PA3.Locked=true
|
|
||||||
PA3.Signal=LPUART1_RX
|
|
||||||
PB0.GPIOParameters=GPIO_Label
|
|
||||||
PB0.GPIO_Label=LD2 [Green Led]
|
|
||||||
PB0.Locked=true
|
|
||||||
PB0.Signal=GPIO_Output
|
|
||||||
PB1.GPIOParameters=GPIO_Label
|
|
||||||
PB1.GPIO_Label=LD3 [Red Led]
|
|
||||||
PB1.Locked=true
|
|
||||||
PB1.Signal=GPIO_Output
|
|
||||||
PB3.GPIOParameters=GPIO_Label
|
|
||||||
PB3.GPIO_Label=JTDO
|
|
||||||
PB3.Locked=true
|
|
||||||
PB3.Mode=Trace_Asynchronous_SW
|
|
||||||
PB3.Signal=SYS_JTDO-SWO
|
|
||||||
PB5.GPIOParameters=GPIO_Label
|
|
||||||
PB5.GPIO_Label=LD1 [Blue Led]
|
|
||||||
PB5.Locked=true
|
|
||||||
PB5.Signal=GPIO_Output
|
|
||||||
PB6.Locked=true
|
|
||||||
PB6.Mode=Asynchronous
|
|
||||||
PB6.Signal=USART1_TX
|
|
||||||
PB7.Locked=true
|
|
||||||
PB7.Mode=Asynchronous
|
|
||||||
PB7.Signal=USART1_RX
|
|
||||||
PC13.Locked=true
|
|
||||||
PC13.Mode=SYS_WakeUp1
|
|
||||||
PC13.Signal=SYS_WKUP2
|
|
||||||
PC14-OSC32_IN.Locked=true
|
|
||||||
PC14-OSC32_IN.Mode=LSE-External-Oscillator
|
|
||||||
PC14-OSC32_IN.Signal=RCC_OSC32_IN
|
|
||||||
PC15-OSC32_OUT.Locked=true
|
|
||||||
PC15-OSC32_OUT.Mode=LSE-External-Oscillator
|
|
||||||
PC15-OSC32_OUT.Signal=RCC_OSC32_OUT
|
|
||||||
PC4.GPIOParameters=GPIO_Label
|
|
||||||
PC4.GPIO_Label=B1 [Push Button]
|
|
||||||
PC4.Locked=true
|
|
||||||
PC4.Signal=GPIO_Input
|
|
||||||
PCC.Ble.ConnectionInterval=1000.0
|
|
||||||
PCC.Ble.DataLength=6
|
|
||||||
PCC.Ble.Mode=NOT_SELECTED
|
|
||||||
PCC.Ble.PowerLevel=Min
|
|
||||||
PD0.GPIOParameters=GPIO_Label
|
|
||||||
PD0.GPIO_Label=B2 [Push Button]
|
|
||||||
PD0.Locked=true
|
|
||||||
PD0.Signal=GPIO_Input
|
|
||||||
PD1.GPIOParameters=GPIO_Label
|
|
||||||
PD1.GPIO_Label=B3 [Push Button]
|
|
||||||
PD1.Locked=true
|
|
||||||
PD1.Signal=GPIO_Input
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32WB55RGVx
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_WB V1.7.0
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=STM32WB55.ioc
|
|
||||||
ProjectManager.ProjectName=STM32WB55
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_USART1_UART_Init-USART1-false-HAL-true,4-MX_USB_PCD_Init-USB-false-HAL-true,5-MX_AES1_Init-AES1-false-HAL-true,6-MX_AES2_Init-AES2-false-HAL-true,7-MX_PKA_Init-PKA-false-HAL-true,8-MX_RNG_Init-RNG-false-HAL-true,9-MX_RTC_Init-RTC-false-HAL-true
|
|
||||||
RCC.ADCFreq_Value=48000000
|
|
||||||
RCC.AHB2CLKDivider=RCC_SYSCLK_DIV2
|
|
||||||
RCC.AHBFreq_Value=64000000
|
|
||||||
RCC.APB1Freq_Value=64000000
|
|
||||||
RCC.APB1TimFreq_Value=64000000
|
|
||||||
RCC.APB2Freq_Value=64000000
|
|
||||||
RCC.APB2TimFreq_Value=64000000
|
|
||||||
RCC.APB3Freq_Value=16000000
|
|
||||||
RCC.Cortex2Freq_Value=32000000
|
|
||||||
RCC.CortexFreq_Value=64000000
|
|
||||||
RCC.FCLK2Freq_Value=32000000
|
|
||||||
RCC.FCLKCortexFreq_Value=64000000
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLK2Freq_Value=32000000
|
|
||||||
RCC.HCLK3Freq_Value=64000000
|
|
||||||
RCC.HCLKFreq_Value=64000000
|
|
||||||
RCC.HCLKRFFreq_Value=16000000
|
|
||||||
RCC.HSE_VALUE=32000000
|
|
||||||
RCC.HSI48_VALUE=48000000
|
|
||||||
RCC.HSI_VALUE=16000000
|
|
||||||
RCC.I2C1Freq_Value=64000000
|
|
||||||
RCC.I2C3Freq_Value=64000000
|
|
||||||
RCC.IPParameters=ADCFreq_Value,AHB2CLKDivider,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,APB3Freq_Value,Cortex2Freq_Value,CortexFreq_Value,FCLK2Freq_Value,FCLKCortexFreq_Value,FamilyName,HCLK2Freq_Value,HCLK3Freq_Value,HCLKFreq_Value,HCLKRFFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C3Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSI_VALUE,MCO1PinFreq_Value,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1N,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PWRFreq_Value,RNGFreq_Value,SAI1Freq_Value,SMPS1Freq_Value,SMPSCLockSelectionVirtual,SMPSCLockSelectionVirtualVirtual,SMPSDivider,SYSCLKFreq_VALUE,SYSCLKSource,USART1Freq_Value,USBFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value
|
|
||||||
RCC.LPTIM1Freq_Value=64000000
|
|
||||||
RCC.LPTIM2Freq_Value=64000000
|
|
||||||
RCC.LPUART1Freq_Value=64000000
|
|
||||||
RCC.LSCOPinFreq_Value=32000
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.MCO1PinFreq_Value=64000000
|
|
||||||
RCC.PLLN=32
|
|
||||||
RCC.PLLPoutputFreq_Value=64000000
|
|
||||||
RCC.PLLQoutputFreq_Value=64000000
|
|
||||||
RCC.PLLRCLKFreq_Value=64000000
|
|
||||||
RCC.PLLSAI1N=24
|
|
||||||
RCC.PLLSAI1PoutputFreq_Value=48000000
|
|
||||||
RCC.PLLSAI1QoutputFreq_Value=48000000
|
|
||||||
RCC.PLLSAI1RoutputFreq_Value=48000000
|
|
||||||
RCC.PWRFreq_Value=64000000
|
|
||||||
RCC.RNGFreq_Value=32000
|
|
||||||
RCC.SAI1Freq_Value=48000000
|
|
||||||
RCC.SMPS1Freq_Value=16000000
|
|
||||||
RCC.SMPSCLockSelectionVirtual=RCC_SMPSCLKSOURCE_HSI
|
|
||||||
RCC.SMPSCLockSelectionVirtualVirtual=RCC_SMPSCLKSOURCE_HSI
|
|
||||||
RCC.SMPSDivider=1
|
|
||||||
RCC.SYSCLKFreq_VALUE=64000000
|
|
||||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
||||||
RCC.USART1Freq_Value=64000000
|
|
||||||
RCC.USBFreq_Value=48000000
|
|
||||||
RCC.VCOInputFreq_Value=4000000
|
|
||||||
RCC.VCOOutputFreq_Value=128000000
|
|
||||||
RCC.VCOSAI1OutputFreq_Value=96000000
|
|
||||||
USART1.IPParameters=VirtualMode-Asynchronous
|
|
||||||
USART1.VirtualMode-Asynchronous=VM_ASYNC
|
|
||||||
VP_AES1_VS_AES.Mode=AES_Activate
|
|
||||||
VP_AES1_VS_AES.Signal=AES1_VS_AES
|
|
||||||
VP_AES2_VS_AES.Mode=AES_Activate
|
|
||||||
VP_AES2_VS_AES.Signal=AES2_VS_AES
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
||||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
||||||
VP_PKA_VS_PKA.Mode=PKA_Activate
|
|
||||||
VP_PKA_VS_PKA.Signal=PKA_VS_PKA
|
|
||||||
VP_RNG_VS_RNG.Mode=RNG_Activate
|
|
||||||
VP_RNG_VS_RNG.Signal=RNG_VS_RNG
|
|
||||||
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
||||||
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
|
||||||
VP_SYS_VS_tim2.Mode=TIM2
|
|
||||||
VP_SYS_VS_tim2.Signal=SYS_VS_tim2
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Mode=wolfSSLJjwolfSSL
|
|
||||||
VP_wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1.Signal=wolfSSL.wolfSSL_VS_wolfSSLJjwolfSSL_4.4.1
|
|
||||||
board=P-NUCLEO-WB55-Nucleo
|
|
||||||
boardIOC=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.IPParameters=wolfSSLCcwolfSSLJjwolfSSLJjCore,wolfSSLCcwolfSSLJjwolfCryptJjCore,wolfSSLCcwolfSSLJjwolfCryptJjTest,WOLF_CONF_MATH,WOLF_CONF_RTOS
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_MATH=4
|
|
||||||
wolfSSL.wolfSSL.4.4.1.WOLF_CONF_RTOS=2
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfCryptJjTest=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLCcwolfSSLJjwolfSSLJjCore=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1.wolfSSLJjwolfSSL_Checked=true
|
|
||||||
wolfSSL.wolfSSL.4.4.1_SwParameter=wolfSSLCcwolfSSLJjwolfCryptJjCore\:true;wolfSSLCcwolfSSLJjwolfCryptJjTest\:true;wolfSSLCcwolfSSLJjwolfSSLJjCore\:true;
|
|
||||||
isbadioc=false
|
|
@ -6,46 +6,71 @@ This example includes:
|
|||||||
* wolfCrypt benchmark
|
* wolfCrypt benchmark
|
||||||
* wolfSSL TLS client/server test using in-memory transfers
|
* wolfSSL TLS client/server test using in-memory transfers
|
||||||
|
|
||||||
These examples use the CubeMX Hal for STM32. If you'd like to use the older Standard Peripheral library undefine `WOLFSSL_STM32_CUBEMX` in `user_settings.h`.
|
These examples use the Cube HAL for STM32.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* STM32CubeIDE: Integrated Development Environment for STM32 [https://www.st.com/en/development-tools/stm32cubeide.html](https://www.st.com/en/development-tools/stm32cubeide.html)
|
* STM32CubeIDE: Integrated Development Environment for STM32 [https://www.st.com/en/development-tools/stm32cubeide.html](https://www.st.com/en/development-tools/stm32cubeide.html)
|
||||||
|
|
||||||
## Setup
|
|
||||||
|
|
||||||
1. Using the STM32CubeMX tool, load the `<wolfssl-root>/IDE/STM32Cube/Boards/*.ioc` file for your target.
|
|
||||||
2. Adjust the HAL options based on your specific micro-controller.
|
|
||||||
3. Enable the security RNG/HASH/CRYPT if available.
|
|
||||||
4. Enable the RTC and UART if available.
|
|
||||||
5. Add wolfSSL via Additional Software and check/configure wolfSSL.
|
|
||||||
6. Generate source code.
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
The settings for the wolfSTM32 project are located in `<wolfssl-root>/IDE/STM32Cube/wolfSSL.wolfSSL_conf.h`. The section for hardware platform may need to be adjusted depending on your processor and board:
|
The settings for the wolfSTM32 project are located in `<wolfssl-root>/IDE/STM32Cube/wolfSSL.wolfSSL_conf.h`. The section for "Hardware platform" may need to be adjusted depending on your processor and board:
|
||||||
|
|
||||||
* To enable STM32F2 support define `WOLFSSL_STM32F2`.
|
* To enable STM32F2 support define `WOLFSSL_STM32F2`.
|
||||||
* To enable STM32F4 support define `WOLFSSL_STM32F4`.
|
* To enable STM32F4 support define `WOLFSSL_STM32F4`.
|
||||||
* To enable STM32F7 support define `WOLFSSL_STM32F7`.
|
* To enable STM32F7 support define `WOLFSSL_STM32F7`.
|
||||||
* To enable STM32L4 support define `WOLFSSL_STM32L4`.
|
* To enable STM32L4 support define `WOLFSSL_STM32L4`.
|
||||||
* To enable STM32L5 support define `WOLFSSL_STM32L5`.
|
* To enable STM32L5 support define `WOLFSSL_STM32L5`.
|
||||||
|
* To enable STM32H7 support define `WOLFSSL_STM32H7`.
|
||||||
* To enable STM32WB support define `WOLFSSL_STM32WB`.
|
* To enable STM32WB support define `WOLFSSL_STM32WB`.
|
||||||
|
|
||||||
|
To use the STM32 Cube HAL support make sure `WOLFSSL_STM32_CUBEMX` is defined.
|
||||||
|
|
||||||
The L5 and WB55 support ECC PKA acceleration, which is enabled with `WOLFSSL_STM32_PKA`.
|
The L5 and WB55 support ECC PKA acceleration, which is enabled with `WOLFSSL_STM32_PKA`.
|
||||||
|
|
||||||
To disable hardware crypto acceleration you can define:
|
To disable hardware crypto acceleration you can define:
|
||||||
|
|
||||||
* `#define NO_STM32_HASH`
|
* `NO_STM32_HASH`
|
||||||
* `#define NO_STM32_CRYPTO`
|
* `NO_STM32_CRYPTO`
|
||||||
|
|
||||||
To enable the latest CubeMX HAL support please use: `#define STM32_HAL_V2`
|
To enable the latest Cube HAL support please define `STM32_HAL_V2`.
|
||||||
|
|
||||||
|
If you'd like to use the older Standard Peripheral library undefine `WOLFSSL_STM32_CUBEMX`.
|
||||||
|
|
||||||
If you are using FreeRTOS make sure your `FreeRTOSConfig.h` has its `configTOTAL_HEAP_SIZE` increased.
|
If you are using FreeRTOS make sure your `FreeRTOSConfig.h` has its `configTOTAL_HEAP_SIZE` increased.
|
||||||
|
|
||||||
The TLS client/server benchmark example requires about 76 KB for allocated tasks (with stack) and peak heap.
|
The TLS client/server benchmark example requires about 76 KB for allocated tasks (with stack) and peak heap.
|
||||||
|
|
||||||
## Example Output
|
## STM32 Cube Pack
|
||||||
|
|
||||||
|
### STM32 Cube Pack Installation
|
||||||
|
|
||||||
|
1. Download [wolfSSL Cube Pack](https://www.wolfssl.com/files/ide/I-CUBE-WOLFSSL-WOLFSSL.pack)
|
||||||
|
2. Run the “STM32CubeMX” tool.
|
||||||
|
3. Under “Manage software installations” click “INSTALL/REMOVE” button.
|
||||||
|
4. From Local and choose “I-CUBE-WOLFSSL-WOLFSSL.pack”.
|
||||||
|
|
||||||
|
### STM32 Cube Pack Usage
|
||||||
|
|
||||||
|
1. Create or open a Cube Project based on your hardware.
|
||||||
|
2. Under “Software Packs” choose “Select Components”.
|
||||||
|
3. Find and check all components for the wolfSSL.wolfSSL packs (wolfSSL / Core, wolfCrypt / Core and wolfCrypt / Test). Close
|
||||||
|
4. Under the “Software Packs” section click on “wolfSSL.wolfSSL” and configure the parameters.
|
||||||
|
5. For Cortex-M recommend “Math Configuration” -> “Single Precision Cortex-M Math”
|
||||||
|
6. Generate Code
|
||||||
|
7. The Benchmark example uses float. To enable go to "Project Properties" -> "C/C++ Build" -> "Settings" -> "Tool Settings" -> "MCU Settings" -> Check "Use float with printf".
|
||||||
|
|
||||||
|
### STM32 Cube Pack Examples
|
||||||
|
|
||||||
|
In the `I-CUBE-WOLFSSL-WOLFSSL.pack` pack there are pre-assembled example projects available.
|
||||||
|
After installing the pack you can find these example projects in `STM32Cube/Repository/Packs/wolfSSL/wolfSSL/[Version]/Projects`.
|
||||||
|
To use an example:
|
||||||
|
|
||||||
|
1. Open STM32CubeIDE
|
||||||
|
2. Choose "Import" -> "Import an Existing STM32CubeMX Configuration File (.ioc)".
|
||||||
|
3. Browse to find the .ioc in `STM32Cube/Repository/Packs/wolfSSL/wolfSSL/[Version]/Projects` and click finish.
|
||||||
|
|
||||||
|
## Example `IDE/STM32Cube/wolfssl_example.c` Output
|
||||||
|
|
||||||
```
|
```
|
||||||
....MENU
|
....MENU
|
||||||
@ -58,6 +83,10 @@ The TLS client/server benchmark example requires about 76 KB for allocated tasks
|
|||||||
Please select one of the above options:
|
Please select one of the above options:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Benchmarks
|
||||||
|
|
||||||
|
See [STM32_Benchmarks.md](STM32_Benchmarks.md).
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
For questions please email [support@wolfssl.com](mailto:support@wolfssl.com)
|
For questions please email [support@wolfssl.com](mailto:support@wolfssl.com)
|
||||||
|
564
IDE/STM32Cube/STM32_Benchmarks.md
Normal file
564
IDE/STM32Cube/STM32_Benchmarks.md
Normal file
@ -0,0 +1,564 @@
|
|||||||
|
# STM Benchmarks
|
||||||
|
|
||||||
|
## STM32H753ZI
|
||||||
|
|
||||||
|
Supports RNG, AES CBC/GCM and SHA-2 acceleration.
|
||||||
|
Note: HW RNG on for all tests
|
||||||
|
|
||||||
|
Board: NUCLEO-H753ZI
|
||||||
|
CPU: Cortex-M7 at 480 MHz
|
||||||
|
IDE: STM32CubeIDE
|
||||||
|
RTOS: FreeRTOS
|
||||||
|
|
||||||
|
### STM32H753ZI (STM Crypto/Hash Acceleration, -Os, SP-ASM Cortex-M)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 875 KB took 1.019 seconds, 858.685 KB/s
|
||||||
|
AES-128-CBC-enc 10 MB took 1.000 seconds, 10.400 MB/s
|
||||||
|
AES-128-CBC-dec 10 MB took 1.000 seconds, 10.327 MB/s
|
||||||
|
AES-192-CBC-enc 10 MB took 1.000 seconds, 10.425 MB/s
|
||||||
|
AES-192-CBC-dec 10 MB took 1.000 seconds, 10.278 MB/s
|
||||||
|
AES-256-CBC-enc 10 MB took 1.000 seconds, 10.376 MB/s
|
||||||
|
AES-256-CBC-dec 10 MB took 1.000 seconds, 10.278 MB/s
|
||||||
|
AES-128-GCM-enc 9 MB took 1.000 seconds, 8.789 MB/s
|
||||||
|
AES-128-GCM-dec 9 MB took 1.000 seconds, 8.716 MB/s
|
||||||
|
AES-192-GCM-enc 9 MB took 1.000 seconds, 8.740 MB/s
|
||||||
|
AES-192-GCM-dec 9 MB took 1.000 seconds, 8.691 MB/s
|
||||||
|
AES-256-GCM-enc 9 MB took 1.000 seconds, 8.765 MB/s
|
||||||
|
AES-256-GCM-dec 9 MB took 1.000 seconds, 8.691 MB/s
|
||||||
|
CHACHA 4 MB took 1.000 seconds, 4.443 MB/s
|
||||||
|
CHA-POLY 3 MB took 1.004 seconds, 3.040 MB/s
|
||||||
|
POLY1305 13 MB took 1.000 seconds, 12.671 MB/s
|
||||||
|
SHA-256 9 MB took 1.000 seconds, 8.691 MB/s
|
||||||
|
HMAC-SHA256 8 MB took 1.000 seconds, 8.496 MB/s
|
||||||
|
RSA 2048 public 82 ops took 1.019 sec, avg 12.427 ms, 80.471 ops/sec
|
||||||
|
RSA 2048 private 4 ops took 1.749 sec, avg 437.250 ms, 2.287 ops/sec
|
||||||
|
DH 2048 key gen 5 ops took 1.000 sec, avg 200.000 ms, 5.000 ops/sec
|
||||||
|
DH 2048 agree 6 ops took 1.200 sec, avg 200.000 ms, 5.000 ops/sec
|
||||||
|
ECC 256 key gen 121 ops took 1.000 sec, avg 8.264 ms, 121.000 ops/sec
|
||||||
|
ECDHE 256 agree 56 ops took 1.016 sec, avg 18.143 ms, 55.118 ops/sec
|
||||||
|
ECDSA 256 sign 78 ops took 1.007 sec, avg 12.910 ms, 77.458 ops/sec
|
||||||
|
ECDSA 256 verify 36 ops took 1.004 sec, avg 27.889 ms, 35.857 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
### STM32H753ZI (No HW Crypto, -Os, FastMath)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 1 MB took 1.015 seconds, 1.010 MB/s
|
||||||
|
AES-128-CBC-enc 1 MB took 1.012 seconds, 1.399 MB/s
|
||||||
|
AES-128-CBC-dec 1 MB took 1.000 seconds, 1.318 MB/s
|
||||||
|
AES-192-CBC-enc 1 MB took 1.019 seconds, 1.198 MB/s
|
||||||
|
AES-192-CBC-dec 1 MB took 1.012 seconds, 1.134 MB/s
|
||||||
|
AES-256-CBC-enc 1 MB took 1.000 seconds, 1.050 MB/s
|
||||||
|
AES-256-CBC-dec 1 MB took 1.012 seconds, 0.989 MB/s
|
||||||
|
AES-128-GCM-enc 75 KB took 1.125 seconds, 66.667 KB/s
|
||||||
|
AES-128-GCM-dec 75 KB took 1.125 seconds, 66.667 KB/s
|
||||||
|
AES-192-GCM-enc 75 KB took 1.149 seconds, 65.274 KB/s
|
||||||
|
AES-192-GCM-dec 75 KB took 1.149 seconds, 65.274 KB/s
|
||||||
|
AES-256-GCM-enc 75 KB took 1.161 seconds, 64.599 KB/s
|
||||||
|
AES-256-GCM-dec 75 KB took 1.165 seconds, 64.378 KB/s
|
||||||
|
CHACHA 5 MB took 1.000 seconds, 4.858 MB/s
|
||||||
|
CHA-POLY 3 MB took 1.003 seconds, 3.140 MB/s
|
||||||
|
POLY1305 13 MB took 1.000 seconds, 12.671 MB/s
|
||||||
|
SHA-256 3 MB took 1.004 seconds, 2.845 MB/s
|
||||||
|
HMAC-SHA256 3 MB took 1.004 seconds, 2.821 MB/s
|
||||||
|
RSA 2048 public 38 ops took 1.012 sec, avg 26.632 ms, 37.549 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 3.267 sec, avg 1633.500 ms, 0.612 ops/sec
|
||||||
|
DH 2048 key gen 4 ops took 1.184 sec, avg 296.000 ms, 3.378 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 1.259 sec, avg 629.500 ms, 1.589 ops/sec
|
||||||
|
ECC 256 key gen 4 ops took 1.070 sec, avg 267.500 ms, 3.738 ops/sec
|
||||||
|
ECDHE 256 agree 4 ops took 1.070 sec, avg 267.500 ms, 3.738 ops/sec
|
||||||
|
ECDSA 256 sign 4 ops took 1.082 sec, avg 270.500 ms, 3.697 ops/sec
|
||||||
|
ECDSA 256 verify 6 ops took 1.016 sec, avg 169.333 ms, 5.906 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
## STM32WB55
|
||||||
|
|
||||||
|
Supports RNG, ECC P-256, AES-CBC and SHA-256 acceleration.
|
||||||
|
Note: SP math beats PKA HW. HW RNG on for all tests
|
||||||
|
|
||||||
|
Board: P-NUCLEO-WB55 (MB1355C-02)
|
||||||
|
CPU: Cortex-M4 at 64 MHz
|
||||||
|
IDE: STM32CubeIDE
|
||||||
|
RTOS: FreeRTOS
|
||||||
|
|
||||||
|
### STM32WB55 (STM AES-CBC/Hash Acceleration, -Os, SP-ASM Cortex-M)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 375 KB took 1.008 seconds, 372.024 KB/s
|
||||||
|
AES-128-CBC-enc 4 MB took 1.000 seconds, 3.882 MB/s
|
||||||
|
AES-128-CBC-dec 4 MB took 1.000 seconds, 3.955 MB/s
|
||||||
|
AES-256-CBC-enc 4 MB took 1.004 seconds, 3.550 MB/s
|
||||||
|
AES-256-CBC-dec 4 MB took 1.004 seconds, 3.599 MB/s
|
||||||
|
AES-128-GCM-enc 50 KB took 1.800 seconds, 27.778 KB/s
|
||||||
|
AES-128-GCM-dec 50 KB took 1.804 seconds, 27.716 KB/s
|
||||||
|
AES-256-GCM-enc 50 KB took 1.828 seconds, 27.352 KB/s
|
||||||
|
AES-256-GCM-dec 50 KB took 1.831 seconds, 27.307 KB/s
|
||||||
|
CHACHA 2 MB took 1.008 seconds, 1.574 MB/s
|
||||||
|
CHA-POLY 1 MB took 1.004 seconds, 1.046 MB/s
|
||||||
|
POLY1305 5 MB took 1.000 seconds, 4.663 MB/s
|
||||||
|
SHA-256 1000 KB took 1.015 seconds, 985.222 KB/s
|
||||||
|
HMAC-SHA256 975 KB took 1.000 seconds, 975.000 KB/s
|
||||||
|
RSA 2048 public 28 ops took 1.016 sec, avg 36.286 ms, 27.559 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 2.522 sec, avg 1261.000 ms, 0.793 ops/sec
|
||||||
|
DH 2048 key gen 2 ops took 1.184 sec, avg 592.000 ms, 1.689 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 1.181 sec, avg 590.500 ms, 1.693 ops/sec
|
||||||
|
ECC 256 key gen 37 ops took 1.008 sec, avg 27.243 ms, 36.706 ops/sec
|
||||||
|
ECDHE 256 agree 18 ops took 1.071 sec, avg 59.500 ms, 16.807 ops/sec
|
||||||
|
ECDSA 256 sign 14 ops took 1.130 sec, avg 80.714 ms, 12.389 ops/sec
|
||||||
|
ECDSA 256 verify 8 ops took 1.305 sec, avg 163.125 ms, 6.130 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
### STM32WB55 (STM PKA only, -Os, FastMath)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 375 KB took 1.008 seconds, 372.024 KB/s
|
||||||
|
AES-128-CBC-enc 600 KB took 1.020 seconds, 588.235 KB/s
|
||||||
|
AES-128-CBC-dec 575 KB took 1.007 seconds, 571.003 KB/s
|
||||||
|
AES-192-CBC-enc 525 KB took 1.043 seconds, 503.356 KB/s
|
||||||
|
AES-192-CBC-dec 500 KB took 1.028 seconds, 486.381 KB/s
|
||||||
|
AES-256-CBC-enc 450 KB took 1.027 seconds, 438.169 KB/s
|
||||||
|
AES-256-CBC-dec 425 KB took 1.000 seconds, 425.000 KB/s
|
||||||
|
AES-128-GCM-enc 50 KB took 1.819 seconds, 27.488 KB/s
|
||||||
|
AES-128-GCM-dec 50 KB took 1.820 seconds, 27.473 KB/s
|
||||||
|
AES-192-GCM-enc 50 KB took 1.855 seconds, 26.954 KB/s
|
||||||
|
AES-192-GCM-dec 50 KB took 1.851 seconds, 27.012 KB/s
|
||||||
|
AES-256-GCM-enc 50 KB took 1.874 seconds, 26.681 KB/s
|
||||||
|
AES-256-GCM-dec 50 KB took 1.875 seconds, 26.667 KB/s
|
||||||
|
CHACHA 2 MB took 1.004 seconds, 1.581 MB/s
|
||||||
|
CHA-POLY 1 MB took 1.000 seconds, 1.050 MB/s
|
||||||
|
POLY1305 5 MB took 1.000 seconds, 4.663 MB/s
|
||||||
|
SHA-256 1000 KB took 1.016 seconds, 984.252 KB/s
|
||||||
|
HMAC-SHA256 1000 KB took 1.024 seconds, 976.562 KB/s
|
||||||
|
RSA 2048 public 14 ops took 1.121 sec, avg 80.071 ms, 12.489 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 9.428 sec, avg 4714.000 ms, 0.212 ops/sec
|
||||||
|
DH 2048 key gen 2 ops took 1.807 sec, avg 903.500 ms, 1.107 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 3.643 sec, avg 1821.500 ms, 0.549 ops/sec
|
||||||
|
ECC 256 key gen 9 ops took 1.024 sec, avg 113.778 ms, 8.789 ops/sec
|
||||||
|
ECDHE 256 agree 10 ops took 1.129 sec, avg 112.900 ms, 8.857 ops/sec
|
||||||
|
ECDSA 256 sign 14 ops took 1.157 sec, avg 82.643 ms, 12.100 ops/sec
|
||||||
|
ECDSA 256 verify 8 ops took 1.282 sec, avg 160.250 ms, 6.240 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
### STM32WB55 (No HW Crypto, -Os, FastMath)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 375 KB took 1.004 seconds, 373.506 KB/s
|
||||||
|
AES-128-CBC-enc 600 KB took 1.024 seconds, 585.937 KB/s
|
||||||
|
AES-128-CBC-dec 575 KB took 1.008 seconds, 570.437 KB/s
|
||||||
|
AES-192-CBC-enc 525 KB took 1.047 seconds, 501.433 KB/s
|
||||||
|
AES-192-CBC-dec 500 KB took 1.028 seconds, 486.381 KB/s
|
||||||
|
AES-256-CBC-enc 450 KB took 1.028 seconds, 437.743 KB/s
|
||||||
|
AES-256-CBC-dec 450 KB took 1.055 seconds, 426.540 KB/s
|
||||||
|
AES-128-GCM-enc 50 KB took 1.816 seconds, 27.533 KB/s
|
||||||
|
AES-128-GCM-dec 50 KB took 1.820 seconds, 27.473 KB/s
|
||||||
|
AES-192-GCM-enc 50 KB took 1.851 seconds, 27.012 KB/s
|
||||||
|
AES-192-GCM-dec 50 KB took 1.851 seconds, 27.012 KB/s
|
||||||
|
AES-256-GCM-enc 50 KB took 1.875 seconds, 26.667 KB/s
|
||||||
|
AES-256-GCM-dec 50 KB took 1.874 seconds, 26.681 KB/s
|
||||||
|
CHACHA 2 MB took 1.004 seconds, 1.581 MB/s
|
||||||
|
CHA-POLY 1 MB took 1.012 seconds, 1.061 MB/s
|
||||||
|
POLY1305 5 MB took 1.004 seconds, 4.693 MB/s
|
||||||
|
SHA-256 1000 KB took 1.016 seconds, 984.252 KB/s
|
||||||
|
HMAC-SHA256 1000 KB took 1.023 seconds, 977.517 KB/s
|
||||||
|
RSA 2048 public 14 ops took 1.141 sec, avg 81.500 ms, 12.270 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 9.498 sec, avg 4749.000 ms, 0.211 ops/sec
|
||||||
|
DH 2048 key gen 2 ops took 1.839 sec, avg 919.500 ms, 1.088 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 3.674 sec, avg 1837.000 ms, 0.544 ops/sec
|
||||||
|
ECC 256 key gen 1 ops took 1.130 sec, avg 1130.000 ms, 0.885 ops/sec
|
||||||
|
ECDHE 256 agree 2 ops took 2.251 sec, avg 1125.500 ms, 0.888 ops/sec
|
||||||
|
ECDSA 256 sign 2 ops took 2.275 sec, avg 1137.500 ms, 0.879 ops/sec
|
||||||
|
ECDSA 256 verify 2 ops took 1.490 sec, avg 745.000 ms, 1.342 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
## STM32F437
|
||||||
|
|
||||||
|
Supports RNG, AES-CBC/GCM and SHA-256 acceleration.
|
||||||
|
Note: HW RNG on for all tests
|
||||||
|
|
||||||
|
Board: STM32F437I-EVAL
|
||||||
|
CPU: Cortex-M4 at 160 MHz
|
||||||
|
IDE: STM32CubeIDE
|
||||||
|
RTOS: FreeRTOS
|
||||||
|
|
||||||
|
### STM32F437 (STM Crypto/Hash Acceleration, -Os, SP-ASM Cortex-M)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 500 KB took 1.000 seconds, 500.000 KB/s
|
||||||
|
AES-128-CBC-enc 9 MB took 1.000 seconds, 8.716 MB/s
|
||||||
|
AES-128-CBC-dec 9 MB took 1.004 seconds, 8.681 MB/s
|
||||||
|
AES-192-CBC-enc 9 MB took 1.000 seconds, 8.740 MB/s
|
||||||
|
AES-192-CBC-dec 9 MB took 1.000 seconds, 8.667 MB/s
|
||||||
|
AES-256-CBC-enc 9 MB took 1.000 seconds, 8.740 MB/s
|
||||||
|
AES-256-CBC-dec 9 MB took 1.004 seconds, 8.681 MB/s
|
||||||
|
AES-128-GCM-enc 8 MB took 1.000 seconds, 7.837 MB/s
|
||||||
|
AES-128-GCM-dec 8 MB took 1.000 seconds, 7.812 MB/s
|
||||||
|
AES-192-GCM-enc 8 MB took 1.000 seconds, 7.812 MB/s
|
||||||
|
AES-192-GCM-dec 8 MB took 1.000 seconds, 7.788 MB/s
|
||||||
|
AES-256-GCM-enc 8 MB took 1.000 seconds, 7.837 MB/s
|
||||||
|
AES-256-GCM-dec 8 MB took 1.000 seconds, 7.764 MB/s
|
||||||
|
CHACHA 4 MB took 1.000 seconds, 4.150 MB/s
|
||||||
|
CHA-POLY 3 MB took 1.004 seconds, 2.821 MB/s
|
||||||
|
POLY1305 13 MB took 1.000 seconds, 12.646 MB/s
|
||||||
|
SHA-256 7 MB took 1.000 seconds, 7.446 MB/s
|
||||||
|
HMAC-SHA256 7 MB took 1.000 seconds, 7.251 MB/s
|
||||||
|
RSA 2048 public 74 ops took 1.000 sec, avg 13.514 ms, 74.000 ops/sec
|
||||||
|
RSA 2048 private 4 ops took 1.933 sec, avg 483.250 ms, 2.069 ops/sec
|
||||||
|
DH 2048 key gen 5 ops took 1.075 sec, avg 215.000 ms, 4.651 ops/sec
|
||||||
|
DH 2048 agree 6 ops took 1.282 sec, avg 213.667 ms, 4.680 ops/sec
|
||||||
|
ECC 256 key gen 123 ops took 1.004 sec, avg 8.163 ms, 122.510 ops/sec
|
||||||
|
ECDHE 256 agree 58 ops took 1.019 sec, avg 17.569 ms, 56.919 ops/sec
|
||||||
|
ECDSA 256 sign 82 ops took 1.016 sec, avg 12.390 ms, 80.709 ops/sec
|
||||||
|
ECDSA 256 verify 38 ops took 1.015 sec, avg 26.711 ms, 37.438 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
### STM32F437 (No HW Crypto, -Os, FastMath)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 1 MB took 1.024 seconds, 0.978 MB/s
|
||||||
|
AES-128-CBC-enc 1 MB took 1.012 seconds, 1.303 MB/s
|
||||||
|
AES-128-CBC-dec 1 MB took 1.004 seconds, 1.264 MB/s
|
||||||
|
AES-192-CBC-enc 1 MB took 1.012 seconds, 1.110 MB/s
|
||||||
|
AES-192-CBC-dec 1 MB took 1.016 seconds, 1.081 MB/s
|
||||||
|
AES-256-CBC-enc 1000 KB took 1.011 seconds, 989.120 KB/s
|
||||||
|
AES-256-CBC-dec 975 KB took 1.008 seconds, 967.262 KB/s
|
||||||
|
AES-128-GCM-enc 75 KB took 1.024 seconds, 73.242 KB/s
|
||||||
|
AES-128-GCM-dec 75 KB took 1.024 seconds, 73.242 KB/s
|
||||||
|
AES-192-GCM-enc 75 KB took 1.043 seconds, 71.908 KB/s
|
||||||
|
AES-192-GCM-dec 75 KB took 1.047 seconds, 71.633 KB/s
|
||||||
|
AES-256-GCM-enc 75 KB took 1.059 seconds, 70.822 KB/s
|
||||||
|
AES-256-GCM-dec 75 KB took 1.058 seconds, 70.888 KB/s
|
||||||
|
CHACHA 4 MB took 1.004 seconds, 4.158 MB/s
|
||||||
|
CHA-POLY 3 MB took 1.004 seconds, 2.821 MB/s
|
||||||
|
POLY1305 13 MB took 1.000 seconds, 12.598 MB/s
|
||||||
|
SHA-256 3 MB took 1.004 seconds, 2.602 MB/s
|
||||||
|
HMAC-SHA256 3 MB took 1.000 seconds, 2.588 MB/s
|
||||||
|
RSA 2048 public 34 ops took 1.039 sec, avg 30.559 ms, 32.724 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 3.635 sec, avg 1817.500 ms, 0.550 ops/sec
|
||||||
|
DH 2048 key gen 3 ops took 1.039 sec, avg 346.333 ms, 2.887 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 1.416 sec, avg 708.000 ms, 1.412 ops/sec
|
||||||
|
ECC 256 key gen 3 ops took 1.248 sec, avg 416.000 ms, 2.404 ops/sec
|
||||||
|
ECDHE 256 agree 4 ops took 1.662 sec, avg 415.500 ms, 2.407 ops/sec
|
||||||
|
ECDSA 256 sign 4 ops took 1.691 sec, avg 422.750 ms, 2.365 ops/sec
|
||||||
|
ECDSA 256 verify 4 ops took 1.091 sec, avg 272.750 ms, 3.666 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
## STM32L4A6Z
|
||||||
|
|
||||||
|
Supports RNG, AES-CBC/GCM and SHA-256 acceleration.
|
||||||
|
Note: HW RNG on for all tests
|
||||||
|
|
||||||
|
Board: NUCLEO-L4A6ZG
|
||||||
|
CPU: Cortex-M4 at 80 MHz
|
||||||
|
IDE: STM32CubeIDE
|
||||||
|
RTOS: FreeRTOS
|
||||||
|
|
||||||
|
### STM32L4A6Z (STM Crypto/Hash Acceleration, -Os, SP-ASM Cortex-M)
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 250 KB took 1.083 seconds, 230.840 KB/s
|
||||||
|
AES-128-CBC-enc 4 MB took 1.000 seconds, 4.175 MB/s
|
||||||
|
AES-128-CBC-dec 3 MB took 1.000 seconds, 3.442 MB/s
|
||||||
|
AES-256-CBC-enc 3 MB took 1.000 seconds, 3.247 MB/s
|
||||||
|
AES-256-CBC-dec 3 MB took 1.008 seconds, 2.664 MB/s
|
||||||
|
AES-128-GCM-enc 4 MB took 1.000 seconds, 3.589 MB/s
|
||||||
|
AES-128-GCM-dec 4 MB took 1.004 seconds, 3.575 MB/s
|
||||||
|
AES-256-GCM-enc 3 MB took 1.004 seconds, 2.869 MB/s
|
||||||
|
AES-256-GCM-dec 3 MB took 1.000 seconds, 2.856 MB/s
|
||||||
|
CHACHA 2 MB took 1.008 seconds, 2.010 MB/s
|
||||||
|
CHA-POLY 1 MB took 1.004 seconds, 1.337 MB/s
|
||||||
|
POLY1305 6 MB took 1.000 seconds, 6.030 MB/s
|
||||||
|
SHA-256 4 MB took 1.004 seconds, 3.623 MB/s
|
||||||
|
HMAC-SHA256 4 MB took 1.000 seconds, 3.540 MB/s
|
||||||
|
RSA 2048 public 36 ops took 1.020 sec, avg 28.333 ms, 35.294 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 2.031 sec, avg 1015.500 ms, 0.985 ops/sec
|
||||||
|
DH 2048 key gen 3 ops took 1.353 sec, avg 451.000 ms, 2.217 ops/sec
|
||||||
|
DH 2048 agree 4 ops took 1.804 sec, avg 451.000 ms, 2.217 ops/sec
|
||||||
|
ECC 256 key gen 33 ops took 1.011 sec, avg 30.636 ms, 32.641 ops/sec
|
||||||
|
ECDHE 256 agree 16 ops took 1.078 sec, avg 67.375 ms, 14.842 ops/sec
|
||||||
|
ECDSA 256 sign 24 ops took 1.012 sec, avg 42.167 ms, 23.715 ops/sec
|
||||||
|
ECDSA 256 verify 12 ops took 1.165 sec, avg 97.083 ms, 10.300 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
### STM32L4A6Z (No HW Crypto, -Os, FastMath)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 450 KB took 1.048 seconds, 429.389 KB/s
|
||||||
|
AES-128-CBC-enc 625 KB took 1.008 seconds, 620.040 KB/s
|
||||||
|
AES-128-CBC-dec 675 KB took 1.008 seconds, 669.643 KB/s
|
||||||
|
AES-192-CBC-enc 550 KB took 1.023 seconds, 537.634 KB/s
|
||||||
|
AES-192-CBC-dec 575 KB took 1.012 seconds, 568.182 KB/s
|
||||||
|
AES-256-CBC-enc 475 KB took 1.004 seconds, 473.108 KB/s
|
||||||
|
AES-256-CBC-dec 500 KB took 1.008 seconds, 496.032 KB/s
|
||||||
|
AES-128-GCM-enc 50 KB took 1.440 seconds, 34.722 KB/s
|
||||||
|
AES-128-GCM-dec 50 KB took 1.435 seconds, 34.843 KB/s
|
||||||
|
AES-192-GCM-enc 50 KB took 1.466 seconds, 34.106 KB/s
|
||||||
|
AES-192-GCM-dec 50 KB took 1.463 seconds, 34.176 KB/s
|
||||||
|
AES-256-GCM-enc 50 KB took 1.482 seconds, 33.738 KB/s
|
||||||
|
AES-256-GCM-dec 50 KB took 1.478 seconds, 33.829 KB/s
|
||||||
|
CHACHA 2 MB took 1.008 seconds, 2.010 MB/s
|
||||||
|
CHA-POLY 1 MB took 1.008 seconds, 1.332 MB/s
|
||||||
|
POLY1305 6 MB took 1.000 seconds, 6.006 MB/s
|
||||||
|
SHA-256 1 MB took 1.000 seconds, 1.123 MB/s
|
||||||
|
HMAC-SHA256 1 MB took 1.008 seconds, 1.114 MB/s
|
||||||
|
RSA 2048 public 16 ops took 1.028 sec, avg 64.250 ms, 15.564 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 7.491 sec, avg 3745.500 ms, 0.267 ops/sec
|
||||||
|
DH 2048 key gen 2 ops took 1.440 sec, avg 720.000 ms, 1.389 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 2.882 sec, avg 1441.000 ms, 0.694 ops/sec
|
||||||
|
ECC 256 key gen 2 ops took 1.918 sec, avg 959.000 ms, 1.043 ops/sec
|
||||||
|
ECDHE 256 agree 2 ops took 1.914 sec, avg 957.000 ms, 1.045 ops/sec
|
||||||
|
ECDSA 256 sign 2 ops took 1.941 sec, avg 970.500 ms, 1.030 ops/sec
|
||||||
|
ECDSA 256 verify 2 ops took 1.294 sec, avg 647.000 ms, 1.546 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
## STM32L562E
|
||||||
|
|
||||||
|
Supports RNG, AES-CBC/GCM and SHA-256 acceleration.
|
||||||
|
Note: HW RNG on for all tests
|
||||||
|
|
||||||
|
Board: STM32L562E-DK
|
||||||
|
CPU: Cortex-M33 at 110 MHz
|
||||||
|
IDE: STM32CubeIDE
|
||||||
|
RTOS: FreeRTOS
|
||||||
|
|
||||||
|
### STM32L562E (STM AES-CBC/Hash Acceleration, -Os, SP-ASM Cortex-M)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 150 KB took 1.105 seconds, 135.747 KB/s
|
||||||
|
AES-128-CBC-enc 4 MB took 1.000 seconds, 4.468 MB/s
|
||||||
|
AES-128-CBC-dec 4 MB took 1.000 seconds, 4.297 MB/s
|
||||||
|
AES-256-CBC-enc 4 MB took 1.000 seconds, 3.857 MB/s
|
||||||
|
AES-256-CBC-dec 4 MB took 1.004 seconds, 3.745 MB/s
|
||||||
|
AES-128-GCM-enc 4 MB took 1.000 seconds, 3.662 MB/s
|
||||||
|
AES-128-GCM-dec 4 MB took 1.004 seconds, 3.648 MB/s
|
||||||
|
AES-256-GCM-enc 3 MB took 1.004 seconds, 3.258 MB/s
|
||||||
|
AES-256-GCM-dec 3 MB took 1.000 seconds, 3.247 MB/s
|
||||||
|
CHACHA 1 MB took 1.008 seconds, 1.138 MB/s
|
||||||
|
CHA-POLY 825 KB took 1.023 seconds, 806.452 KB/s
|
||||||
|
POLY1305 4 MB took 1.000 seconds, 3.711 MB/s
|
||||||
|
SHA-256 2 MB took 1.000 seconds, 1.855 MB/s
|
||||||
|
HMAC-SHA256 2 MB took 1.008 seconds, 1.817 MB/s
|
||||||
|
RSA 2048 public 20 ops took 1.106 sec, avg 55.300 ms, 18.083 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 3.804 sec, avg 1902.000 ms, 0.526 ops/sec
|
||||||
|
DH 2048 key gen 2 ops took 1.772 sec, avg 886.000 ms, 1.129 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 1.773 sec, avg 886.500 ms, 1.128 ops/sec
|
||||||
|
ECC 256 key gen 36 ops took 1.011 sec, avg 28.083 ms, 35.608 ops/sec
|
||||||
|
ECDHE 256 agree 18 ops took 1.086 sec, avg 60.333 ms, 16.575 ops/sec
|
||||||
|
ECDSA 256 sign 22 ops took 1.004 sec, avg 45.636 ms, 21.912 ops/sec
|
||||||
|
ECDSA 256 verify 12 ops took 1.133 sec, avg 94.417 ms, 10.591 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
### STM32L562E (STM PKA ECC/AES-CBC/Hash Acceleration, -Os, SP-ASM Cortex-M)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 150 KB took 1.105 seconds, 135.747 KB/s
|
||||||
|
AES-128-CBC-enc 4 MB took 1.000 seconds, 4.468 MB/s
|
||||||
|
AES-128-CBC-dec 4 MB took 1.000 seconds, 4.297 MB/s
|
||||||
|
AES-256-CBC-enc 4 MB took 1.000 seconds, 3.857 MB/s
|
||||||
|
AES-256-CBC-dec 4 MB took 1.004 seconds, 3.745 MB/s
|
||||||
|
AES-128-GCM-enc 4 MB took 1.000 seconds, 3.662 MB/s
|
||||||
|
AES-128-GCM-dec 4 MB took 1.004 seconds, 3.648 MB/s
|
||||||
|
AES-256-GCM-enc 3 MB took 1.004 seconds, 3.258 MB/s
|
||||||
|
AES-256-GCM-dec 3 MB took 1.000 seconds, 3.247 MB/s
|
||||||
|
CHACHA 1 MB took 1.008 seconds, 1.138 MB/s
|
||||||
|
CHA-POLY 825 KB took 1.023 seconds, 806.452 KB/s
|
||||||
|
POLY1305 4 MB took 1.000 seconds, 3.711 MB/s
|
||||||
|
SHA-256 2 MB took 1.000 seconds, 1.855 MB/s
|
||||||
|
HMAC-SHA256 2 MB took 1.008 seconds, 1.817 MB/s
|
||||||
|
RSA 2048 public 20 ops took 1.106 sec, avg 55.300 ms, 18.083 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 3.804 sec, avg 1902.000 ms, 0.526 ops/sec
|
||||||
|
DH 2048 key gen 2 ops took 1.772 sec, avg 886.000 ms, 1.129 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 1.773 sec, avg 886.500 ms, 1.128 ops/sec
|
||||||
|
ECC 256 key gen 11 ops took 1.067 sec, avg 97.000 ms, 10.309 ops/sec
|
||||||
|
ECDHE 256 agree 12 ops took 1.130 sec, avg 94.167 ms, 10.619 ops/sec
|
||||||
|
ECDSA 256 sign 22 ops took 1.071 sec, avg 48.682 ms, 20.542 ops/sec
|
||||||
|
ECDSA 256 verify 12 ops took 1.125 sec, avg 93.750 ms, 10.667 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
### STM32L562E (No HW Crypto, -Os, FastMath)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 75 KB took 1.274 seconds, 58.870 KB/s
|
||||||
|
AES-128-CBC-enc 475 KB took 1.036 seconds, 458.494 KB/s
|
||||||
|
AES-128-CBC-dec 450 KB took 1.007 seconds, 446.872 KB/s
|
||||||
|
AES-192-CBC-enc 400 KB took 1.024 seconds, 390.625 KB/s
|
||||||
|
AES-192-CBC-dec 400 KB took 1.047 seconds, 382.044 KB/s
|
||||||
|
AES-256-CBC-enc 350 KB took 1.023 seconds, 342.131 KB/s
|
||||||
|
AES-256-CBC-dec 350 KB took 1.051 seconds, 333.016 KB/s
|
||||||
|
AES-128-GCM-enc 25 KB took 1.310 seconds, 19.084 KB/s
|
||||||
|
AES-128-GCM-dec 25 KB took 1.306 seconds, 19.142 KB/s
|
||||||
|
AES-192-GCM-enc 25 KB took 1.330 seconds, 18.797 KB/s
|
||||||
|
AES-192-GCM-dec 25 KB took 1.329 seconds, 18.811 KB/s
|
||||||
|
AES-256-GCM-enc 25 KB took 1.341 seconds, 18.643 KB/s
|
||||||
|
AES-256-GCM-dec 25 KB took 1.345 seconds, 18.587 KB/s
|
||||||
|
CHACHA 1 MB took 1.012 seconds, 1.230 MB/s
|
||||||
|
CHA-POLY 850 KB took 1.000 seconds, 850.000 KB/s
|
||||||
|
POLY1305 4 MB took 1.004 seconds, 3.672 MB/s
|
||||||
|
SHA-256 750 KB took 1.020 seconds, 735.294 KB/s
|
||||||
|
HMAC-SHA256 750 KB took 1.031 seconds, 727.449 KB/s
|
||||||
|
RSA 2048 public 10 ops took 1.086 sec, avg 108.600 ms, 9.208 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 12.894 sec, avg 6447.000 ms, 0.155 ops/sec
|
||||||
|
DH 2048 key gen 1 ops took 1.200 sec, avg 1200.000 ms, 0.833 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 4.867 sec, avg 2433.500 ms, 0.411 ops/sec
|
||||||
|
ECC 256 key gen 1 ops took 1.514 sec, avg 1514.000 ms, 0.661 ops/sec
|
||||||
|
ECDHE 256 agree 2 ops took 3.028 sec, avg 1514.000 ms, 0.661 ops/sec
|
||||||
|
ECDSA 256 sign 2 ops took 3.066 sec, avg 1533.000 ms, 0.652 ops/sec
|
||||||
|
ECDSA 256 verify 2 ops took 1.973 sec, avg 986.500 ms, 1.014 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
## STM32F777
|
||||||
|
|
||||||
|
Supports RNG, AES-CBC/GCM and SHA-256 acceleration.
|
||||||
|
Note: HW RNG on for all tests
|
||||||
|
|
||||||
|
Board: Custom STM32F777
|
||||||
|
CPU: Cortex-M7 at 216 MHz
|
||||||
|
IDE: STM32CubeIDE
|
||||||
|
RTOS: FreeRTOS
|
||||||
|
|
||||||
|
### STM32F777 (STM AES-CBC/Hash Acceleration, -Os, SP-ASM Cortex-M)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 525 KB took 1.012 seconds, 518.775 KB/s
|
||||||
|
AES-128-CBC-enc 8 MB took 1.000 seconds, 8.350 MB/s
|
||||||
|
AES-128-CBC-dec 8 MB took 1.000 seconds, 8.203 MB/s
|
||||||
|
AES-192-CBC-enc 8 MB took 1.000 seconds, 8.325 MB/s
|
||||||
|
AES-192-CBC-dec 8 MB took 1.000 seconds, 8.179 MB/s
|
||||||
|
AES-256-CBC-enc 8 MB took 1.000 seconds, 8.325 MB/s
|
||||||
|
AES-256-CBC-dec 8 MB took 1.000 seconds, 8.154 MB/s
|
||||||
|
AES-128-GCM-enc 6 MB took 1.000 seconds, 6.494 MB/s
|
||||||
|
AES-128-GCM-dec 6 MB took 1.000 seconds, 6.494 MB/s
|
||||||
|
AES-192-GCM-enc 6 MB took 1.000 seconds, 6.470 MB/s
|
||||||
|
AES-192-GCM-dec 6 MB took 1.000 seconds, 6.494 MB/s
|
||||||
|
AES-256-GCM-enc 6 MB took 1.000 seconds, 6.494 MB/s
|
||||||
|
AES-256-GCM-dec 6 MB took 1.000 seconds, 6.494 MB/s
|
||||||
|
CHACHA 4 MB took 1.004 seconds, 4.182 MB/s
|
||||||
|
CHA-POLY 3 MB took 1.004 seconds, 2.505 MB/s
|
||||||
|
POLY1305 9 MB took 1.000 seconds, 9.204 MB/s
|
||||||
|
SHA-256 3 MB took 1.000 seconds, 3.467 MB/s
|
||||||
|
HMAC-SHA256 3 MB took 1.004 seconds, 3.404 MB/s
|
||||||
|
RSA 2048 public 54 ops took 1.028 sec, avg 19.037 ms, 52.529 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 1.262 sec, avg 631.000 ms, 1.585 ops/sec
|
||||||
|
DH 2048 key gen 4 ops took 1.220 sec, avg 305.000 ms, 3.279 ops/sec
|
||||||
|
DH 2048 agree 4 ops took 1.215 sec, avg 303.750 ms, 3.292 ops/sec
|
||||||
|
ECC 256 key gen 130 ops took 1.000 sec, avg 7.692 ms, 130.000 ops/sec
|
||||||
|
ECDHE 256 agree 60 ops took 1.003 sec, avg 16.717 ms, 59.821 ops/sec
|
||||||
|
ECDSA 256 sign 70 ops took 1.024 sec, avg 14.629 ms, 68.359 ops/sec
|
||||||
|
ECDSA 256 verify 36 ops took 1.015 sec, avg 28.194 ms, 35.468 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
||||||
|
|
||||||
|
### STM32F777 (No HW Crypto, -Os, FastMath)
|
||||||
|
|
||||||
|
```
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfSSL version 4.4.1
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
|
||||||
|
RNG 700 KB took 1.016 seconds, 688.976 KB/s
|
||||||
|
AES-128-CBC-enc 1 MB took 1.019 seconds, 1.006 MB/s
|
||||||
|
AES-128-CBC-dec 950 KB took 1.000 seconds, 950.000 KB/s
|
||||||
|
AES-192-CBC-enc 900 KB took 1.016 seconds, 885.827 KB/s
|
||||||
|
AES-192-CBC-dec 825 KB took 1.011 seconds, 816.024 KB/s
|
||||||
|
AES-256-CBC-enc 800 KB took 1.028 seconds, 778.210 KB/s
|
||||||
|
AES-256-CBC-dec 725 KB took 1.008 seconds, 719.246 KB/s
|
||||||
|
AES-128-GCM-enc 50 KB took 1.223 seconds, 40.883 KB/s
|
||||||
|
AES-128-GCM-dec 50 KB took 1.220 seconds, 40.984 KB/s
|
||||||
|
AES-192-GCM-enc 50 KB took 1.251 seconds, 39.968 KB/s
|
||||||
|
AES-192-GCM-dec 50 KB took 1.247 seconds, 40.096 KB/s
|
||||||
|
AES-256-GCM-enc 50 KB took 1.267 seconds, 39.463 KB/s
|
||||||
|
AES-256-GCM-dec 50 KB took 1.263 seconds, 39.588 KB/s
|
||||||
|
CHACHA 4 MB took 1.000 seconds, 4.175 MB/s
|
||||||
|
CHA-POLY 2 MB took 1.000 seconds, 2.417 MB/s
|
||||||
|
POLY1305 10 MB took 1.000 seconds, 10.132 MB/s
|
||||||
|
SHA-256 2 MB took 1.000 seconds, 1.782 MB/s
|
||||||
|
HMAC-SHA256 2 MB took 1.004 seconds, 1.775 MB/s
|
||||||
|
RSA 2048 public 22 ops took 1.067 sec, avg 48.500 ms, 20.619 ops/sec
|
||||||
|
RSA 2048 private 2 ops took 5.549 sec, avg 2774.500 ms, 0.360 ops/sec
|
||||||
|
DH 2048 key gen 3 ops took 1.483 sec, avg 494.333 ms, 2.023 ops/sec
|
||||||
|
DH 2048 agree 2 ops took 1.866 sec, avg 933.000 ms, 1.072 ops/sec
|
||||||
|
ECC 256 key gen 1 ops took 1.090 sec, avg 1090.000 ms, 0.917 ops/sec
|
||||||
|
ECDHE 256 agree 2 ops took 2.180 sec, avg 1090.000 ms, 0.917 ops/sec
|
||||||
|
ECDSA 256 sign 2 ops took 2.208 sec, avg 1104.000 ms, 0.906 ops/sec
|
||||||
|
ECDSA 256 verify 2 ops took 1.463 sec, avg 731.500 ms, 1.367 ops/sec
|
||||||
|
Benchmark complete
|
||||||
|
Benchmark Test: Return code 0
|
||||||
|
```
|
@ -7,12 +7,4 @@ EXTRA_DIST+= IDE/STM32Cube/main.c
|
|||||||
EXTRA_DIST+= IDE/STM32Cube/wolfssl_example.c
|
EXTRA_DIST+= IDE/STM32Cube/wolfssl_example.c
|
||||||
EXTRA_DIST+= IDE/STM32Cube/wolfSSL.wolfSSL_conf.h
|
EXTRA_DIST+= IDE/STM32Cube/wolfSSL.wolfSSL_conf.h
|
||||||
EXTRA_DIST+= IDE/STM32Cube/wolfssl_example.h
|
EXTRA_DIST+= IDE/STM32Cube/wolfssl_example.h
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32F407.ioc
|
EXTRA_DIST+= IDE/STM32Cube/STM32_Benchmarks.md
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32F437.ioc
|
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32F777.ioc
|
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32H753.ioc
|
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32L4A6.ioc
|
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32L475.ioc
|
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32L552.ioc
|
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32L562.ioc
|
|
||||||
EXTRA_DIST+= IDE/STM32Cube/Boards/STM32WB55.ioc
|
|
||||||
|
@ -155,11 +155,20 @@ extern "C" {
|
|||||||
#elif defined(STM32L562xx)
|
#elif defined(STM32L562xx)
|
||||||
#define WOLFSSL_STM32L5
|
#define WOLFSSL_STM32L5
|
||||||
#define WOLFSSL_STM32_PKA
|
#define WOLFSSL_STM32_PKA
|
||||||
|
#undef NO_STM32_HASH
|
||||||
|
#undef NO_STM32_CRYPTO
|
||||||
#define HAL_CONSOLE_UART huart1
|
#define HAL_CONSOLE_UART huart1
|
||||||
#elif defined(STM32L552xx)
|
#elif defined(STM32L552xx)
|
||||||
#define WOLFSSL_STM32L5
|
#define WOLFSSL_STM32L5
|
||||||
#undef NO_STM32_HASH
|
#undef NO_STM32_HASH
|
||||||
#define HAL_CONSOLE_UART hlpuart1
|
#define HAL_CONSOLE_UART hlpuart1
|
||||||
|
#elif defined(STM32F207xx)
|
||||||
|
#define WOLFSSL_STM32F2
|
||||||
|
#define HAL_CONSOLE_UART huart3
|
||||||
|
#elif defined(STM32F107xC)
|
||||||
|
#define WOLFSSL_STM32F1
|
||||||
|
#define HAL_CONSOLE_UART huart4
|
||||||
|
#define NO_STM32_RNG
|
||||||
#else
|
#else
|
||||||
#warning Please define a hardware platform!
|
#warning Please define a hardware platform!
|
||||||
#define WOLFSSL_STM32F4 /* default */
|
#define WOLFSSL_STM32F4 /* default */
|
||||||
@ -325,8 +334,8 @@ extern "C" {
|
|||||||
#ifdef USE_FAST_MATH
|
#ifdef USE_FAST_MATH
|
||||||
#ifdef NO_RSA
|
#ifdef NO_RSA
|
||||||
/* Custom fastmath size if not using RSA */
|
/* Custom fastmath size if not using RSA */
|
||||||
/* MAX = ROUND32(ECC BITS 256) + SIZE_OF_MP_DIGIT(32) */
|
/* MAX = ROUND32(ECC BITS) * 2 */
|
||||||
#define FP_MAX_BITS (256 + 32)
|
#define FP_MAX_BITS (256 * 2)
|
||||||
#else
|
#else
|
||||||
#define ALT_ECC_SIZE
|
#define ALT_ECC_SIZE
|
||||||
#endif
|
#endif
|
||||||
@ -334,7 +343,7 @@ extern "C" {
|
|||||||
/* Enable TFM optimizations for ECC */
|
/* Enable TFM optimizations for ECC */
|
||||||
//#define TFM_ECC192
|
//#define TFM_ECC192
|
||||||
//#define TFM_ECC224
|
//#define TFM_ECC224
|
||||||
#define TFM_ECC256
|
//#define TFM_ECC256
|
||||||
//#define TFM_ECC384
|
//#define TFM_ECC384
|
||||||
//#define TFM_ECC521
|
//#define TFM_ECC521
|
||||||
#endif
|
#endif
|
||||||
@ -370,6 +379,8 @@ extern "C" {
|
|||||||
//#define WOLFSSL_AES_XTS
|
//#define WOLFSSL_AES_XTS
|
||||||
//#define WOLFSSL_AES_DIRECT
|
//#define WOLFSSL_AES_DIRECT
|
||||||
//#define HAVE_AES_ECB
|
//#define HAVE_AES_ECB
|
||||||
|
//#define HAVE_AES_KEYWRAP
|
||||||
|
//#define AES_MAX_KEY_SIZE 256
|
||||||
|
|
||||||
/* ChaCha20 / Poly1305 */
|
/* ChaCha20 / Poly1305 */
|
||||||
#undef HAVE_CHACHA
|
#undef HAVE_CHACHA
|
||||||
|
@ -76,6 +76,9 @@
|
|||||||
/* use non-blocking mode for read/write IO */
|
/* use non-blocking mode for read/write IO */
|
||||||
#define BENCH_USE_NONBLOCK
|
#define BENCH_USE_NONBLOCK
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef RECV_WAIT_TIMEOUT
|
||||||
|
#define RECV_WAIT_TIMEOUT 4000
|
||||||
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Private types/enumerations/variables
|
* Private types/enumerations/variables
|
||||||
@ -539,10 +542,14 @@ static int ServerMemRecv(info_t* info, char* buf, int sz)
|
|||||||
!info->client.done) {
|
!info->client.done) {
|
||||||
osSemaphoreRelease(info->server.mutex);
|
osSemaphoreRelease(info->server.mutex);
|
||||||
#ifdef CMSIS_OS2_H_
|
#ifdef CMSIS_OS2_H_
|
||||||
osThreadFlagsWait(1, osFlagsWaitAny, osWaitForever);
|
if (osThreadFlagsWait(1, osFlagsWaitAny, RECV_WAIT_TIMEOUT) == osFlagsErrorTimeout) {
|
||||||
|
return WOLFSSL_CBIO_ERR_TIMEOUT;
|
||||||
|
}
|
||||||
osSemaphoreAcquire(info->server.mutex, osWaitForever);
|
osSemaphoreAcquire(info->server.mutex, osWaitForever);
|
||||||
#else
|
#else
|
||||||
osSignalWait(1, osWaitForever);
|
if (osSignalWait(1, RECV_WAIT_TIMEOUT) == osEventTimeout) {
|
||||||
|
return WOLFSSL_CBIO_ERR_TIMEOUT;
|
||||||
|
}
|
||||||
osSemaphoreWait(info->server.mutex, osWaitForever);
|
osSemaphoreWait(info->server.mutex, osWaitForever);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -624,10 +631,14 @@ static int ClientMemRecv(info_t* info, char* buf, int sz)
|
|||||||
!info->server.done) {
|
!info->server.done) {
|
||||||
osSemaphoreRelease(info->client.mutex);
|
osSemaphoreRelease(info->client.mutex);
|
||||||
#ifdef CMSIS_OS2_H_
|
#ifdef CMSIS_OS2_H_
|
||||||
osThreadFlagsWait(1, osFlagsWaitAny, osWaitForever);
|
if (osThreadFlagsWait(1, osFlagsWaitAny, RECV_WAIT_TIMEOUT) == osFlagsErrorTimeout) {
|
||||||
|
return WOLFSSL_CBIO_ERR_TIMEOUT;
|
||||||
|
}
|
||||||
osSemaphoreAcquire(info->client.mutex, osWaitForever);
|
osSemaphoreAcquire(info->client.mutex, osWaitForever);
|
||||||
#else
|
#else
|
||||||
osSignalWait(1, osWaitForever);
|
if (osSignalWait(1, RECV_WAIT_TIMEOUT) == osEventTimeout) {
|
||||||
|
return WOLFSSL_CBIO_ERR_TIMEOUT;
|
||||||
|
}
|
||||||
osSemaphoreWait(info->client.mutex, osWaitForever);
|
osSemaphoreWait(info->client.mutex, osWaitForever);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -936,6 +947,9 @@ static void client_thread(const void* args)
|
|||||||
int ret;
|
int ret;
|
||||||
info_t* info = (info_t*)args;
|
info_t* info = (info_t*)args;
|
||||||
|
|
||||||
|
#ifdef CMSIS_OS2_H_
|
||||||
|
info->client.threadId = osThreadGetId();
|
||||||
|
#endif
|
||||||
do {
|
do {
|
||||||
ret = bench_tls_client(info);
|
ret = bench_tls_client(info);
|
||||||
|
|
||||||
@ -949,13 +963,14 @@ static void client_thread(const void* args)
|
|||||||
}
|
}
|
||||||
info->client.ret = ret;
|
info->client.ret = ret;
|
||||||
info->client.done = 1;
|
info->client.done = 1;
|
||||||
osThreadSuspend(NULL);
|
osThreadSuspend(info->client.threadId);
|
||||||
|
|
||||||
if (info->doShutdown)
|
if (info->doShutdown)
|
||||||
info->client.done = 1;
|
info->client.done = 1;
|
||||||
} while (!info->doShutdown);
|
} while (!info->doShutdown);
|
||||||
|
|
||||||
osThreadTerminate(info->client.threadId);
|
osThreadTerminate(info->client.threadId);
|
||||||
|
info->client.threadId = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int bench_tls_server(info_t* info)
|
static int bench_tls_server(info_t* info)
|
||||||
@ -1207,6 +1222,9 @@ static void server_thread(const void* args)
|
|||||||
int ret;
|
int ret;
|
||||||
info_t* info = (info_t*)args;
|
info_t* info = (info_t*)args;
|
||||||
|
|
||||||
|
#ifdef CMSIS_OS2_H_
|
||||||
|
info->server.threadId = osThreadGetId();
|
||||||
|
#endif
|
||||||
do {
|
do {
|
||||||
ret = bench_tls_server(info);
|
ret = bench_tls_server(info);
|
||||||
|
|
||||||
@ -1220,13 +1238,14 @@ static void server_thread(const void* args)
|
|||||||
}
|
}
|
||||||
info->server.ret = ret;
|
info->server.ret = ret;
|
||||||
info->server.done = 1;
|
info->server.done = 1;
|
||||||
osThreadSuspend(NULL);
|
osThreadSuspend(info->server.threadId);
|
||||||
|
|
||||||
if (info->doShutdown)
|
if (info->doShutdown)
|
||||||
info->server.done = 1;
|
info->server.done = 1;
|
||||||
} while (!info->doShutdown);
|
} while (!info->doShutdown);
|
||||||
|
|
||||||
osThreadTerminate(info->server.threadId);
|
osThreadTerminate(info->server.threadId);
|
||||||
|
info->server.threadId = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CMSIS_OS2_H_
|
#ifdef CMSIS_OS2_H_
|
||||||
@ -1343,7 +1362,7 @@ int bench_tls(void* args)
|
|||||||
/* start threads */
|
/* start threads */
|
||||||
if (info->server.threadId == 0) {
|
if (info->server.threadId == 0) {
|
||||||
#ifdef CMSIS_OS2_H_
|
#ifdef CMSIS_OS2_H_
|
||||||
info->server.threadId = osThreadNew(server_thread, info, &server_thread_attributes);
|
osThreadNew(server_thread, info, &server_thread_attributes);
|
||||||
#else
|
#else
|
||||||
info->server.threadId = osThreadCreate(&info->server.threadDef, info);
|
info->server.threadId = osThreadCreate(&info->server.threadDef, info);
|
||||||
#endif
|
#endif
|
||||||
@ -1353,7 +1372,7 @@ int bench_tls(void* args)
|
|||||||
}
|
}
|
||||||
if (info->client.threadId == 0) {
|
if (info->client.threadId == 0) {
|
||||||
#ifdef CMSIS_OS2_H_
|
#ifdef CMSIS_OS2_H_
|
||||||
info->client.threadId = osThreadNew(client_thread, info, &client_thread_attributes);
|
osThreadNew(client_thread, info, &client_thread_attributes);
|
||||||
#else
|
#else
|
||||||
info->client.threadId = osThreadCreate(&info->client.threadDef, info);
|
info->client.threadId = osThreadCreate(&info->client.threadDef, info);
|
||||||
#endif
|
#endif
|
||||||
|
@ -35,3 +35,4 @@ include IDE/RISCV/include.am
|
|||||||
include IDE/XilinxSDK/include.am
|
include IDE/XilinxSDK/include.am
|
||||||
|
|
||||||
EXTRA_DIST+= IDE/IAR-EWARM IDE/MDK-ARM IDE/MDK5-ARM IDE/MYSQL IDE/LPCXPRESSO IDE/HEXIWEAR IDE/Espressif IDE/zephyr
|
EXTRA_DIST+= IDE/IAR-EWARM IDE/MDK-ARM IDE/MDK5-ARM IDE/MYSQL IDE/LPCXPRESSO IDE/HEXIWEAR IDE/Espressif IDE/zephyr
|
||||||
|
EXTRA_DIST+= IDE/OPENSTM32/README.md
|
||||||
|
@ -288,7 +288,7 @@
|
|||||||
|
|
||||||
/* Define AES implementation includes and functions */
|
/* Define AES implementation includes and functions */
|
||||||
#if defined(STM32_CRYPTO)
|
#if defined(STM32_CRYPTO)
|
||||||
/* STM32F2/F4/F7/L4 hardware AES support for ECB, CBC, CTR and GCM modes */
|
/* STM32F2/F4/F7/L4/L5/H7/WB55 hardware AES support for ECB, CBC, CTR and GCM modes */
|
||||||
|
|
||||||
#if defined(WOLFSSL_AES_DIRECT) || defined(HAVE_AESGCM) || defined(HAVE_AESCCM)
|
#if defined(WOLFSSL_AES_DIRECT) || defined(HAVE_AESGCM) || defined(HAVE_AESCCM)
|
||||||
|
|
||||||
@ -3731,15 +3731,14 @@ int wc_AesSetIV(Aes* aes, const byte* iv)
|
|||||||
CRYP_IVInitTypeDef ivInit;
|
CRYP_IVInitTypeDef ivInit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ret = wolfSSL_CryptHwMutexLock();
|
#ifdef WOLFSSL_STM32_CUBEMX
|
||||||
|
ret = wc_Stm32_Aes_Init(aes, &hcryp);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WOLFSSL_STM32_CUBEMX
|
ret = wolfSSL_CryptHwMutexLock();
|
||||||
ret = wc_Stm32_Aes_Init(aes, &hcryp);
|
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
wolfSSL_CryptHwMutexUnLock();
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3775,7 +3774,11 @@ int wc_AesSetIV(Aes* aes, const byte* iv)
|
|||||||
#else /* Standard Peripheral Library */
|
#else /* Standard Peripheral Library */
|
||||||
ret = wc_Stm32_Aes_Init(aes, &cryptInit, &keyInit);
|
ret = wc_Stm32_Aes_Init(aes, &cryptInit, &keyInit);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
wolfSSL_CryptHwMutexUnLock();
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
ret = wolfSSL_CryptHwMutexLock();
|
||||||
|
if (ret != 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3820,7 +3823,6 @@ int wc_AesSetIV(Aes* aes, const byte* iv)
|
|||||||
|
|
||||||
/* disable crypto processor */
|
/* disable crypto processor */
|
||||||
CRYP_Cmd(DISABLE);
|
CRYP_Cmd(DISABLE);
|
||||||
|
|
||||||
#endif /* WOLFSSL_STM32_CUBEMX */
|
#endif /* WOLFSSL_STM32_CUBEMX */
|
||||||
|
|
||||||
wolfSSL_CryptHwMutexUnLock();
|
wolfSSL_CryptHwMutexUnLock();
|
||||||
@ -4024,18 +4026,6 @@ static WC_INLINE void IncrementGcmCounter(byte* inOutCtr)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef STM32_CRYPTO_AES_GCM
|
|
||||||
static WC_INLINE void DecrementGcmCounter(byte* inOutCtr)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
|
|
||||||
/* in network byte order so start at end and work back */
|
|
||||||
for (i = AES_BLOCK_SIZE - 1; i >= AES_BLOCK_SIZE - CTR_SZ; i--) {
|
|
||||||
if (--inOutCtr[i] != 0xFF) /* we're done unless we underflow */
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif /* STM32_CRYPTO_AES_GCM */
|
|
||||||
#endif /* !FREESCALE_LTC_AES_GCM */
|
#endif /* !FREESCALE_LTC_AES_GCM */
|
||||||
|
|
||||||
#if defined(GCM_SMALL) || defined(GCM_TABLE)
|
#if defined(GCM_SMALL) || defined(GCM_TABLE)
|
||||||
@ -4145,7 +4135,11 @@ int wc_AesGcmSetKey(Aes* aes, const byte* key, word32 len)
|
|||||||
|
|
||||||
#if !defined(FREESCALE_LTC_AES_GCM)
|
#if !defined(FREESCALE_LTC_AES_GCM)
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
wc_AesEncrypt(aes, iv, aes->H);
|
ret = wolfSSL_CryptHwMutexLock();
|
||||||
|
if (ret == 0) {
|
||||||
|
wc_AesEncrypt(aes, iv, aes->H);
|
||||||
|
wolfSSL_CryptHwMutexUnLock();
|
||||||
|
}
|
||||||
#ifdef GCM_TABLE
|
#ifdef GCM_TABLE
|
||||||
GenerateM0(aes);
|
GenerateM0(aes);
|
||||||
#endif /* GCM_TABLE */
|
#endif /* GCM_TABLE */
|
||||||
@ -5924,6 +5918,7 @@ static int wc_AesGcmEncrypt_STM32(Aes* aes, byte* out, const byte* in, word32 sz
|
|||||||
#endif
|
#endif
|
||||||
word32 partial = sz % AES_BLOCK_SIZE;
|
word32 partial = sz % AES_BLOCK_SIZE;
|
||||||
word32 tag[AES_BLOCK_SIZE/sizeof(word32)];
|
word32 tag[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
|
word32 ctrInit[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
word32 ctr[AES_BLOCK_SIZE/sizeof(word32)];
|
word32 ctr[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
word32 authhdr[AES_BLOCK_SIZE/sizeof(word32)];
|
word32 authhdr[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
byte* authInPadded = NULL;
|
byte* authInPadded = NULL;
|
||||||
@ -5953,8 +5948,7 @@ static int wc_AesGcmEncrypt_STM32(Aes* aes, byte* out, const byte* in, word32 sz
|
|||||||
else {
|
else {
|
||||||
GHASH(aes, NULL, 0, iv, ivSz, (byte*)ctr, AES_BLOCK_SIZE);
|
GHASH(aes, NULL, 0, iv, ivSz, (byte*)ctr, AES_BLOCK_SIZE);
|
||||||
}
|
}
|
||||||
/* Hardware requires counter + 1 */
|
XMEMCPY(ctrInit, ctr, sizeof(ctr)); /* save off initial counter for GMAC */
|
||||||
IncrementGcmCounter((byte*)ctr);
|
|
||||||
|
|
||||||
/* Authentication buffer - must be 4-byte multiple zero padded */
|
/* Authentication buffer - must be 4-byte multiple zero padded */
|
||||||
authPadSz = authInSz % sizeof(word32);
|
authPadSz = authInSz % sizeof(word32);
|
||||||
@ -5979,6 +5973,9 @@ static int wc_AesGcmEncrypt_STM32(Aes* aes, byte* out, const byte* in, word32 sz
|
|||||||
authInPadded = (byte*)authIn;
|
authInPadded = (byte*)authIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hardware requires counter + 1 */
|
||||||
|
IncrementGcmCounter((byte*)ctr);
|
||||||
|
|
||||||
#ifdef WOLFSSL_STM32_CUBEMX
|
#ifdef WOLFSSL_STM32_CUBEMX
|
||||||
hcryp.Init.pInitVect = (STM_CRYPT_TYPE*)ctr;
|
hcryp.Init.pInitVect = (STM_CRYPT_TYPE*)ctr;
|
||||||
hcryp.Init.Header = (STM_CRYPT_TYPE*)authInPadded;
|
hcryp.Init.Header = (STM_CRYPT_TYPE*)authInPadded;
|
||||||
@ -6078,9 +6075,8 @@ static int wc_AesGcmEncrypt_STM32(Aes* aes, byte* out, const byte* in, word32 sz
|
|||||||
if (authTag) {
|
if (authTag) {
|
||||||
/* For STM32 GCM fallback to software if partial AES block or IV != 12 */
|
/* For STM32 GCM fallback to software if partial AES block or IV != 12 */
|
||||||
if (sz == 0 || partial != 0 || ivSz != GCM_NONCE_MID_SZ) {
|
if (sz == 0 || partial != 0 || ivSz != GCM_NONCE_MID_SZ) {
|
||||||
DecrementGcmCounter((byte*)ctr); /* hardware requires +1, so subtract it */
|
|
||||||
GHASH(aes, authIn, authInSz, out, sz, authTag, authTagSz);
|
GHASH(aes, authIn, authInSz, out, sz, authTag, authTagSz);
|
||||||
wc_AesEncrypt(aes, (byte*)ctr, (byte*)tag);
|
wc_AesEncrypt(aes, (byte*)ctrInit, (byte*)tag);
|
||||||
xorbuf(authTag, tag, authTagSz);
|
xorbuf(authTag, tag, authTagSz);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -6368,6 +6364,7 @@ static int wc_AesGcmDecrypt_STM32(Aes* aes, byte* out,
|
|||||||
word32 tag[AES_BLOCK_SIZE/sizeof(word32)];
|
word32 tag[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
word32 partialBlock[AES_BLOCK_SIZE/sizeof(word32)];
|
word32 partialBlock[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
word32 ctr[AES_BLOCK_SIZE/sizeof(word32)];
|
word32 ctr[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
|
word32 ctrInit[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
word32 authhdr[AES_BLOCK_SIZE/sizeof(word32)];
|
word32 authhdr[AES_BLOCK_SIZE/sizeof(word32)];
|
||||||
byte* authInPadded = NULL;
|
byte* authInPadded = NULL;
|
||||||
int authPadSz, wasAlloc = 0;
|
int authPadSz, wasAlloc = 0;
|
||||||
@ -6396,8 +6393,7 @@ static int wc_AesGcmDecrypt_STM32(Aes* aes, byte* out,
|
|||||||
else {
|
else {
|
||||||
GHASH(aes, NULL, 0, iv, ivSz, (byte*)ctr, AES_BLOCK_SIZE);
|
GHASH(aes, NULL, 0, iv, ivSz, (byte*)ctr, AES_BLOCK_SIZE);
|
||||||
}
|
}
|
||||||
/* Hardware requires counter + 1 */
|
XMEMCPY(ctrInit, ctr, sizeof(ctr)); /* save off initial counter for GMAC */
|
||||||
IncrementGcmCounter((byte*)ctr);
|
|
||||||
|
|
||||||
/* Authentication buffer - must be 4-byte multiple zero padded */
|
/* Authentication buffer - must be 4-byte multiple zero padded */
|
||||||
authPadSz = authInSz % sizeof(word32);
|
authPadSz = authInSz % sizeof(word32);
|
||||||
@ -6422,6 +6418,9 @@ static int wc_AesGcmDecrypt_STM32(Aes* aes, byte* out,
|
|||||||
authInPadded = (byte*)authIn;
|
authInPadded = (byte*)authIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hardware requires counter + 1 */
|
||||||
|
IncrementGcmCounter((byte*)ctr);
|
||||||
|
|
||||||
#ifdef WOLFSSL_STM32_CUBEMX
|
#ifdef WOLFSSL_STM32_CUBEMX
|
||||||
hcryp.Init.pInitVect = (STM_CRYPT_TYPE*)ctr;
|
hcryp.Init.pInitVect = (STM_CRYPT_TYPE*)ctr;
|
||||||
hcryp.Init.Header = (STM_CRYPT_TYPE*)authInPadded;
|
hcryp.Init.Header = (STM_CRYPT_TYPE*)authInPadded;
|
||||||
@ -6523,9 +6522,8 @@ static int wc_AesGcmDecrypt_STM32(Aes* aes, byte* out,
|
|||||||
|
|
||||||
/* For STM32 GCM fallback to software if partial AES block or IV != 12 */
|
/* For STM32 GCM fallback to software if partial AES block or IV != 12 */
|
||||||
if (sz == 0 || partial != 0 || ivSz != GCM_NONCE_MID_SZ) {
|
if (sz == 0 || partial != 0 || ivSz != GCM_NONCE_MID_SZ) {
|
||||||
DecrementGcmCounter((byte*)ctr); /* hardware requires +1, so subtract it */
|
|
||||||
GHASH(aes, authIn, authInSz, in, sz, (byte*)tag, sizeof(tag));
|
GHASH(aes, authIn, authInSz, in, sz, (byte*)tag, sizeof(tag));
|
||||||
wc_AesEncrypt(aes, (byte*)ctr, (byte*)partialBlock);
|
wc_AesEncrypt(aes, (byte*)ctrInit, (byte*)partialBlock);
|
||||||
xorbuf(tag, partialBlock, sizeof(tag));
|
xorbuf(tag, partialBlock, sizeof(tag));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -440,32 +440,27 @@ static const uint8_t stm32_ecc192_prime[ECC192_KEYSIZE] = {
|
|||||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
||||||
};
|
};
|
||||||
static const uint32_t stm32_ecc192_coef_sign = 1U;
|
static const uint32_t stm32_ecc192_coef_sign = 1U;
|
||||||
|
|
||||||
static const uint8_t stm32_ecc192_coef[ECC192_KEYSIZE] = {
|
static const uint8_t stm32_ecc192_coef[ECC192_KEYSIZE] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t stm32_ecc192_pointX[ECC192_KEYSIZE] = {
|
static const uint8_t stm32_ecc192_pointX[ECC192_KEYSIZE] = {
|
||||||
0x18, 0x8D, 0xA8, 0x0E, 0xB0, 0x30, 0x90, 0xF6,
|
0x18, 0x8D, 0xA8, 0x0E, 0xB0, 0x30, 0x90, 0xF6,
|
||||||
0x7C, 0xBF, 0x20, 0xEB, 0x43, 0xA1, 0x88, 0x00,
|
0x7C, 0xBF, 0x20, 0xEB, 0x43, 0xA1, 0x88, 0x00,
|
||||||
0xF4, 0xFF, 0x0A, 0xFD, 0x82, 0xFF, 0x10, 0x12
|
0xF4, 0xFF, 0x0A, 0xFD, 0x82, 0xFF, 0x10, 0x12
|
||||||
};
|
};
|
||||||
|
static const uint8_t stm32_ecc192_pointY[ECC192_KEYSIZE] = {
|
||||||
const uint8_t stm32_ecc192_pointY[ECC192_KEYSIZE] = {
|
|
||||||
0x07, 0x19, 0x2B, 0x95, 0xFF, 0xC8, 0xDA, 0x78,
|
0x07, 0x19, 0x2B, 0x95, 0xFF, 0xC8, 0xDA, 0x78,
|
||||||
0x63, 0x10, 0x11, 0xED, 0x6B, 0x24, 0xCD, 0xD5,
|
0x63, 0x10, 0x11, 0xED, 0x6B, 0x24, 0xCD, 0xD5,
|
||||||
0x73, 0xF9, 0x77, 0xA1, 0x1E, 0x79, 0x48, 0x11
|
0x73, 0xF9, 0x77, 0xA1, 0x1E, 0x79, 0x48, 0x11
|
||||||
};
|
};
|
||||||
|
static const uint8_t stm32_ecc192_order[ECC192_KEYSIZE] = {
|
||||||
const uint8_t stm32_ecc192_order[ECC192_KEYSIZE] = {
|
|
||||||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
0xFF, 0xFF, 0xFF, 0xFF, 0x99, 0xDE, 0xF8, 0x36,
|
0xFF, 0xFF, 0xFF, 0xFF, 0x99, 0xDE, 0xF8, 0x36,
|
||||||
0x14, 0x6B, 0xC9, 0xB1, 0xB4, 0xD2, 0x28, 0x31
|
0x14, 0x6B, 0xC9, 0xB1, 0xB4, 0xD2, 0x28, 0x31
|
||||||
};
|
};
|
||||||
const uint32_t stm32_ecc192_cofactor = 1U;
|
static const uint32_t stm32_ecc192_cofactor = 1U;
|
||||||
|
|
||||||
#endif /* ECC192 */
|
#endif /* ECC192 */
|
||||||
|
|
||||||
/* P-224 */
|
/* P-224 */
|
||||||
@ -478,38 +473,37 @@ static const uint8_t stm32_ecc224_prime[ECC224_KEYSIZE] = {
|
|||||||
0x00, 0x00, 0x00, 0x01
|
0x00, 0x00, 0x00, 0x01
|
||||||
};
|
};
|
||||||
static const uint32_t stm32_ecc224_coef_sign = 1U;
|
static const uint32_t stm32_ecc224_coef_sign = 1U;
|
||||||
|
|
||||||
static const uint8_t stm32_ecc224_coef[ECC224_KEYSIZE] = {
|
static const uint8_t stm32_ecc224_coef[ECC224_KEYSIZE] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x03
|
0x00, 0x00, 0x00, 0x03
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t stm32_ecc224_pointX[ECC224_KEYSIZE] = {
|
static const uint8_t stm32_ecc224_pointX[ECC224_KEYSIZE] = {
|
||||||
0xB7, 0x0E, 0x0C, 0xBD, 0x6B, 0xB4, 0xBF, 0x7F,
|
0xB7, 0x0E, 0x0C, 0xBD, 0x6B, 0xB4, 0xBF, 0x7F,
|
||||||
0x32, 0x13, 0x90, 0xB9, 0x4A, 0x03, 0xC1, 0xD3,
|
0x32, 0x13, 0x90, 0xB9, 0x4A, 0x03, 0xC1, 0xD3,
|
||||||
0x56, 0xC2, 0x11, 0x22, 0x34, 0x32, 0x80, 0xD6,
|
0x56, 0xC2, 0x11, 0x22, 0x34, 0x32, 0x80, 0xD6,
|
||||||
0x11, 0x5C, 0x1D, 0x21
|
0x11, 0x5C, 0x1D, 0x21
|
||||||
};
|
};
|
||||||
|
static const uint8_t stm32_ecc224_pointY[ECC224_KEYSIZE] = {
|
||||||
const uint8_t stm32_ecc224_pointY[ECC224_KEYSIZE] = {
|
|
||||||
0xBD, 0x37, 0x63, 0x88, 0xB5, 0xF7, 0x23, 0xFB,
|
0xBD, 0x37, 0x63, 0x88, 0xB5, 0xF7, 0x23, 0xFB,
|
||||||
0x4C, 0x22, 0xDF, 0xE6, 0xCD, 0x43, 0x75, 0xA0,
|
0x4C, 0x22, 0xDF, 0xE6, 0xCD, 0x43, 0x75, 0xA0,
|
||||||
0x5A, 0x07, 0x47, 0x64, 0x44, 0xD5, 0x81, 0x99,
|
0x5A, 0x07, 0x47, 0x64, 0x44, 0xD5, 0x81, 0x99,
|
||||||
0x85, 0x00, 0x7E, 0x34
|
0x85, 0x00, 0x7E, 0x34
|
||||||
};
|
};
|
||||||
|
static const uint8_t stm32_ecc224_order[ECC224_KEYSIZE] = {
|
||||||
const uint8_t stm32_ecc224_order[ECC224_KEYSIZE] = {
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x16, 0xA2,
|
||||||
|
0xE0, 0xB8, 0xF0, 0x3E, 0x13, 0xDD, 0x29, 0x45,
|
||||||
|
0x5C, 0x5C, 0x2A, 0x3D
|
||||||
};
|
};
|
||||||
const uint32_t stm32_ecc224_cofactor = 1U;
|
static const uint32_t stm32_ecc224_cofactor = 1U;
|
||||||
|
|
||||||
#endif /* ECC224 */
|
#endif /* ECC224 */
|
||||||
|
|
||||||
/* P-256 */
|
/* P-256 */
|
||||||
#ifdef ECC256
|
#ifdef ECC256
|
||||||
#define ECC256_KEYSIZE (32)
|
#define ECC256_KEYSIZE (32)
|
||||||
|
|
||||||
static const uint8_t stm32_ecc256_prime[ECC256_KEYSIZE] = {
|
static const uint8_t stm32_ecc256_prime[ECC256_KEYSIZE] = {
|
||||||
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x01,
|
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x01,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
@ -517,42 +511,37 @@ static const uint8_t stm32_ecc256_prime[ECC256_KEYSIZE] = {
|
|||||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
||||||
};
|
};
|
||||||
static const uint32_t stm32_ecc256_coef_sign = 1U;
|
static const uint32_t stm32_ecc256_coef_sign = 1U;
|
||||||
|
|
||||||
static const uint8_t stm32_ecc256_coef[ECC256_KEYSIZE] = {
|
static const uint8_t stm32_ecc256_coef[ECC256_KEYSIZE] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t stm32_ecc256_pointX[ECC256_KEYSIZE] = {
|
static const uint8_t stm32_ecc256_pointX[ECC256_KEYSIZE] = {
|
||||||
0x6b, 0x17, 0xd1, 0xf2, 0xe1, 0x2c, 0x42, 0x47,
|
0x6b, 0x17, 0xd1, 0xf2, 0xe1, 0x2c, 0x42, 0x47,
|
||||||
0xf8, 0xbc, 0xe6, 0xe5, 0x63, 0xa4, 0x40, 0xf2,
|
0xf8, 0xbc, 0xe6, 0xe5, 0x63, 0xa4, 0x40, 0xf2,
|
||||||
0x77, 0x03, 0x7d, 0x81, 0x2d, 0xeb, 0x33, 0xa0,
|
0x77, 0x03, 0x7d, 0x81, 0x2d, 0xeb, 0x33, 0xa0,
|
||||||
0xf4, 0xa1, 0x39, 0x45, 0xd8, 0x98, 0xc2, 0x96
|
0xf4, 0xa1, 0x39, 0x45, 0xd8, 0x98, 0xc2, 0x96
|
||||||
};
|
};
|
||||||
|
static const uint8_t stm32_ecc256_pointY[ECC256_KEYSIZE] = {
|
||||||
const uint8_t stm32_ecc256_pointY[ECC256_KEYSIZE] = {
|
|
||||||
0x4f, 0xe3, 0x42, 0xe2, 0xfe, 0x1a, 0x7f, 0x9b,
|
0x4f, 0xe3, 0x42, 0xe2, 0xfe, 0x1a, 0x7f, 0x9b,
|
||||||
0x8e, 0xe7, 0xeb, 0x4a, 0x7c, 0x0f, 0x9e, 0x16,
|
0x8e, 0xe7, 0xeb, 0x4a, 0x7c, 0x0f, 0x9e, 0x16,
|
||||||
0x2b, 0xce, 0x33, 0x57, 0x6b, 0x31, 0x5e, 0xce,
|
0x2b, 0xce, 0x33, 0x57, 0x6b, 0x31, 0x5e, 0xce,
|
||||||
0xcb, 0xb6, 0x40, 0x68, 0x37, 0xbf, 0x51, 0xf5
|
0xcb, 0xb6, 0x40, 0x68, 0x37, 0xbf, 0x51, 0xf5
|
||||||
};
|
};
|
||||||
|
static const uint8_t stm32_ecc256_order[ECC256_KEYSIZE] = {
|
||||||
const uint8_t stm32_ecc256_order[ECC256_KEYSIZE] = {
|
|
||||||
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
|
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
|
||||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
0xbc, 0xe6, 0xfa, 0xad, 0xa7, 0x17, 0x9e, 0x84,
|
0xbc, 0xe6, 0xfa, 0xad, 0xa7, 0x17, 0x9e, 0x84,
|
||||||
0xf3, 0xb9, 0xca, 0xc2, 0xfc, 0x63, 0x25, 0x51
|
0xf3, 0xb9, 0xca, 0xc2, 0xfc, 0x63, 0x25, 0x51
|
||||||
};
|
};
|
||||||
const uint32_t stm32_ecc256_cofactor = 1U;
|
static const uint32_t stm32_ecc256_cofactor = 1U;
|
||||||
|
|
||||||
#endif /* ECC256 */
|
#endif /* ECC256 */
|
||||||
|
|
||||||
/* P-384 */
|
/* P-384 */
|
||||||
#ifdef ECC384
|
#ifdef ECC384
|
||||||
#define ECC384_KEYSIZE (48)
|
#define ECC384_KEYSIZE (48)
|
||||||
|
|
||||||
static const uint8_t stm32_ecc384_prime[ECC384_KEYSIZE] = {
|
static const uint8_t stm32_ecc384_prime[ECC384_KEYSIZE] = {
|
||||||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
@ -562,7 +551,6 @@ static const uint8_t stm32_ecc384_prime[ECC384_KEYSIZE] = {
|
|||||||
0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF
|
||||||
};
|
};
|
||||||
static const uint32_t stm32_ecc384_coef_sign = 1U;
|
static const uint32_t stm32_ecc384_coef_sign = 1U;
|
||||||
|
|
||||||
static const uint8_t stm32_ecc384_coef[ECC384_KEYSIZE] = {
|
static const uint8_t stm32_ecc384_coef[ECC384_KEYSIZE] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
@ -571,7 +559,6 @@ static const uint8_t stm32_ecc384_coef[ECC384_KEYSIZE] = {
|
|||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t stm32_ecc384_pointX[ECC384_KEYSIZE] = {
|
static const uint8_t stm32_ecc384_pointX[ECC384_KEYSIZE] = {
|
||||||
0xAA, 0x87, 0xCA, 0x22, 0xBE, 0x8B, 0x05, 0x37,
|
0xAA, 0x87, 0xCA, 0x22, 0xBE, 0x8B, 0x05, 0x37,
|
||||||
0x8E, 0xB1, 0xC7, 0x1E, 0xF3, 0x20, 0xAD, 0x74,
|
0x8E, 0xB1, 0xC7, 0x1E, 0xF3, 0x20, 0xAD, 0x74,
|
||||||
@ -580,8 +567,7 @@ static const uint8_t stm32_ecc384_pointX[ECC384_KEYSIZE] = {
|
|||||||
0x55, 0x02, 0xF2, 0x5D, 0xBF, 0x55, 0x29, 0x6C,
|
0x55, 0x02, 0xF2, 0x5D, 0xBF, 0x55, 0x29, 0x6C,
|
||||||
0x3A, 0x54, 0x5E, 0x38, 0x72, 0x76, 0x0A, 0xB7,
|
0x3A, 0x54, 0x5E, 0x38, 0x72, 0x76, 0x0A, 0xB7,
|
||||||
};
|
};
|
||||||
|
static const uint8_t stm32_ecc384_pointY[ECC384_KEYSIZE] = {
|
||||||
const uint8_t stm32_ecc384_pointY[ECC384_KEYSIZE] = {
|
|
||||||
0x36, 0x17, 0xDE, 0x4A, 0x96, 0x26, 0x2C, 0x6F,
|
0x36, 0x17, 0xDE, 0x4A, 0x96, 0x26, 0x2C, 0x6F,
|
||||||
0x5D, 0x9E, 0x98, 0xBF, 0x92, 0x92, 0xDC, 0x29,
|
0x5D, 0x9E, 0x98, 0xBF, 0x92, 0x92, 0xDC, 0x29,
|
||||||
0xF8, 0xF4, 0x1D, 0xBD, 0x28, 0x9A, 0x14, 0x7C,
|
0xF8, 0xF4, 0x1D, 0xBD, 0x28, 0x9A, 0x14, 0x7C,
|
||||||
@ -589,12 +575,17 @@ const uint8_t stm32_ecc384_pointY[ECC384_KEYSIZE] = {
|
|||||||
0x0A, 0x60, 0xB1, 0xCE, 0x1D, 0x7E, 0x81, 0x9D,
|
0x0A, 0x60, 0xB1, 0xCE, 0x1D, 0x7E, 0x81, 0x9D,
|
||||||
0x7A, 0x43, 0x1D, 0x7C, 0x90, 0xEA, 0x0E, 0x5F,
|
0x7A, 0x43, 0x1D, 0x7C, 0x90, 0xEA, 0x0E, 0x5F,
|
||||||
};
|
};
|
||||||
|
static const uint8_t stm32_ecc384_order[ECC384_KEYSIZE] = {
|
||||||
const uint8_t stm32_ecc384_order[ECC384_KEYSIZE] = {
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
|
0xC7, 0x63, 0x4D, 0x81, 0xF4, 0x37, 0x2D, 0xDF,
|
||||||
|
0x58, 0x1A, 0x0D, 0xB2, 0x48, 0xB0, 0xA7, 0x7A,
|
||||||
|
0xEC, 0xEC, 0x19, 0x6A, 0xCC, 0xC5, 0x29, 0x73
|
||||||
};
|
};
|
||||||
const uint32_t stm32_ecc384_cofactor = 1U;
|
static const uint32_t stm32_ecc384_cofactor = 1U;
|
||||||
|
|
||||||
#endif /* ECC384 */
|
#endif /* ECC384 */
|
||||||
|
|
||||||
static int stm32_get_ecc_specs(const uint8_t **prime, const uint8_t **coef,
|
static int stm32_get_ecc_specs(const uint8_t **prime, const uint8_t **coef,
|
||||||
const uint32_t **coef_sign, const uint8_t **GenPointX, const uint8_t **GenPointY,
|
const uint32_t **coef_sign, const uint8_t **GenPointX, const uint8_t **GenPointY,
|
||||||
const uint8_t **order, int size)
|
const uint8_t **order, int size)
|
||||||
@ -615,6 +606,7 @@ static int stm32_get_ecc_specs(const uint8_t **prime, const uint8_t **coef,
|
|||||||
*GenPointX = stm32_ecc224_pointX;
|
*GenPointX = stm32_ecc224_pointX;
|
||||||
*GenPointY = stm32_ecc224_pointY;
|
*GenPointY = stm32_ecc224_pointY;
|
||||||
*coef_sign = &stm32_ecc224_coef;
|
*coef_sign = &stm32_ecc224_coef;
|
||||||
|
*order = stm32_ecc224_order;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC192
|
#ifdef ECC192
|
||||||
@ -624,6 +616,7 @@ static int stm32_get_ecc_specs(const uint8_t **prime, const uint8_t **coef,
|
|||||||
*GenPointX = stm32_ecc192_pointX;
|
*GenPointX = stm32_ecc192_pointX;
|
||||||
*GenPointY = stm32_ecc192_pointY;
|
*GenPointY = stm32_ecc192_pointY;
|
||||||
*coef_sign = &stm32_ecc192_coef;
|
*coef_sign = &stm32_ecc192_coef;
|
||||||
|
*order = stm32_ecc192_order;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC384
|
#ifdef ECC384
|
||||||
@ -633,6 +626,7 @@ static int stm32_get_ecc_specs(const uint8_t **prime, const uint8_t **coef,
|
|||||||
*GenPointX = stm32_ecc384_pointX;
|
*GenPointX = stm32_ecc384_pointX;
|
||||||
*GenPointY = stm32_ecc384_pointY;
|
*GenPointY = stm32_ecc384_pointY;
|
||||||
*coef_sign = &stm32_ecc384_coef;
|
*coef_sign = &stm32_ecc384_coef;
|
||||||
|
*order = stm32_ecc384_order;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
|
@ -823,33 +823,31 @@ char* wc_strsep(char **stringp, const char *delim)
|
|||||||
static wolfSSL_Mutex wcCryptHwMutex;
|
static wolfSSL_Mutex wcCryptHwMutex;
|
||||||
static int wcCryptHwMutexInit = 0;
|
static int wcCryptHwMutexInit = 0;
|
||||||
|
|
||||||
int wolfSSL_CryptHwMutexInit(void) {
|
int wolfSSL_CryptHwMutexInit(void)
|
||||||
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
if(wcCryptHwMutexInit == 0) {
|
if (wcCryptHwMutexInit == 0) {
|
||||||
ret = wc_InitMutex(&wcCryptHwMutex);
|
ret = wc_InitMutex(&wcCryptHwMutex);
|
||||||
if(ret == 0) {
|
if (ret == 0) {
|
||||||
wcCryptHwMutexInit = 1;
|
wcCryptHwMutexInit = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
int wolfSSL_CryptHwMutexLock(void)
|
||||||
int wolfSSL_CryptHwMutexLock(void) {
|
{
|
||||||
int ret = BAD_MUTEX_E;
|
int ret = BAD_MUTEX_E;
|
||||||
|
|
||||||
/* Make sure HW Mutex has been initialized */
|
/* Make sure HW Mutex has been initialized */
|
||||||
wolfSSL_CryptHwMutexInit();
|
ret = wolfSSL_CryptHwMutexInit();
|
||||||
|
if (ret == 0) {
|
||||||
if(wcCryptHwMutexInit) {
|
|
||||||
ret = wc_LockMutex(&wcCryptHwMutex);
|
ret = wc_LockMutex(&wcCryptHwMutex);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
int wolfSSL_CryptHwMutexUnLock(void)
|
||||||
int wolfSSL_CryptHwMutexUnLock(void) {
|
{
|
||||||
int ret = BAD_MUTEX_E;
|
int ret = BAD_MUTEX_E;
|
||||||
|
if (wcCryptHwMutexInit) {
|
||||||
if(wcCryptHwMutexInit) {
|
|
||||||
ret = wc_UnLockMutex(&wcCryptHwMutex);
|
ret = wc_UnLockMutex(&wcCryptHwMutex);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -1255,7 +1255,9 @@ extern void uITRON4_free(void *p) ;
|
|||||||
#endif
|
#endif
|
||||||
#define NO_OLD_RNGNAME
|
#define NO_OLD_RNGNAME
|
||||||
#ifdef WOLFSSL_STM32_CUBEMX
|
#ifdef WOLFSSL_STM32_CUBEMX
|
||||||
#if defined(WOLFSSL_STM32F2)
|
#if defined(WOLFSSL_STM32F1)
|
||||||
|
#include "stm32f1xx_hal.h"
|
||||||
|
#elif defined(WOLFSSL_STM32F2)
|
||||||
#include "stm32f2xx_hal.h"
|
#include "stm32f2xx_hal.h"
|
||||||
#elif defined(WOLFSSL_STM32L5)
|
#elif defined(WOLFSSL_STM32L5)
|
||||||
#include "stm32l5xx_hal.h"
|
#include "stm32l5xx_hal.h"
|
||||||
|
Reference in New Issue
Block a user