add tinygo device files
This commit is contained in:
229
targets/device/stm32/stm32f217.s
Normal file
229
targets/device/stm32/stm32f217.s
Normal file
@@ -0,0 +1,229 @@
|
||||
// Automatically generated file. DO NOT EDIT.
|
||||
// Generated by gen-device-svd.go from stm32f217.svd, see https://github.com/tinygo-org/stm32-svd
|
||||
|
||||
/*
|
||||
// STM32F217
|
||||
*/
|
||||
|
||||
|
||||
|
||||
.syntax unified
|
||||
|
||||
// This is the default handler for interrupts, if triggered but not defined.
|
||||
.section .text.Default_Handler
|
||||
.global Default_Handler
|
||||
.type Default_Handler, %function
|
||||
Default_Handler:
|
||||
wfe
|
||||
b Default_Handler
|
||||
.size Default_Handler, .-Default_Handler
|
||||
|
||||
// Avoid the need for repeated .weak and .set instructions.
|
||||
.macro IRQ handler
|
||||
.weak \handler
|
||||
.set \handler, Default_Handler
|
||||
.endm
|
||||
|
||||
// Must set the "a" flag on the section:
|
||||
// https://svnweb.freebsd.org/base/stable/11/sys/arm/arm/locore-v4.S?r1=321049&r2=321048&pathrev=321049
|
||||
// https://sourceware.org/binutils/docs/as/Section.html#ELF-Version
|
||||
.section .isr_vector, "a", %progbits
|
||||
.global __isr_vector
|
||||
__isr_vector:
|
||||
// Interrupt vector as defined by Cortex-M, starting with the stack top.
|
||||
// On reset, SP is initialized with *0x0 and PC is loaded with *0x4, loading
|
||||
// _stack_top and Reset_Handler.
|
||||
.long _stack_top
|
||||
.long Reset_Handler
|
||||
.long NMI_Handler
|
||||
.long HardFault_Handler
|
||||
.long MemoryManagement_Handler
|
||||
.long BusFault_Handler
|
||||
.long UsageFault_Handler
|
||||
.long 0
|
||||
.long 0
|
||||
.long 0
|
||||
.long 0
|
||||
.long SVC_Handler
|
||||
.long DebugMon_Handler
|
||||
.long 0
|
||||
.long PendSV_Handler
|
||||
.long SysTick_Handler
|
||||
|
||||
// Extra interrupts for peripherals defined by the hardware vendor.
|
||||
.long WWDG_IRQHandler
|
||||
.long PVD_IRQHandler
|
||||
.long TAMP_STAMP_IRQHandler
|
||||
.long RTC_WKUP_IRQHandler
|
||||
.long FLASH_IRQHandler
|
||||
.long RCC_IRQHandler
|
||||
.long EXTI0_IRQHandler
|
||||
.long EXTI1_IRQHandler
|
||||
.long EXTI2_IRQHandler
|
||||
.long EXTI3_IRQHandler
|
||||
.long EXTI4_IRQHandler
|
||||
.long DMA1_Stream0_IRQHandler
|
||||
.long DMA1_Stream1_IRQHandler
|
||||
.long DMA1_Stream2_IRQHandler
|
||||
.long DMA1_Stream3_IRQHandler
|
||||
.long DMA1_Stream4_IRQHandler
|
||||
.long DMA1_Stream5_IRQHandler
|
||||
.long DMA1_Stream6_IRQHandler
|
||||
.long ADC_IRQHandler
|
||||
.long CAN1_TX_IRQHandler
|
||||
.long CAN1_RX0_IRQHandler
|
||||
.long CAN1_RX1_IRQHandler
|
||||
.long CAN1_SCE_IRQHandler
|
||||
.long EXTI9_5_IRQHandler
|
||||
.long TIM1_BRK_TIM9_IRQHandler
|
||||
.long TIM1_UP_TIM10_IRQHandler
|
||||
.long TIM1_TRG_COM_TIM11_IRQHandler
|
||||
.long TIM1_CC_IRQHandler
|
||||
.long TIM2_IRQHandler
|
||||
.long TIM3_IRQHandler
|
||||
.long TIM4_IRQHandler
|
||||
.long I2C1_EV_IRQHandler
|
||||
.long I2C1_ER_IRQHandler
|
||||
.long I2C2_EV_IRQHandler
|
||||
.long I2C2_ER_IRQHandler
|
||||
.long SPI1_IRQHandler
|
||||
.long SPI2_IRQHandler
|
||||
.long USART1_IRQHandler
|
||||
.long USART2_IRQHandler
|
||||
.long USART3_IRQHandler
|
||||
.long EXTI15_10_IRQHandler
|
||||
.long RTC_Alarm_IRQHandler
|
||||
.long OTG_FS_WKUP_IRQHandler
|
||||
.long TIM8_BRK_TIM12_IRQHandler
|
||||
.long TIM8_UP_TIM13_IRQHandler
|
||||
.long TIM8_TRG_COM_TIM14_IRQHandler
|
||||
.long TIM8_CC_IRQHandler
|
||||
.long DMA1_Stream7_IRQHandler
|
||||
.long FSMC_IRQHandler
|
||||
.long SDIO_IRQHandler
|
||||
.long TIM5_IRQHandler
|
||||
.long SPI3_IRQHandler
|
||||
.long UART4_IRQHandler
|
||||
.long UART5_IRQHandler
|
||||
.long TIM6_DAC_IRQHandler
|
||||
.long TIM7_IRQHandler
|
||||
.long DMA2_Stream0_IRQHandler
|
||||
.long DMA2_Stream1_IRQHandler
|
||||
.long DMA2_Stream2_IRQHandler
|
||||
.long DMA2_Stream3_IRQHandler
|
||||
.long DMA2_Stream4_IRQHandler
|
||||
.long ETH_IRQHandler
|
||||
.long ETH_WKUP_IRQHandler
|
||||
.long CAN2_TX_IRQHandler
|
||||
.long CAN2_RX0_IRQHandler
|
||||
.long CAN2_RX1_IRQHandler
|
||||
.long CAN2_SCE_IRQHandler
|
||||
.long OTG_FS_IRQHandler
|
||||
.long DMA2_Stream5_IRQHandler
|
||||
.long DMA2_Stream6_IRQHandler
|
||||
.long DMA2_Stream7_IRQHandler
|
||||
.long USART6_IRQHandler
|
||||
.long I2C3_EV_IRQHandler
|
||||
.long I2C3_ER_IRQHandler
|
||||
.long OTG_HS_EP1_OUT_IRQHandler
|
||||
.long OTG_HS_EP1_IN_IRQHandler
|
||||
.long OTG_HS_WKUP_IRQHandler
|
||||
.long OTG_HS_IRQHandler
|
||||
.long DCMI_IRQHandler
|
||||
.long CRYP_IRQHandler
|
||||
.long HASH_RNG_IRQHandler
|
||||
|
||||
// Define default implementations for interrupts, redirecting to
|
||||
// Default_Handler when not implemented.
|
||||
IRQ NMI_Handler
|
||||
IRQ HardFault_Handler
|
||||
IRQ MemoryManagement_Handler
|
||||
IRQ BusFault_Handler
|
||||
IRQ UsageFault_Handler
|
||||
IRQ SVC_Handler
|
||||
IRQ DebugMon_Handler
|
||||
IRQ PendSV_Handler
|
||||
IRQ SysTick_Handler
|
||||
IRQ WWDG_IRQHandler
|
||||
IRQ PVD_IRQHandler
|
||||
IRQ TAMP_STAMP_IRQHandler
|
||||
IRQ RTC_WKUP_IRQHandler
|
||||
IRQ FLASH_IRQHandler
|
||||
IRQ RCC_IRQHandler
|
||||
IRQ EXTI0_IRQHandler
|
||||
IRQ EXTI1_IRQHandler
|
||||
IRQ EXTI2_IRQHandler
|
||||
IRQ EXTI3_IRQHandler
|
||||
IRQ EXTI4_IRQHandler
|
||||
IRQ DMA1_Stream0_IRQHandler
|
||||
IRQ DMA1_Stream1_IRQHandler
|
||||
IRQ DMA1_Stream2_IRQHandler
|
||||
IRQ DMA1_Stream3_IRQHandler
|
||||
IRQ DMA1_Stream4_IRQHandler
|
||||
IRQ DMA1_Stream5_IRQHandler
|
||||
IRQ DMA1_Stream6_IRQHandler
|
||||
IRQ ADC_IRQHandler
|
||||
IRQ CAN1_TX_IRQHandler
|
||||
IRQ CAN1_RX0_IRQHandler
|
||||
IRQ CAN1_RX1_IRQHandler
|
||||
IRQ CAN1_SCE_IRQHandler
|
||||
IRQ EXTI9_5_IRQHandler
|
||||
IRQ TIM1_BRK_TIM9_IRQHandler
|
||||
IRQ TIM1_UP_TIM10_IRQHandler
|
||||
IRQ TIM1_TRG_COM_TIM11_IRQHandler
|
||||
IRQ TIM1_CC_IRQHandler
|
||||
IRQ TIM2_IRQHandler
|
||||
IRQ TIM3_IRQHandler
|
||||
IRQ TIM4_IRQHandler
|
||||
IRQ I2C1_EV_IRQHandler
|
||||
IRQ I2C1_ER_IRQHandler
|
||||
IRQ I2C2_EV_IRQHandler
|
||||
IRQ I2C2_ER_IRQHandler
|
||||
IRQ SPI1_IRQHandler
|
||||
IRQ SPI2_IRQHandler
|
||||
IRQ USART1_IRQHandler
|
||||
IRQ USART2_IRQHandler
|
||||
IRQ USART3_IRQHandler
|
||||
IRQ EXTI15_10_IRQHandler
|
||||
IRQ RTC_Alarm_IRQHandler
|
||||
IRQ OTG_FS_WKUP_IRQHandler
|
||||
IRQ TIM8_BRK_TIM12_IRQHandler
|
||||
IRQ TIM8_UP_TIM13_IRQHandler
|
||||
IRQ TIM8_TRG_COM_TIM14_IRQHandler
|
||||
IRQ TIM8_CC_IRQHandler
|
||||
IRQ DMA1_Stream7_IRQHandler
|
||||
IRQ FSMC_IRQHandler
|
||||
IRQ SDIO_IRQHandler
|
||||
IRQ TIM5_IRQHandler
|
||||
IRQ SPI3_IRQHandler
|
||||
IRQ UART4_IRQHandler
|
||||
IRQ UART5_IRQHandler
|
||||
IRQ TIM6_DAC_IRQHandler
|
||||
IRQ TIM7_IRQHandler
|
||||
IRQ DMA2_Stream0_IRQHandler
|
||||
IRQ DMA2_Stream1_IRQHandler
|
||||
IRQ DMA2_Stream2_IRQHandler
|
||||
IRQ DMA2_Stream3_IRQHandler
|
||||
IRQ DMA2_Stream4_IRQHandler
|
||||
IRQ ETH_IRQHandler
|
||||
IRQ ETH_WKUP_IRQHandler
|
||||
IRQ CAN2_TX_IRQHandler
|
||||
IRQ CAN2_RX0_IRQHandler
|
||||
IRQ CAN2_RX1_IRQHandler
|
||||
IRQ CAN2_SCE_IRQHandler
|
||||
IRQ OTG_FS_IRQHandler
|
||||
IRQ DMA2_Stream5_IRQHandler
|
||||
IRQ DMA2_Stream6_IRQHandler
|
||||
IRQ DMA2_Stream7_IRQHandler
|
||||
IRQ USART6_IRQHandler
|
||||
IRQ I2C3_EV_IRQHandler
|
||||
IRQ I2C3_ER_IRQHandler
|
||||
IRQ OTG_HS_EP1_OUT_IRQHandler
|
||||
IRQ OTG_HS_EP1_IN_IRQHandler
|
||||
IRQ OTG_HS_WKUP_IRQHandler
|
||||
IRQ OTG_HS_IRQHandler
|
||||
IRQ DCMI_IRQHandler
|
||||
IRQ CRYP_IRQHandler
|
||||
IRQ HASH_RNG_IRQHandler
|
||||
|
||||
.size __isr_vector, .-__isr_vector
|
||||
Reference in New Issue
Block a user