Changeset - 6f2ea9363f0e
[Not reviewed]
cortex-f0
11 2 0
Ethan Zonca - 10 years ago 2015-01-03 14:12:46
ez@ethanzonca.com
Prune old USB, add cube generated files
13 files changed with 137 insertions and 1880 deletions:
0 comments (0 inline, 0 general)
stm32f0xx_conf.h
Show inline comments
 
deleted file
stm32f0xx_it.h
Show inline comments
 
/**
 
  ******************************************************************************
 
  * @file    stm32f0xx_it.h 
 
  * @author  MCD Application Team
 
  * @version V1.0.0
 
  * @date    29-July-2013
 
  * @brief   This file contains the headers of the interrupt handlers.
 
  ******************************************************************************
 
  * @attention
 
  *
 
  * <h2><center>&copy; COPYRIGHT 2013 STMicroelectronics</center></h2>
 
  *
 
  * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
 
  * You may not use this file except in compliance with the License.
 
  * You may obtain a copy of the License at:
 
  *
 
  *        http://www.st.com/software_license_agreement_liberty_v2
 
  *
 
  * Unless required by applicable law or agreed to in writing, software 
 
  * distributed under the License is distributed on an "AS IS" BASIS, 
 
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
  * See the License for the specific language governing permissions and
 
  * limitations under the License.
 
  *
 
  ******************************************************************************
 
  */
 

	
 
/* Define to prevent recursive inclusion -------------------------------------*/
 
#ifndef __STM32F0xx_IT_H
 
#define __STM32F0xx_IT_H
 

	
 
#ifdef __cplusplus
 
 extern "C" {
 
#endif 
 

	
 
/* Includes ------------------------------------------------------------------*/
 
#include "stm32f0xx.h"
 
#include "platform_config.h"
 

	
 

	
 
/* Exported types ------------------------------------------------------------*/
 
/* Exported constants --------------------------------------------------------*/
 
/* Exported macro ------------------------------------------------------------*/
 
/* Exported functions ------------------------------------------------------- */
 

	
 
void NMI_Handler(void);
 
void HardFault_Handler(void);
 
void MemManage_Handler(void);
 
void BusFault_Handler(void);
 
void UsageFault_Handler(void);
 
void SVC_Handler(void);
 
void DebugMon_Handler(void);
 
void PendSV_Handler(void);
 
void SysTick_Handler(void);
 
void USBWakeUp_IRQHandler(void);
 
void USB_FS_WKUP_IRQHandler(void);
 

	
 

	
 
#ifdef __cplusplus
 
}
 
#endif
 

	
 
#endif /* __STM32F0xx_IT_H */
 

	
 
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
 

	
 
/**
 
  ******************************************************************************
 
  * @file    stm32f0xx_it.h
 
  * @date    03/01/2015 14:04:02
 
  * @brief   This file contains the headers of the interrupt handlers.
 
  ******************************************************************************
 
  *
 
  * COPYRIGHT(c) 2015 STMicroelectronics
 
  *
 
  * Redistribution and use in source and binary forms, with or without modification,
 
  * are permitted provided that the following conditions are met:
 
  *   1. Redistributions of source code must retain the above copyright notice,
 
  *      this list of conditions and the following disclaimer.
 
  *   2. Redistributions in binary form must reproduce the above copyright notice,
 
  *      this list of conditions and the following disclaimer in the documentation
 
  *      and/or other materials provided with the distribution.
 
  *   3. Neither the name of STMicroelectronics nor the names of its contributors
 
  *      may be used to endorse or promote products derived from this software
 
  *      without specific prior written permission.
 
  *
 
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 
  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 
  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
 
  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 
  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 
  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
  *
 
  ******************************************************************************
 
  */
 
 
/* Define to prevent recursive inclusion -------------------------------------*/
 
#ifndef __STM32F0xx_IT_H
 
