Go to the documentation of this file. 36 #define STM32_NR_INTERRUPTS 60 37 #define NR_INTERRUPTS STM32_NR_INTERRUPTS 39 #if defined(MCU_STM32F103RB) 42 #define STM32_NR_GPIO_PORTS 4 43 #define STM32_DELAY_US_MULT 12 44 #define STM32_SRAM_END ((void*)0x20005000) 46 #define NR_GPIO_PORTS STM32_NR_GPIO_PORTS 47 #define DELAY_US_MULT STM32_DELAY_US_MULT 49 #elif defined(MCU_STM32F103ZE) 52 #define STM32_NR_GPIO_PORTS 7 53 #define STM32_DELAY_US_MULT 12 54 #define STM32_SRAM_END ((void*)0x20010000) 56 #define NR_GPIO_PORTS STM32_NR_GPIO_PORTS 57 #define DELAY_US_MULT STM32_DELAY_US_MULT 59 #elif defined(MCU_STM32F103CB) 65 #define STM32_NR_GPIO_PORTS 3 66 #define STM32_DELAY_US_MULT 12 67 #define STM32_SRAM_END ((void*)0x20005000) 69 #define NR_GPIO_PORTS STM32_NR_GPIO_PORTS 70 #define DELAY_US_MULT STM32_DELAY_US_MULT 72 #elif defined(MCU_STM32F103RE) 75 #define STM32_NR_GPIO_PORTS 4 76 #define STM32_DELAY_US_MULT 12 77 #define STM32_SRAM_END ((void*)0x20010000) 79 #define NR_GPIO_PORTS STM32_NR_GPIO_PORTS 80 #define DELAY_US_MULT STM32_DELAY_US_MULT 82 #elif defined(MCU_STM32F103VE) 85 #define STM32_NR_GPIO_PORTS 5 86 #define STM32_DELAY_US_MULT 12 87 #define STM32_SRAM_END ((void*)0x20010000) 89 #define NR_GPIO_PORTS STM32_NR_GPIO_PORTS 90 #define DELAY_US_MULT STM32_DELAY_US_MULT 92 #elif defined(MCU_STM32F205VE) 93 #define STM32_TICKS_PER_US (SystemCoreClock / 1000000) 94 #define STM32_NR_GPIO_PORTS 5 95 #define STM32_DELAY_US_MULT (STM32_TICKS_PER_US/3) 96 #define STM32_SRAM_END ((void*)0x20010000) 98 #define NR_GPIO_PORTS STM32_NR_GPIO_PORTS 99 #define DELAY_US_MULT STM32_DELAY_US_MULT 101 #elif defined(MCU_STM32F406VG) 102 #define STM32_TICKS_PER_US (SystemCoreClock / 1000000) 103 #define STM32_NR_GPIO_PORTS 5 104 #define STM32_DELAY_US_MULT (STM32_TICKS_PER_US/3) 105 #define STM32_SRAM_END ((void*)0x20020000) 107 #define NR_GPIO_PORTS STM32_NR_GPIO_PORTS 108 #define DELAY_US_MULT STM32_DELAY_US_MULT 110 #elif defined(MCU_STM32F407VG) || defined(stm32f407vg) || defined(mcu_stm32f405rg) || defined(MCU_STM32F405RG) 111 #define STM32_TICKS_PER_US (SystemCoreClock / 1000000) 112 #define STM32_NR_GPIO_PORTS 5 113 #define STM32_DELAY_US_MULT (STM32_TICKS_PER_US/3) 114 #define STM32_SRAM_END ((void*)0x20020000) 115 #define STM32_CCM_END ((void*)0x10010000) 117 #define NR_GPIO_PORTS STM32_NR_GPIO_PORTS 118 #define DELAY_US_MULT STM32_DELAY_US_MULT 122 #error "No MCU type specified. Add something like -DMCU_STM32F103RB " \ 123 "to your compiler arguments (probably in a Makefile)."