diff options
Diffstat (limited to 'tmk_core/common')
| -rwxr-xr-x | tmk_core/common/chibios/eeprom_stm32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/chibios/eeprom_stm32.h b/tmk_core/common/chibios/eeprom_stm32.h index d06d30266..68aa14f6d 100755 --- a/tmk_core/common/chibios/eeprom_stm32.h +++ b/tmk_core/common/chibios/eeprom_stm32.h | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | #elif defined (MCU_STM32F103RD) | 48 | #elif defined (MCU_STM32F103RD) |
| 49 | #define EEPROM_START_ADDRESS ((uint32_t)(0x8000000 + 384 * 1024 - 2 * EEPROM_PAGE_SIZE)) | 49 | #define EEPROM_START_ADDRESS ((uint32_t)(0x8000000 + 384 * 1024 - 2 * EEPROM_PAGE_SIZE)) |
| 50 | #elif defined (MCU_STM32F303CC) | 50 | #elif defined (MCU_STM32F303CC) |
| 51 | #define EEPROM_START_ADDRESS ((uint32_t)(0x8000000 + 250 * 1024 - 2 * EEPROM_PAGE_SIZE)) | 51 | #define EEPROM_START_ADDRESS ((uint32_t)(0x8000000 + 256 * 1024 - 2 * EEPROM_PAGE_SIZE)) |
| 52 | #else | 52 | #else |
| 53 | #error "No MCU type specified. Add something like -DMCU_STM32F103RB to your compiler arguments (probably in a Makefile)." | 53 | #error "No MCU type specified. Add something like -DMCU_STM32F103RB to your compiler arguments (probably in a Makefile)." |
| 54 | #endif | 54 | #endif |