#define __STM32F0xx_IT_H
 
 
#ifdef __cplusplus
 
 extern "C" {
 
#endif 
 
 
/* Includes ------------------------------------------------------------------*/
 
/* Exported types ------------------------------------------------------------*/
 
/* Exported constants --------------------------------------------------------*/
 
/* Exported macro ------------------------------------------------------------*/
 
/* Exported functions ------------------------------------------------------- */
 
 
void USB_IRQHandler(void);
 
void SysTick_Handler(void);
 
 
#ifdef __cplusplus
 
}
 
#endif
 
 
#endif /* __STM32F0xx_IT_H */
 
 
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
therm-cube.ioc
Show inline comments
 
#MicroXplorer Configuration settings - do not modify
 
#Fri Nov 14 22:42:15 EST 2014
 
#Sat Jan 03 14:03:06 EST 2015
 
File.Version=4
 
KeepUserPlacement=false
 
Mcu.Family=STM32F0
 
Mcu.IP0=NVIC
 
Mcu.IP1=RCC
 
Mcu.IP2=SPI1
 
Mcu.IP3=SYS
 
Mcu.IP4=USART1
 
Mcu.IP5=USB
 
Mcu.IP6=USB_DEVICE
 
Mcu.IPNb=7
 
Mcu.Name=STM32F042K(4-6)Ux
 
Mcu.Package=UFQFPN32
 
Mcu.Pin0=PA1
 
Mcu.Pin1=PA2
 
Mcu.Pin10=PA12
 
Mcu.Pin11=PA13
 
Mcu.Pin12=PA14
 
Mcu.Pin13=PA15
 
Mcu.Pin14=PB3
 
Mcu.Pin15=PB4
 
Mcu.Pin16=PB5
 
Mcu.Pin17=PB6
 
Mcu.Pin18=PB7
 
Mcu.Pin19=PB8
 
Mcu.Pin2=PA3
 
Mcu.Pin20=VP_RCC_USB
 
Mcu.Pin21=VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS
 
Mcu.Pin3=PA4
 
Mcu.Pin4=PA5
 
Mcu.Pin5=PA6
 
Mcu.Pin6=PA7
 
Mcu.Pin7=PA9
 
Mcu.Pin8=PA10
 
Mcu.Pin9=PA11
 
Mcu.PinsNb=22
 
Mcu.UserName=STM32F042K6Ux
 
NVIC.SysTick_IRQn=true\:0\:0
 
NVIC.USB_IRQn=true\:0\:0
 
Mcu.IP4=USB
 
Mcu.IP5=USB_DEVICE
 
Mcu.IPNb=6
 
Mcu.Name=STM32F042K6Tx
 
Mcu.Package=LQFP32
 
Mcu.Pin0=PF0-OSC_IN
 
Mcu.Pin1=PA1
 
Mcu.Pin10=PA11
 
Mcu.Pin11=PA12
 
Mcu.Pin12=PA13
 
Mcu.Pin13=PA14
 
Mcu.Pin14=PA15
 
Mcu.Pin15=PB3
 
Mcu.Pin16=PB4
 
Mcu.Pin17=PB5
 
Mcu.Pin18=PB6
 
Mcu.Pin19=PB7
 
Mcu.Pin2=PA2
 
Mcu.Pin20=VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS
 
Mcu.Pin3=PA3
 
Mcu.Pin4=PA4
 
Mcu.Pin5=PA5
 
Mcu.Pin6=PA6
 
Mcu.Pin7=PA7
 
Mcu.Pin8=PA9
 
Mcu.Pin9=PA10
 
Mcu.PinsNb=21
 
Mcu.UserName=STM32F042K6Tx
 
MxCube.Version=4.5.0
 
NVIC.SysTick_IRQn=true\:0\:0\:false
 
NVIC.USB_IRQn=true\:0\:0\:false
 
PA1.Locked=true
 
PA1.Signal=GPIO_Output
 
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.Locked=true
 
PA13.Mode=Serial-WireDebug
 
