X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fstm32_memmap.h;h=a99577a174b05db215ecef9e26c91143b05c5100;hb=9894dd2c3a530cf89e5f8011b88a5c18be836e1b;hp=1c86443f6b14397c803d3919d8532ae0d9fffb6f;hpb=dc9b8ecb40cb399616ef3044b7c1b29cf9cf76b4;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/stm32_memmap.h b/bertos/cpu/cortex-m3/io/stm32_memmap.h index 1c86443f..a99577a1 100644 --- a/bertos/cpu/cortex-m3/io/stm32_memmap.h +++ b/bertos/cpu/cortex-m3/io/stm32_memmap.h @@ -50,7 +50,7 @@ #define OB_BASE (0x1FFFF800) /* Peripheral memory map */ -#define APB1PERIPH_BASE ((uint32_t)PERIPH_BASE) +#define APB1PERIPH_BASE (PERIPH_BASE) #define APB2PERIPH_BASE (PERIPH_BASE + 0x10000) #define AHBPERIPH_BASE (PERIPH_BASE + 0x20000)