aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/components/flash/mflash/frdmk64f/mflash_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/components/flash/mflash/frdmk64f/mflash_drv.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/components/flash/mflash/frdmk64f/mflash_drv.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/components/flash/mflash/frdmk64f/mflash_drv.h b/lib/chibios-contrib/ext/mcux-sdk/components/flash/mflash/frdmk64f/mflash_drv.h
new file mode 100644
index 000000000..a28da706e
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/components/flash/mflash/frdmk64f/mflash_drv.h
@@ -0,0 +1,22 @@
1/*
2 * Copyright 2017-2020 NXP
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef __MFLASH_DRV_H__
8#define __MFLASH_DRV_H__
9
10#include "mflash_common.h"
11
12/* Flash constants */
13#ifndef MFLASH_SECTOR_SIZE
14#define MFLASH_SECTOR_SIZE (4096)
15#endif
16
17/* Page is the same as sector on this platform */
18#ifndef MFLASH_PAGE_SIZE
19#define MFLASH_PAGE_SIZE (MFLASH_SECTOR_SIZE)
20#endif
21
22#endif