PA13.Signal=SYS_SWDIO
 
PA14.Locked=true
 
PA14.Mode=Serial-WireDebug
 
PA14.Signal=SYS_SWCLK
 
PA15.GPIOParameters=GPIO_PuPd,GPIO_Mode
 
PA15.GPIO_Mode=GPIO_MODE_INPUT
 
PA15.GPIO_PuPd=GPIO_PULLUP
 
PA15.Locked=true
 
PA15.Signal=GPIO_Output
 
PA15.Signal=GPIO_Input
 
PA2.Locked=true
 
PA2.Signal=GPIO_Output
 
PA3.Locked=true
 
PA3.Signal=GPIO_Output
 
PA4.Locked=true
 
PA4.Signal=GPIO_Output
 
@@ -69,89 +71,71 @@ PA6.Locked=true
 
PA6.Mode=Full_Duplex_Master
 
PA6.Signal=SPI1_MISO
 
PA7.Locked=true
 
PA7.Mode=Full_Duplex_Master
 
PA7.Signal=SPI1_MOSI
 
PA9.Locked=true
 
PA9.Mode=Asynchronous
 
PA9.Signal=USART1_TX
 
PB3.GPIOParameters=GPIO_PuPd,GPIO_Mode
 
PB3.GPIO_Mode=GPIO_MODE_INPUT
 
PB3.GPIO_PuPd=GPIO_PULLUP
 
PB3.Locked=true
 
PB3.Signal=GPIO_Input
 
PB4.GPIOParameters=GPIO_PuPd,GPIO_Mode
 
PB4.GPIO_Mode=GPIO_MODE_INPUT
 
PB4.GPIO_PuPd=GPIO_PULLUP
 
PB4.Locked=true
 
PB4.Signal=GPIO_Input
 
PB5.GPIOParameters=GPIO_PuPd,GPIO_Mode
 
PB5.GPIO_Mode=GPIO_MODE_INPUT
 
PB5.GPIO_PuPd=GPIO_PULLUP
 
PB5.Locked=true
 
PB5.Signal=GPIO_Input
 
PB6.GPIOParameters=GPIO_PuPd,GPIO_Mode
 
PB6.GPIO_Mode=GPIO_MODE_INPUT
 
PB6.GPIO_PuPd=GPIO_PULLUP
 
PB6.Locked=true
 
PB6.Signal=GPIO_Input
 
PB7.GPIOParameters=GPIO_PuPd,GPIO_Mode
 
PB7.GPIO_Mode=GPIO_MODE_INPUT
 
PB7.GPIO_PuPd=GPIO_PULLUP
 
PB7.Locked=true
 
PB7.Signal=GPIO_Input
 
PB8.Locked=true
 
PB8.Signal=GPIO_Output
 
PCC.Family=STM32F0
 
PCC.MCU=STM32F042K(4-6)Ux
 
PCC.MXVersion=4.4.0
 
PCC.PartNumber=STM32F042K6Ux
 
PCC.MCU=STM32F042K6Tx
 
PCC.MXVersion=4.5.0
 
PCC.PartNumber=STM32F042K6Tx
 
PCC.Seq0=0
 
PCC.SubFamily=STM32F0x2
 
PCC.Temperature=25
 
PCC.Vdd=3.6
 
RCC.CECEnable-ClockTree=false
 
RCC.EnableHSE-ClockTree=false
 
RCC.EnableHSERTCDevisor-ClockTree=false
 
RCC.EnableLSE-ClockTree=false
 
RCC.EnableLSERTC-ClockTree=false
 
RCC.EnableMCOMultDivisor-ClockTree=false
 
RCC.FLatency-AdvancedSettings=FLASH_LATENCY_0
 
PF0-OSC_IN.Locked=true
 
PF0-OSC_IN.Signal=GPIO_Output
 
RCC.AHBFreq_Value=48000000
 
RCC.APB1Freq_Value=48000000
 
RCC.APB1TimFreq_Value=48000000
 
