2021-01-06 00:58:55 +01:00
|
|
|
#MicroXplorer Configuration settings - do not modify
|
2021-10-29 21:46:51 +02:00
|
|
|
Dma.Request0=SPI2_RX
|
|
|
|
Dma.Request1=SPI2_TX
|
|
|
|
Dma.RequestsNb=2
|
|
|
|
Dma.SPI2_RX.0.Direction=DMA_PERIPH_TO_MEMORY
|
2021-01-06 00:58:55 +01:00
|
|
|
Dma.SPI2_RX.0.Instance=DMA1_Channel4
|
2021-10-29 21:46:51 +02:00
|
|
|
Dma.SPI2_RX.0.MemDataAlignment=DMA_MDATAALIGN_BYTE
|
|
|
|
Dma.SPI2_RX.0.MemInc=DMA_MINC_ENABLE
|
2021-01-06 00:58:55 +01:00
|
|
|
Dma.SPI2_RX.0.Mode=DMA_NORMAL
|
2021-10-29 21:46:51 +02:00
|
|
|
Dma.SPI2_RX.0.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
|
|
|
|
Dma.SPI2_RX.0.PeriphInc=DMA_PINC_DISABLE
|
|
|
|
Dma.SPI2_RX.0.Priority=DMA_PRIORITY_LOW
|
|
|
|
Dma.SPI2_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
|
|
|
|
Dma.SPI2_TX.1.Direction=DMA_MEMORY_TO_PERIPH
|
|
|
|
Dma.SPI2_TX.1.Instance=DMA1_Channel5
|
|
|
|
Dma.SPI2_TX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE
|
|
|
|
Dma.SPI2_TX.1.MemInc=DMA_MINC_ENABLE
|
|
|
|
Dma.SPI2_TX.1.Mode=DMA_NORMAL
|
|
|
|
Dma.SPI2_TX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
|
2021-01-06 00:58:55 +01:00
|
|
|
Dma.SPI2_TX.1.PeriphInc=DMA_PINC_DISABLE
|
2021-10-29 21:46:51 +02:00
|
|
|
Dma.SPI2_TX.1.Priority=DMA_PRIORITY_LOW
|
2021-01-06 00:58:55 +01:00
|
|
|
Dma.SPI2_TX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
|
2021-10-29 21:46:51 +02:00
|
|
|
FREERTOS.FootprintOK=true
|
|
|
|
FREERTOS.HEAP_NUMBER=1
|
2021-10-29 21:53:09 +02:00
|
|
|
FREERTOS.IPParameters=Tasks01,configCHECK_FOR_STACK_OVERFLOW,FootprintOK,HEAP_NUMBER,configRECORD_STACK_HIGH_ADDRESS,configUSE_MALLOC_FAILED_HOOK,configTOTAL_HEAP_SIZE
|
2021-10-29 21:46:51 +02:00
|
|
|
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL;sensor,24,512,sensorTask,As external,NULL,Dynamic,NULL,NULL
|
|
|
|
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
2021-10-29 21:53:09 +02:00
|
|
|
FREERTOS.configRECORD_STACK_HIGH_ADDRESS=1
|
|
|
|
FREERTOS.configTOTAL_HEAP_SIZE=6000
|
|
|
|
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
2021-10-29 21:46:51 +02:00
|
|
|
File.Version=6
|
|
|
|
GPIO.groupedBy=
|
|
|
|
KeepUserPlacement=false
|
|
|
|
Mcu.Family=STM32L1
|
2021-01-06 00:58:55 +01:00
|
|
|
Mcu.IP0=DMA
|
|
|
|
Mcu.IP1=FREERTOS
|
2021-10-29 21:46:51 +02:00
|
|
|
Mcu.IP2=NVIC
|
|
|
|
Mcu.IP3=RCC
|
|
|
|
Mcu.IP4=SPI2
|
|
|
|
Mcu.IP5=SYS
|
2021-01-06 00:58:55 +01:00
|
|
|
Mcu.IPNb=6
|
2021-10-29 21:46:51 +02:00
|
|
|
Mcu.Name=STM32L152RCTx
|
|
|
|
Mcu.Package=LQFP64
|
2021-10-29 21:53:09 +02:00
|
|
|
Mcu.Pin0=PA0-WKUP1
|
|
|
|
Mcu.Pin1=PB10
|
|
|
|
Mcu.Pin10=VP_SYS_VS_tim2
|
|
|
|
Mcu.Pin2=PB11
|
|
|
|
Mcu.Pin3=PB12
|
|
|
|
Mcu.Pin4=PB13
|
|
|
|
Mcu.Pin5=PB14
|
|
|
|
Mcu.Pin6=PB15
|
|
|
|
Mcu.Pin7=PA13
|
|
|
|
Mcu.Pin8=PA14
|
|
|
|
Mcu.Pin9=VP_FREERTOS_VS_CMSIS_V2
|
|
|
|
Mcu.PinsNb=11
|
2021-10-29 21:46:51 +02:00
|
|
|
Mcu.ThirdPartyNb=0
|
|
|
|
Mcu.UserConstants=
|
|
|
|
Mcu.UserName=STM32L152RCTx
|
|
|
|
MxCube.Version=6.3.0
|
|
|
|
MxDb.Version=DB.6.0.30
|
|
|
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.DMA1_Channel4_IRQn=true\:5\:0\:true\:false\:true\:false\:false\:true
|
|
|
|
NVIC.DMA1_Channel5_IRQn=true\:5\:0\:true\:false\:true\:false\:false\:true
|
2021-01-06 00:58:55 +01:00
|
|
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
2021-10-29 21:46:51 +02:00
|
|
|
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.SVC_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false
|
|
|
|
NVIC.SavedPendsvIrqHandlerGenerated=true
|
|
|
|
NVIC.SavedSvcallIrqHandlerGenerated=true
|
2021-01-06 00:58:55 +01:00
|
|
|
NVIC.SavedSystickIrqHandlerGenerated=true
|
2021-10-29 21:46:51 +02:00
|
|
|
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:true
|
2021-01-06 00:58:55 +01:00
|
|
|
NVIC.TIM2_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
2021-10-29 21:46:51 +02:00
|
|
|
NVIC.TimeBase=TIM2_IRQn
|
|
|
|
NVIC.TimeBaseIP=TIM2
|
|
|
|
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
2021-10-29 21:53:09 +02:00
|
|
|
PA0-WKUP1.GPIOParameters=GPIO_Label
|
|
|
|
PA0-WKUP1.GPIO_Label=VocSensorCS
|
|
|
|
PA0-WKUP1.Signal=GPIO_Output
|
2021-01-06 00:58:55 +01:00
|
|
|
PA13.Mode=Serial_Wire
|
2021-10-29 21:46:51 +02:00
|
|
|
PA13.Signal=SYS_JTMS-SWDIO
|
|
|
|
PA14.Mode=Serial_Wire
|
|
|
|
PA14.Signal=SYS_JTCK-SWCLK
|
2021-10-29 21:53:09 +02:00
|
|
|
PB10.GPIOParameters=GPIO_Label
|
|
|
|
PB10.GPIO_Label=DisplayDC
|
|
|
|
PB10.Signal=GPIO_Output
|
|
|
|
PB11.GPIOParameters=GPIO_Label
|
|
|
|
PB11.GPIO_Label=DisplayReset
|
|
|
|
PB11.Signal=GPIO_Output
|
2021-10-29 21:46:51 +02:00
|
|
|
PB12.GPIOParameters=GPIO_Label
|
2021-10-29 21:53:09 +02:00
|
|
|
PB12.GPIO_Label=DisplayCS
|
2021-10-29 21:46:51 +02:00
|
|
|
PB12.Signal=GPIO_Output
|
2021-11-01 16:56:31 +01:00
|
|
|
PB13.GPIOParameters=GPIO_Speed
|
|
|
|
PB13.GPIO_Speed=GPIO_SPEED_FREQ_MEDIUM
|
2021-10-29 21:46:51 +02:00
|
|
|
PB13.Mode=Full_Duplex_Master
|
|
|
|
PB13.Signal=SPI2_SCK
|
2021-11-01 16:56:31 +01:00
|
|
|
PB14.GPIOParameters=GPIO_Speed
|
|
|
|
PB14.GPIO_Speed=GPIO_SPEED_FREQ_MEDIUM
|
2021-10-29 21:46:51 +02:00
|
|
|
PB14.Mode=Full_Duplex_Master
|
|
|
|
PB14.Signal=SPI2_MISO
|
2021-11-01 16:56:31 +01:00
|
|
|
PB15.GPIOParameters=GPIO_Speed
|
|
|
|
PB15.GPIO_Speed=GPIO_SPEED_FREQ_MEDIUM
|
2021-10-29 21:46:51 +02:00
|
|
|
PB15.Mode=Full_Duplex_Master
|
|
|
|
PB15.Signal=SPI2_MOSI
|
|
|
|
PinOutPanel.RotationAngle=0
|
2021-01-06 00:58:55 +01:00
|
|
|
ProjectManager.AskForMigrate=true
|
2021-10-29 21:46:51 +02:00
|
|
|
ProjectManager.BackupPrevious=false
|
|
|
|
ProjectManager.CompilerOptimize=6
|
|
|
|
ProjectManager.ComputerToolchain=false
|
|
|
|
ProjectManager.CoupleFile=true
|
|
|
|
ProjectManager.CustomerFirmwarePackage=
|
|
|
|
ProjectManager.DefaultFWLocation=true
|
|
|
|
ProjectManager.DeletePrevious=true
|
|
|
|
ProjectManager.DeviceId=STM32L152RCTx
|
|
|
|
ProjectManager.FirmwarePackage=STM32Cube FW_L1 V1.10.3
|
|
|
|
ProjectManager.FreePins=true
|
2021-01-06 00:58:55 +01:00
|
|
|
ProjectManager.HalAssertFull=false
|
2021-10-29 21:46:51 +02:00
|
|
|
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=voc-sensor.ioc
|
2021-01-06 00:58:55 +01:00
|
|
|
ProjectManager.ProjectName=voc-sensor
|
2021-10-29 21:46:51 +02:00
|
|
|
ProjectManager.RegisterCallBack=
|
|
|
|
ProjectManager.StackSize=0x400
|
|
|
|
ProjectManager.TargetToolchain=Makefile
|
|
|
|
ProjectManager.ToolChainLocation=
|
2021-01-06 00:58:55 +01:00
|
|
|
ProjectManager.UnderRoot=false
|
2021-10-29 21:46:51 +02:00
|
|
|
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-MX_DMA_Init-DMA-false-HAL-true,3-SystemClock_Config-RCC-false-HAL-false,4-MX_SPI2_Init-SPI2-false-HAL-true
|
2021-01-06 00:58:55 +01:00
|
|
|
RCC.48MHZClocksFreq_Value=32000000
|
2021-10-29 21:46:51 +02:00
|
|
|
RCC.AHBFreq_Value=32000000
|
|
|
|
RCC.APB1Freq_Value=32000000
|
2021-01-06 00:58:55 +01:00
|
|
|
RCC.APB1TimFreq_Value=32000000
|
2021-10-29 21:46:51 +02:00
|
|
|
RCC.APB2Freq_Value=32000000
|
|
|
|
RCC.APB2TimFreq_Value=32000000
|
|
|
|
RCC.FCLKCortexFreq_Value=32000000
|
|
|
|
RCC.FamilyName=M
|
|
|
|
RCC.HCLKFreq_Value=32000000
|
|
|
|
RCC.HSE_VALUE=24000000
|
|
|
|
RCC.HSI_VALUE=16000000
|
|
|
|
RCC.IPParameters=48MHZClocksFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,LSE_VALUE,LSI_VALUE,MCOPinFreq_Value,MSI_VALUE,PLLCLKFreq_Value,PLLMUL,PWRFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIMFreq_Value,TimerFreq_Value,VCOOutputFreq_Value
|
|
|
|
RCC.LSE_VALUE=32768
|
|
|
|
RCC.LSI_VALUE=37000
|
|
|
|
RCC.MCOPinFreq_Value=32000000
|
|
|
|
RCC.MSI_VALUE=2097000
|
|
|
|
RCC.PLLCLKFreq_Value=32000000
|
|
|
|
RCC.PLLMUL=RCC_PLL_MUL4
|
2021-01-06 00:58:55 +01:00
|
|
|
RCC.PWRFreq_Value=32000000
|
2021-10-29 21:46:51 +02:00
|
|
|
RCC.RTCFreq_Value=37000
|
|
|
|
RCC.RTCHSEDivFreq_Value=12000000
|
|
|
|
RCC.SYSCLKFreq_VALUE=32000000
|
|
|
|
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
2021-01-06 00:58:55 +01:00
|
|
|
RCC.TIMFreq_Value=32000000
|
2021-10-29 21:46:51 +02:00
|
|
|
RCC.TimerFreq_Value=32000000
|
|
|
|
RCC.VCOOutputFreq_Value=64000000
|
|
|
|
SPI2.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_4
|
|
|
|
SPI2.CalculateBaudRate=8.0 MBits/s
|
|
|
|
SPI2.Direction=SPI_DIRECTION_2LINES
|
|
|
|
SPI2.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,BaudRatePrescaler
|
|
|
|
SPI2.Mode=SPI_MODE_MASTER
|
|
|
|
SPI2.VirtualType=VM_MASTER
|
|
|
|
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
|
|
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
|
|
VP_SYS_VS_tim2.Mode=TIM2
|
|
|
|
VP_SYS_VS_tim2.Signal=SYS_VS_tim2
|
|
|
|
board=custom
|