firmware: complete cubemx setup
This commit is contained in:
parent
065ba9bf56
commit
235c0505f9
@ -7,34 +7,58 @@ Mcu.IP1=NVIC
|
|||||||
Mcu.IP2=RCC
|
Mcu.IP2=RCC
|
||||||
Mcu.IP3=SYS
|
Mcu.IP3=SYS
|
||||||
Mcu.IP4=USB
|
Mcu.IP4=USB
|
||||||
Mcu.IPNb=5
|
Mcu.IP5=USB_DEVICE
|
||||||
|
Mcu.IPNb=6
|
||||||
Mcu.Name=STM32F103C(8-B)Tx
|
Mcu.Name=STM32F103C(8-B)Tx
|
||||||
Mcu.Package=LQFP48
|
Mcu.Package=LQFP48
|
||||||
Mcu.Pin0=PD0-OSC_IN
|
Mcu.Pin0=PD0-OSC_IN
|
||||||
Mcu.Pin1=PD1-OSC_OUT
|
Mcu.Pin1=PD1-OSC_OUT
|
||||||
Mcu.Pin2=PA11
|
Mcu.Pin10=PB1
|
||||||
Mcu.Pin3=PA12
|
Mcu.Pin11=PB2
|
||||||
Mcu.Pin4=PA13
|
Mcu.Pin12=PA8
|
||||||
Mcu.Pin5=PA14
|
Mcu.Pin13=PA9
|
||||||
Mcu.Pin6=PB6
|
Mcu.Pin14=PA10
|
||||||
Mcu.Pin7=PB7
|
Mcu.Pin15=PA11
|
||||||
Mcu.Pin8=VP_SYS_VS_Systick
|
Mcu.Pin16=PA12
|
||||||
Mcu.PinsNb=9
|
Mcu.Pin17=PA13
|
||||||
|
Mcu.Pin18=PA14
|
||||||
|
Mcu.Pin19=PB6
|
||||||
|
Mcu.Pin2=PA1
|
||||||
|
Mcu.Pin20=PB7
|
||||||
|
Mcu.Pin21=VP_SYS_VS_Systick
|
||||||
|
Mcu.Pin22=VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS
|
||||||
|
Mcu.Pin3=PA2
|
||||||
|
Mcu.Pin4=PA3
|
||||||
|
Mcu.Pin5=PA4
|
||||||
|
Mcu.Pin6=PA5
|
||||||
|
Mcu.Pin7=PA6
|
||||||
|
Mcu.Pin8=PA7
|
||||||
|
Mcu.Pin9=PB0
|
||||||
|
Mcu.PinsNb=23
|
||||||
Mcu.ThirdPartyNb=0
|
Mcu.ThirdPartyNb=0
|
||||||
Mcu.UserConstants=
|
Mcu.UserConstants=
|
||||||
Mcu.UserName=STM32F103C8Tx
|
Mcu.UserName=STM32F103C8Tx
|
||||||
MxCube.Version=5.0.1
|
MxCube.Version=5.2.0
|
||||||
MxDb.Version=DB.5.0.1
|
MxDb.Version=DB.5.0.20
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||||
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
||||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||||
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:false\:true
|
||||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false
|
NVIC.USB_LP_CAN1_RX0_IRQn=true\:0\:0\:false\:false\:true\:false\:true
|
||||||
|
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
||||||
|
PA1.GPIOParameters=GPIO_Label
|
||||||
|
PA1.GPIO_Label=SW7_LED
|
||||||
|
PA1.Locked=true
|
||||||
|
PA1.Signal=GPIO_Output
|
||||||
|
PA10.GPIOParameters=GPIO_Label
|
||||||
|
PA10.GPIO_Label=USER_LED
|
||||||
|
PA10.Locked=true
|
||||||
|
PA10.Signal=GPIO_Output
|
||||||
PA11.Mode=Device
|
PA11.Mode=Device
|
||||||
PA11.Signal=USB_DM
|
PA11.Signal=USB_DM
|
||||||
PA12.Mode=Device
|
PA12.Mode=Device
|
||||||
@ -43,6 +67,56 @@ PA13.Mode=Serial_Wire
|
|||||||
PA13.Signal=SYS_JTMS-SWDIO
|
PA13.Signal=SYS_JTMS-SWDIO
|
||||||
PA14.Mode=Serial_Wire
|
PA14.Mode=Serial_Wire
|
||||||
PA14.Signal=SYS_JTCK-SWCLK
|
PA14.Signal=SYS_JTCK-SWCLK
|
||||||
|
PA2.GPIOParameters=GPIO_PuPd,GPIO_Label
|
||||||
|
PA2.GPIO_Label=SW7
|
||||||
|
PA2.GPIO_PuPd=GPIO_PULLUP
|
||||||
|
PA2.Locked=true
|
||||||
|
PA2.Signal=GPIO_Input
|
||||||
|
PA3.GPIOParameters=GPIO_Label
|
||||||
|
PA3.GPIO_Label=SW4_LED
|
||||||
|
PA3.Locked=true
|
||||||
|
PA3.Signal=GPIO_Output
|
||||||
|
PA4.GPIOParameters=GPIO_PuPd,GPIO_Label
|
||||||
|
PA4.GPIO_Label=SW4
|
||||||
|
PA4.GPIO_PuPd=GPIO_PULLUP
|
||||||
|
PA4.Locked=true
|
||||||
|
PA4.Signal=GPIO_Input
|
||||||
|
PA5.GPIOParameters=GPIO_Label
|
||||||
|
PA5.GPIO_Label=SW6_LED
|
||||||
|
PA5.Locked=true
|
||||||
|
PA5.Signal=GPIO_Output
|
||||||
|
PA6.GPIOParameters=GPIO_PuPd,GPIO_Label
|
||||||
|
PA6.GPIO_Label=SW6
|
||||||
|
PA6.GPIO_PuPd=GPIO_PULLUP
|
||||||
|
PA6.Locked=true
|
||||||
|
PA6.Signal=GPIO_Input
|
||||||
|
PA7.GPIOParameters=GPIO_Label
|
||||||
|
PA7.GPIO_Label=SW3_LED
|
||||||
|
PA7.Locked=true
|
||||||
|
PA7.Signal=GPIO_Output
|
||||||
|
PA8.GPIOParameters=GPIO_PuPd,GPIO_Label
|
||||||
|
PA8.GPIO_Label=SW3
|
||||||
|
PA8.GPIO_PuPd=GPIO_PULLUP
|
||||||
|
PA8.Locked=true
|
||||||
|
PA8.Signal=GPIO_Input
|
||||||
|
PA9.GPIOParameters=GPIO_Label
|
||||||
|
PA9.GPIO_Label=SW5_LED
|
||||||
|
PA9.Locked=true
|
||||||
|
PA9.Signal=GPIO_Output
|
||||||
|
PB0.GPIOParameters=GPIO_PuPd,GPIO_Label
|
||||||
|
PB0.GPIO_Label=SW5
|
||||||
|
PB0.GPIO_PuPd=GPIO_PULLUP
|
||||||
|
PB0.Locked=true
|
||||||
|
PB0.Signal=GPIO_Input
|
||||||
|
PB1.GPIOParameters=GPIO_PuPd,GPIO_Label
|
||||||
|
PB1.GPIO_Label=SW2
|
||||||
|
PB1.GPIO_PuPd=GPIO_PULLUP
|
||||||
|
PB1.Locked=true
|
||||||
|
PB1.Signal=GPIO_Input
|
||||||
|
PB2.GPIOParameters=GPIO_Label
|
||||||
|
PB2.GPIO_Label=SW2_LED
|
||||||
|
PB2.Locked=true
|
||||||
|
PB2.Signal=GPIO_Output
|
||||||
PB6.Mode=I2C
|
PB6.Mode=I2C
|
||||||
PB6.Signal=I2C1_SCL
|
PB6.Signal=I2C1_SCL
|
||||||
PB7.Mode=I2C
|
PB7.Mode=I2C
|
||||||
@ -64,7 +138,7 @@ ProjectManager.AskForMigrate=true
|
|||||||
ProjectManager.BackupPrevious=false
|
ProjectManager.BackupPrevious=false
|
||||||
ProjectManager.CompilerOptimize=6
|
ProjectManager.CompilerOptimize=6
|
||||||
ProjectManager.ComputerToolchain=false
|
ProjectManager.ComputerToolchain=false
|
||||||
ProjectManager.CoupleFile=false
|
ProjectManager.CoupleFile=true
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
ProjectManager.CustomerFirmwarePackage=
|
||||||
ProjectManager.DefaultFWLocation=true
|
ProjectManager.DefaultFWLocation=true
|
||||||
ProjectManager.DeletePrevious=true
|
ProjectManager.DeletePrevious=true
|
||||||
@ -75,26 +149,45 @@ ProjectManager.HalAssertFull=false
|
|||||||
ProjectManager.HeapSize=0x200
|
ProjectManager.HeapSize=0x200
|
||||||
ProjectManager.KeepUserCode=true
|
ProjectManager.KeepUserCode=true
|
||||||
ProjectManager.LastFirmware=true
|
ProjectManager.LastFirmware=true
|
||||||
ProjectManager.LibraryCopy=0
|
ProjectManager.LibraryCopy=1
|
||||||
ProjectManager.MainLocation=Src
|
ProjectManager.MainLocation=Src
|
||||||
ProjectManager.NoMain=false
|
ProjectManager.NoMain=false
|
||||||
ProjectManager.PreviousToolchain=
|
ProjectManager.PreviousToolchain=SW4STM32
|
||||||
ProjectManager.ProjectBuild=false
|
ProjectManager.ProjectBuild=false
|
||||||
ProjectManager.ProjectFileName=audioMux.ioc
|
ProjectManager.ProjectFileName=audioMux.ioc
|
||||||
ProjectManager.ProjectName=audioMux
|
ProjectManager.ProjectName=audioMux
|
||||||
ProjectManager.StackSize=0x400
|
ProjectManager.StackSize=0x400
|
||||||
ProjectManager.TargetToolchain=EWARM V8
|
ProjectManager.TargetToolchain=SW4STM32
|
||||||
ProjectManager.ToolChainLocation=
|
ProjectManager.ToolChainLocation=
|
||||||
ProjectManager.UnderRoot=false
|
ProjectManager.UnderRoot=true
|
||||||
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_I2C1_Init-I2C1-false-HAL-true,4-MX_USB_PCD_Init-USB-false-HAL-true
|
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_I2C1_Init-I2C1-false-HAL-true,4-MX_USB_DEVICE_Init-USB_DEVICE-false-HAL-true
|
||||||
RCC.APB1Freq_Value=8000000
|
RCC.ADCFreqValue=36000000
|
||||||
RCC.APB2Freq_Value=8000000
|
RCC.AHBFreq_Value=72000000
|
||||||
|
RCC.APB1CLKDivider=RCC_HCLK_DIV2
|
||||||
|
RCC.APB1Freq_Value=36000000
|
||||||
|
RCC.APB1TimFreq_Value=72000000
|
||||||
|
RCC.APB2Freq_Value=72000000
|
||||||
|
RCC.APB2TimFreq_Value=72000000
|
||||||
|
RCC.FCLKCortexFreq_Value=72000000
|
||||||
RCC.FamilyName=M
|
RCC.FamilyName=M
|
||||||
RCC.IPParameters=APB1Freq_Value,APB2Freq_Value,FamilyName,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLSourceVirtualString,TimSysFreq_Value
|
RCC.HCLKFreq_Value=72000000
|
||||||
RCC.PLLCLKFreq_Value=8000000
|
RCC.IPParameters=ADCFreqValue,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USBFreq_Value,USBPrescaler,VCOOutput2Freq_Value
|
||||||
RCC.PLLMCOFreq_Value=4000000
|
RCC.MCOFreq_Value=72000000
|
||||||
RCC.PLLSourceVirtualString=RCC_PLLSOURCE_HSI_DIV2
|
RCC.PLLCLKFreq_Value=72000000
|
||||||
RCC.TimSysFreq_Value=8000000
|
RCC.PLLMCOFreq_Value=36000000
|
||||||
|
RCC.PLLMUL=RCC_PLL_MUL9
|
||||||
|
RCC.SYSCLKFreq_VALUE=72000000
|
||||||
|
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
||||||
|
RCC.TimSysFreq_Value=72000000
|
||||||
|
RCC.USBFreq_Value=48000000
|
||||||
|
RCC.USBPrescaler=RCC_USBCLKSOURCE_PLL_DIV1_5
|
||||||
|
RCC.VCOOutput2Freq_Value=8000000
|
||||||
|
USB_DEVICE.CLASS_NAME_FS=CDC
|
||||||
|
USB_DEVICE.IPParameters=VirtualMode,VirtualModeFS,CLASS_NAME_FS
|
||||||
|
USB_DEVICE.VirtualMode=Cdc
|
||||||
|
USB_DEVICE.VirtualModeFS=Cdc_FS
|
||||||
VP_SYS_VS_Systick.Mode=SysTick
|
VP_SYS_VS_Systick.Mode=SysTick
|
||||||
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
||||||
|
VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS.Mode=CDC_FS
|
||||||
|
VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS.Signal=USB_DEVICE_VS_USB_DEVICE_CDC_FS
|
||||||
board=custom
|
board=custom
|
||||||
|
Loading…
Reference in New Issue
Block a user