RCC.FCLKCortexFreq_Value=48000000
 
RCC.FamilyName=M
 
RCC.HSEState-ClockTree=RCC_HSE_OFF
 
RCC.HSI14State-ClockTree=RCC_HSI14_OFF
 
RCC.HSI48State-ClockTree=RCC_HSI48_ON
 
RCC.HSIState-ClockTree=RCC_HSI_ON
 
RCC.I2C1Enable-ClockTree=false
 
RCC.IPParameters=OscillatorTypeHSE-ClockTree,RTCEnable-ClockTree,EnableLSE-ClockTree,CECEnable-ClockTree,ReloadValue-AdvancedSettings,PLLCLKFreq_Value,FamilyName,PREFETCH_ENABLE-AdvancedSettings,OscillatorTypeHSI48-ClockTree,USBEnable-ClockTree,HSI14State-ClockTree,PLLMCOFreq_Value,IWDGEnable-ClockTree,HSI48State-ClockTree,FLatency-AdvancedSettings,EnableLSERTC-ClockTree,USART2Enable-ClockTree,Source-AdvancedSettings,VCOOutput2Freq_Value,MCOEnable-ClockTree,OscillatorTypeHSI-ClockTree,EnableMCOMultDivisor-ClockTree,I2C1Enable-ClockTree,HSIState-ClockTree,LSIState-ClockTree,PLLState-ClockTree,RCC_PERIPHCLK_USART1Var-ClockTree,USART1Enable-ClockTree,HSEState-ClockTree,EnableHSE-ClockTree,EnableHSERTCDevisor-ClockTree,OscillatorTypeLSI-ClockTree
 
RCC.IWDGEnable-ClockTree=false
 
RCC.LSIState-ClockTree=RCC_LSI_OFF
 
RCC.MCOEnable-ClockTree=false
 
RCC.OscillatorTypeHSE-ClockTree=
 
RCC.OscillatorTypeHSI-ClockTree=RCC_OSCILLATORTYPE_HSI
 
RCC.OscillatorTypeHSI48-ClockTree=RCC_OSCILLATORTYPE_HSI48
 
RCC.OscillatorTypeLSI-ClockTree=
 
RCC.PLLCLKFreq_Value=16000000
 
RCC.PLLMCOFreq_Value=16000000
 
RCC.PLLState-ClockTree=RCC_PLL_OFF
 
RCC.PREFETCH_ENABLE-AdvancedSettings=0
 
RCC.RCC_PERIPHCLK_USART1Var-ClockTree=RCC_PERIPHCLK_USART1
 
RCC.RTCEnable-ClockTree=false
 
