См. документацию.
80 #define __CM0PLUS_REV 0x0000
81 #define __MPU_PRESENT 0
82 #define __VTOR_PRESENT 0
83 #define __NVIC_PRIO_BITS 2
84 #define __Vendor_SysTickConfig 0
98 #elif defined(__ICCARM__)
99 #pragma language=extended
100 #elif defined(__GNUC__)
102 #elif defined(__TMS470__)
104 #elif defined(__TASKING__)
107 #warning Not supported compiler type
199 #if defined(__CC_ARM)
201 #elif defined(__ICCARM__)
203 #elif defined(__GNUC__)
205 #elif defined(__TMS470__)
207 #elif defined(__TASKING__)
208 #pragma warning restore
210 #warning Not supported compiler type
220 #define ARM_FLASH_BASE (0x00000000UL)
221 #define ARM_RAM_BASE (0x20000000UL)
222 #define ARM_RAM_FPGA_BASE (0x1EFF0000UL)
223 #define ARM_CPU_CFG_BASE (0xDFFF0000UL)
225 #define ARM_CPU_SYS_BASE (ARM_CPU_CFG_BASE + 0x00000)
226 #define ARM_UART3_BASE (ARM_CPU_CFG_BASE + 0x05000)
229 #define ARM_APB_BASE (0x40000000UL)
230 #define ARM_AHB_BASE (0x4FF00000UL)
231 #define ARM_DMC_BASE (0x60000000UL)
232 #define ARM_SMC_BASE (0xA0000000UL)
234 #define ARM_TIM0_BASE (ARM_APB_BASE + 0x02000)
235 #define ARM_TIM2_BASE (ARM_APB_BASE + 0x03000)
236 #define ARM_DUT_SYS_BASE (ARM_APB_BASE + 0x04000)
237 #define ARM_UART0_BASE (ARM_APB_BASE + 0x06000)
238 #define ARM_UART1_BASE (ARM_APB_BASE + 0x07000)
239 #define ARM_UART2_BASE (ARM_APB_BASE + 0x08000)
240 #define ARM_UART4_BASE (ARM_APB_BASE + 0x09000)
247 #define ARM_CPU_SYS ((ARM_CPU_SYS_TypeDef *) ARM_CPU_SYS_BASE)
248 #define ARM_UART3 (( ARM_UART_TypeDef *) ARM_UART3_BASE)
251 #define ARM_DUT_SYS ((ARM_DUT_SYS_TypeDef *) ARM_DUT_SYS_BASE)
252 #define ARM_TIM0 (( ARM_TIM_TypeDef *) ARM_TIM0_BASE)
253 #define ARM_TIM2 (( ARM_TIM_TypeDef *) ARM_TIM2_BASE)
254 #define ARM_UART0 (( ARM_UART_TypeDef *) ARM_UART0_BASE)
255 #define ARM_UART1 (( ARM_UART_TypeDef *) ARM_UART1_BASE)
256 #define ARM_UART2 (( ARM_UART_TypeDef *) ARM_UART2_BASE)
257 #define ARM_UART4 (( ARM_UART_TypeDef *) ARM_UART4_BASE)