Mistake on this page?
Report an issue in GitHub or email us
flash_configs.h
1 /* mbed Microcontroller Library
2  * Copyright (c) 2018-2018 ARM Limited
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef MBED_FLASH_CONFIGS_H
19 #define MBED_FLASH_CONFIGS_H
20 
21 #if defined(TARGET_MX25R6435F)
22 #include "MX25RXX35F_config.h"
23 
24 #elif defined(TARGET_DISCO_L476VG)
25 #include "N25Q128A_config.h" // N25Q128A13EF840E
26 /* See STM32L476 Errata Sheet, it is not possible to use Dual-/Quad-mode for the command phase */
27 #undef QSPI_CMD_READ_DPI
28 #undef QSPI_CMD_READ_QPI
29 #undef QSPI_CMD_WRITE_DPI
30 #undef QSPI_CMD_WRITE_QPI
31 
32 #elif defined(TARGET_N25Q128A)
33 #include "N25Q128A_config.h"
34 
35 #elif defined(TARGET_MX25L51245G)
36 #include "MX25L51245G_config.h"
37 
38 #elif defined(TARGET_MX25LM51245G)
39 #include "MX25LM51245G_config.h"
40 
41 #elif defined(TARGET_RHOMBIO_L476DMW1K)
42 #include "MT25Q_config.h" // MT25QL128ABA1EW7
43 /* See STM32L476 Errata Sheet, it is not possible to use Dual-/Quad-mode for the command phase */
44 #undef QSPI_CMD_READ_DPI
45 #undef QSPI_CMD_READ_QPI
46 #undef QSPI_CMD_WRITE_DPI
47 #undef QSPI_CMD_WRITE_QPI
48 
49 #elif defined(TARGET_NRF52840)
50 #if TARGET_EP_AGORA
51 #include "NORDIC/EP_AGORA/flash_config.h"
52 #else
53 #include "NORDIC/NRF52840_DK/flash_config.h"
54 #endif
55 
56 #elif defined(TARGET_EFM32GG11_STK3701)
57 #include "SiliconLabs/EFM32GG11_STK3701/flash_config.h"
58 
59 #elif defined(TARGET_K82F)
60 #include "NXP/K82F/flash_config.h"
61 
62 #elif defined(TARGET_LPC546XX)
63 #include "NXP/LPC546XX/flash_config.h"
64 
65 #elif( defined(TARGET_CY8CKIT_062_BLE) || \
66  defined(TARGET_CY8CKIT_062_WIFI_BT) || \
67  defined(TARGET_CY8CKIT_062S2_43012) || \
68  defined(TARGET_CY8CKIT_062S2_4343W) || \
69  defined(TARGET_CY8CKIT_064S2_4343W) || \
70  defined(TARGET_CY8CKIT064B0S2_4343W) || \
71  defined(TARGET_CY8CPROTO_062_4343W) || \
72  defined(TARGET_CY8CPROTO_062S2_43012) || \
73  defined(TARGET_CY8CPROTO_062S3_4343W) || \
74  defined(TARGET_CYW9P62S1_43438EVB_01) || \
75  defined(TARGET_CYSBSYSKIT_01))
76 #include "S25FL512S_config.h"
77 
78 #elif defined(TARGET_CYW9P62S1_43012EVB_01)
79 #include "S25FS512S_config.h"
80 
81 #endif
82 
83 #endif // MBED_FLASH_CONFIGS_H
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.