cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030F4

felix2
Associate II
Posted on August 25, 2014 at 21:10

Please

where can I find correct header files for the 20 pin STM32F030F4 devices?

Cheers

Felix
3 REPLIES 3
Posted on August 25, 2014 at 22:58

Not sure the number of pins impacts the header files.

Bottom of page, red download button.

http://www.st.com/web/en/catalog/tools/PF257884

http://www.st.com/web/en/catalog/tools/PF259447

Design Resources?

http://www.st.com/st-web-ui/active/en/catalog/mmc/FM141/SC1169/SS1574/LN1826/PF258968

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
felix2
Associate II
Posted on August 26, 2014 at 20:04

Clive1

thanks for the fast answer.

I found those already and looked into them. I was woundering because I never saw a define like STM32F030x4. Only defines like STM32F030x6.

In your opinion I could go straight forward and:

- use the Define STM32F030x6

- copy a F030x6 linker to a F030x4 linker file and change the amount of RAM/ROM

Thanks

Felix

Posted on August 26, 2014 at 22:07

Yes, you'd basically want to configure the RAM/ROM to match the device, select the appropriate (or most appropriate) startup_stm32fs, with the vector table, and then the suitable define for the part (STM32F030)

STM32F0xx_StdPeriph_Lib_V1.3.1\Libraries\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h

...
#elif defined (STM32F030)
/****** STM32F030 specific Interrupt Numbers *************************************/
WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */
RTC_IRQn = 2, /*!< RTC through EXTI Line Interrupt */
FLASH_IRQn = 3, /*!< FLASH Interrupt */
RCC_IRQn = 4, /*!< RCC Interrupt */
EXTI0_1_IRQn = 5, /*!< EXTI Line 0 and 1 Interrupts */
EXTI2_3_IRQn = 6, /*!< EXTI Line 2 and 3 Interrupts */
EXTI4_15_IRQn = 7, /*!< EXTI Line 4 to 15 Interrupts */
DMA1_Channel1_IRQn = 9, /*!< DMA1 Channel 1 Interrupt */
DMA1_Channel2_3_IRQn = 10, /*!< DMA1 Channel 2 and Channel 3 Interrupts */
DMA1_Channel4_5_IRQn = 11, /*!< DMA1 Channel 4 and Channel 5 Interrupts */
ADC1_IRQn = 12, /*!< ADC1 Interrupt */
TIM1_BRK_UP_TRG_COM_IRQn = 13, /*!< TIM1 Break, Update, Trigger and Commutation Interrupts */
TIM1_CC_IRQn = 14, /*!< TIM1 Capture Compare Interrupt */
TIM3_IRQn = 16, /*!< TIM3 Interrupt */
TIM14_IRQn = 19, /*!< TIM14 Interrupt */
TIM15_IRQn = 20, /*!< TIM15 Interrupt */
TIM16_IRQn = 21, /*!< TIM16 Interrupt */
TIM17_IRQn = 22, /*!< TIM17 Interrupt */
I2C1_IRQn = 23, /*!< I2C1 Interrupt */
I2C2_IRQn = 24, /*!< I2C2 Interrupt */
SPI1_IRQn = 25, /*!< SPI1 Interrupt */
SPI2_IRQn = 26, /*!< SPI2 Interrupt */
USART1_IRQn = 27, /*!< USART1 Interrupt */
USART2_IRQn = 28 /*!< USART2 Interrupt */
#elif defined (STM32F072)
WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */
...

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..