diff options
author | Nick Brassel <nick@tzarc.org> | 2022-11-23 19:50:19 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-23 08:50:19 +0000 |
commit | bebfdad795add9fbc8c6c1393d1b817d542474ed (patch) | |
tree | 1d09d181a2c6a3be74d3e9125f952afe0f1f5ab4 /platforms/chibios/drivers/flash | |
parent | bfdc76181980545b18d9e4d909b62d09895bca9d (diff) |
NVRAM refactor, phase 1. (#18969)
* Rename `eeprom_stm32` to `eeprom_legacy_emulated_flash`.
* Rename `flash_stm32` to `legacy_flash_ops`.
* Rename `eeprom_teensy` to `eeprom_kinetis_flexram`.
Diffstat (limited to 'platforms/chibios/drivers/flash')
-rw-r--r-- | platforms/chibios/drivers/flash/legacy_flash_ops.c (renamed from platforms/chibios/drivers/flash/flash_stm32.c) | 2 | ||||
-rw-r--r-- | platforms/chibios/drivers/flash/legacy_flash_ops.h (renamed from platforms/chibios/drivers/flash/flash_stm32.h) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platforms/chibios/drivers/flash/flash_stm32.c b/platforms/chibios/drivers/flash/legacy_flash_ops.c index 72c41b8b78..fe5ad64764 100644 --- a/platforms/chibios/drivers/flash/flash_stm32.c +++ b/platforms/chibios/drivers/flash/legacy_flash_ops.c @@ -17,7 +17,7 @@ */ #include <hal.h> -#include "flash_stm32.h" +#include "legacy_flash_ops.h" #if defined(STM32F1XX) # define FLASH_SR_WRPERR FLASH_SR_WRPRTERR diff --git a/platforms/chibios/drivers/flash/flash_stm32.h b/platforms/chibios/drivers/flash/legacy_flash_ops.h index 6c66642ec5..ef80764055 100644 --- a/platforms/chibios/drivers/flash/flash_stm32.h +++ b/platforms/chibios/drivers/flash/legacy_flash_ops.h @@ -24,7 +24,7 @@ extern "C" { #include <stdint.h> -#ifdef FLASH_STM32_MOCKED +#ifdef LEGACY_FLASH_OPS_MOCKED extern uint8_t FlashBuf[MOCK_FLASH_SIZE]; #endif |