aboutsummaryrefslogtreecommitdiff
path: root/platforms/chibios/flash_stm32.h
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2022-06-08 09:42:35 +1000
committerGitHub <[email protected]>2022-06-08 09:42:35 +1000
commit1085500e894d9d31c4e97e7f1b74091bb9043a91 (patch)
tree83b8b73f034503c97238e6c65a0dc81e6bc78639 /platforms/chibios/flash_stm32.h
parent6df5fce0732df5cf15f7c388040e6dadbaa476b0 (diff)
downloadqmk_firmware-1085500e894d9d31c4e97e7f1b74091bb9043a91.tar.gz
qmk_firmware-1085500e894d9d31c4e97e7f1b74091bb9043a91.zip
Rework paths for eeprom locations. (#17326)
* Rework paths for eeprom locations. * File relocation. * Wrong file move. * Fixup test paths.
Diffstat (limited to 'platforms/chibios/flash_stm32.h')
-rw-r--r--platforms/chibios/flash_stm32.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/platforms/chibios/flash_stm32.h b/platforms/chibios/flash_stm32.h
deleted file mode 100644
index 6c66642ec5..0000000000
--- a/platforms/chibios/flash_stm32.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * This software is experimental and a work in progress.
- * Under no circumstances should these files be used in relation to any critical system(s).
- * Use of these files is at your own risk.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
- * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
- * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- *
- * This files are free to use from https://github.com/rogerclarkmelbourne/Arduino_STM32 and
- * https://github.com/leaflabs/libmaple
- *
- * Modifications for QMK and STM32F303 by Yiancar
- */
-
-#pragma once
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <stdint.h>
-
-#ifdef FLASH_STM32_MOCKED
-extern uint8_t FlashBuf[MOCK_FLASH_SIZE];
-#endif
-
-typedef enum { FLASH_BUSY = 1, FLASH_ERROR_PG, FLASH_ERROR_WRP, FLASH_ERROR_OPT, FLASH_COMPLETE, FLASH_TIMEOUT, FLASH_BAD_ADDRESS } FLASH_Status;
-
-#define IS_FLASH_ADDRESS(ADDRESS) (((ADDRESS) >= 0x08000000) && ((ADDRESS) < 0x0807FFFF))
-
-FLASH_Status FLASH_WaitForLastOperation(uint32_t Timeout);
-FLASH_Status FLASH_ErasePage(uint32_t Page_Address);
-FLASH_Status FLASH_ProgramHalfWord(uint32_t Address, uint16_t Data);
-
-void FLASH_Unlock(void);
-void FLASH_Lock(void);
-
-#ifdef __cplusplus
-}
-#endif