RCC.ReloadValue-AdvancedSettings=__HAL_RCC_CRS_CALCULATE_RELOADVALUE(48000000,
 
RCC.Source-AdvancedSettings=RCC_CRS_SYNC_SOURCE_USB
 
RCC.USART1Enable-ClockTree=true
 
RCC.USART2Enable-ClockTree=false
 
RCC.USBEnable-ClockTree=true
 
RCC.VCOOutput2Freq_Value=8000000
 
RCC.HCLKFreq_Value=48000000
 
RCC.HSICECFreq_Value=32786.88524590164
 
RCC.I2SFreq_Value=48000000
 
RCC.IPParameters=HCLKFreq_Value,SYSCLKFreq_VALUE,PLLCLKFreq_Value,FamilyName,PLLMCOFreq_Value,SYSCLKSource,FCLKCortexFreq_Value,PLLSourceVirtual,HSICECFreq_Value,MCOFreq_Value,VCOOutput2Freq_Value,I2SFreq_Value,APB1Freq_Value,USART1Freq_Value,APB1TimFreq_Value,AHBFreq_Value,TimSysFreq_Value
 
RCC.MCOFreq_Value=48000000
 
RCC.PLLCLKFreq_Value=96000000
 
RCC.PLLMCOFreq_Value=96000000
 
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSI48
 
RCC.SYSCLKFreq_VALUE=48000000
 
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_HSI48
 
RCC.TimSysFreq_Value=6000000
 
RCC.USART1Freq_Value=48000000
 
RCC.VCOOutput2Freq_Value=48000000
 
SPI1.BaudRatePrescaler-Full_Duplex_Master=SPI_BAUDRATEPRESCALER_4
 
SPI1.CalculateBaudRate-Full_Duplex_Master=12.0 MBits/s
 
SPI1.DataSize-Full_Duplex_Master=SPI_DATASIZE_8BIT
 
SPI1.Direction-Full_Duplex_Master=SPI_DIRECTION_2LINES
 
SPI1.IPParameters=Direction-Full_Duplex_Master,VirtualType-Full_Duplex_Master,TIMode-Full_Duplex_Master,Mode-Full_Duplex_Master,DataSize-Full_Duplex_Master,NSS-Full_Duplex_Master
 
SPI1.IPParameters=CalculateBaudRate-Full_Duplex_Master,BaudRatePrescaler-Full_Duplex_Master,Mode-Full_Duplex_Master,DataSize-Full_Duplex_Master
 
SPI1.Mode-Full_Duplex_Master=SPI_MODE_MASTER
 
SPI1.NSS-Full_Duplex_Master=SPI_NSS_SOFT
 
SPI1.TIMode-Full_Duplex_Master=SPI_TIMODE_DISABLED
 
SPI1.VirtualType-Full_Duplex_Master=VM_MASTER
 
USART1.BaudRate=115200
 
USART1.HwFlowCtl-Asynchronous=UART_HWCONTROL_NONE
 
USART1.IPParameters=VirtualMode-Asynchronous,BaudRate,HwFlowCtl-Asynchronous,WordLength-Asynchronous
 
USART1.VirtualMode-Asynchronous=VM_ASYNC
 
USART1.WordLength-Asynchronous=UART_WORDLENGTH_7B
 
USB.IPParameters=phy_itface-Device,speed-Device
 
USB.phy_itface-Device=PCD_PHY_EMBEDDED
 
USB.speed-Device=PCD_SPEED_FULL
 
USB_DEVICE.CLASS_NAME-CDC_FS=CDC
 
USB_DEVICE.IPParameters=CLASS_NAME-CDC_FS,VirtualModeFS,VirtualMode,USBD_HandleTypeDef,hUsbDevice-CDC_FS,USBD_HandleTypeDef-CDC_FS,VirtualModeFS-CDC_FS,VirtualMode-CDC_FS
 
USB_DEVICE.IPParameters=VirtualModeFS,VirtualMode,USBD_HandleTypeDef
 
USB_DEVICE.USBD_HandleTypeDef=hUsbDeviceFS
 
USB_DEVICE.USBD_HandleTypeDef-CDC_FS=hUsbDeviceFS
 
USB_DEVICE.VirtualMode=Cdc
 
USB_DEVICE.VirtualMode-CDC_FS=Cdc
 
USB_DEVICE.VirtualModeFS=Cdc_FS
 
USB_DEVICE.VirtualModeFS-CDC_FS=Cdc_FS
 
USB_DEVICE.hUsbDevice-CDC_FS=hDeviceDuSmolt
 
VP_RCC_USB.Mode=CRS SYNC Source USB
 
VP_RCC_USB.Signal=RCC_USB
 
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
usb_conf.h
Show inline comments
 
deleted file
usb_desc.c
Show inline comments
 
deleted file
usb_desc.h
Show inline comments
 
deleted file
usb_endp.c
Show inline comments
 
deleted file
usb_istr.c
Show inline comments
 
deleted file
usb_istr.h
Show inline comments
 
deleted file
usb_prop.c
Show inline comments
 
deleted file
usb_prop.h
Show inline comments
 
deleted file
usb_pwr.c
Show inline comments
 
deleted file
usb_pwr.h
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)