From acf59b1abb346998c492b93fee4a680a32f538d5 Mon Sep 17 00:00:00 2001 From: iperry Date: Sat, 19 Dec 2009 10:53:07 +0000 Subject: Added licensing. Moved lots of header files around. Added HardwareSerial reads, writes. Tweaked some of the util and assert functions. Added various useful routines for printing stuff to the serial port. Continued moving out stm32lib. Slightly more consistent naming, this will come in another change. git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@74 749a229e-a60e-11de-b98f-4500b42dc123 --- src/stm32lib/inc/stm32f10x_map.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/stm32lib/inc') diff --git a/src/stm32lib/inc/stm32f10x_map.h b/src/stm32lib/inc/stm32f10x_map.h index 33829fc..3dabb05 100644 --- a/src/stm32lib/inc/stm32f10x_map.h +++ b/src/stm32lib/inc/stm32f10x_map.h @@ -621,8 +621,8 @@ typedef struct #define IWDG_BASE (APB1PERIPH_BASE + 0x3000) #define SPI2_BASE (APB1PERIPH_BASE + 0x3800) #define SPI3_BASE (APB1PERIPH_BASE + 0x3C00) -#define USART2_BASE (APB1PERIPH_BASE + 0x4400) -#define USART3_BASE (APB1PERIPH_BASE + 0x4800) +//#define USART2_BASE (APB1PERIPH_BASE + 0x4400) +//#define USART3_BASE (APB1PERIPH_BASE + 0x4800) #define UART4_BASE (APB1PERIPH_BASE + 0x4C00) #define UART5_BASE (APB1PERIPH_BASE + 0x5000) #define I2C1_BASE (APB1PERIPH_BASE + 0x5400) @@ -634,19 +634,19 @@ typedef struct #define AFIO_BASE (APB2PERIPH_BASE + 0x0000) #define EXTI_BASE (APB2PERIPH_BASE + 0x0400) -#define GPIOA_BASE (APB2PERIPH_BASE + 0x0800) -#define GPIOB_BASE (APB2PERIPH_BASE + 0x0C00) -#define GPIOC_BASE (APB2PERIPH_BASE + 0x1000) -#define GPIOD_BASE (APB2PERIPH_BASE + 0x1400) -#define GPIOE_BASE (APB2PERIPH_BASE + 0x1800) -#define GPIOF_BASE (APB2PERIPH_BASE + 0x1C00) -#define GPIOG_BASE (APB2PERIPH_BASE + 0x2000) +//#define GPIOA_BASE (APB2PERIPH_BASE + 0x0800) +//#define GPIOB_BASE (APB2PERIPH_BASE + 0x0C00) +//#define GPIOC_BASE (APB2PERIPH_BASE + 0x1000) +//#define GPIOD_BASE (APB2PERIPH_BASE + 0x1400) +//#define GPIOE_BASE (APB2PERIPH_BASE + 0x1800) +//#define GPIOF_BASE (APB2PERIPH_BASE + 0x1C00) +//#define GPIOG_BASE (APB2PERIPH_BASE + 0x2000) #define ADC1_BASE (APB2PERIPH_BASE + 0x2400) #define ADC2_BASE (APB2PERIPH_BASE + 0x2800) #define TIM1_BASE (APB2PERIPH_BASE + 0x2C00) #define SPI1_BASE (APB2PERIPH_BASE + 0x3000) #define TIM8_BASE (APB2PERIPH_BASE + 0x3400) -#define USART1_BASE (APB2PERIPH_BASE + 0x3800) +//#define USART1_BASE (APB2PERIPH_BASE + 0x3800) #define ADC3_BASE (APB2PERIPH_BASE + 0x3C00) #define SDIO_BASE (PERIPH_BASE + 0x18000) -- cgit v1.2.3